Re: when enter_hypervisor on rk3568, system reboot without oops

2023-09-05 Thread Zhan Zheng
i tracked the codes, and found out the 'hypervisor/arch/arm64/entry.S: hvc #0' turn the machine reboot, can anyone point out the reason for me? thanks 在2023年9月6日星期三 UTC+8 08:44:46 写道: > > %% ./jailhouse-config-check ~/works/jailhouse/configs/arm64/rk3568.cell > Reading configuration set: >

How to add new system register macro definition in arm64?

2023-09-05 Thread bot crack
Hi 1. I want to add some register definitions. 2. I want to know why #define CNTPCT_EL0 SYSREG_64(0, c14) in arm64 *has only two arguments*, but it can be expanded into assembly "MRS X0, #3, c14, c0, #1" 3. I didn’t understand the definition in

Re: when enter_hypervisor on rk3568, system reboot without oops

2023-09-05 Thread bot crack
Does linux enable CONFIG_VIRTUALIZATION? What about KVM? On Wednesday, September 6, 2023 at 11:18:25 AM UTC+8 Zhan Zheng wrote: > i tracked the codes, and found out the 'hypervisor/arch/arm64/entry.S: hvc > #0' turn the machine reboot, can anyone point out the reason for me? > thanks > >

Re: when enter_hypervisor on rk3568, system reboot without oops

2023-09-05 Thread Zhan Zheng
%% ./jailhouse-config-check ~/works/jailhouse/configs/arm64/rk3568.cell Reading configuration set: Architecture: arm64 Root cell: RK3568 (/home/zyz/works/jailhouse/configs/arm64/rk3568.cell) Overlapping memory regions inside cell: None Overlapping memory regions with hypervisor: None

when enter_hypervisor on rk3568, system reboot without oops

2023-09-05 Thread Zhan Zheng
hello, everyone. I'm porting jailhouse to rk3568 which running open harmony. jailhouse.ko, jailhouse.bin, jailhouse were ready, and i wrote a basic root cell to test it. but when i `jailhouse enable rk3568.cell`, the system reboot. can someone help me pls? thanks -- You received this message

Re: when enter_hypervisor on rk3568, system reboot without oops

2023-09-05 Thread Zhan Zheng
dmesg in `screen-exchange` 在2023年9月5日星期二 UTC+8 16:00:57 写道: > hello, everyone. I'm porting jailhouse to rk3568 which running open > harmony. > jailhouse.ko, jailhouse.bin, jailhouse were ready, and i wrote a basic > root cell to test it. > but when i `jailhouse enable rk3568.cell`, the system

Re: when enter_hypervisor on rk3568, system reboot without oops

2023-09-05 Thread Ralf Ramsauer
Hi, What does jailhouse config-check report on your system configuration? Ralf On 05/09/2023 10:52, Zhan Zheng wrote: dmesg in `screen-exchange` 在2023年9月5日星期二 UTC+8 16:00:57 写道: hello, everyone. I'm porting jailhouse to rk3568 which running open harmony. jailhouse.ko,