[PATCH v4] powerpc/pseries: Avoid using addr_to_pfn in real mode

Michael Ellerman patch-notifications at ellerman.id.au
Sat Oct 24 21:27:57 AEDT 2020


On Fri, 24 Jul 2020 12:09:46 +0530, Ganesh Goudar wrote:
> When an UE or memory error exception is encountered the MCE handler
> tries to find the pfn using addr_to_pfn() which takes effective
> address as an argument, later pfn is used to poison the page where
> memory error occurred, recent rework in this area made addr_to_pfn
> to run in real mode, which can be fatal as it may try to access
> memory outside RMO region.
> 
> [...]

Applied to powerpc/fixes.

[1/1] powerpc/pseries: Avoid using addr_to_pfn in real mode
      https://git.kernel.org/powerpc/c/4ff753feab021242144818b9a3ba011238218145

cheers


More information about the Linuxppc-dev mailing list