- Original Message -
> From: "Bjorn Helgaas"
> To: "Timothy Pearson"
> Cc: "linuxppc-dev" , "linux-kernel"
> , "linux-pci"
> , "Madhavan Srinivasan" ,
> "Michael Ellerman" ,
> "christop
Apologies for that, I had meant to send v3 in and apparently it got dropped. I
believe I have addressed the comments in the v3 I just sent in.
Thank you!
- Original Message -
> From: "Bjorn Helgaas"
> To: "Timothy Pearson"
> Cc: "Krishna Kumar&qu
The PCIe specification allows three attention indicator states,
on, off, and blink. Enable all three states instead of basic
on / off control.
This changes the userspace API to match the behavior of pcihp.
Signed-off-by: Timothy Pearson
---
drivers/pci/hotplug/pnv_php.c | 15
device in the slot.
Issue the appropriate unfreeze and rescan commands on hotplug events,
and don't oops on hotplug if pci_bus_to_OF_node() returns NULL.
Signed-off-by: Timothy Pearson
---
arch/powerpc/kernel/pci-hotplug.c | 3 +
drivers/pci/hotplug/pnv_php.c
remove safe. Also clean
up a few minor formatting / readability issues.
Signed-off-by: Timothy Pearson
---
arch/powerpc/kernel/eeh_driver.c | 48 +---
arch/powerpc/kernel/eeh_pe.c | 10 ---
2 files changed, 38 insertions(+), 20 deletions(-)
diff --git a/arch
The PowerNV hotplug driver needs to be able to clear any frozen PE(s)
on the PHB after suprise removal of a downstream device.
Export the eeh_unfreeze_pe() symbol to allow implementation of this
functionality in the php_nv module.
Signed-off-by: Timothy Pearson
---
arch/powerpc/kernel/eeh.c
downstream devices not being re-detected.
Work around this by additionally checking whether the PCIe data link is
active or not when performing presence detection on downstream switches'
ports, similar to the pciehp_hpc.c driver.
Signed-off-by: Shawn Anastasio
Signed-off-by: Timothy Pe
store+0x40/0x5c
sysfs_kf_write+0x64/0x78
kernfs_fop_write_iter+0x1b0/0x290
vfs_write+0x3bc/0x50c
ksys_write+0x84/0x140
system_call_exception+0x124/0x230
system_call_vectored_common+0x15c/0x2ec
Signed-off-by: Shawn Anastasio
Signed-off-by: Timothy Pearson
---
drivers/pci/hotplug
sence detection
Timothy Pearson (4):
powerpc/eeh: Export eeh_unfreeze_pe()
powerpc/eeh: Make EEH driver device hotplug safe
PCI: pnv_php: Fix surprise plug detection and recovery
PCI: pnv_php: Enable third attention indicator state
arch/powerpc/kernel/eeh.c | 1 +
arch/powerpc/k
- Original Message -
> From: "Krishna Kumar"
> To: "Bjorn Helgaas" , "Timothy Pearson"
>
> Cc: "linuxppc-dev" , "linux-kernel"
> , "linux-pci"
> , "Madhavan Srinivasan" ,
> "Mic
- Original Message -
> From: "Krishna Kumar"
> To: "Timothy Pearson"
> Cc: "linuxppc-dev" , "Shawn Anastasio"
> , "linux-kernel"
> , "linux-pci" ,
> "Madhavan Srinivasan" ,
> "Michael
- Original Message -
> From: "Krishna Kumar"
> To: "linuxppc-dev" , "Timothy Pearson"
> , "Shawn
> Anastasio"
> Cc: "linuxppc-dev" , "linux-kernel"
> , "linux-pci"
> , "Madhavan
- Original Message -
> From: "Lukas Wunner"
> To: "Timothy Pearson"
> Cc: "Bjorn Helgaas" , "linuxppc-dev"
> , "linux-kernel"
> , "linux-pci" ,
> "Madhavan Srinivasan" ,
> "Michael Eller
- Original Message -
> From: "Bjorn Helgaas"
> To: "Timothy Pearson"
> Cc: "linuxppc-dev" , "linux-kernel"
> , "linux-pci"
> , "Madhavan Srinivasan" ,
> "Michael Ellerman" ,
> "christoph
- Original Message -
> From: "Bjorn Helgaas"
> To: "Timothy Pearson"
> Cc: "linuxppc-dev" , "linux-kernel"
> , "linux-pci"
> , "Madhavan Srinivasan" ,
> "Michael Ellerman" ,
> "christoph
- Original Message -
> From: "Bjorn Helgaas"
> To: "Timothy Pearson"
> Cc: "linuxppc-dev" , "linux-kernel"
> , "linux-pci"
> , "Madhavan Srinivasan" ,
> "Michael Ellerman" ,
> "christoph
- Original Message -
> From: "Bjorn Helgaas"
> To: "Timothy Pearson"
> Cc: "linuxppc-dev" , "linux-kernel"
> , "linux-pci"
> , "Madhavan Srinivasan" ,
> "Michael Ellerman" ,
> "christoph
state
The PCIe specification allows three attention indicator states,
on, off, and blink. Enable all three states instead of basic
on / off control.
Signed-off-by: Timothy Pearson
---
drivers/pci/hotplug/pnv_php.c | 15 ++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff
the device in the slot.
Issue the appropriate unfreeze and rescan commands on hotplug events,
and don't oops on hotplug if pci_bus_to_OF_node() returns NULL.
Signed-off-by: Timothy Pearson
---
arch/powerpc/kernel/pci-hotplug.c | 3 ++
drivers/pci/hotplug/pnv_php.c
remove safe. Also clean
up a few minor formatting / readability issues.
Signed-off-by: Timothy Pearson
---
arch/powerpc/kernel/eeh_driver.c | 48 +---
arch/powerpc/kernel/eeh_pe.c | 10 ---
2 files changed, 38 insertions(+), 20 deletions(-)
diff --git a/arch
The PowerNV hotplug driver needs to be able to clear any frozen PE(s)
on the PHB after suprise removal of a downstream device.
Export the eeh_unfreeze_pe() symbol to allow implementation of this
functionality in the php_nv module.
Signed-off-by: Timothy Pearson
---
arch/powerpc/kernel/eeh.c
ff-by: Timothy Pearson
---
drivers/pci/hotplug/pnv_php.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/drivers/pci/hotplug/pnv_php.c b/drivers/pci/hotplug/pnv_php.c
index aec0a6d594ac..bac8af3df41a 100644
--- a/drivers/pci/hotplug/pnv_php.c
+++ b/drivers/pci/ho
attr_store+0x40/0x5c
sysfs_kf_write+0x64/0x78
kernfs_fop_write_iter+0x1b0/0x290
vfs_write+0x3bc/0x50c
ksys_write+0x84/0x140
system_call_exception+0x124/0x230
system_call_vectored_common+0x15c/0x2ec
Signed-off-by: Shawn Anastasio
Signed-off-by: Timothy Pearson
---
drivers/p
- Original Message -
> From: "Timothy Pearson"
> To: "Christoph Hellwig"
> Cc: "linuxppc-dev" , "linux-kernel"
> , "linux-pci"
> , "Madhavan Srinivasan" ,
> "Michael Ellerman" ,
> "christ
roken presence
detection
Timothy Pearson (5):
powerpc/pseries/eeh: Export eeh_unfreeze_pe() and eeh_ops
powerpc/eeh: Make EEH driver device hotplug safe
pci/hotplug/pnv_php: Fix surprise plug detection and recovery
pci/hotplug/pnv_php: Enable third atetntion indicator state
arch/po
- Original Message -
> From: "Christoph Hellwig"
> To: "Timothy Pearson"
> Cc: "linuxppc-dev" , "linux-kernel"
> , "linux-pci"
> , "Madhavan Srinivasan" ,
> "Michael Ellerman" ,
> "christ
The PowerNV hotplug driver needs to be able to detect and clear any
frozen PE on the PHB after suprise removal of a downstream device.
Export the eeh_unfreeze_pe() and eeh_ops symbols to allow implementation
of this functionality in the php_nv module.
Signed-off-by: Timothy Pearson
---
arch
attr_store+0x40/0x5c
sysfs_kf_write+0x64/0x78
kernfs_fop_write_iter+0x1b0/0x290
vfs_write+0x3bc/0x50c
ksys_write+0x84/0x140
system_call_exception+0x124/0x230
system_call_vectored_common+0x15c/0x2ec
Signed-off-by: Shawn Anastasio
Signed-off-by: Timothy Pearson
---
drivers/p
ff-by: Timothy Pearson
---
drivers/pci/hotplug/pnv_php.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/drivers/pci/hotplug/pnv_php.c b/drivers/pci/hotplug/pnv_php.c
index 2c07544216fb..1a734adb5b10 100644
--- a/drivers/pci/hotplug/pnv_php.c
+++ b/drivers/pci/ho
state
The PCIe specification allows three attention indicator states,
on, off, and blink. Enable all three states instead of basic
on / off control.
Signed-off-by: Timothy Pearson
---
drivers/pci/hotplug/pnv_php.c | 16 +++-
1 file changed, 15 insertions(+), 1 deletion(-)
diff
roken presence
detection
Timothy Pearson (5):
powerpc/pseries/eeh: Export eeh_unfreeze_pe() and eeh_ops
powerpc/eeh: Make EEH driver device hotplug safe
pci/hotplug/pnv_php: Fix surprise plug detection and recovery
pci/hotplug/pnv_php: Enable third atetntion indicator state
arch/po
upstream slot interrupts enabled on slot deactivation, and
don't oops on hotplug if pci_bus_to_OF_node() returns NULL.
Signed-off-by: Timothy Pearson
---
arch/powerpc/kernel/pci-hotplug.c | 3 ++
drivers/pci/hotplug/pnv_php.c | 71 +--
2 files change
>From 21d8f844bf1971b609e9b07086fddfc76e1d1ec7 Mon Sep 17 00:00:00 2001
From: Timothy Pearson
Date: Tue, 17 Jun 2025 23:16:37 -0500
Subject: [PATCH 4/8] powerpc/eeh: Make EEH driver device hotplug safe
Multiple race conditions existed between the PCIe hotplug driver and
the EEH driver, lead
- Original Message -
> From: "Jason Gunthorpe"
> To: "Shivaprasad G Bhat"
> Cc: "Timothy Pearson" , "Alex Williamson"
> , "linuxppc-dev"
> , "Michael Ellerman" ,
> "npiggin" , "christo
- Original Message -
> From: "christophe leroy"
> To: "Timothy Pearson"
> Cc: "linuxppc-dev"
> Sent: Saturday, February 17, 2024 10:39:06 AM
> Subject: Re: [PATCH v3] powerpc: Add gpr1 and fpu save/restore functions
> Le 16/02/2024 à 1
- Original Message -
> From: "christophe leroy"
> To: "Timothy Pearson" , "linuxppc-dev"
>
> Sent: Tuesday, February 13, 2024 9:13:41 AM
> Subject: Re: [PATCH v2] powerpc: Add gpr1 and fpu save/restore functions
> Le 12/02/2024 à 18:14, T
save/restore functions per the PowerPC 64-bit ELFv2 ABI
documentation.
Tested on a Talos II with a WX7100 installed and running in DisplayCore mode.
Reported-by: kernel test robot
Tested-by: Timothy Pearson
Signed-off-by: Timothy Pearson
---
arch/powerpc/kernel/prom_init_check.sh | 4
- Original Message -
> From: "Michael Ellerman"
> To: "Timothy Pearson" , "Segher Boessenkool"
>
> Cc: "linuxppc-dev"
> Sent: Monday, February 12, 2024 11:23:30 PM
> Subject: Re: [PATCH] powerpc: Add gpr1 and fpu save/resto
- Original Message -
> From: "Segher Boessenkool"
> To: "Timothy Pearson"
> Cc: "linuxppc-dev"
> Sent: Monday, February 12, 2024 12:23:22 PM
> Subject: Re: [PATCH] powerpc: Add gpr1 and fpu save/restore functions
> On Mon, Feb 12,
- Original Message -
> From: "Segher Boessenkool"
> To: "Timothy Pearson"
> Cc: "linuxppc-dev"
> Sent: Monday, February 12, 2024 11:59:06 AM
> Subject: Re: [PATCH] powerpc: Add gpr1 and fpu save/restore functions
> On Mon, Feb 12,
- Original Message -
> From: "Segher Boessenkool"
> To: "Timothy Pearson"
> Cc: "linuxppc-dev"
> Sent: Monday, February 12, 2024 11:30:43 AM
> Subject: Re: [PATCH] powerpc: Add gpr1 and fpu save/restore functions
>
> Long long t
save/restore functions per the PowerPC 64-bit ELFv2 ABI
documentation.
Tested on a Talos II with a WX7100 installed and running in DisplayCore mode.
Reported-by: kernel test robot
Tested-by: Timothy Pearson
Signed-off-by: Timothy Pearson
---
arch/powerpc/kernel/prom_init_check.sh | 4
- Original Message -
> From: "Segher Boessenkool"
> To: "Timothy Pearson"
> Cc: "linuxppc-dev"
> Sent: Monday, February 12, 2024 11:02:07 AM
> Subject: Re: [PATCH] powerpc: Add gpr1 and fpu save/restore functions
> On Mon, Feb 12,
save/restore functions per the ABI v2 documentation.
Tested on a Talos II with a WX7100 installed and running in DisplayCore mode.
Reported-by: kernel test robot
Tested-by: Timothy Pearson
Signed-off-by: Timothy Pearson
---
arch/powerpc/kernel/prom_init_check.sh | 4 +-
arch/powerpc/lib
- Original Message -
> From: "Timothy Pearson"
> To: "Jason Gunthorpe"
> Cc: "Timothy Pearson" , "Shivaprasad G Bhat"
> , "iommu"
> , "linuxppc-dev" ,
> "linux-kernel" ,
> "Michael E
- Original Message -
> From: "Jason Gunthorpe"
> To: "Timothy Pearson"
> Cc: "Shivaprasad G Bhat" , "iommu"
> , "linuxppc-dev"
> , "linux-kernel"
> , "Michael Ellerman"
> , "npiggi
- Original Message -
> From: "Jason Gunthorpe"
> To: "Shivaprasad G Bhat"
> Cc: io...@lists.linux.dev, "linuxppc-dev" ,
> "linux-kernel"
> , "Michael Ellerman" ,
> "npiggin" , "christophe
> ler
--- interrupt: 3000
[ 157.330275] Code: 3842d8f0 7c0802a6 6000 7c0802a6 fbe1fff8 7c7f1b78
f8010010 f821ffd1 4bffc9f5 6000 3920 e94d0908 <7d00f8a8> 7c284800
40c20010 7d40f9ad
[ 157.330467] ---[ end trace ]---
[ 157.902980] note: bash[1170] exited with irqs dis
f1b78
f8010010 f821ffd1 4bffc9f5 6000 3920 e94d0908 <7d00f8a8> 7c284800
40c20010 7d40f9ad
[ 3771.108510] ---[ end trace ]---
- Original Message -
> From: "Timothy Pearson"
> To: "linuxppc-dev"
> Sent: Wednesday, December 27,
I've been evaluating some new options for our POWER9-based hardware in the NVMe
space, and would like some clarification on the current status of PCIe hotplug
for the PowerNV platforms.
>From what I understand, the pnv_php driver provides the basic hotplug
>functionality on PowerNV. What I'm n
- Original Message -
> From: "Samuel Holland"
> To: "Michael Ellerman"
> Cc: "linux-kernel" , "amd-gfx"
> , "linux-arch"
> , "linux-arm-kernel"
> , loonga...@lists.linux.dev,
> "linuxppc-dev&q
- Original Message -
> From: "Michael Ellerman"
> To: "Timothy Pearson"
> Cc: "Jens Axboe" , "regressions"
> , "npiggin" ,
> "christophe leroy" , "linuxppc-dev"
>
> Sent: Tuesday, November 28,
Just wanted to check back and see if this patch was going to be queued up soon?
We're still having to work around / advertise the data destruction issues the
underlying bug is causing on e.g. Debian Stable.
Thanks!
- Original Message -
> From: "Michael Ellerman"
> To: "Timothy Pearson"
> Cc: "Jens Axboe" , "regressions"
> , "npiggin" ,
> "christophe leroy" , "linuxppc-dev"
>
> Sent: Tuesday, Novem
- Original Message -
> From: "Timothy Pearson"
> To: "Michael Ellerman"
> Cc: "Jens Axboe" , "regressions"
> , "npiggin" ,
> "christophe leroy" , "linuxppc-dev"
>
> Sent: Monday, Novem
- Original Message -
> From: "Michael Ellerman"
> To: "Timothy Pearson"
> Cc: "Jens Axboe" , "regressions"
> , "npiggin" ,
> "christophe leroy" , "linuxppc-dev"
>
> Sent: Monday, November 20,
- Original Message -
> From: "Michael Ellerman"
> To: "Timothy Pearson"
> Cc: "Jens Axboe" , "regressions"
> , "npiggin" ,
> "christophe leroy" , "linuxppc-dev"
>
> Sent: Monday, November 20,
- Original Message -
> From: "Michael Ellerman"
> To: "Timothy Pearson" , "Jens Axboe"
> , "regressions"
> , "npiggin" , "christophe
> leroy" ,
> "linuxppc-dev"
> Sent: Monday, November 20,
77956.javamail.zim...@raptorengineeringinc.com/
Tested-by: Timothy Pearson
Tested-by: Jens Axboe
Signed-off-by: Timothy Pearson
---
arch/powerpc/kernel/fpu.S| 13 +
arch/powerpc/kernel/vector.S | 2 ++
2 files changed, 15 insertions(+)
diff --git a/arch/powerpc/kernel/fpu.S b/arch/po
- Original Message -
> From: "Timothy Pearson"
> To: "Jens Axboe" , "regressions"
> , "Michael Ellerman"
> , "npiggin" , "christophe leroy"
> , "linuxppc-dev"
>
> Sent: Saturday, Novem
ption using the above sequence, see MariaDB bug MDEV-30728.
Restore fr0/vs0 after FPSCR/VSCR store has completed for both the fp and
altivec register save paths.
Tested under QEMU in kvm mode, running on a Talos II workstation with dual
POWER9 DD2.2 CPUs.
Tested-by: Timothy Pearson
Signed-off-by: Ti
- Original Message -
> From: "Timothy Pearson"
> To: "Timothy Pearson"
> Cc: "npiggin" , "linuxppc-dev"
>
> Sent: Friday, November 17, 2023 2:26:37 AM
> Subject: Re: [PATCH] powerpc: Fix data corruption on IPI
> -
- Original Message -
> From: "Timothy Pearson"
> To: "npiggin"
> Cc: "linuxppc-dev"
> Sent: Friday, November 17, 2023 2:20:29 AM
> Subject: Re: [PATCH] powerpc: Fix data corruption on IPI
> - Original Message -
>> From: &
- Original Message -
> From: "npiggin"
> To: "Timothy Pearson" , "Michael Ellerman"
>
> Cc: "linuxppc-dev"
> Sent: Friday, November 17, 2023 2:01:12 AM
> Subject: Re: [PATCH] powerpc: Fix data corruption on IPI
&g
- Original Message -
> From: "Timothy Pearson"
> To: "Michael Ellerman" , "npiggin"
> Cc: "linuxppc-dev"
> Sent: Friday, November 17, 2023 1:39:37 AM
> Subject: Re: [PATCH] powerpc: Fix data corruption on IPI
> -
- Original Message -
> From: "Michael Ellerman"
> To: "Timothy Pearson" , "linuxppc-dev"
>
> Cc: "Jens Axboe"
> Sent: Tuesday, November 14, 2023 6:14:37 AM
> Subject: Re: [PATCH] powerpc: Fix data corruption on IPI
> Hi
- Original Message -
> From: "Michael Ellerman"
> To: "Timothy Pearson" , "linuxppc-dev"
>
> Cc: "Jens Axboe"
> Sent: Tuesday, November 14, 2023 6:14:37 AM
> Subject: Re: [PATCH] powerpc: Fix data corruption on IPI
> Hi
>From 0b2678b7cdada1a3d9aec8626f31a988d81373fa Mon Sep 17 00:00:00 2001
From: Timothy Pearson
Date: Mon, 13 Nov 2023 22:42:58 -0600
Subject: [PATCH] powerpc: Fix data corruption on IPI
On multithreaded SMP workloads such as those using io_uring, it is possible for
multiple threads to hold
- Original Message -
> From: "Salvatore Bonaccorso"
> To: "Timothy Pearson"
> Cc: "Linuxppc-dev"
> , "Jens
> Axboe"
> , "regressions" , "Michael
> Ellerman" , "npiggin"
> , "christ
- Original Message -
> From: "Randy Dunlap"
> To: "Timothy Pearson" , "Michael Ellerman"
>
> Cc: "Stephen Rothwell" , "Linux Next Mailing List"
> , "linux-kernel"
> , "linuxppc-dev"
> , &q
and PowerNV
A build failure with CONFIG_HAVE_PCI=y set without PSERIES or POWERNV
set was caught by the random configuration checker. Guard the sPAPR
specific IOMMU functions on CONFIG_PPC_PSERIES || CONFIG_PPC_POWERNV.
Signed-off-by: Timothy Pearson
---
arch/powerpc/kernel/iommu.c | 4
- Original Message -
> From: "Michael Ellerman"
> To: "Randy Dunlap" , "Stephen Rothwell"
> , "Linux Next Mailing List"
>
> Cc: "linux-kernel" , "linuxppc-dev"
> , "Alexey
> Kardashevskiy"
- Original Message -
> From: "Michael Ellerman"
> To: "Timothy Pearson" , "Timothy Pearson"
>
> Cc: "kvm" , "linuxppc-dev"
>
> Sent: Tuesday, March 21, 2023 5:33:57 AM
> Subject: Re: [PATCH v2 0/4] Reenable VFIO
- Original Message -
> From: "Timothy Pearson"
> To: "Michael Ellerman"
> Cc: "Timothy Pearson" , "kvm"
> , "linuxppc-dev"
>
> Sent: Thursday, March 9, 2023 1:28:20 PM
> Subject: Re: [PATCH v2 0/4] Reenabl
- Original Message -
> From: "Michael Ellerman"
> To: "Timothy Pearson" , "kvm"
>
> Cc: "linuxppc-dev"
> Sent: Thursday, March 9, 2023 5:40:01 AM
> Subject: Re: [PATCH v2 0/4] Reenable VFIO support on POWER systems
>
- Original Message -
> From: "Alex Williamson"
> To: "Timothy Pearson"
> Cc: "kvm" , "linuxppc-dev"
>
> Sent: Monday, March 6, 2023 6:59:41 PM
> Subject: Re: [PATCH v2 0/4] Reenable VFIO support on POWER systems
> On
initial
observation!
Signed-off-by: Timothy Pearson
---
drivers/vfio/vfio_iommu_spapr_tce.c | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/drivers/vfio/vfio_iommu_spapr_tce.c
b/drivers/vfio/vfio_iommu_spapr_tce.c
index 60a50ce8701e..c012ecb42ebc 100644
--- a/drivers
- Original Message -
> From: "Alex Williamson"
> To: "Timothy Pearson"
> Cc: "kvm" , "linuxppc-dev"
>
> Sent: Monday, March 6, 2023 5:46:07 PM
> Subject: Re: [PATCH v2 0/4] Reenable VFIO support on POWER systems
> On
;borrowing" iommu_table_group_ops
powerpc/pci_64: Init pcibios subsys a bit later
powerpc/iommu: Add iommu_ops to report capabilities and allow blocking
domains
Timothy Pearson (1):
Add myself to MAINTAINERS for Power VFIO support
MAINTAINERS | 5 +
arch/powerpc/incl
way.
Signed-off-by: Alexey Kardashevskiy
Signed-off-by: Timothy Pearson
---
arch/powerpc/include/asm/iommu.h | 6 +-
arch/powerpc/kernel/iommu.c | 98 ++-
arch/powerpc/platforms/powernv/pci-ioda.c | 6 +-
arch/powerpc/platforms/pseries/iommu.c|
The following patches are going to add dependency/use of iommu_ops which
is initialized in subsys_initcall as well.
This moves pciobios_init() to the next initcall level.
This should not cause behavioral change.
Signed-off-by: Alexey Kardashevskiy
Signed-off-by: Timothy Pearson
---
arch
capability support advertising to platforms and stops
advertising it on XIVE, i.e. POWER9 and later.
Signed-off-by: Alexey Kardashevskiy
Signed-off-by: Timothy Pearson
---
arch/arm64/kvm/arm.c | 3 +++
arch/mips/kvm/mips.c | 3 +++
arch/powerpc/kvm/powerpc.c | 6 ++
arch/risc
Signed-off-by: Timothy Pearson
---
MAINTAINERS | 5 +
1 file changed, 5 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 8d5bc223f305..876f96e82d66 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -9836,6 +9836,11 @@ F: drivers/crypto/vmx/ghash*
F: drivers/crypto/vmx/ppc
Cc: Daniel Henrique Barboza
Cc: Fabiano Rosas
Cc: Murilo Opsfelder Araujo
Cc: Nicholas Piggin
Co-authored-by: Timothy Pearson
Signed-off-by: Alexey Kardashevskiy
Signed-off-by: Timothy Pearson
---
arch/powerpc/include/asm/pci-bridge.h | 7 +
arch/powerpc/kernel/iommu.c
- Original Message -
> From: "Linus Torvalds"
> To: "Michael Ellerman"
> Cc: "linuxppc-dev" , "Alex Deucher"
> , "amd-gfx"
> , li...@roeck-us.net, "linux-kernel"
> , "Dan Horák"
> , "
Will be joining in ~ 5 mins. Getting Chromium set up here.
- Original Message -
> From: "Jiri Kosina"
> To: "Josh Poimboeuf"
> Cc: "Peter Zijlstra" , "Heiko Carstens"
> , "Paul Mackerras"
> , "H . Peter Anvin" , "Ingo Molnar"
> , "Andrea Arcangeli"
> , linux-s...@vger.kernel.org, x...
23 at 18:52 -0500, Timothy Pearson wrote:
>
> There's still more to do and this shouldn't be merged yet - would
> encourage anyone with suitable hardware to test though.
>
>> POWER9 (PHB4) requires all peripherals using DMA to be either
>> restricted
>> to 3
allocation
Signed-off-by: Russell Currey
---
arch/powerpc/platforms/powernv/pci-dma.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/arch/powerpc/platforms/powernv/pci-dma.c
b/arch/powerpc/platforms/powernv/pci-dma.c
index 1d5409be343e..237940a2a052 100644
--- a/arch
Add a new debugfs entry to trigger dumping out the tracking table and
TCEs for a given PE, for example PE 0x4 of PHB 2:
echo 0x4 > /sys/kernel/debug/powerpc/PCI0002/sketchy
This will result in the table being dumped out in dmesg.
Signed-off-by: Russell Currey
---
arch/powerpc/platforms/power
pseudo-DMA mode
Four TCEs are reserved for legacy 32-bit DMA mappings in psuedo DMA
mode. Mark these with an invalid address to avoid their use by
the TCE cache mapper.
Signed-off-by: Timothy Pearson
---
arch/powerpc/platforms/powernv/pci-ioda.c | 8 +++-
1 file changed, 7 insertions
pnv_pci_ioda2_tce_invalidate_pe
Pseudo DMA support requires a method to invalidate the TCE cache
Export pnv_pci_ioda2_tce_invalidate_pe for use by the pseudo DMA
mapper.
Signed-off-by: Timothy Pearson
---
arch/powerpc/platforms/powernv/pci-ioda.c | 2 +-
arch/powerpc/platforms/powernv/pci.h
setup
Per the IODA2, TCEs must be invalidated after their settings
have been changed. Invalidate the cache after the address
is changed during TCE allocation when using pseudo DMA.
Signed-off-by: Timothy Pearson
---
arch/powerpc/platforms/powernv/pci-dma.c | 3 +--
1 file changed, 1
per PHB
Knowing the largest possible TCE size of a PHB is useful, so get it out
of the device tree. This relies on the property being added in OPAL.
It is assumed that any PHB4 or later machine would be running firmware
that implemented this property, and otherwise assumed to be PHB3, which
has
allocation
Cognitive DMA is a new set of DMA operations that solve some issues for
devices that want to address more than 32 bits but can't address the 59
bits required to enable direct DMA.
The previous implementation for POWER8/PHB3 worked around this by
configuring a bypass from the default 3
owernv/pci: Safety fixes for pseudobypass TCE allocation
Timothy Pearson (3):
powerpc/powernv/pci: Export pnv_pci_ioda2_tce_invalidate_pe
powerpc/powernv/pci: Invalidate TCE cache after DMA map setup
powerpc/powernv/pci: Don't use the lower 4G TCEs in pseudo-DMA mode
arch/powerpc/
95 matches
Mail list logo