* [PATCH] x86/traps: Put idt_table[] back into .bss
@ 2018-03-09 15:03 Andrew Cooper
2018-03-09 15:32 ` Jan Beulich
2018-03-09 15:37 ` Wei Liu
0 siblings, 2 replies; 3+ messages in thread
From: Andrew Cooper @ 2018-03-09 15:03 UTC (permalink / raw)
To: Xen-devel; +Cc: Andrew Cooper, Wei Liu, Jan Beulich, Roger Pau Monné
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.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
---
CC: Jan Beulich <JBeulich@suse.com>
CC: Wei Liu <wei.liu2@citrix.com>
CC: Roger Pau Monné <roger.pau@citrix.com>
---
xen/arch/x86/traps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xen/arch/x86/traps.c b/xen/arch/x86/traps.c
index 19bc174..016af12 100644
--- a/xen/arch/x86/traps.c
+++ b/xen/arch/x86/traps.c
@@ -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. */
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] x86/traps: Put idt_table[] back into .bss
2018-03-09 15:03 [PATCH] x86/traps: Put idt_table[] back into .bss Andrew Cooper
@ 2018-03-09 15:32 ` Jan Beulich
2018-03-09 15:37 ` Wei Liu
1 sibling, 0 replies; 3+ messages in thread
From: Jan Beulich @ 2018-03-09 15:32 UTC (permalink / raw)
To: Andrew Cooper; +Cc: Xen-devel, Wei Liu, Roger Pau Monné
>>> On 09.03.18 at 16:03, <andrew.cooper3@citrix.com> 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 the page_aligned
> section. We also have .bss.page_aligned, so use that.
Oops.
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] x86/traps: Put idt_table[] back into .bss
2018-03-09 15:03 [PATCH] x86/traps: Put idt_table[] back into .bss Andrew Cooper
2018-03-09 15:32 ` Jan Beulich
@ 2018-03-09 15:37 ` Wei Liu
1 sibling, 0 replies; 3+ messages in thread
From: Wei Liu @ 2018-03-09 15:37 UTC (permalink / raw)
To: Andrew Cooper; +Cc: Roger Pau Monné, Wei Liu, Jan Beulich, Xen-devel
On Fri, Mar 09, 2018 at 03:03:47PM +0000, Andrew Cooper 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 the page_aligned
> section. We also have .bss.page_aligned, so use that.
>
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-03-09 15:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-09 15:03 [PATCH] x86/traps: Put idt_table[] back into .bss Andrew Cooper
2018-03-09 15:32 ` Jan Beulich
2018-03-09 15:37 ` Wei Liu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.