Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1743047 > unrolled thread

[PATCH v4 13/27] x86: xen-pvh, annotate data appropriatelly

Started byJiri Slaby <jslaby@suse.cz>
First post2017-10-02 11:20 +0200
Last post2017-10-02 22:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v4 13/27] x86: xen-pvh, annotate data appropriatelly Jiri Slaby <jslaby@suse.cz> - 2017-10-02 11:20 +0200
    Re: [PATCH v4 13/27] x86: xen-pvh, annotate data appropriatelly Boris Ostrovsky <boris.ostrovsky@oracle.com> - 2017-10-02 22:50 +0200

#1743047 — [PATCH v4 13/27] x86: xen-pvh, annotate data appropriatelly

FromJiri Slaby <jslaby@suse.cz>
Date2017-10-02 11:20 +0200
Subject[PATCH v4 13/27] x86: xen-pvh, annotate data appropriatelly
Message-ID<uw53k-5uV-41@gated-at.bofh.it>
Use the new SYM_DATA_START_LOCAL, and SYM_DATA_END* macros:
  0000     8 OBJECT  LOCAL  DEFAULT    6 gdt
  0008    32 OBJECT  LOCAL  DEFAULT    6 gdt_start
  0028     0 OBJECT  LOCAL  DEFAULT    6 gdt_end
  0028   256 OBJECT  LOCAL  DEFAULT    6 early_stack
  0128     0 OBJECT  LOCAL  DEFAULT    6 early_stack

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: Juergen Gross <jgross@suse.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: x86@kernel.org
Cc: xen-devel@lists.xenproject.org
---
 arch/x86/xen/xen-pvh.S | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/arch/x86/xen/xen-pvh.S b/arch/x86/xen/xen-pvh.S
index e1a5fbeae08d..1b78837bad06 100644
--- a/arch/x86/xen/xen-pvh.S
+++ b/arch/x86/xen/xen-pvh.S
@@ -137,11 +137,12 @@ END(pvh_start_xen)
 
 	.section ".init.data","aw"
 	.balign 8
-gdt:
+SYM_DATA_START_LOCAL(gdt)
 	.word gdt_end - gdt_start
 	.long _pa(gdt_start)
 	.word 0
-gdt_start:
+SYM_DATA_END(gdt)
+SYM_DATA_START_LOCAL(gdt_start)
 	.quad 0x0000000000000000            /* NULL descriptor */
 	.quad 0x0000000000000000            /* reserved */
 #ifdef CONFIG_X86_64
@@ -150,12 +151,12 @@ gdt_start:
 	.quad GDT_ENTRY(0xc09a, 0, 0xfffff) /* __KERNEL_CS */
 #endif
 	.quad GDT_ENTRY(0xc092, 0, 0xfffff) /* __KERNEL_DS */
-gdt_end:
+SYM_DATA_END_LABEL(gdt_start, SYM_V_LOCAL, gdt_end)
 
 	.balign 4
-early_stack:
+SYM_DATA_START_LOCAL(early_stack)
 	.fill 256, 1, 0
-early_stack_end:
+SYM_DATA_END_LABEL(early_stack, SYM_V_LOCAL, early_stack_end)
 
 	ELFNOTE(Xen, XEN_ELFNOTE_PHYS32_ENTRY,
 	             _ASM_PTR (pvh_start_xen - __START_KERNEL_map))
-- 
2.14.2

[toc] | [next] | [standalone]


#1743226

FromBoris Ostrovsky <boris.ostrovsky@oracle.com>
Date2017-10-02 22:50 +0200
Message-ID<uwfP4-ur-21@gated-at.bofh.it>
In reply to#1743047
On 10/02/2017 05:12 AM, Jiri Slaby wrote:
> Use the new SYM_DATA_START_LOCAL, and SYM_DATA_END* macros:
>   0000     8 OBJECT  LOCAL  DEFAULT    6 gdt
>   0008    32 OBJECT  LOCAL  DEFAULT    6 gdt_start
>   0028     0 OBJECT  LOCAL  DEFAULT    6 gdt_end
>   0028   256 OBJECT  LOCAL  DEFAULT    6 early_stack
>   0128     0 OBJECT  LOCAL  DEFAULT    6 early_stack
>
> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
> Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
> Cc: Juergen Gross <jgross@suse.com>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: "H. Peter Anvin" <hpa@zytor.com>
> Cc: x86@kernel.org
> Cc: xen-devel@lists.xenproject.org
> ---

Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web