Le 18/04/2018 à 11:02, Naveen N. Rao a écrit :
Print a small help text indicating the exception vector alongside the
trap number to make it easier while analyzing back traces. As an
example:
Unable to handle kernel paging request for data at address 0x
Faulting instruction a
Benjamin Herrenschmidt wrote:
On Wed, 2018-04-18 at 14:32 +0530, Naveen N. Rao wrote:
+#ifdef CONFIG_PPC_BOOK3S_64
+static char *print_trap(unsigned long trapno)
+{
+ trapno &= 0xff0;
+ switch (trapno) {
+ case 0x100: return "SRESET";
+ case 0x200:
On Wed, 2018-04-18 at 14:32 +0530, Naveen N. Rao wrote:
>
> +#ifdef CONFIG_PPC_BOOK3S_64
> +static char *print_trap(unsigned long trapno)
> +{
> + trapno &= 0xff0;
> + switch (trapno) {
> + case 0x100: return "SRESET";
> + case 0x200: return "MCE";
> +
Print a small help text indicating the exception vector alongside the
trap number to make it easier while analyzing back traces. As an
example:
Unable to handle kernel paging request for data at address 0x
Faulting instruction address: 0xc06e3728
Oops: Kernel access of