Re: [PATCH v2 1/4] powerpc/instruction_dump: Fix kernel crash with show_instructions

2022-03-09 Thread Christophe Leroy
Le 24/05/2020 à 11:38, Aneesh Kumar K.V a écrit : With Hard Lockup watchdog, we can hit a BUG() if we take a watchdog interrupt when in OPAL mode. This happens in show_instructions() where the kernel takes the watchdog NMI IPI with MSR_IR == 0. With that show_instructions() updates the variabl

Re: [PATCH v2 1/4] powerpc/instruction_dump: Fix kernel crash with show_instructions

2020-06-18 Thread Michael Ellerman
On Sun, 24 May 2020 15:08:19 +0530, Aneesh Kumar K.V wrote: > With Hard Lockup watchdog, we can hit a BUG() if we take a watchdog > interrupt when in OPAL mode. This happens in show_instructions() > where the kernel takes the watchdog NMI IPI with MSR_IR == 0. > With that show_instructions() update

[PATCH v2 1/4] powerpc/instruction_dump: Fix kernel crash with show_instructions

2020-05-24 Thread Aneesh Kumar K.V
With Hard Lockup watchdog, we can hit a BUG() if we take a watchdog interrupt when in OPAL mode. This happens in show_instructions() where the kernel takes the watchdog NMI IPI with MSR_IR == 0. With that show_instructions() updates the variable pc in the loop and the second iterations will result