Re: [PATCH] ARM: mm: harden branch predictor before opening interrupts during fault

2021-01-26 Thread Lecopzer Chen
Hi all, I don't see any fix for this issue now(maybe I missed it..?), could we fix this if there is better solution? This issue exists almost two years. Thanks! BRs, Lecopzer

Re: [PATCH] ARM: mm: harden branch predictor before opening interrupts during fault

2021-01-26 Thread Lecopzer Chen
> On Tue, Jan 26, 2021 at 11:01:50PM +0800, Lecopzer Chen wrote: > > > On 2021-01-26 10:59:32 [+], Russell King - ARM Linux admin wrote: > > > > On Tue, Jan 26, 2021 at 05:17:08PM +0800, Lecopzer Chen wrote: > > > > > Hi all, > > > > > > > > > > I don't see any fix for this issue now(maybe I m

Re: [PATCH] ARM: mm: harden branch predictor before opening interrupts during fault

2021-01-26 Thread Russell King - ARM Linux admin
On Tue, Jan 26, 2021 at 11:01:50PM +0800, Lecopzer Chen wrote: > > On 2021-01-26 10:59:32 [+], Russell King - ARM Linux admin wrote: > > > On Tue, Jan 26, 2021 at 05:17:08PM +0800, Lecopzer Chen wrote: > > > > Hi all, > > > > > > > > I don't see any fix for this issue now(maybe I missed it..?)

Re: [PATCH] ARM: mm: harden branch predictor before opening interrupts during fault

2021-01-26 Thread Lecopzer Chen
> On 2021-01-26 10:59:32 [+], Russell King - ARM Linux admin wrote: > > On Tue, Jan 26, 2021 at 05:17:08PM +0800, Lecopzer Chen wrote: > > > Hi all, > > > > > > I don't see any fix for this issue now(maybe I missed it..?), > > > could we fix this if there is better solution? > > > This issue e

Re: [PATCH] ARM: mm: harden branch predictor before opening interrupts during fault

2021-01-26 Thread Sebastian Andrzej Siewior
On 2021-01-26 10:59:32 [+], Russell King - ARM Linux admin wrote: > On Tue, Jan 26, 2021 at 05:17:08PM +0800, Lecopzer Chen wrote: > > Hi all, > > > > I don't see any fix for this issue now(maybe I missed it..?), > > could we fix this if there is better solution? > > This issue exists almost t

Re: [PATCH] ARM: mm: harden branch predictor before opening interrupts during fault

2021-01-26 Thread Russell King - ARM Linux admin
On Tue, Jan 26, 2021 at 05:17:08PM +0800, Lecopzer Chen wrote: > Hi all, > > I don't see any fix for this issue now(maybe I missed it..?), > could we fix this if there is better solution? > This issue exists almost two years. I don't think anyone provided an acceptable patch. The first patch mov

[PATCH] ARM: mm: harden branch predictor before opening interrupts during fault

2020-12-03 Thread Lecopzer Chen
This patch was send by "Sebastian Andrzej Siewior " in [1] and rebase in v5.10-rc6. The original commit message: > On non-LPAE systems a write to 0xbff0 (modules area) from userland > results in: > | BUG: using smp_processor_id() in preemptible [] code: mem-tc/521 > | caller is __do_u