[PATCH for-4.19? 0/3] xen: build adjustments for __read_mostly/__ro_after_init

Andrew Cooper posted 3 patches 5 months ago
Failed in applying to current master (apply log)
xen/arch/ppc/configs/ppc64_defconfig | 6 ------
xen/arch/ppc/include/asm/cache.h     | 3 ---
xen/arch/ppc/mm-radix.c              | 1 +
xen/arch/ppc/stubs.c                 | 7 +++++++
xen/arch/riscv/mm.c                  | 2 +-
xen/common/argo.c                    | 1 +
xen/common/cpu.c                     | 1 +
xen/common/debugtrace.c              | 1 +
xen/common/domain.c                  | 1 +
xen/common/event_channel.c           | 2 ++
xen/common/keyhandler.c              | 1 +
xen/common/memory.c                  | 1 +
xen/common/page_alloc.c              | 1 +
xen/common/pdx.c                     | 1 +
xen/common/radix-tree.c              | 1 +
xen/common/random.c                  | 2 +-
xen/common/rcupdate.c                | 1 +
xen/common/sched/core.c              | 1 +
xen/common/sched/cpupool.c           | 1 +
xen/common/sched/credit.c            | 1 +
xen/common/sched/credit2.c           | 1 +
xen/common/shutdown.c                | 1 +
xen/common/spinlock.c                | 1 +
xen/common/timer.c                   | 1 +
xen/common/version.c                 | 3 +--
xen/common/virtual_region.c          | 1 +
xen/common/vmap.c                    | 2 +-
xen/drivers/char/console.c           | 1 +
xen/drivers/char/ns16550.c           | 1 +
xen/drivers/char/serial.c            | 2 +-
xen/include/xen/cache.h              | 2 ++
xen/include/xen/hypfs.h              | 1 +
32 files changed, 38 insertions(+), 15 deletions(-)
[PATCH for-4.19? 0/3] xen: build adjustments for __read_mostly/__ro_after_init
Posted by Andrew Cooper 5 months ago
In aid of getting the RISC-V build working without introducing more technical
debt.  It's done by making PPC shed it's copy of said technical debt.

Build tested quite thoroughly, including in Gitlab.

Andrew Cooper (3):
  xen/riscv: Drop legacy __ro_after_init definition
  xen/ppc: Adjust ppc64_defconfig
  xen/ppc: Avoid using the legacy __read_mostly/__ro_after_init
    definitions

 xen/arch/ppc/configs/ppc64_defconfig | 6 ------
 xen/arch/ppc/include/asm/cache.h     | 3 ---
 xen/arch/ppc/mm-radix.c              | 1 +
 xen/arch/ppc/stubs.c                 | 7 +++++++
 xen/arch/riscv/mm.c                  | 2 +-
 xen/common/argo.c                    | 1 +
 xen/common/cpu.c                     | 1 +
 xen/common/debugtrace.c              | 1 +
 xen/common/domain.c                  | 1 +
 xen/common/event_channel.c           | 2 ++
 xen/common/keyhandler.c              | 1 +
 xen/common/memory.c                  | 1 +
 xen/common/page_alloc.c              | 1 +
 xen/common/pdx.c                     | 1 +
 xen/common/radix-tree.c              | 1 +
 xen/common/random.c                  | 2 +-
 xen/common/rcupdate.c                | 1 +
 xen/common/sched/core.c              | 1 +
 xen/common/sched/cpupool.c           | 1 +
 xen/common/sched/credit.c            | 1 +
 xen/common/sched/credit2.c           | 1 +
 xen/common/shutdown.c                | 1 +
 xen/common/spinlock.c                | 1 +
 xen/common/timer.c                   | 1 +
 xen/common/version.c                 | 3 +--
 xen/common/virtual_region.c          | 1 +
 xen/common/vmap.c                    | 2 +-
 xen/drivers/char/console.c           | 1 +
 xen/drivers/char/ns16550.c           | 1 +
 xen/drivers/char/serial.c            | 2 +-
 xen/include/xen/cache.h              | 2 ++
 xen/include/xen/hypfs.h              | 1 +
 32 files changed, 38 insertions(+), 15 deletions(-)

-- 
2.39.2
Re: [PATCH for-4.19? 0/3] xen: build adjustments for __read_mostly/__ro_after_init
Posted by Oleksii 5 months ago
On Fri, 2024-06-21 at 21:19 +0100, Andrew Cooper wrote:
> In aid of getting the RISC-V build working without introducing more
> technical
> debt.  It's done by making PPC shed it's copy of said technical debt.
> 
> Build tested quite thoroughly, including in Gitlab.
Release-Acked-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>

~ Oleksii
> 
> Andrew Cooper (3):
>   xen/riscv: Drop legacy __ro_after_init definition
>   xen/ppc: Adjust ppc64_defconfig
>   xen/ppc: Avoid using the legacy __read_mostly/__ro_after_init
>     definitions
> 
>  xen/arch/ppc/configs/ppc64_defconfig | 6 ------
>  xen/arch/ppc/include/asm/cache.h     | 3 ---
>  xen/arch/ppc/mm-radix.c              | 1 +
>  xen/arch/ppc/stubs.c                 | 7 +++++++
>  xen/arch/riscv/mm.c                  | 2 +-
>  xen/common/argo.c                    | 1 +
>  xen/common/cpu.c                     | 1 +
>  xen/common/debugtrace.c              | 1 +
>  xen/common/domain.c                  | 1 +
>  xen/common/event_channel.c           | 2 ++
>  xen/common/keyhandler.c              | 1 +
>  xen/common/memory.c                  | 1 +
>  xen/common/page_alloc.c              | 1 +
>  xen/common/pdx.c                     | 1 +
>  xen/common/radix-tree.c              | 1 +
>  xen/common/random.c                  | 2 +-
>  xen/common/rcupdate.c                | 1 +
>  xen/common/sched/core.c              | 1 +
>  xen/common/sched/cpupool.c           | 1 +
>  xen/common/sched/credit.c            | 1 +
>  xen/common/sched/credit2.c           | 1 +
>  xen/common/shutdown.c                | 1 +
>  xen/common/spinlock.c                | 1 +
>  xen/common/timer.c                   | 1 +
>  xen/common/version.c                 | 3 +--
>  xen/common/virtual_region.c          | 1 +
>  xen/common/vmap.c                    | 2 +-
>  xen/drivers/char/console.c           | 1 +
>  xen/drivers/char/ns16550.c           | 1 +
>  xen/drivers/char/serial.c            | 2 +-
>  xen/include/xen/cache.h              | 2 ++
>  xen/include/xen/hypfs.h              | 1 +
>  32 files changed, 38 insertions(+), 15 deletions(-)
>