[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <174995502358.107804.15093806320062799032.b4-ty@linux.ibm.com>
Date: Sun, 15 Jun 2025 08:09:15 +0530
From: Madhavan Srinivasan <maddy@...ux.ibm.com>
To: mahesh@...ux.ibm.com, mpe@...erman.id.au, linuxppc-dev@...ts.ozlabs.org,
Narayana Murty N <nnmlinux@...ux.ibm.com>
Cc: linux-kernel@...r.kernel.org, oohall@...il.com, npiggin@...il.com,
christophe.leroy@...roup.eu, naveen@...nel.org,
gwshan@...ux.vnet.ibm.com, benh@...nel.crashing.org, agraf@...e.de,
vaibhav@...ux.ibm.com
Subject: Re: [PATCH v1] powerpc/eeh: Fix missing PE bridge reconfiguration during VFIO EEH recovery
On Thu, 08 May 2025 02:29:28 -0400, Narayana Murty N wrote:
> VFIO EEH recovery for PCI passthrough devices fails on PowerNV and pseries
> platforms due to missing host-side PE bridge reconfiguration. In the
> current implementation, eeh_pe_configure() only performs RTAS or OPAL-based
> bridge reconfiguration for native host devices, but skips it entirely for
> PEs managed through VFIO in guest passthrough scenarios.
>
> This leads to incomplete EEH recovery when a PCI error affects a
> passthrough device assigned to a QEMU/KVM guest. Although VFIO triggers the
> EEH recovery flow through VFIO_EEH_PE_ENABLE ioctl, the platform-specific
> bridge reconfiguration step is silently bypassed. As a result, the PE's
> config space is not fully restored, causing subsequent config space access
> failures or EEH freeze-on-access errors inside the guest.
>
> [...]
Applied to powerpc/fixes.
[1/1] powerpc/eeh: Fix missing PE bridge reconfiguration during VFIO EEH recovery
https://git.kernel.org/powerpc/c/33bc69cf6655cf60829a803a45275f11a74899e5
Thanks
Powered by blists - more mailing lists