aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/kernel/cpu/intel.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/x86/kernel/cpu/intel.c b/arch/x86/kernel/cpu/intel.c
index 3f8d7a3b6447..6106d11ceb6b 100644
--- a/arch/x86/kernel/cpu/intel.c
+++ b/arch/x86/kernel/cpu/intel.c
@@ -587,11 +587,8 @@ detect_keyid_bits:
587 } 587 }
588 588
589 /* 589 /*
590 * Exclude KeyID bits from physical address bits. 590 * KeyID bits effectively lower the number of physical address
591 * 591 * bits. Update cpuinfo_x86::x86_phys_bits accordingly.
592 * We have to do this even if we are not going to use KeyID bits
593 * ourself. VM guests still have to know that these bits are not usable
594 * for physical address.
595 */ 592 */
596 c->x86_phys_bits -= keyid_bits; 593 c->x86_phys_bits -= keyid_bits;
597} 594}