Re: [PATCH V2 1/3] riscv: Fixup static_obj() fail

From: Palmer Dabbelt
Date: Mon Oct 05 2020 - 12:40:01 EST


On Mon, 05 Oct 2020 01:25:22 PDT (-0700), schwab@xxxxxxxxxxxxxx wrote:
On Sep 14 2020, Aurelien Jarno wrote:

How should we proceed to get that fixed in time for 5.9? For the older
branches where it has been backported (so far 5.7 and 5.8), should we
just get that commit reverted instead?

Why is this still broken?

Sorry, I hadn't seen this. I'm not seeing a boot failure on 5.9-rc8 with just
CONFIG_HARDENED_USERCPOY=y in addition to defconfig (on QEMU, though I doubt
that's relevant here). It looks like the fix is to essentially revert this,
which I'm fine with, but I'd prefer to have a failing test to make sure this
doesn't break again.

Guo: I don't see an actual patch (signed off and such) posted for this, do you
mind posting one? Otherwise I'll take a crack at constructing the revert
myself.