Skip to contentSkip to conversation

arm/traps.c: Adjust HPFAR_EL2 representation

PATCH In review Andrii Anisov 3 participants 4 messages Aug 27, 2019 – Aug 28, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm/traps.c: Adjust HPFAR_EL2 representation

From: Andrii Anisov <[email protected]>

In the commit af156ff0859c8d362a5706640614c9d10f62adf2, it was left unattended HPFAR_EL2 register output. Now it is printed with 1608 digits, what is way too wide even for the biggest monitors. So cleanup excessive paddings.

---
 xen/arch/arm/traps.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/arm/traps.c +1 -1
index f013297..addccb9 100644
@@ -938,7 +938,7 @@ static void _show_registers(const struct cpu_user_regs *regs,
     printk(" TTBR0_EL2: %016"PRIx64"\n", READ_SYSREG64(TTBR0_EL2));
     printk("\n");
     printk("   ESR_EL2: %08"PRIx32"\n", regs->hsr);
-    printk(" HPFAR_EL2: %016"PRIregister"\n", READ_SYSREG(HPFAR_EL2));
+    printk(" HPFAR_EL2: %"PRIregister"\n", READ_SYSREG(HPFAR_EL2));
 
 #ifdef CONFIG_ARM_32
     printk("     HDFAR: %08"PRIx32"\n", READ_CP32(HDFAR));
Signature · 7 lines
2.7.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#1 lore raw

Hi,

Quoted 6 lines · Andrii Anisov

From: Andrii Anisov <[email protected]>

In the commit af156ff0859c8d362a5706640614c9d10f62adf2, it was left unattended HPFAR_EL2 register output. Now it is printed with 1608 digits, what is way too wide even for the biggest monitors. So cleanup excessive paddings.

A more complete patch (fix another place) has already been sent on the mailing list (see [1]). It is waiting on Stefano's ack at the moment...

Cheers,

[1]
https://lists.xenproject.org/archives/html/xen-devel/2019-08/msg01439.html

Signature · 5 lines
Julien Grall
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#2 lore raw
Quoted 10 lines · Julien Grall

Hi,

Quoted 6 lines · Andrii Anisov

From: Andrii Anisov <[email protected]>

In the commit af156ff0859c8d362a5706640614c9d10f62adf2, it was left unattended HPFAR_EL2 register output. Now it is printed with 1608 digits, what is way too wide even for the biggest monitors. So cleanup excessive paddings.

Quoted 7 lines

A more complete patch (fix another place) has already been sent on the mailing list (see [1]). It is waiting on Stefano's ack at the moment...

Cheers,

[1]
https://lists.xenproject.org/archives/html/xen-devel/2019-08/msg01439.html

The patch is in staging now.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#3 lore raw
In reply to Julien Grall
Quoted 7 lines · Julien Grall

A more complete patch (fix another place) has already been sent on the mailing list (see [1]). It is waiting on Stefano's ack at the moment...

Cheers,

[1]
https://lists.xenproject.org/archives/html/xen-devel/2019-08/msg01439.html

Ah, yes. Missed it.

Signature · 7 lines
Sincerely,
Andrii Anisov.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel