]> xenbits.xensource.com Git - people/andrewcoop/xen.git/commitdiff
xen/arch/x86/boot/head.S: Use MAXPHYADDR fr MTRR masks in MLE capabilities
authorMichał Żygowski <michal.zygowski@3mdeb.com>
Sun, 15 Sep 2024 10:47:18 +0000 (12:47 +0200)
committerMichał Żygowski <michal.zygowski@3mdeb.com>
Sun, 15 Sep 2024 13:07:39 +0000 (15:07 +0200)
The bootloader should prepare the MTRR masks using MAXPHYADDRs. On modern
Intel platforms, the SINIT ACM forces this bit to be 1 according to
TXT MLE Software Development Guide Revision 017.4.

Signed-off-by: Michał Żygowski <michal.zygowski@3mdeb.com>
xen/arch/x86/boot/head.S

index 093f89485067d6a40cc515127261cfaf35a9044b..d1cb3202fc2f92269d0cc9c1b5426eba55e59048 100644 (file)
@@ -128,7 +128,7 @@ mle_header:
         .long   0x00000000  /* First valid page of MLE */
         .long   0x00000000  /* Offset within binary of first byte of MLE */
         .long   (_end - start)  /* Offset within binary of last byte + 1 of MLE */
-        .long   0x00000223  /* Bit vector of MLE-supported capabilities */
+        .long   0x00000323  /* Bit vector of MLE-supported capabilities */
         .long   0x00000000  /* Starting linear address of command line (unused) */
         .long   0x00000000  /* Ending linear address of command line (unused) */