[PATCH 2/2] powerpc/pseries/dlpar: Add device tree nodes for DLPAR IO add

2024-08-13 Thread Haren Myneni
For the DLPAR IO ADD, the corresponding device tree nodes and properties will be added to the device tree after enable the device. The user space (drmgr tool) uses configure_connector RTAS call with the DRC index to retrieve the corresponding device nodes but this RTAS call needs /dev/mem access. A

[PATCH 1/2] powerpc/pseries/dlpar: Remove device tree node for DLPAR IO remove

2024-08-13 Thread Haren Myneni
For the DLPAR IO REMOVE, the corresponding device tree nodes and properties have to be removed from the device tree after disable the device. In the current implementation, the user space (drmgr tool) remove the device tree nodes by updating /proc/ppc64/ofdt which needs /dev/mem. But /dev/mem acces

[powerpc:fixes-test] BUILD SUCCESS 227bbaabe64b6f9cd98aa051454c1d4a194a8c6a

2024-08-13 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git fixes-test branch HEAD: 227bbaabe64b6f9cd98aa051454c1d4a194a8c6a powerpc/topology: Check if a core is online elapsed time: 810m configs tested: 191 configs skipped: 7 The following configs have been built successfu

Re: [RFC PATCH 1/6] ALSA: compress: add Sample Rate Converter codec support

2024-08-13 Thread Shengjiu Wang
On Mon, Aug 12, 2024 at 9:44 PM Pierre-Louis Bossart wrote: > > > > On 8/12/24 15:31, Jaroslav Kysela wrote: > > On 12. 08. 24 12:24, Shengjiu Wang wrote: > >> On Fri, Aug 9, 2024 at 10:01 PM Jaroslav Kysela wrote: > >>> > >>> On 09. 08. 24 14:52, Pierre-Louis Bossart wrote: > >>> > > And met

Re: [PATCH] soc: fsl: qbman: Remove redundant warnings

2024-08-13 Thread Wang, Xiaolei
ping Thanks Xiaolei 获取 Outlook for iOS 发件人: Wang, Xiaolei 发送时间: Friday, August 2, 2024 10:17:17 AM 收件人: christophe.le...@csgroup.eu ; r...@kernel.org 抄送: linuxppc-dev@lists.ozlabs.org ; linux-arm-ker...@lists.infradead.org ; linux-ker...

Re: [PATCH 1/1] dt-bindings: soc: fsl: cpm_qe: convert network.txt to yaml

2024-08-13 Thread Jakub Kicinski
On Mon, 12 Aug 2024 12:50:35 -0400 Frank Li wrote: > create mode 100644 Documentation/devicetree/bindings/net/fsl,cpm-enet.yaml > create mode 100644 Documentation/devicetree/bindings/net/fsl,cpm-mdio.yaml > create mode 100644 > Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,ucc-hdlc.yaml

[PATCH 1/2] powerpc/pseries/dlpar: Remove device tree node for DLPAR IO remove

2024-08-13 Thread Haren Myneni
For the DLPAR IO REMOVE, the corresponding device tree nodes and properties have to be removed from the device tree after disable the device. In the current implementation, the user space (drmgr tool) remove the device tree nodes by updating /proc/ppc64/ofdt which needs /dev/mem. But /dev/mem acces

[PATCH 2/2] powerpc/pseries/dlpar: Add device tree nodes for DLPAR IO add

2024-08-13 Thread Haren Myneni
For the DLPAR IO ADD, the corresponding device tree nodes and properties will be added to the device tree after enable the device. The user space (drmgr tool) uses configure_connector RTAS call with the DRC index to retrieve the corresponding device nodes but this RTAS call needs /dev/mem access. A

Re: [PATCH v2 23/36] dt-bindings: soc: fsl: cpm_qe: Add QUICC Engine (QE) QMC controller

2024-08-13 Thread Rob Herring
On Thu, Aug 08, 2024 at 09:11:16AM +0200, Herve Codina wrote: > Add support for the QMC (QUICC Multichannel Controller) available in > some PowerQUICC SoC that uses a QUICC Engine (QE) block such as MPC8321. > > This QE QMC is similar to the CPM QMC except that it uses UCCs (Unified > Communicatio

Re: [PATCH v2 07/36] dt-bindings: soc: fsl: cpm_qe: Add QUICC Engine (QE) TSA controller

2024-08-13 Thread Rob Herring (Arm)
On Thu, 08 Aug 2024 09:11:00 +0200, Herve Codina wrote: > Add support for the time slot assigner (TSA) available in some > PowerQUICC SoC that uses a QUICC Engine (QE) block such as MPC8321. > > This QE TSA is similar to the CPM TSA except that it uses UCCs (Unified > Communication Controllers)

Re: [PATCH v3] PCI: Fix crash during pci_dev hot-unplug on pseries KVM guest

2024-08-13 Thread Rob Herring (Arm)
On Sat, 03 Aug 2024 00:03:25 +0530, Amit Machhiwal wrote: > With CONFIG_PCI_DYNAMIC_OF_NODES [1], a hot-plug and hot-unplug sequence > of a PCI device attached to a PCI-bridge causes following kernel Oops on > a pseries KVM guest: > > RTAS: event: 2, Type: Hotplug Event (229), Severity: 1 > Ke

Re: [PATCH v3] PCI: Fix crash during pci_dev hot-unplug on pseries KVM guest

2024-08-13 Thread Rob Herring
On Tue, Aug 06, 2024 at 03:00:59PM -0500, Bjorn Helgaas wrote: > On Sat, Aug 03, 2024 at 12:03:25AM +0530, Amit Machhiwal wrote: > > With CONFIG_PCI_DYNAMIC_OF_NODES [1], a hot-plug and hot-unplug sequence > > of a PCI device attached to a PCI-bridge causes following kernel Oops on > > a pseries KV

Re: [PATCH v5 0/7] mm/mprotect: Fix dax puds

2024-08-13 Thread Peter Xu
On Tue, Aug 13, 2024 at 10:50:04PM +1000, Michael Ellerman wrote: > > - Power, as no hardware on hand. > > Does it need some specific configuration, or just any Power machine will do? I am not familiar with both dax and power to be sure on the hardware implications here, sorry. I think as long a

Re: Since 6.10 - kernel oops/panics on G4 macmini due to change in drivers/ata/pata_macio.c

2024-08-13 Thread Niklas Cassel
Hello Michael, On Tue, Aug 13, 2024 at 10:32:36PM +1000, Michael Ellerman wrote: > Niklas Cassel writes: > > Hello Jonáš, Kolbjørn, > > > > thank you for the report. > > > > On Tue, Aug 13, 2024 at 07:49:34AM +0200, Jonáš Vidra wrote: > >> On Tue 13. Aug 2024 0:32:37 CEST, Kolbjørn Barmen wrote:

Re: Since 6.10 - kernel oops/panics on G4 macmini due to change in drivers/ata/pata_macio.c

2024-08-13 Thread Kolbjørn Barmen
On Tue, 13 Aug 2024, Michael Ellerman wrote: > Niklas Cassel writes: > > Hello Jonáš, Kolbjørn, > > > > thank you for the report. > > > > On Tue, Aug 13, 2024 at 07:49:34AM +0200, Jonáš Vidra wrote: > >> On Tue 13. Aug 2024 0:32:37 CEST, Kolbjørn Barmen wrote: > >> > Ever since 6.10, my macmini G

Re: [PATCH v5 0/7] mm/mprotect: Fix dax puds

2024-08-13 Thread Michael Ellerman
Peter Xu writes: > [Based on mm-unstable, commit 98808d08fc0f, Aug 7th. NOTE: it is > intentional to not have rebased to latest mm-unstable, as this is to > replace the queued v4] > > v5 Changelog: > - Rename patch subject "mm/x86: arch_check_zapped_pud()", add "Implement" > [tglx] > - Mostly r

Re: [PATCH v5.10 v2 RESEND] powerpc: Avoid nmi_enter/nmi_exit in real mode interrupt.

2024-08-13 Thread Greg KH
On Tue, Aug 13, 2024 at 11:33:44AM +, Jinjie Ruan wrote: > From: Mahesh Salgaonkar > > [ Upstream commit 0db880fc865ffb522141ced4bfa66c12ab1fbb70 ] > > nmi_enter()/nmi_exit() touches per cpu variables which can lead to kernel > crash when invoked during real mode interrupt handling (e.g. ear

Re: [PATCH v2] KVM: PPC: Book3S HV: Refactor HFSCR emulation for KVM guests

2024-08-13 Thread Michael Ellerman
On Tue, 16 Jul 2024 17:22:04 +0530, Gautam Menghani wrote: > Refactor HFSCR emulation for KVM guests when they exit out with > H_FAC_UNAVAIL to use a switch case instead of checking all "cause" > values, since the "cause" values are mutually exclusive; and this is > better expressed with a switch c

Re: [PATCH v2 0/2] Skip offline cores when enabling SMT on PowerPC

2024-08-13 Thread Michael Ellerman
On Wed, 31 Jul 2024 08:31:11 +0530, Nysal Jan K.A. wrote: > After the addition of HOTPLUG_SMT support for PowerPC [1] there was a > regression reported [2] when enabling SMT. On a system with at least > one offline core, when enabling SMT, the expectation is that no CPUs > of offline cores are made

Re: Since 6.10 - kernel oops/panics on G4 macmini due to change in drivers/ata/pata_macio.c

2024-08-13 Thread Michael Ellerman
Niklas Cassel writes: > Hello Jonáš, Kolbjørn, > > thank you for the report. > > On Tue, Aug 13, 2024 at 07:49:34AM +0200, Jonáš Vidra wrote: >> On Tue 13. Aug 2024 0:32:37 CEST, Kolbjørn Barmen wrote: >> > Ever since 6.10, my macmini G4 behaved unstable when dealing with lots of >> > I/O activity

[PATCH v5.15 RESEND] powerpc: Avoid nmi_enter/nmi_exit in real mode interrupt.

2024-08-13 Thread Jinjie Ruan
From: Mahesh Salgaonkar [ Upstream commit 0db880fc865ffb522141ced4bfa66c12ab1fbb70 ] nmi_enter()/nmi_exit() touches per cpu variables which can lead to kernel crash when invoked during real mode interrupt handling (e.g. early HMI/MCE interrupt handler) if percpu allocation comes from vmalloc are

[PATCH v5.10 v2 RESEND] powerpc: Avoid nmi_enter/nmi_exit in real mode interrupt.

2024-08-13 Thread Jinjie Ruan
From: Mahesh Salgaonkar [ Upstream commit 0db880fc865ffb522141ced4bfa66c12ab1fbb70 ] nmi_enter()/nmi_exit() touches per cpu variables which can lead to kernel crash when invoked during real mode interrupt handling (e.g. early HMI/MCE interrupt handler) if percpu allocation comes from vmalloc are

[PATCH v5.15] powerpc: Avoid nmi_enter/nmi_exit in real mode interrupt.

2024-08-13 Thread Jinjie Ruan
From: Mahesh Salgaonkar nmi_enter()/nmi_exit() touches per cpu variables which can lead to kernel crash when invoked during real mode interrupt handling (e.g. early HMI/MCE interrupt handler) if percpu allocation comes from vmalloc area. Early HMI/MCE handlers are called through DEFINE_INTERRUPT

Re: [PATCH v5.10 v2] powerpc: Avoid nmi_enter/nmi_exit in real mode interrupt.

2024-08-13 Thread Jinjie Ruan
On 2024/8/13 18:47, Greg KH wrote: > On Tue, Aug 06, 2024 at 07:16:16AM +, Jinjie Ruan wrote: >> From: Mahesh Salgaonkar >> >> [ Upstream commit 0db880fc865ffb522141ced4bfa66c12ab1fbb70 ] >> >> nmi_enter()/nmi_exit() touches per cpu variables which can lead to kernel >> crash when invoked d

Re: [PATCH v5.10 v2] powerpc: Avoid nmi_enter/nmi_exit in real mode interrupt.

2024-08-13 Thread Greg KH
On Tue, Aug 06, 2024 at 07:16:16AM +, Jinjie Ruan wrote: > From: Mahesh Salgaonkar > > [ Upstream commit 0db880fc865ffb522141ced4bfa66c12ab1fbb70 ] > > nmi_enter()/nmi_exit() touches per cpu variables which can lead to kernel > crash when invoked during real mode interrupt handling (e.g. ear

Re: [PATCH 2/2] cxl: Use of_property_ accessor functions

2024-08-13 Thread Andrew Donnellan
On Mon, 2024-07-29 at 16:36 -0600, Rob Herring (Arm) wrote: > The CXL driver has its own custom implementations of typed DT > property > accessors. Replace the custom property accessor functions with the > common DT property functions. > > This clean-up is part of a larger effort to remove of_get_

Re: Since 6.10 - kernel oops/panics on G4 macmini due to change in drivers/ata/pata_macio.c

2024-08-13 Thread Jonáš Vidra
On úterý 13. srpna 2024 11:54:57 CEST, Niklas Cassel wrote: Hello Jonáš, Kolbjørn, thank you for the report. On Tue, Aug 13, 2024 at 07:49:34AM +0200, Jonáš Vidra wrote: On Tue 13. Aug 2024 0:32:37 CEST, Kolbjørn Barmen wrote: ... Michael, as the author of the this commit, could you please

Re: Since 6.10 - kernel oops/panics on G4 macmini due to change in drivers/ata/pata_macio.c

2024-08-13 Thread Niklas Cassel
Hello Jonáš, Kolbjørn, thank you for the report. On Tue, Aug 13, 2024 at 07:49:34AM +0200, Jonáš Vidra wrote: > On Tue 13. Aug 2024 0:32:37 CEST, Kolbjørn Barmen wrote: > > Ever since 6.10, my macmini G4 behaved unstable when dealing with lots of > > I/O activity, such as sync'ing of Gentoo porta

Re: [PATCH v2] Document/kexec: Generalize crash hotplug description

2024-08-13 Thread Sourabh Jain
Hello Boaquan, On 13/08/24 14:47, Baoquan He wrote: On 08/13/24 at 10:58am, Sourabh Jain wrote: Hello Baoquan, On 13/08/24 10:34, Baoquan He wrote: On 08/12/24 at 09:46am, Sourabh Jain wrote: .. --- Changelog: Since v1: https://lore.kernel.org/all/20240805050829.297171-1-sourabhj...@l

Re: [PATCH v2] Document/kexec: Generalize crash hotplug description

2024-08-13 Thread Baoquan He
On 08/13/24 at 10:58am, Sourabh Jain wrote: > Hello Baoquan, > > On 13/08/24 10:34, Baoquan He wrote: > > On 08/12/24 at 09:46am, Sourabh Jain wrote: > > .. > > > --- > > > > > > Changelog: > > > > > > Since v1: > > > https://lore.kernel.org/all/20240805050829.297171-1-sourabhj...@linux.ibm

Re: [PATCH v2] Document/kexec: Generalize crash hotplug description

2024-08-13 Thread Baoquan He
On 08/12/24 at 09:46am, Sourabh Jain wrote: .. > --- > > Changelog: > > Since v1: > https://lore.kernel.org/all/20240805050829.297171-1-sourabhj...@linux.ibm.com/ > - Update crash_hotplug sysfs document as suggested by Petr T > - Update an error message in crash_handle_hotplug_event and

Re: [PATCH v2] selftest/powerpc/benchmark: remove requirement libc-dev

2024-08-13 Thread Michael Ellerman
Madhavan Srinivasan writes: > Currently exec-target.c file is linked as static and this > post a requirement to install libc dev package to build. I think specifically the problem is that the test requires a static libc, which is packaged separately in some distros from the regular libc headers,