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

From: Guo Ren
Date: Tue Oct 06 2020 - 12:55:27 EST


On Tue, Oct 6, 2020 at 12:39 AM Palmer Dabbelt <palmerdabbelt@xxxxxxxxxx> wrote:
>
> 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.

Please have a look:
https://lore.kernel.org/linux-riscv/1602002973-92934-1-git-send-email-guoren@xxxxxxxxxx/T/#u

The only revert couldn't solve the static_obj problem.

--
Best Regards
Guo Ren

ML: https://lore.kernel.org/linux-csky/