Skip to content

Commit

Permalink
README: Document x2apic compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
jovanbulck committed Sep 17, 2024
1 parent 20ee407 commit 4884538
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ below.

| Linux kernel parameter | Motivation |
| ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `nox2apic` | Configure local APIC device in memory-mapped I/O mode (to make use of SGX-Step's precise single-stepping features). |
| `nox2apic` | Optionally configure local APIC device in memory-mapped I/O mode (to make use of SGX-Step's precise single-stepping features). Alternatively, you can leave the CPU in x2APIC mode and recent SGX-Step distributions should also be compatible. |
| `iomem=relaxed no_timer_check` | Suppress unneeded warning messages in the kernel logs. |
| `nmi_watchdog=0` | Suppress the kernel NMI watchdog. |
| `isolcpus=1` | Affinitize the victim process to an isolated CPU core. |
Expand Down
2 changes: 1 addition & 1 deletion check_sys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ cpuinfo=`cat /proc/cpuinfo`
assert_not_contains "$cpuinfo" "smap" "not disabled in /proc/cpuinfo"
assert_not_contains "$cpuinfo" "smep" "not disabled in /proc/cpuinfo"
assert_not_contains "$cpuinfo" "umip" "not disabled in /proc/cpuinfo"
assert_not_contains "$cpuinfo" "x2apic" "not disabled in /proc/cpuinfo"
#assert_not_contains "$cpuinfo" "x2apic" "not disabled in /proc/cpuinfo"
end_check

############################################################################
Expand Down

0 comments on commit 4884538

Please sign in to comment.