Re: [PATCH 2/4] PCI/ERR: Add support for resetting the slot in a platforms specific way

2025-04-17 Thread Lukas Wunner
On Thu, Apr 17, 2025 at 11:09:21AM +0530, Manivannan Sadhasivam wrote: > On Thu, Apr 17, 2025 at 02:23:26AM +0200, Lukas Wunner wrote: > > On Wed, Apr 16, 2025 at 08:34:21PM +0530, Manivannan Sadhasivam wrote: > > > I don't think it is possible to get rid of the powerpc version. It has > > > its ow

Re: [PATCH 2/4] PCI/ERR: Add support for resetting the slot in a platforms specific way

2025-04-16 Thread Manivannan Sadhasivam
On Thu, Apr 17, 2025 at 02:23:26AM +0200, Lukas Wunner wrote: > On Wed, Apr 16, 2025 at 08:34:21PM +0530, Manivannan Sadhasivam wrote: > > I don't think it is possible to get rid of the powerpc version. It has > > its own pci_dev::sysdata pointing to 'struct pci_controller' pointer > > which is int

Re: [PATCH 2/4] PCI/ERR: Add support for resetting the slot in a platforms specific way

2025-04-16 Thread Lukas Wunner
On Wed, Apr 16, 2025 at 08:34:21PM +0530, Manivannan Sadhasivam wrote: > I don't think it is possible to get rid of the powerpc version. It has > its own pci_dev::sysdata pointing to 'struct pci_controller' pointer > which is internal to powerpc arch code. And the generic code would need > 'struct

Re: [PATCH 2/4] PCI/ERR: Add support for resetting the slot in a platforms specific way

2025-04-16 Thread Manivannan Sadhasivam
On Wed, Apr 16, 2025 at 04:38:01PM +0200, Lukas Wunner wrote: > On Tue, Apr 15, 2025 at 07:03:17PM +0530, Manivannan Sadhasivam wrote: > > On Fri, Apr 04, 2025 at 10:46:27AM +0200, Lukas Wunner wrote: > > > On Fri, Apr 04, 2025 at 01:52:22PM +0530, Manivannan Sadhasivam via B4 > > > Relay wrote: >

Re: [PATCH 2/4] PCI/ERR: Add support for resetting the slot in a platforms specific way

2025-04-16 Thread Lukas Wunner
On Tue, Apr 15, 2025 at 07:03:17PM +0530, Manivannan Sadhasivam wrote: > On Fri, Apr 04, 2025 at 10:46:27AM +0200, Lukas Wunner wrote: > > On Fri, Apr 04, 2025 at 01:52:22PM +0530, Manivannan Sadhasivam via B4 > > Relay wrote: > > > When the PCI error handling requires resetting the slot, reset it

Re: [PATCH 2/4] PCI/ERR: Add support for resetting the slot in a platforms specific way

2025-04-15 Thread Manivannan Sadhasivam
On Fri, Apr 04, 2025 at 10:46:27AM +0200, Lukas Wunner wrote: > On Fri, Apr 04, 2025 at 01:52:22PM +0530, Manivannan Sadhasivam via B4 Relay > wrote: > > When the PCI error handling requires resetting the slot, reset it using the > > host bridge specific 'reset_slot' callback if available before c

[PATCH 2/4] PCI/ERR: Add support for resetting the slot in a platforms specific way

2025-04-04 Thread Manivannan Sadhasivam via B4 Relay
From: Manivannan Sadhasivam When the PCI error handling requires resetting the slot, reset it using the host bridge specific 'reset_slot' callback if available before calling the 'slot_reset' callback of the PCI drivers. The 'reset_slot' callback is responsible for resetting the given slot refer

Re: [PATCH 2/4] PCI/ERR: Add support for resetting the slot in a platforms specific way

2025-04-04 Thread Lukas Wunner
On Fri, Apr 04, 2025 at 01:52:22PM +0530, Manivannan Sadhasivam via B4 Relay wrote: > When the PCI error handling requires resetting the slot, reset it using the > host bridge specific 'reset_slot' callback if available before calling the > 'slot_reset' callback of the PCI drivers. > > The 'reset