]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
remove broken patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Nov 2015 19:47:55 +0000 (11:47 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Nov 2015 19:47:55 +0000 (11:47 -0800)
queue-3.10/series
queue-3.10/x86-setup-extend-low-identity-map-to-cover-whole-kernel-range.patch [deleted file]
queue-3.14/series
queue-3.14/x86-setup-extend-low-identity-map-to-cover-whole-kernel-range.patch [deleted file]
queue-4.1/series
queue-4.1/x86-efi-fix-multiple-gop-device-support.patch
queue-4.1/x86-setup-extend-low-identity-map-to-cover-whole-kernel-range.patch [deleted file]
queue-4.2/series
queue-4.2/x86-efi-fix-multiple-gop-device-support.patch
queue-4.2/x86-setup-extend-low-identity-map-to-cover-whole-kernel-range.patch [deleted file]

index 604db10cb6b436c6050a9f2de27140dda9b5623d..5bb5939c5c004d2644feabfeeead313d839d1f7c 100644 (file)
@@ -4,7 +4,6 @@ iwlwifi-mvm-fix-d3-firmware-pn-programming.patch
 iommu-amd-don-t-clear-dte-flags-when-modifying-it.patch
 powerpc-rtas-validate-rtas.entry-before-calling-enter_rtas.patch
 asoc-wm8904-correct-number-of-eq-registers.patch
-x86-setup-extend-low-identity-map-to-cover-whole-kernel-range.patch
 mm-make-sendfile-2-killable.patch
 drm-nouveau-gem-return-only-valid-domain-when-there-s-only-one.patch
 rbd-require-stable-pages-if-message-data-crcs-are-enabled.patch
diff --git a/queue-3.10/x86-setup-extend-low-identity-map-to-cover-whole-kernel-range.patch b/queue-3.10/x86-setup-extend-low-identity-map-to-cover-whole-kernel-range.patch
deleted file mode 100644 (file)
index 3e8e478..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-From f5f3497cad8c8416a74b9aaceb127908755d020a Mon Sep 17 00:00:00 2001
-From: Paolo Bonzini <pbonzini@redhat.com>
-Date: Wed, 14 Oct 2015 13:30:45 +0200
-Subject: x86/setup: Extend low identity map to cover whole kernel range
-
-From: Paolo Bonzini <pbonzini@redhat.com>
-
-commit f5f3497cad8c8416a74b9aaceb127908755d020a upstream.
-
-On 32-bit systems, the initial_page_table is reused by
-efi_call_phys_prolog as an identity map to call
-SetVirtualAddressMap.  efi_call_phys_prolog takes care of
-converting the current CPU's GDT to a physical address too.
-
-For PAE kernels the identity mapping is achieved by aliasing the
-first PDPE for the kernel memory mapping into the first PDPE
-of initial_page_table.  This makes the EFI stub's trick "just work".
-
-However, for non-PAE kernels there is no guarantee that the identity
-mapping in the initial_page_table extends as far as the GDT; in this
-case, accesses to the GDT will cause a page fault (which quickly becomes
-a triple fault).  Fix this by copying the kernel mappings from
-swapper_pg_dir to initial_page_table twice, both at PAGE_OFFSET and at
-identity mapping.
-
-For some reason, this is only reproducible with QEMU's dynamic translation
-mode, and not for example with KVM.  However, even under KVM one can clearly
-see that the page table is bogus:
-
-    $ qemu-system-i386 -pflash OVMF.fd -M q35 vmlinuz0 -s -S -daemonize
-    $ gdb
-    (gdb) target remote localhost:1234
-    (gdb) hb *0x02858f6f
-    Hardware assisted breakpoint 1 at 0x2858f6f
-    (gdb) c
-    Continuing.
-
-    Breakpoint 1, 0x02858f6f in ?? ()
-    (gdb) monitor info registers
-    ...
-    GDT=     0724e000 000000ff
-    IDT=     fffbb000 000007ff
-    CR0=0005003b CR2=ff896000 CR3=032b7000 CR4=00000690
-    ...
-
-The page directory is sane:
-
-    (gdb) x/4wx 0x32b7000
-    0x32b7000: 0x03398063      0x03399063      0x0339a063      0x0339b063
-    (gdb) x/4wx 0x3398000
-    0x3398000: 0x00000163      0x00001163      0x00002163      0x00003163
-    (gdb) x/4wx 0x3399000
-    0x3399000: 0x00400003      0x00401003      0x00402003      0x00403003
-
-but our particular page directory entry is empty:
-
-    (gdb) x/1wx 0x32b7000 + (0x724e000 >> 22) * 4
-    0x32b7070: 0x00000000
-
-[ It appears that you can skate past this issue if you don't receive
-  any interrupts while the bogus GDT pointer is loaded, or if you avoid
-  reloading the segment registers in general.
-
-  Andy Lutomirski provides some additional insight:
-
-   "AFAICT it's entirely permissible for the GDTR and/or LDT
-    descriptor to point to unmapped memory.  Any attempt to use them
-    (segment loads, interrupts, IRET, etc) will try to access that memory
-    as if the access came from CPL 0 and, if the access fails, will
-    generate a valid page fault with CR2 pointing into the GDT or
-    LDT."
-
-  Up until commit 23a0d4e8fa6d ("efi: Disable interrupts around EFI
-  calls, not in the epilog/prolog calls") interrupts were disabled
-  around the prolog and epilog calls, and the functional GDT was
-  re-installed before interrupts were re-enabled.
-
-  Which explains why no one has hit this issue until now. ]
-
-Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-Reported-by: Laszlo Ersek <lersek@redhat.com>
-Cc: Borislav Petkov <bp@alien8.de>
-Cc: "H. Peter Anvin" <hpa@zytor.com>
-Cc: Thomas Gleixner <tglx@linutronix.de>
-Cc: Ingo Molnar <mingo@kernel.org>
-Cc: Andy Lutomirski <luto@amacapital.net>
-Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-[ Updated changelog. ]
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- arch/x86/kernel/setup.c |    8 ++++++++
- 1 file changed, 8 insertions(+)
-
---- a/arch/x86/kernel/setup.c
-+++ b/arch/x86/kernel/setup.c
-@@ -1156,6 +1156,14 @@ void __init setup_arch(char **cmdline_p)
-       clone_pgd_range(initial_page_table + KERNEL_PGD_BOUNDARY,
-                       swapper_pg_dir     + KERNEL_PGD_BOUNDARY,
-                       KERNEL_PGD_PTRS);
-+
-+      /*
-+       * sync back low identity map too.  It is used for example
-+       * in the 32-bit EFI stub.
-+       */
-+      clone_pgd_range(initial_page_table,
-+                      swapper_pg_dir     + KERNEL_PGD_BOUNDARY,
-+                      KERNEL_PGD_PTRS);
- #endif
-       tboot_probe();
index a0cfc85efcff6cc35b63a420e9638343c8a78583..67db6f34f503cb086da1edd4fb9c9896762a277e 100644 (file)
@@ -6,7 +6,6 @@ iwlwifi-pci-add-a-few-more-pci-subvendor-ids-for-the-7265-series.patch
 iommu-amd-don-t-clear-dte-flags-when-modifying-it.patch
 powerpc-rtas-validate-rtas.entry-before-calling-enter_rtas.patch
 asoc-wm8904-correct-number-of-eq-registers.patch
-x86-setup-extend-low-identity-map-to-cover-whole-kernel-range.patch
 mm-make-sendfile-2-killable.patch
 sfc-fix-memcpy-with-const-destination-compiler-warning.patch
 power-bq24190_charger-suppress-build-warning.patch
diff --git a/queue-3.14/x86-setup-extend-low-identity-map-to-cover-whole-kernel-range.patch b/queue-3.14/x86-setup-extend-low-identity-map-to-cover-whole-kernel-range.patch
deleted file mode 100644 (file)
index 7b6de5a..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-From f5f3497cad8c8416a74b9aaceb127908755d020a Mon Sep 17 00:00:00 2001
-From: Paolo Bonzini <pbonzini@redhat.com>
-Date: Wed, 14 Oct 2015 13:30:45 +0200
-Subject: x86/setup: Extend low identity map to cover whole kernel range
-
-From: Paolo Bonzini <pbonzini@redhat.com>
-
-commit f5f3497cad8c8416a74b9aaceb127908755d020a upstream.
-
-On 32-bit systems, the initial_page_table is reused by
-efi_call_phys_prolog as an identity map to call
-SetVirtualAddressMap.  efi_call_phys_prolog takes care of
-converting the current CPU's GDT to a physical address too.
-
-For PAE kernels the identity mapping is achieved by aliasing the
-first PDPE for the kernel memory mapping into the first PDPE
-of initial_page_table.  This makes the EFI stub's trick "just work".
-
-However, for non-PAE kernels there is no guarantee that the identity
-mapping in the initial_page_table extends as far as the GDT; in this
-case, accesses to the GDT will cause a page fault (which quickly becomes
-a triple fault).  Fix this by copying the kernel mappings from
-swapper_pg_dir to initial_page_table twice, both at PAGE_OFFSET and at
-identity mapping.
-
-For some reason, this is only reproducible with QEMU's dynamic translation
-mode, and not for example with KVM.  However, even under KVM one can clearly
-see that the page table is bogus:
-
-    $ qemu-system-i386 -pflash OVMF.fd -M q35 vmlinuz0 -s -S -daemonize
-    $ gdb
-    (gdb) target remote localhost:1234
-    (gdb) hb *0x02858f6f
-    Hardware assisted breakpoint 1 at 0x2858f6f
-    (gdb) c
-    Continuing.
-
-    Breakpoint 1, 0x02858f6f in ?? ()
-    (gdb) monitor info registers
-    ...
-    GDT=     0724e000 000000ff
-    IDT=     fffbb000 000007ff
-    CR0=0005003b CR2=ff896000 CR3=032b7000 CR4=00000690
-    ...
-
-The page directory is sane:
-
-    (gdb) x/4wx 0x32b7000
-    0x32b7000: 0x03398063      0x03399063      0x0339a063      0x0339b063
-    (gdb) x/4wx 0x3398000
-    0x3398000: 0x00000163      0x00001163      0x00002163      0x00003163
-    (gdb) x/4wx 0x3399000
-    0x3399000: 0x00400003      0x00401003      0x00402003      0x00403003
-
-but our particular page directory entry is empty:
-
-    (gdb) x/1wx 0x32b7000 + (0x724e000 >> 22) * 4
-    0x32b7070: 0x00000000
-
-[ It appears that you can skate past this issue if you don't receive
-  any interrupts while the bogus GDT pointer is loaded, or if you avoid
-  reloading the segment registers in general.
-
-  Andy Lutomirski provides some additional insight:
-
-   "AFAICT it's entirely permissible for the GDTR and/or LDT
-    descriptor to point to unmapped memory.  Any attempt to use them
-    (segment loads, interrupts, IRET, etc) will try to access that memory
-    as if the access came from CPL 0 and, if the access fails, will
-    generate a valid page fault with CR2 pointing into the GDT or
-    LDT."
-
-  Up until commit 23a0d4e8fa6d ("efi: Disable interrupts around EFI
-  calls, not in the epilog/prolog calls") interrupts were disabled
-  around the prolog and epilog calls, and the functional GDT was
-  re-installed before interrupts were re-enabled.
-
-  Which explains why no one has hit this issue until now. ]
-
-Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-Reported-by: Laszlo Ersek <lersek@redhat.com>
-Cc: Borislav Petkov <bp@alien8.de>
-Cc: "H. Peter Anvin" <hpa@zytor.com>
-Cc: Thomas Gleixner <tglx@linutronix.de>
-Cc: Ingo Molnar <mingo@kernel.org>
-Cc: Andy Lutomirski <luto@amacapital.net>
-Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-[ Updated changelog. ]
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- arch/x86/kernel/setup.c |    8 ++++++++
- 1 file changed, 8 insertions(+)
-
---- a/arch/x86/kernel/setup.c
-+++ b/arch/x86/kernel/setup.c
-@@ -1178,6 +1178,14 @@ void __init setup_arch(char **cmdline_p)
-       clone_pgd_range(initial_page_table + KERNEL_PGD_BOUNDARY,
-                       swapper_pg_dir     + KERNEL_PGD_BOUNDARY,
-                       KERNEL_PGD_PTRS);
-+
-+      /*
-+       * sync back low identity map too.  It is used for example
-+       * in the 32-bit EFI stub.
-+       */
-+      clone_pgd_range(initial_page_table,
-+                      swapper_pg_dir     + KERNEL_PGD_BOUNDARY,
-+                      KERNEL_PGD_PTRS);
- #endif
-       tboot_probe();
index 2cc88e913773b507a4da2168740e6bd52400df3d..d6dbdfe1d786be04c3815402c57ce3ae0c7e6409 100644 (file)
@@ -21,7 +21,6 @@ alsa-hda-fix-deadlock-at-error-in-building-pcm.patch
 asoc-add-info-callback-for-sx_tlv-controls.patch
 asoc-wm8904-correct-number-of-eq-registers.patch
 x86-efi-fix-multiple-gop-device-support.patch
-x86-setup-extend-low-identity-map-to-cover-whole-kernel-range.patch
 mm-make-sendfile-2-killable.patch
 fault-inject-fix-inverted-interval-probability-values-in-printk.patch
 drm-nouveau-gem-return-only-valid-domain-when-there-s-only-one.patch
index 887b9f4579a1b239f414b37ee02f863d9119600c..eb1c95cddd8f5f8080b027451edcc88f5d073d01 100644 (file)
@@ -1,13 +1,12 @@
 From 8a53554e12e98d1759205afd7b8e9e2ea0936f48 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?K=C5=91v=C3=A1g=C3=B3=2C=20Zolt=C3=A1n?=
- <dirty.ice.hu@gmail.com>
+From: Kővágó, Zoltán <DirtY.iCE.hu@gmail.com>
 Date: Mon, 12 Oct 2015 15:13:56 +0100
 Subject: x86/efi: Fix multiple GOP device support
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
 
-From: =?UTF-8?q?K=C5=91v=C3=A1g=C3=B3=2C=20Zolt=C3=A1n?=
+From: Kővágó, Zoltán <DirtY.iCE.hu@gmail.com>
 
 commit 8a53554e12e98d1759205afd7b8e9e2ea0936f48 upstream.
 
diff --git a/queue-4.1/x86-setup-extend-low-identity-map-to-cover-whole-kernel-range.patch b/queue-4.1/x86-setup-extend-low-identity-map-to-cover-whole-kernel-range.patch
deleted file mode 100644 (file)
index d35f6a4..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-From f5f3497cad8c8416a74b9aaceb127908755d020a Mon Sep 17 00:00:00 2001
-From: Paolo Bonzini <pbonzini@redhat.com>
-Date: Wed, 14 Oct 2015 13:30:45 +0200
-Subject: x86/setup: Extend low identity map to cover whole kernel range
-
-From: Paolo Bonzini <pbonzini@redhat.com>
-
-commit f5f3497cad8c8416a74b9aaceb127908755d020a upstream.
-
-On 32-bit systems, the initial_page_table is reused by
-efi_call_phys_prolog as an identity map to call
-SetVirtualAddressMap.  efi_call_phys_prolog takes care of
-converting the current CPU's GDT to a physical address too.
-
-For PAE kernels the identity mapping is achieved by aliasing the
-first PDPE for the kernel memory mapping into the first PDPE
-of initial_page_table.  This makes the EFI stub's trick "just work".
-
-However, for non-PAE kernels there is no guarantee that the identity
-mapping in the initial_page_table extends as far as the GDT; in this
-case, accesses to the GDT will cause a page fault (which quickly becomes
-a triple fault).  Fix this by copying the kernel mappings from
-swapper_pg_dir to initial_page_table twice, both at PAGE_OFFSET and at
-identity mapping.
-
-For some reason, this is only reproducible with QEMU's dynamic translation
-mode, and not for example with KVM.  However, even under KVM one can clearly
-see that the page table is bogus:
-
-    $ qemu-system-i386 -pflash OVMF.fd -M q35 vmlinuz0 -s -S -daemonize
-    $ gdb
-    (gdb) target remote localhost:1234
-    (gdb) hb *0x02858f6f
-    Hardware assisted breakpoint 1 at 0x2858f6f
-    (gdb) c
-    Continuing.
-
-    Breakpoint 1, 0x02858f6f in ?? ()
-    (gdb) monitor info registers
-    ...
-    GDT=     0724e000 000000ff
-    IDT=     fffbb000 000007ff
-    CR0=0005003b CR2=ff896000 CR3=032b7000 CR4=00000690
-    ...
-
-The page directory is sane:
-
-    (gdb) x/4wx 0x32b7000
-    0x32b7000: 0x03398063      0x03399063      0x0339a063      0x0339b063
-    (gdb) x/4wx 0x3398000
-    0x3398000: 0x00000163      0x00001163      0x00002163      0x00003163
-    (gdb) x/4wx 0x3399000
-    0x3399000: 0x00400003      0x00401003      0x00402003      0x00403003
-
-but our particular page directory entry is empty:
-
-    (gdb) x/1wx 0x32b7000 + (0x724e000 >> 22) * 4
-    0x32b7070: 0x00000000
-
-[ It appears that you can skate past this issue if you don't receive
-  any interrupts while the bogus GDT pointer is loaded, or if you avoid
-  reloading the segment registers in general.
-
-  Andy Lutomirski provides some additional insight:
-
-   "AFAICT it's entirely permissible for the GDTR and/or LDT
-    descriptor to point to unmapped memory.  Any attempt to use them
-    (segment loads, interrupts, IRET, etc) will try to access that memory
-    as if the access came from CPL 0 and, if the access fails, will
-    generate a valid page fault with CR2 pointing into the GDT or
-    LDT."
-
-  Up until commit 23a0d4e8fa6d ("efi: Disable interrupts around EFI
-  calls, not in the epilog/prolog calls") interrupts were disabled
-  around the prolog and epilog calls, and the functional GDT was
-  re-installed before interrupts were re-enabled.
-
-  Which explains why no one has hit this issue until now. ]
-
-Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-Reported-by: Laszlo Ersek <lersek@redhat.com>
-Cc: Borislav Petkov <bp@alien8.de>
-Cc: "H. Peter Anvin" <hpa@zytor.com>
-Cc: Thomas Gleixner <tglx@linutronix.de>
-Cc: Ingo Molnar <mingo@kernel.org>
-Cc: Andy Lutomirski <luto@amacapital.net>
-Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-[ Updated changelog. ]
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- arch/x86/kernel/setup.c |    8 ++++++++
- 1 file changed, 8 insertions(+)
-
---- a/arch/x86/kernel/setup.c
-+++ b/arch/x86/kernel/setup.c
-@@ -1194,6 +1194,14 @@ void __init setup_arch(char **cmdline_p)
-       clone_pgd_range(initial_page_table + KERNEL_PGD_BOUNDARY,
-                       swapper_pg_dir     + KERNEL_PGD_BOUNDARY,
-                       KERNEL_PGD_PTRS);
-+
-+      /*
-+       * sync back low identity map too.  It is used for example
-+       * in the 32-bit EFI stub.
-+       */
-+      clone_pgd_range(initial_page_table,
-+                      swapper_pg_dir     + KERNEL_PGD_BOUNDARY,
-+                      KERNEL_PGD_PTRS);
- #endif
-       tboot_probe();
index 950d8c356bc645b60b46244b87ebca79b06c0a43..1949e6ccab8170aa36305eef16da2c542105ce56 100644 (file)
@@ -28,7 +28,6 @@ alsa-hda-fix-deadlock-at-error-in-building-pcm.patch
 asoc-add-info-callback-for-sx_tlv-controls.patch
 asoc-wm8904-correct-number-of-eq-registers.patch
 x86-efi-fix-multiple-gop-device-support.patch
-x86-setup-extend-low-identity-map-to-cover-whole-kernel-range.patch
 x86-ioapic-prevent-null-pointer-dereference-in-setup_ioapic_dest.patch
 mm-make-sendfile-2-killable.patch
 fault-inject-fix-inverted-interval-probability-values-in-printk.patch
index 887b9f4579a1b239f414b37ee02f863d9119600c..eb1c95cddd8f5f8080b027451edcc88f5d073d01 100644 (file)
@@ -1,13 +1,12 @@
 From 8a53554e12e98d1759205afd7b8e9e2ea0936f48 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?K=C5=91v=C3=A1g=C3=B3=2C=20Zolt=C3=A1n?=
- <dirty.ice.hu@gmail.com>
+From: Kővágó, Zoltán <DirtY.iCE.hu@gmail.com>
 Date: Mon, 12 Oct 2015 15:13:56 +0100
 Subject: x86/efi: Fix multiple GOP device support
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
 
-From: =?UTF-8?q?K=C5=91v=C3=A1g=C3=B3=2C=20Zolt=C3=A1n?=
+From: Kővágó, Zoltán <DirtY.iCE.hu@gmail.com>
 
 commit 8a53554e12e98d1759205afd7b8e9e2ea0936f48 upstream.
 
diff --git a/queue-4.2/x86-setup-extend-low-identity-map-to-cover-whole-kernel-range.patch b/queue-4.2/x86-setup-extend-low-identity-map-to-cover-whole-kernel-range.patch
deleted file mode 100644 (file)
index d26049e..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-From f5f3497cad8c8416a74b9aaceb127908755d020a Mon Sep 17 00:00:00 2001
-From: Paolo Bonzini <pbonzini@redhat.com>
-Date: Wed, 14 Oct 2015 13:30:45 +0200
-Subject: x86/setup: Extend low identity map to cover whole kernel range
-
-From: Paolo Bonzini <pbonzini@redhat.com>
-
-commit f5f3497cad8c8416a74b9aaceb127908755d020a upstream.
-
-On 32-bit systems, the initial_page_table is reused by
-efi_call_phys_prolog as an identity map to call
-SetVirtualAddressMap.  efi_call_phys_prolog takes care of
-converting the current CPU's GDT to a physical address too.
-
-For PAE kernels the identity mapping is achieved by aliasing the
-first PDPE for the kernel memory mapping into the first PDPE
-of initial_page_table.  This makes the EFI stub's trick "just work".
-
-However, for non-PAE kernels there is no guarantee that the identity
-mapping in the initial_page_table extends as far as the GDT; in this
-case, accesses to the GDT will cause a page fault (which quickly becomes
-a triple fault).  Fix this by copying the kernel mappings from
-swapper_pg_dir to initial_page_table twice, both at PAGE_OFFSET and at
-identity mapping.
-
-For some reason, this is only reproducible with QEMU's dynamic translation
-mode, and not for example with KVM.  However, even under KVM one can clearly
-see that the page table is bogus:
-
-    $ qemu-system-i386 -pflash OVMF.fd -M q35 vmlinuz0 -s -S -daemonize
-    $ gdb
-    (gdb) target remote localhost:1234
-    (gdb) hb *0x02858f6f
-    Hardware assisted breakpoint 1 at 0x2858f6f
-    (gdb) c
-    Continuing.
-
-    Breakpoint 1, 0x02858f6f in ?? ()
-    (gdb) monitor info registers
-    ...
-    GDT=     0724e000 000000ff
-    IDT=     fffbb000 000007ff
-    CR0=0005003b CR2=ff896000 CR3=032b7000 CR4=00000690
-    ...
-
-The page directory is sane:
-
-    (gdb) x/4wx 0x32b7000
-    0x32b7000: 0x03398063      0x03399063      0x0339a063      0x0339b063
-    (gdb) x/4wx 0x3398000
-    0x3398000: 0x00000163      0x00001163      0x00002163      0x00003163
-    (gdb) x/4wx 0x3399000
-    0x3399000: 0x00400003      0x00401003      0x00402003      0x00403003
-
-but our particular page directory entry is empty:
-
-    (gdb) x/1wx 0x32b7000 + (0x724e000 >> 22) * 4
-    0x32b7070: 0x00000000
-
-[ It appears that you can skate past this issue if you don't receive
-  any interrupts while the bogus GDT pointer is loaded, or if you avoid
-  reloading the segment registers in general.
-
-  Andy Lutomirski provides some additional insight:
-
-   "AFAICT it's entirely permissible for the GDTR and/or LDT
-    descriptor to point to unmapped memory.  Any attempt to use them
-    (segment loads, interrupts, IRET, etc) will try to access that memory
-    as if the access came from CPL 0 and, if the access fails, will
-    generate a valid page fault with CR2 pointing into the GDT or
-    LDT."
-
-  Up until commit 23a0d4e8fa6d ("efi: Disable interrupts around EFI
-  calls, not in the epilog/prolog calls") interrupts were disabled
-  around the prolog and epilog calls, and the functional GDT was
-  re-installed before interrupts were re-enabled.
-
-  Which explains why no one has hit this issue until now. ]
-
-Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-Reported-by: Laszlo Ersek <lersek@redhat.com>
-Cc: Borislav Petkov <bp@alien8.de>
-Cc: "H. Peter Anvin" <hpa@zytor.com>
-Cc: Thomas Gleixner <tglx@linutronix.de>
-Cc: Ingo Molnar <mingo@kernel.org>
-Cc: Andy Lutomirski <luto@amacapital.net>
-Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-[ Updated changelog. ]
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-
----
- arch/x86/kernel/setup.c |    8 ++++++++
- 1 file changed, 8 insertions(+)
-
---- a/arch/x86/kernel/setup.c
-+++ b/arch/x86/kernel/setup.c
-@@ -1198,6 +1198,14 @@ void __init setup_arch(char **cmdline_p)
-       clone_pgd_range(initial_page_table + KERNEL_PGD_BOUNDARY,
-                       swapper_pg_dir     + KERNEL_PGD_BOUNDARY,
-                       KERNEL_PGD_PTRS);
-+
-+      /*
-+       * sync back low identity map too.  It is used for example
-+       * in the 32-bit EFI stub.
-+       */
-+      clone_pgd_range(initial_page_table,
-+                      swapper_pg_dir     + KERNEL_PGD_BOUNDARY,
-+                      KERNEL_PGD_PTRS);
- #endif
-       tboot_probe();