Re: [PATCH] powerpc/bpf: fix write protecting JIT code

2021-10-24 Thread Naveen N. Rao
Hari Bathini wrote: Running program with bpf-to-bpf function calls results in data access exception (0x300) with the below call trace: [c0113f28] bpf_int_jit_compile+0x238/0x750 (unreliable) [c037d2f8] bpf_check+0x2008/0x2710 [c0360050] bpf_prog_load+0xb00/0x1

[PATCH] powerpc/bpf: fix write protecting JIT code

2021-10-24 Thread Hari Bathini
Running program with bpf-to-bpf function calls results in data access exception (0x300) with the below call trace: [c0113f28] bpf_int_jit_compile+0x238/0x750 (unreliable) [c037d2f8] bpf_check+0x2008/0x2710 [c0360050] bpf_prog_load+0xb00/0x13a0 [c0361

[PATCH] mm/migrate.c: Remove MIGRATE_PFN_LOCKED

2021-10-24 Thread Alistair Popple
MIGRATE_PFN_LOCKED is used to indicate to migrate_vma_prepare() that a source page was already locked during migrate_vma_collect(). If it wasn't then the a second attempt is made to lock the page. However if the first attempt failed it's unlikely a second attempt will succeed, and the retry adds co

Re: [PATCH v2] perf vendor events power10: Add metric events json file for power10 platform

2021-10-24 Thread Michael Ellerman
"Paul A. Clarke" writes: > Thanks for the changes! > More nits below (many left over from prior review)... > > On Fri, Oct 22, 2021 at 11:55:05AM +0530, Kajol Jain wrote: >> Add pmu metric json file for power10 platform. >> >> Signed-off-by: Kajol Jain >> --- >> Changelog v1 -> v2: >> - Did some

Re: Stable backport request

2021-10-24 Thread Greg KH
On Sun, Oct 24, 2021 at 09:21:09AM +1100, Michael Ellerman wrote: > Hi Greg, > > Please backport the following commit to v5.4 and v5.10: > > 73287caa9210ded6066833195f4335f7f688a46b > ("powerpc64/idle: Fix SP offsets when saving GPRs") > > > And please backport the following commits to v5.4