x86/traps: Put idt_table[] back into .bss
PATCH 1/1 x86/traps: Put idt_table[] back into .bss
c/s d1d6fc97d "x86/xpti: really hide almost all of Xen image" accidentially moved idt_table[] from .bss to .data by virtue of using the page_aligned section. We also have .bss.page_aligned, so use that.
---
CC: Jan Beulich <[email protected]>
CC: Wei Liu <[email protected]>
CC: Roger Pau Monné <[email protected]>
--- xen/arch/x86/traps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
xen/arch/x86/traps.c +1 -1
@@ -102,7 +102,7 @@ DEFINE_PER_CPU_READ_MOSTLY(struct desc_struct *, gdt_table); DEFINE_PER_CPU_READ_MOSTLY(struct desc_struct *, compat_gdt_table);/* Master table, used by CPU0. */ -idt_entry_t __section(".data.page_aligned") __aligned(PAGE_SIZE) +idt_entry_t __section(".bss.page_aligned") __aligned(PAGE_SIZE) idt_table[IDT_ENTRIES ];/* Pointer to the IDT of every CPU. */
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 4 lines
Quoted 1 line
Quoted 1 line · On 09.03.18 at 16:03, <[email protected]> wrote:
c/s
d1d6fc97d"x86/xpti: really hide almost all of Xen image" accidentially moved idt_table[] from .bss to .data by virtue of using thepage_alignedsection. We also have .bss.page_aligned, so use that.
Oops.
Quoted 1 line
Signed-off-by Andrew Cooper <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 5 lines · Andrew Cooper
c/s
d1d6fc97d"x86/xpti: really hide almost all of Xen image" accidentially moved idt_table[] from .bss to .data by virtue of using thepage_alignedsection. We also have .bss.page_aligned, so use that.Signed-off-by Andrew Cooper <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel