Re: [PATCH] cpuidle/pseries: Fixup CEDE0 latency only for POWER10 onwards

2021-04-24 Thread Vaidyanathan Srinivasan
* Michal Such?nek [2021-04-23 20:42:16]: > On Fri, Apr 23, 2021 at 11:59:30PM +0530, Vaidyanathan Srinivasan wrote: > > * Michal Such?nek [2021-04-23 19:45:05]: > > > > > On Fri, Apr 23, 2021 at 09:29:39PM +0530, Vaidyanathan Srinivasan wrote: > > > > * Michal Such?nek [2021-04-23 09:35:51]: >

[PATCH] powerpc/kasan: Fix shadow start address with modules

2021-04-24 Thread Christophe Leroy
Modules are now located before kernel, KASAN area has to be extended accordingly. Fixes: 80edc68e0479 ("powerpc/32s: Define a MODULE area below kernel text all the time") Fixes: 9132a2e82adc ("powerpc/8xx: Define a MODULE area below kernel text") Signed-off-by: Christophe Leroy --- arch/powerpc

[PATCH] kbuild: replace LANG=C with LC_ALL=C

2021-04-24 Thread Masahiro Yamada
LANG gives a weak default to each LC_* in case it is not explicitly defined. LC_ALL, if set, overrides all other LC_* variables. LANG < LC_CTYPE, LC_COLLATE, LC_MONETARY, LC_NUMERIC, ... < LC_ALL This is why documentation such as [1] suggests to set LC_ALL in build scripts to get the determ

Re: [PATCH 2/2] powerpc: Print esr register when hitting Program Interrupt

2021-04-24 Thread Xiongwei Song
On Thu, Apr 22, 2021 at 11:29 PM Christophe Leroy wrote: > > > > Le 22/04/2021 à 17:10, Xiongwei Song a écrit : > > From: Xiongwei Song > > > > The esr register has the details of Program Interrupt on BookE/4xx cpus, > > printing its value is helpful. > > > > Signed-off-by: Xiongwei Song > > ---

Re: [PATCH 2/2] powerpc: Print esr register when hitting Program Interrupt

2021-04-24 Thread Xiongwei Song
On Fri, Apr 23, 2021 at 12:50 AM Christophe Leroy wrote: > > > > Le 22/04/2021 à 17:29, Christophe Leroy a écrit : > > > > > > Le 22/04/2021 à 17:10, Xiongwei Song a écrit : > >> From: Xiongwei Song > >> > >> The esr register has the details of Program Interrupt on BookE/4xx cpus, > >> printing i

Re: [PATCH 1/2] powerpc: Make the code in __show_regs nice-looking

2021-04-24 Thread Xiongwei Song
On Thu, Apr 22, 2021 at 11:27 PM Christophe Leroy wrote: > > > > Le 22/04/2021 à 17:10, Xiongwei Song a écrit : > > From: Xiongwei Song > > > > Create a new function named interrupt_detail_printable to judge which > > interrupts can print esr/dsisr register. > > What is the benefit of that functi

Re: [PATCH 1/2] powerpc/sstep: Add emulation support for ‘setb’ instruction

2021-04-24 Thread Daniel Axtens
Segher Boessenkool writes: > Hi! > > On Fri, Apr 16, 2021 at 05:44:52PM +1000, Daniel Axtens wrote: >> Sathvika Vasireddy writes: >> Ok, if I've understood correctly... >> >> > + ra = ra & ~0x3; >> >> This masks off the bits of RA that are not part of BTF: >> >> ra is in [0,