- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm trying to run "invd" instruction on SMP system. I'm on Linux. I have a kernel module where I'm trying to run this "invd" instruction like the following,
asm ("wbinvd");
asm ("invd");
However, upon running the instruction I'm getting
general protection fault: 0000 [#1] SMP PTI
I have also boot my kernel with no SMP support but the same error persists. This makes me think that maybe there are some other configurations that I need to setup before running this instruction. I was wondering if I can get some help regarding this, like what is the ideal setup for running "indv"
Thank you
~Shariful Alam
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My SGX was enabled. By disabling it from the BIOS, I was able to run the "invd" instruction with no SMP support.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page