How To Enable pcid in gem5 X86 Fullsystem #1777
Unanswered
theworld2233
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
,when I asked the kernel to enable PCID, I specifically set the PCID position of ECX to 1 in CPUID and wrote the pcide position of CR4 to 1.anf cr4.pge=1 However, this caused an error during kernel startup
found SMP MP-table at [mem 0x000f0050-0x000f005f]
PANIC: early exception 0x0d IP 10:ffffffff8101f011 error 0 cr2 0xffff888001e0cff8
CPU: 0 PID: 0 Comm: swapper Not tainted 5.4.49 #8
Hardware name: , BIOS 06/08/2008
RIP: 0010:native_write_cr4+0x2/0x53
Code: 82 f7 d2 23 54 07 14 89 54 07 14 0b 90 e0 05 23 82 89 54 07 14 48 83 c0 04 48 83 f8 50 75 dc c3 48 0f a3 3e 0f 92 c0 c3 31 f6 <0f> 22 e7 8b 05 8e f5 b8 00 85 c0 7e 43 48 8b 05 7b f5 b8 00 48 89
RSP: 0000:ffffffff81e03e58 EFLAGS: 0000006e ORIG_RAX: 0000000000000000
RAX: 00000000000006b0 RBX: 0000000000000003 RCX: 0000000000000002
RDX: 0000000000000090 RSI: 0000000000000000 RDI: 00000000000206b0
RBP: 0000000001426000 R08: 000000000000004b R09: ffffffff81b43f06
R10: 000000000000004c R11: 000000000000004b R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffffffff820fb000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff888001e0cff8 CR3: 0000000002176000 CR4: 00000000000006b0
Call Trace:
? cr4_set_bits+0x21/0x25
? init_mem_mapping+0xe6/0x282
? setup_arch+0x535/0xb43
? start_kernel+0x65/0x4e6
? secondary_startup_64+0xa4/0xb0
Beta Was this translation helpful? Give feedback.
All reactions