All of lore.kernel.org
 help / color / mirror / Atom feed
From: Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>
To: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Xen-devel <xen-devel@lists.xenproject.org>,
	"Jan Beulich" <jbeulich@suse.com>,
	"Roger Pau Monné" <roger@xenproject.org>,
	"Teddy Astie" <teddy.astie@vates.tech>,
	"Stefano Stabellini" <sstabellini@kernel.org>,
	"Julien Grall" <julien@xen.org>,
	"Bertrand Marquis" <bertrand.marquis@arm.com>,
	"Michal Orzel" <michal.orzel@amd.com>,
	"Oleksii Kurochko" <oleksii.kurochko@gmail.com>,
	"Baptiste Le Duc" <baptiste.le-duc@vates.tech>,
	"Timothy Pearson" <tpearson@raptorengineering.com>
Subject: Re: [PATCH] xen/link: Move SCHEDULER_ARRAY into .rodata
Date: Fri, 13 Nov 2026 01:42:04 +0000	[thread overview]
Message-ID: <87h5hl8q38.fsf@epam.com> (raw)
In-Reply-To: <20261112183620.3277591-1-andrew.cooper3@citrix.com> (Andrew Cooper's message of "Thu, 12 Nov 2026 18:36:20 +0000")

Hi,

Andrew Cooper <andrew.cooper3@citrix.com> writes:

> This is a list of pointers which is only ever read.
>
> In the ARM linker file, fix some adjacent misalignment.
>
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>

Reviewed-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>

> ---
> CC: Jan Beulich <jbeulich@suse.com>
> CC: Roger Pau Monné <roger@xenproject.org>
> CC: Teddy Astie <teddy.astie@vates.tech>
> CC: Stefano Stabellini <sstabellini@kernel.org>
> CC: Julien Grall <julien@xen.org>
> CC: Volodymyr Babchuk <Volodymyr_Babchuk@epam.com>
> CC: Bertrand Marquis <bertrand.marquis@arm.com>
> CC: Michal Orzel <michal.orzel@amd.com>
> CC: Oleksii Kurochko <oleksii.kurochko@gmail.com>
> CC: Baptiste Le Duc <baptiste.le-duc@vates.tech>
> CC: Timothy Pearson <tpearson@raptorengineering.com>
> ---
>  xen/arch/arm/xen.lds.S   | 6 +++---
>  xen/arch/ppc/xen.lds.S   | 2 +-
>  xen/arch/riscv/xen.lds.S | 2 +-
>  xen/arch/x86/xen.lds.S   | 2 +-
>  4 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/xen/arch/arm/xen.lds.S b/xen/arch/arm/xen.lds.S
> index 613511390ff4..d1bb6c62d208 100644
> --- a/xen/arch/arm/xen.lds.S
> +++ b/xen/arch/arm/xen.lds.S
> @@ -51,9 +51,10 @@ SECTIONS
>  
>    . = ALIGN(PAGE_SIZE);
>    .rodata : {
> -        _srodata = .;          /* Read-only data */
> +       _srodata = .;          /* Read-only data */
>  
> -        BUGFRAMES
> +       BUGFRAMES
> +       SCHEDULER_ARRAY
>  
>         *(.rodata)
>         *(.rodata.*)
> @@ -93,7 +94,6 @@ SECTIONS
>    .data : {                    /* Data */
>         *(.data.page_aligned)
>  
> -       SCHEDULER_ARRAY
>         HYPFS_PARAM
>  
>         *(.data .data.*)
> diff --git a/xen/arch/ppc/xen.lds.S b/xen/arch/ppc/xen.lds.S
> index 37256c8865a9..cddb70855307 100644
> --- a/xen/arch/ppc/xen.lds.S
> +++ b/xen/arch/ppc/xen.lds.S
> @@ -48,6 +48,7 @@ SECTIONS
>          _srodata = .;          /* Read-only data */
>  
>          BUGFRAMES
> +        SCHEDULER_ARRAY
>  
>          *(.rodata)
>          *(.rodata.*)
> @@ -84,7 +85,6 @@ SECTIONS
>      DECL_SECTION(.data) {                    /* Data */
>          *(.data.page_aligned)
>  
> -        SCHEDULER_ARRAY
>          HYPFS_PARAM
>  
>          *(.data .data.*)
> diff --git a/xen/arch/riscv/xen.lds.S b/xen/arch/riscv/xen.lds.S
> index d9375a961697..250ee3f36f4f 100644
> --- a/xen/arch/riscv/xen.lds.S
> +++ b/xen/arch/riscv/xen.lds.S
> @@ -43,6 +43,7 @@ SECTIONS
>          _srodata = .;          /* Read-only data */
>  
>          BUGFRAMES
> +        SCHEDULER_ARRAY
>  
>          *(.srodata)
>          *(.srodata.*)
> @@ -91,7 +92,6 @@ SECTIONS
>      .data : {                    /* Data */
>          *(.data.page_aligned)
>  
> -        SCHEDULER_ARRAY
>          HYPFS_PARAM
>  
>          *(.sdata .sdata.*)
> diff --git a/xen/arch/x86/xen.lds.S b/xen/arch/x86/xen.lds.S
> index 8f943e11ead4..925848980219 100644
> --- a/xen/arch/x86/xen.lds.S
> +++ b/xen/arch/x86/xen.lds.S
> @@ -119,6 +119,7 @@ SECTIONS
>         __ro_after_init_end = .;
>  
>         BUGFRAMES
> +       SCHEDULER_ARRAY
>  
>         *(.rodata)
>         *(.rodata.*)
> @@ -297,7 +298,6 @@ SECTIONS
>    DECL_SECTION(.data.read_mostly) {
>         *(.data.read_mostly)
>  
> -       SCHEDULER_ARRAY
>         HYPFS_PARAM
>    } PHDR(text)

-- 
WBR, Volodymyr

      reply	other threads:[~2026-11-13  1:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-12 18:36 [PATCH] xen/link: Move SCHEDULER_ARRAY into .rodata Andrew Cooper
2026-11-13  1:42 ` Volodymyr Babchuk [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h5hl8q38.fsf@epam.com \
    --to=volodymyr_babchuk@epam.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=baptiste.le-duc@vates.tech \
    --cc=bertrand.marquis@arm.com \
    --cc=jbeulich@suse.com \
    --cc=julien@xen.org \
    --cc=michal.orzel@amd.com \
    --cc=oleksii.kurochko@gmail.com \
    --cc=roger@xenproject.org \
    --cc=sstabellini@kernel.org \
    --cc=teddy.astie@vates.tech \
    --cc=tpearson@raptorengineering.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.