Re: How to set the value of pci_mmconfig_base in rootcell

2023-09-10 Thread bot crack
and it will show mmap failure. ID = 0 Maximum peers = 3 /usr/local/sbin/ivshmem-demo: mmap(state): No such device Why does mmap fail? On Saturday, September 9, 2023 at 7:38:59 PM UTC+8 Ralf Ramsauer wrote: > > > On 09/09/2023 08:04, bot crack wrote: > > Hi, everybody > >

Re: The jailhouse system hangs when running on the 4*A55 board

2023-09-10 Thread bot crack
Thank you, this is a patch that can be used! On Monday, September 4, 2023 at 7:02:07 PM UTC+8 Ralf Ramsauer wrote: > > > On 04/09/2023 10:11, bot crack wrote: > > The jailhouse system hangs when running on the 4*A55 board > > > > jailhouse-config-check: >

How to set the value of pci_mmconfig_base in rootcell

2023-09-09 Thread bot crack
Hi, everybody I encountered some problems when using ivshmem-demo. How should I set the value of pci_mmconfig_base? my rootcell: *.platform_info = { .pci_mmconfig_base = 0x7BC0, .pci_mmconfig_end_bus = 0, .pci_is_virtual = 1, .pci_domain = 1, .arm = { .gic_version = 3,* ...

Re: How to add new system register macro definition in arm64?

2023-09-06 Thread bot crack
-> After compiling with gcc: * "MRS X0, #3, c14, c0, #1"* I guess it should be like this? On Thursday, September 7, 2023 at 9:18:37 AM UTC+8 bot crack wrote: > Is the macro "CNTPCT_EL0" a built-in gcc? Because I deleted all the > defi

Re: How to add new system register macro definition in arm64?

2023-09-06 Thread bot crack
quot; cannot be found in it. > > > On Wednesday, September 6, 2023 at 10:14:30 PM UTC+8 Ralf Ramsauer wrote: > >> >> >> On 06/09/2023 03:40, bot crack wrote: >> > Hi >> > >> > 1. I want to add some register definitions. >> > 2. I

Re: How to add new system register macro definition in arm64?

2023-09-06 Thread bot crack
se the cp15 register, I disassembled inmates/lib/arm-common/timing.o(arm_read_sysreg(CNTPCT_EL0, pct64);) and the instruction was displayed as *"MRS X0, #3, c14, c0, #1" ,*And the instruction "*mrrc p15*" cannot be found in it. On Wednesday, September 6, 2023 at 10:14:30 P

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 > >

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