[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Xen crash seen on Cortex-R52 FVP
- To: Julien Grall <julien@xxxxxxx>, michal.orzel@xxxxxxx, stefanos@xxxxxxx, Henry Wang <Henry.Wang@xxxxxxx>, Wei Chen <wei.chen@xxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
- From: Ayan Kumar Halder <ayankuma@xxxxxxx>
- Date: Fri, 16 Sep 2022 19:40:49 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2niwYhetKBpTYRmrYXKxjPz0rrtfaxqA1XpfjGMOl6Q=; b=JxtoUJ/2sbhZNRiXGpZjQ2BQkmqFfBFjjb738vOLqtoSENh9vjdjQ63dJFcmEmRuvhyYsBbfzDERmz35lwrLso9whnhWS8xSTwFYJEucirGW8u7kkzSmJP93T+6G+fU1x3xOW9z0byiF+C1k/S7MxGpUq97+wFPNHK+0ZG8u99rJysmUoofvBUJPX69LaOJM+lI24oBPP+ItpZZDU5ya1LfgWwlIXx/xZeT14Yj6g7QPtq3T/RKmuKT7klEAtbAxHVtPpvcNJcTAtaUPURF2Y6/yAYHeErjIXvlP77eLOXtvHNETczjLr5gjjE15ucqNb00dpTII3pePQQ9v2NUDuA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q/ICXphZGFPRhAPiO4slYzUVfjlGFuJfVn2d4E6DiwwvG7dY3J2JSrRxReanfB60ZFyirkbIN/B59fTgTniCWf99FbjEXKlzsRTZR/mZVCbsyEcvycNHKOFusaY1yg8nY0g/9n2WMgNqqPRW3ypsgGhrNz7XFRivVgX/vi/bRiTd8il33x57UkCwmP6/+iR7YuLMbZZpp6lgGYm22IzQrY8dbRFIMTEmtKWco/VBYXgRDTzcOxGZTtUUY8X6ecIh6fyWXQYayQ7XsD0wdxoRIMancXiv884tpasEE/C6Ejt7qRNKGaSL7RWg+32nGmpCFDpqkuL4n4WfgTlgnLxQEg==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
- Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- Delivery-date: Fri, 16 Sep 2022 18:41:22 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
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
|