Re: [v5 2/6] powerpc/mce: Fix MCE handling for huge pages

2019-07-11 Thread Nicholas Piggin
Santosh Sivaraj's on July 9, 2019 10:15 pm: > From: Balbir Singh > > The current code would fail on huge pages addresses, since the shift > would be incorrect. Use the correct page shift value returned by > __find_linux_pte() to get the correct pfn. The code is more generic > and can handle both

[v5 2/6] powerpc/mce: Fix MCE handling for huge pages

2019-07-09 Thread Santosh Sivaraj
From: Balbir Singh The current code would fail on huge pages addresses, since the shift would be incorrect. Use the correct page shift value returned by __find_linux_pte() to get the correct pfn. The code is more generic and can handle both regular and compound pages. Fixes: ba41e1e1ccb9