Skip to contentSkip to conversation

Xen crash seen on Cortex-R52 FVP

DISCUSSION Ayan Kumar Halder 1 participant 1 message Sep 16, 2022

lore
Share & tools
lore
#0 lore raw

Hi All,

This is a follow up discussion on the crash issue being discussed on the IRC on 15th Sep.

For the context, the issue is as follows :-

Crash logs - https://pastebin.com/F2BKbW5a

Codebase :- https://gitlab.com/ayankuma/xen-integration/-/tree/integration/mpu

The crash is observed in idle_loop() --> scrub_free_pages() --> scrub_one_page(&pg[i]) ---> unmap_domain_page(memset(__map_domain_page(pg), SCRUB_BYTE_PATTERN, PAGE_SIZE));

&pg[i] = 0x6f002400

_map_domain_pg(0x6f002400) = 0x00122000

0x122000 has been marked as read only in early_fdt_map() because dtb is mapped in the region. See

(XEN) MODULE[1]: 0000000000122000 - 0000000000122d22 Device Tree

Thus, I am not very sure what I need to fix.

Is the address returned by __map_domain_page(pg) is incorrect ?

Any pointers/guidance is appreciated.

Kind regards,

Ayan