Re: [PATCH] powerpc/mce: Avoid using addr_to_pfn in realmode

2020-06-21 Thread Nicholas Piggin
Excerpts from Ganesh Goudar's message of June 20, 2020 10:44 pm: > 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,

[PATCH] powerpc/mce: Avoid using addr_to_pfn in realmode

2020-06-20 Thread Ganesh Goudar
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 realmode, which can be