Re: [PASEMI] Nemo board doesn't recognize any ATA disks with the pci-v5.16 updates

2021-11-11 Thread Marc Zyngier
On Thu, 11 Nov 2021 07:47:08 +, Christian Zigotzky wrote: > > On 11 November 2021 at 08:13 am, Marc Zyngier wrote: > > On Thu, 11 Nov 2021 05:24:52 +, > > Christian Zigotzky wrote: > >> Hello Marc, > >> > >> Here you are: > >> https://forum.hyperion-entertainment.com/viewtopic.php?p=544

Re: [PATCH v2] powerpc/64s: introduce CONFIG_MAXSMP to test very large SMP

2021-11-11 Thread Michael Ellerman
Christophe Leroy writes: > Le 09/11/2021 à 07:51, Nicholas Piggin a écrit : ... >> diff --git a/arch/powerpc/platforms/Kconfig.cputype >> b/arch/powerpc/platforms/Kconfig.cputype >> index a208997ade88..14c275e0ff93 100644 >> --- a/arch/powerpc/platforms/Kconfig.cputype >> +++ b/arch/powerpc/platf

Re: [PATCH v2 2/5] preempt/dynamic: Introduce preempt mode accessors

2021-11-11 Thread Mike Galbraith
On Thu, 2021-11-11 at 10:36 +0100, Marco Elver wrote: > On Thu, 11 Nov 2021 at 04:47, Mike Galbraith wrote: > > > > On Thu, 2021-11-11 at 04:35 +0100, Mike Galbraith wrote: > > > On Thu, 2021-11-11 at 04:16 +0100, Mike Galbraith wrote: > > > > On Wed, 2021-11-10 at 20:24 +, Valentin Schneider

Re: [PATCH 11/11] powerpc/smp: Add a doorbell=off kernel parameter

2021-11-11 Thread Michael Ellerman
Cédric Le Goater writes: > On processors with a XIVE interrupt controller (POWER9 and above), the > kernel can use either doorbells or XIVE to generate CPU IPIs. Sending > doorbell is generally preferred to using the XIVE IC because it is > faster. There are cases where we want to avoid doorbells

Re: [PASEMI] Nemo board doesn't recognize any ATA disks with the pci-v5.16 updates

2021-11-11 Thread Christian Zigotzky
On 11 November 2021 at 11:20 am, Marc Zyngier wrote: On Thu, 11 Nov 2021 07:47:08 +, Christian Zigotzky wrote: On 11 November 2021 at 08:13 am, Marc Zyngier wrote: On Thu, 11 Nov 2021 05:24:52 +, Christian Zigotzky wrote: Hello Marc, Here you are: https://forum.hyperion-entertainmen

Re: [PATCH v2 2/5] preempt/dynamic: Introduce preempt mode accessors

2021-11-11 Thread Valentin Schneider
On 11/11/21 09:54, Marco Elver wrote: > On Wed, Nov 10, 2021 at 08:24PM +, Valentin Schneider wrote: > [...] >> +#ifdef CONFIG_PREEMPT_DYNAMIC >> + >> +extern bool is_preempt_none(void); >> +extern bool is_preempt_voluntary(void); >> +extern bool is_preempt_full(void); >> + >> +#else >> + >> +#

Re: [PATCH v2 2/5] preempt/dynamic: Introduce preempt mode accessors

2021-11-11 Thread Valentin Schneider
On 11/11/21 11:32, Mike Galbraith wrote: > On Thu, 2021-11-11 at 10:36 +0100, Marco Elver wrote: >> I guess the question is if is_preempt_full() should be true also if >> is_preempt_rt() is true? > > That's what CONFIG_PREEMPTION is. More could follow, but it was added > to allow multiple models t

Re: [PATCH v2 4/5] kscan: Use preemption model accessors

2021-11-11 Thread Valentin Schneider
On 11/11/21 10:11, Marco Elver wrote: > Subject s/kscan/kcsan/ > Woops... > On Wed, Nov 10, 2021 at 08:24PM +, Valentin Schneider wrote: >> Per PREEMPT_DYNAMIC, checking CONFIG_PREEMPT doesn't tell you the actual >> preemption model of the live kernel. Use the newly-introduced accessors >> in

Re: [PATCH v2 2/5] preempt/dynamic: Introduce preempt mode accessors

2021-11-11 Thread Mike Galbraith
On Thu, 2021-11-11 at 10:56 +, Valentin Schneider wrote: > On 11/11/21 11:32, Mike Galbraith wrote: > > On Thu, 2021-11-11 at 10:36 +0100, Marco Elver wrote: > > > I guess the question is if is_preempt_full() should be true also if > > > is_preempt_rt() is true? > > > > That's what CONFIG_PREEM

Re: [PASEMI] Nemo board doesn't recognize any ATA disks with the pci-v5.16 updates

2021-11-11 Thread Marc Zyngier
On Thu, 11 Nov 2021 10:44:30 +, Christian Zigotzky wrote: > > On 11 November 2021 at 11:20 am, Marc Zyngier wrote: > > On Thu, 11 Nov 2021 07:47:08 +, > > Christian Zigotzky wrote: > >> On 11 November 2021 at 08:13 am, Marc Zyngier wrote: > >>> On Thu, 11 Nov 2021 05:24:52 +, > >>> C

Re: [PATCH v2] powerpc/64s: Get LPID bit width from device tree

2021-11-11 Thread kernel test robot
Hi Nicholas, I love your patch! Perhaps something to improve: [auto build test WARNING on powerpc/next] [also build test WARNING on v5.15 next-2021] [cannot apply to scottwood/next] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest

Re: [PASEMI] Nemo board doesn't recognize any ATA disks with the pci-v5.16 updates

2021-11-11 Thread Christian Zigotzky
On 11 November 2021 at 12:24 pm, Marc Zyngier wrote: On Thu, 11 Nov 2021 10:44:30 +, Christian Zigotzky wrote: On 11 November 2021 at 11:20 am, Marc Zyngier wrote: On Thu, 11 Nov 2021 07:47:08 +, Christian Zigotzky wrote: On 11 November 2021 at 08:13 am, Marc Zyngier wrote: On Thu,

Re: [PATCH] ppc64/fadump: fix inaccurate CPU state info in vmcore generated with panic

2021-11-11 Thread Hari Bathini
On 11/11/21 11:44 am, Michael Ellerman wrote: Hari Bathini writes: In panic path, fadump is triggered via a panic notifier function. Before calling panic notifier functions, smp_send_stop() gets called, which stops all CPUs except the panic'ing CPU. Commit 8389b37dffdc ("powerpc: stop_this_c

Re: [PATCH] ppc64/fadump: fix inaccurate CPU state info in vmcore generated with panic

2021-11-11 Thread Nicholas Piggin
Excerpts from Hari Bathini's message of November 11, 2021 10:06 pm: > > > On 11/11/21 11:44 am, Michael Ellerman wrote: >> Hari Bathini writes: >>> In panic path, fadump is triggered via a panic notifier function. >>> Before calling panic notifier functions, smp_send_stop() gets called, >>> whic

Re: [PATCH 11/11] powerpc/smp: Add a doorbell=off kernel parameter

2021-11-11 Thread Cédric Le Goater
On 11/11/21 11:41, Michael Ellerman wrote: Cédric Le Goater writes: On processors with a XIVE interrupt controller (POWER9 and above), the kernel can use either doorbells or XIVE to generate CPU IPIs. Sending doorbell is generally preferred to using the XIVE IC because it is faster. There are c

Re: [PASEMI] Nemo board doesn't recognize any ATA disks with the pci-v5.16 updates

2021-11-11 Thread Marc Zyngier
On Wed, 10 Nov 2021 18:07:24 +, Christian Zigotzky wrote: > > On 09 November 2021 at 03:45 pm, Christian Zigotzky wrote: > > Hello, > > > > The Nemo board [1] doesn't recognize any ATA disks with the > pci-v5.16 updates [2]. > > > > Error messages: > > > > ata4.00: gc timeout cmd 0xec > > ata

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

2021-11-11 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 08, 2021 at 08:47:02AM -0600, Paul A. Clarke escreveu: > On Mon, Nov 08, 2021 at 11:30:10AM +0530, Kajol Jain wrote: > > Add pmu metric json file for power10 platform. > > > > Signed-off-by: Kajol Jain > > --- > > Changelog > > v2 -> v3: > > - Did nit changes in BriefDescription as su

Re: [PASEMI] Nemo board doesn't recognize any ATA disks with the pci-v5.16 updates

2021-11-11 Thread Olof Johansson
On Thu, Nov 11, 2021 at 2:20 AM Marc Zyngier wrote: > > On Thu, 11 Nov 2021 07:47:08 +, > Christian Zigotzky wrote: > > > > On 11 November 2021 at 08:13 am, Marc Zyngier wrote: > > > On Thu, 11 Nov 2021 05:24:52 +, > > > Christian Zigotzky wrote: > > >> Hello Marc, > > >> > > >> Here you

Re: [PATCH 0/3] KEXEC_SIG with appended signature

2021-11-11 Thread Nayna
On 11/5/21 09:14, Michal Suchánek wrote: On Fri, Nov 05, 2021 at 09:55:52PM +1100, Daniel Axtens wrote: Michal Suchanek writes: S390 uses appended signature for kernel but implements the check separately from module loader. Support for secure boot on powerpc with appended signature is plan

Re: [PATCH 0/3] KEXEC_SIG with appended signature

2021-11-11 Thread Nayna
On 11/8/21 07:05, Michal Suchánek wrote: Hello, On Mon, Nov 08, 2021 at 09:18:56AM +1100, Daniel Axtens wrote: Michal Suchánek writes: On Fri, Nov 05, 2021 at 09:55:52PM +1100, Daniel Axtens wrote: Michal Suchanek writes: S390 uses appended signature for kernel but implements the check

Re: [PATCH v1] powerpc/watchdog: help remote CPUs to flush NMI printk output

2021-11-11 Thread Daniel Axtens
Hi, > The printk layer at the moment does not seem to have a good way to force > flush printk messages that are created in NMI context, except in the > panic path. > > NMI-context printk messages normally get to the console with irq_work, > but that won't help if the CPU is stuck with irqs disable

Re: [PATCH 1/2] powerpc/mce: Avoid using irq_work_queue() in realmode

2021-11-11 Thread Daniel Axtens
Hi Ganesh, > In realmode mce handler we use irq_work_queue() to defer > the processing of mce events, irq_work_queue() can only > be called when translation is enabled because it touches > memory outside RMA, hence we enable translation before > calling irq_work_queue and disable on return, though