Re: [v2] Fix the message in facility unavailable exception
From: Michael Ellerman <hidden>
Date: 2016-12-03 11:28:19
From: Michael Ellerman <hidden>
Date: 2016-12-03 11:28:19
On Wed, 2016-11-30 at 06:45:09 UTC, Balbir Singh wrote:
I ran into this during some testing on qemu. The current facility_strings[] are correct when the trap address is 0xf80 (hypervisor facility unavailable). When the trap address is 0xf60, IC (Interruption Cause) a.k.a status in the code is undefined for values 0 and 1. This patch adds a check to prevent printing the wrong information and helps better direct debugging effort. Signed-off-by: Balbir Singh <bsingharora@gmail.com>
Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/93c2ec0f7019a155769d1ecfc08a7d cheers