Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simple-pt: Mask out the PCID in the cr3 #28

Merged
merged 1 commit into from
May 10, 2020

Conversation

mmisono
Copy link
Contributor

@mmisono mmisono commented Jun 19, 2019

I use Ubuntu 18.04 (Linux 4.15) and I found that even if I boot the kernel with nopti option, the kernel set the PCID in the cr3. As a result, writing MSR_IA32_CR3_MATCH failed. This patch masks out the PCID.

Related: #20.

Otherwise if PCID is set, wrmsr to MSR_IA32_CR3_MATCH will fail
@andikleen andikleen merged commit 2c7ec45 into andikleen:master May 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants