Hi Yifan, VHE support in gem5 had some bugs and therefore we decided to disable it by default, until all problems were fixed. I have investigated those issues, and I am finally able to boot Linux at EL2 (with VHE enabled).
I will soon post some patches to the develop branch and we can think about backporting them to gem5 v22 once they get merged Kind Regards Giacomo From: 谭一凡 <yfta...@fudan.edu.cn> Date: Thursday, 16 June 2022 at 05:49 To: gem5-users@gem5.org <gem5-users@gem5.org> Subject: [gem5-users] Can GEM5 running Linux using Arm ISA with FEAT_VHE support? Hi all! I tried running Linux of ARM architecture by GEM5 v21.2.1.1 with feature `FEAT_VHE` and `VIRTUALIZATION` enabled, but it stalled in `paging_init`. The Linux is compiled from https://gem5.googlesource.com/arm/linux, branch `gem5/v4.14`; and the bootloader is `boot.arm64` downloaded from http://dist.gem5.org/dist/v21-2/arm/aarch-system-20210904.tar.bz2. This problem is quite similar to https://gem5.atlassian.net/browse/GEM5-901. I noticed that in GEM v20.1.0.3, a parameter `have_vhe` was added, in commit https://gem5-review.googlesource.com/c/public/gem5/+/39695. This parameter was removed in a later commit https://gem5-review.googlesource.com/c/public/gem5/+/51010. Can GEM5 running Linux using Arm ISA with FEAT_VHE support? Best Regards, Yifan Tan IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org