Re: [PATCH v2 1/1] dt-bindings: fsl: fsl,rcpm: Add #power-domain-cells

2025-07-30 Thread Krzysztof Kozlowski
On Thu, Jul 31, 2025 at 07:58:04AM +0200, Alexander Stein wrote: > dtbs_check for ls1021.dtsi warns about unsupported property: > power-controller@1ee2140 (fsl,ls1021a-rcpm): '#power-domain-cells' does not > match any of the regexes: '^pinctrl-[0-9]+$' > > But if removed the check warns about mi

[PATCH v2] powerpc/qspinlock: Add spinlock contention tracepoint

2025-07-30 Thread Nysal Jan K.A.
Add a lock contention tracepoint in the queued spinlock slowpath. Also add the __lockfunc annotation so that in_lock_functions() works as expected. Signed-off-by: Nysal Jan K.A. --- arch/powerpc/lib/qspinlock.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --gi

Re: [PATCH 0/8] dma-mapping: migrate to physical address-based API

2025-07-30 Thread Leon Romanovsky
On Wed, Jul 30, 2025 at 11:28:18AM -0300, Jason Gunthorpe wrote: > On Wed, Jul 30, 2025 at 04:40:26PM +0300, Leon Romanovsky wrote: <...> > > The most reasonable way to prevent DMA_ATTR_SKIP_CPU_SYNC leakage is to > > introduce new DMA attribute (let's call it DMA_ATTR_MMIO for now) and > > pass

[PATCH v2 1/1] dt-bindings: fsl: fsl,rcpm: Add #power-domain-cells

2025-07-30 Thread Alexander Stein
dtbs_check for ls1021.dtsi warns about unsupported property: power-controller@1ee2140 (fsl,ls1021a-rcpm): '#power-domain-cells' does not match any of the regexes: '^pinctrl-[0-9]+$' But if removed the check warns about missing property: power-controller@1ee2140 (fsl,ls1021a-rcpm): '#power-domai

[PATCH] docs/powerpc: add htm.rst to toctree to fix warning

2025-07-30 Thread Kriish Sharma
The htm.rst file was not included in any toctree, leading to a Sphinx warning when building documentation. Include it in Documentation/arch/powerpc/index.rst to fix the warning. Signed-off-by: Kriish Sharma --- Documentation/arch/powerpc/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 delet

Re: [PATCH] docs/powerpc: add htm.rst to toctree to fix warning

2025-07-30 Thread Jonathan Corbet
Kriish Sharma writes: > The htm.rst file was not included in any toctree, leading to a Sphinx > warning when building documentation. > > Include it in Documentation/arch/powerpc/index.rst to fix the warning. > > Signed-off-by: Kriish Sharma > --- > Documentation/arch/powerpc/index.rst | 2 +- >

Re: [PATCH v3 2/2] PCI/ERR: s390/pci: Use pci_uevent_ers() in PCI recovery

2025-07-30 Thread Lukas Wunner
On Wed, Jul 30, 2025 at 01:20:58PM +0200, Niklas Schnelle wrote: > Issue uevents during PCI recovery using pci_uevent_ers() as done by EEH > and AER PCIe recovery routines. > > Signed-off-by: Niklas Schnelle Reviewed-by: Lukas Wunner

Re: [PATCH v3 1/2] PCI/AER: Fix missing uevent on recovery when a reset is requested

2025-07-30 Thread Lukas Wunner
On Wed, Jul 30, 2025 at 10:01:50PM +0200, Lukas Wunner wrote: > On Wed, Jul 30, 2025 at 01:20:57PM +0200, Niklas Schnelle wrote: > > Since commit 7b42d97e99d3 ("PCI/ERR: Always report current recovery > > status for udev") AER uses the result of error_detected() as parameter > > to pci_uevent_ers()

Re: [PATCH v3 1/2] PCI/AER: Fix missing uevent on recovery when a reset is requested

2025-07-30 Thread Lukas Wunner
On Wed, Jul 30, 2025 at 01:20:57PM +0200, Niklas Schnelle wrote: > Since commit 7b42d97e99d3 ("PCI/ERR: Always report current recovery > status for udev") AER uses the result of error_detected() as parameter > to pci_uevent_ers(). As pci_uevent_ers() however does not handle > PCI_ERS_RESULT_NEED_RE

Re: [PATCH v3] vmcoreinfo: Track and log recoverable hardware errors

2025-07-30 Thread Breno Leitao
Hello Mauro, On Wed, Jul 30, 2025 at 06:21:37PM +0200, Mauro Carvalho Chehab wrote: > Em Wed, 30 Jul 2025 06:11:52 -0700 > Breno Leitao escreveu: > > On Wed, Jul 30, 2025 at 10:13:13AM +0800, Shuai Xue wrote: > > > In ghes_log_hwerr(), you're counting both CPER_SEV_CORRECTED and > > > CPER_SEV_RE

Re: [PATCH v3] vmcoreinfo: Track and log recoverable hardware errors

2025-07-30 Thread Breno Leitao
Hello Shuai, Thanks for the review, On Wed, Jul 30, 2025 at 09:50:39PM +0800, Shuai Xue wrote: > 在 2025/7/30 21:11, Breno Leitao 写道: > > > > @@ -1690,6 +1691,9 @@ noinstr void do_machine_check(struct pt_regs *regs) > > } > > > > out: > > + /* Given it didn't panic, mark it as recoverable

Re: [PATCH 0/8] dma-mapping: migrate to physical address-based API

2025-07-30 Thread Marek Szyprowski
On 30.07.2025 13:11, Robin Murphy wrote: > On 2025-07-08 11:27 am, Marek Szyprowski wrote: >> On 30.06.2025 15:38, Christoph Hellwig wrote: >>> On Fri, Jun 27, 2025 at 08:02:13PM +0300, Leon Romanovsky wrote: > Thanks for this rework! I assume that the next step is to add > map_phys >

Re: [PATCH v3] vmcoreinfo: Track and log recoverable hardware errors

2025-07-30 Thread Mauro Carvalho Chehab
Em Wed, 30 Jul 2025 06:11:52 -0700 Breno Leitao escreveu: > Hello Shuai, > > On Wed, Jul 30, 2025 at 10:13:13AM +0800, Shuai Xue wrote: > > In ghes_log_hwerr(), you're counting both CPER_SEV_CORRECTED and > > CPER_SEV_RECOVERABLE errors: > > Thanks. I was reading this code a bit more, and I w

Re: linux-next: build warning after merge of the jc_docs tree

2025-07-30 Thread Christophe Leroy
Le 30/07/2025 à 15:01, Jonathan Corbet a écrit : Stephen Rothwell writes: Hi all, After merging the jc_docs tree, today's linux-next build (htmldocs) produced this warning: Documentation/arch/powerpc/index.rst:7: WARNING: duplicated entry found in toctree: arch/powerpc/htm Introduced by

Re: [PATCH] soc: Use dev_fwnode()

2025-07-30 Thread Christophe Leroy
Le 08/07/2025 à 10:33, Christophe Leroy a écrit : Hi, Le 11/06/2025 à 12:43, Jiri Slaby (SUSE) a écrit : irq_domain_create_simple() takes fwnode as the first argument. It can be extracted from the struct device using dev_fwnode() helper instead of using of_node with of_fwnode_handle(). So u

Re: linux-next: build warning after merge of the jc_docs tree

2025-07-30 Thread Randy Dunlap
On 7/30/25 7:30 AM, Christophe Leroy wrote: > > > Le 30/07/2025 à 15:01, Jonathan Corbet a écrit : >> Stephen Rothwell writes: >> >>> Hi all, >>> >>> After merging the jc_docs tree, today's linux-next build (htmldocs) >>> produced this warning: >>> >>> Documentation/arch/powerpc/index.rst:7:

Re: linux-next: build warning after merge of the jc_docs tree

2025-07-30 Thread Stephen Rothwell
Hi Jon, On Wed, 30 Jul 2025 07:01:21 -0600 Jonathan Corbet wrote: > > Stephen Rothwell writes: > > > Hi all, > > > > After merging the jc_docs tree, today's linux-next build (htmldocs) > > produced this warning: > > > > Documentation/arch/powerpc/index.rst:7: WARNING: duplicated entry found in

Re: [PATCH 0/8] dma-mapping: migrate to physical address-based API

2025-07-30 Thread Jason Gunthorpe
On Wed, Jul 30, 2025 at 04:40:26PM +0300, Leon Romanovsky wrote: > > The natural working unit for whatever replaces dma_map_page() will be > > whatever the replacement for alloc_pages() returns, and the replacement for > > kmap_atomic() operates on. Until that exists (and I simply cannot believe i

Re: [PATCH] powerpc/qspinlock: Add spinlock contention tracepoint

2025-07-30 Thread samir
On 2025-07-25 13:44, Nysal Jan K.A. wrote: Add a lock contention tracepoint in the queued spinlock slowpath. Also add the __lockfunc annotation so that in_lock_functions() works as expected. Signed-off-by: Nysal Jan K.A. --- arch/powerpc/lib/qspinlock.c | 13 - 1 file changed, 8 in

Re: [PATCH v3] vmcoreinfo: Track and log recoverable hardware errors

2025-07-30 Thread Shuai Xue
在 2025/7/30 21:11, Breno Leitao 写道: Hello Shuai, On Wed, Jul 30, 2025 at 10:13:13AM +0800, Shuai Xue wrote: In ghes_log_hwerr(), you're counting both CPER_SEV_CORRECTED and CPER_SEV_RECOVERABLE errors: Thanks. I was reading this code a bit more, and I want to make sure my understanding is

Re: [PATCH 1/2] soc: fsl: qe: use new GPIO line value setter callbacks

2025-07-30 Thread Christophe Leroy
On Tue, 10 Jun 2025 14:38:50 +0200, Bartosz Golaszewski wrote: > struct gpio_chip now has callbacks for setting line values that return > an integer, allowing to indicate failures. Convert the driver to using > them. > > Applied, thanks! [1/2] soc: fsl: qe: use new GPIO line value setter call

Re: [PATCH] soc: fsl: qe: convert set_multiple() to returning an integer

2025-07-30 Thread Christophe Leroy
On Mon, 21 Jul 2025 15:15:11 +0200, Bartosz Golaszewski wrote: > The conversion to using the new GPIO line setter callbacks missed the > set_multiple() in this file. Convert it to using the new callback. > > Applied, thanks! [1/1] soc: fsl: qe: convert set_multiple() to returning an integer

Re: [PATCH 0/8] dma-mapping: migrate to physical address-based API

2025-07-30 Thread Leon Romanovsky
On Wed, Jul 30, 2025 at 12:11:32PM +0100, Robin Murphy wrote: > On 2025-07-08 11:27 am, Marek Szyprowski wrote: > > On 30.06.2025 15:38, Christoph Hellwig wrote: > > > On Fri, Jun 27, 2025 at 08:02:13PM +0300, Leon Romanovsky wrote: > > > > > Thanks for this rework! I assume that the next step is t

PowerPC updates 6.17-1: Switching VT failed

2025-07-30 Thread Christian Zigotzky
Hi All, Could you please test Xorg with the latest Git kernel including the new PowerPC updates 6.17-1? Xorg doesn’t start anymore. Error message: xf86OpenConsole: Switching VT failed. I tested it with QEMU with virtio-gpu-pci and VGA,vgamem_mb=256 with some Linux distributions today. Unfor

Re: [PATCH v3] vmcoreinfo: Track and log recoverable hardware errors

2025-07-30 Thread Breno Leitao
Hello Shuai, On Wed, Jul 30, 2025 at 10:13:13AM +0800, Shuai Xue wrote: > In ghes_log_hwerr(), you're counting both CPER_SEV_CORRECTED and > CPER_SEV_RECOVERABLE errors: Thanks. I was reading this code a bit more, and I want to make sure my understanding is correct, giving I was confused about CO

Re: linux-next: build warning after merge of the jc_docs tree

2025-07-30 Thread Jonathan Corbet
Stephen Rothwell writes: > Hi all, > > After merging the jc_docs tree, today's linux-next build (htmldocs) > produced this warning: > > Documentation/arch/powerpc/index.rst:7: WARNING: duplicated entry found in > toctree: arch/powerpc/htm > > Introduced by commit > > c361f76da696 ("docs: power

[PATCH v3 2/2] PCI/ERR: s390/pci: Use pci_uevent_ers() in PCI recovery

2025-07-30 Thread Niklas Schnelle
Issue uevents during PCI recovery using pci_uevent_ers() as done by EEH and AER PCIe recovery routines. Signed-off-by: Niklas Schnelle --- arch/s390/pci/pci_event.c | 3 +++ drivers/pci/pci-driver.c | 2 +- include/linux/pci.h | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff

[PATCH v3 1/2] PCI/AER: Fix missing uevent on recovery when a reset is requested

2025-07-30 Thread Niklas Schnelle
Since commit 7b42d97e99d3 ("PCI/ERR: Always report current recovery status for udev") AER uses the result of error_detected() as parameter to pci_uevent_ers(). As pci_uevent_ers() however does not handle PCI_ERS_RESULT_NEED_RESET this results in a missing uevent for the beginning of recovery if dri

[PATCH v3 0/2] PCI/ERR: s390/pci: Use pci_uevent_ers() in PCI recovery

2025-07-30 Thread Niklas Schnelle
Hi Bjorn, Lukas, Mahesh, This series adds issuing of uevents during PCI recovery on s390. In developing this I noticed that pci_uevent_ers() ignores PCI_ERS_RESULT_NEED_RESET. I think this will result in AER not generating a uevent at the beginning of recovery if drivers request a reset via the v

Re: [PATCH 0/8] dma-mapping: migrate to physical address-based API

2025-07-30 Thread Robin Murphy
On 2025-07-08 11:27 am, Marek Szyprowski wrote: On 30.06.2025 15:38, Christoph Hellwig wrote: On Fri, Jun 27, 2025 at 08:02:13PM +0300, Leon Romanovsky wrote: Thanks for this rework! I assume that the next step is to add map_phys callback also to the dma_map_ops and teach various dma-mapping pr

Re: [PATCH] powerpc/qspinlock: Add spinlock contention tracepoint

2025-07-30 Thread Nysal Jan K.A.
On Wed, Jul 30, 2025 at 08:46:28AM +0200, Christophe Leroy wrote: > > > Le 25/07/2025 à 10:14, Nysal Jan K.A. a écrit : > > @@ -718,16 +720,17 @@ void queued_spin_lock_slowpath(struct qspinlock *lock) > > if (IS_ENABLED(CONFIG_PARAVIRT_SPINLOCKS) && is_shared_processor()) { > > if

Re: [EXTERNE] [PATCH -resend] powerpc: Use dev_fwnode()

2025-07-30 Thread Christophe Leroy
Le 23/07/2025 à 08:28, Jiri Slaby (SUSE) a écrit : irq_domain_create_simple() takes fwnode as the first argument. It can be extracted from the struct device using dev_fwnode() helper instead of using of_node with of_fwnode_handle(). So use the dev_fwnode() helper. Signed-off-by: Jiri Slaby (

Re: [PATCH] powerpc/qspinlock: Add spinlock contention tracepoint

2025-07-30 Thread Christophe Leroy
Le 25/07/2025 à 10:14, Nysal Jan K.A. a écrit : Add a lock contention tracepoint in the queued spinlock slowpath. Also add the __lockfunc annotation so that in_lock_functions() works as expected. Signed-off-by: Nysal Jan K.A. --- arch/powerpc/lib/qspinlock.c | 13 - 1 file cha