Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
xen/arch/riscv/include/asm/iommu.h | 7 +++
1 file changed, 7 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/iommu.h
diff --git a/xen/arch/riscv/include/asm/iommu.h
b/xen/arch/riscv
Eshleman (1):
xen/riscv: introduce asm/atomic.h
Oleksii Kurochko (38):
xen/riscv: disable unnecessary configs
xen/riscv: use some asm-generic headers
xen/riscv:introduce asm/byteorder.h
xen/riscv: add public arch-riscv.h
xen/riscv: introduce spinlock.h
xen/riscv: introduce fence.h
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed. Only rebase.
---
xen/arch/riscv/include/asm/fence.h | 12
1 file changed, 12 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/fence.h
diff --git a/xen/arch/riscv/include/asm/fence.h
b/xen/arch/riscv
Some headers are the same as asm-generic verions of them
so use them instead of arch-specific headers.
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- New commit introduced in V2.
---
xen/arch/riscv/include/asm/Makefile | 14 ++
1 file changed, 14 insertions(+)
create mode
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- align with arch-arm.h.
---
xen/include/public/arch-riscv.h | 93 +
xen/include/public/xen.h| 2 +
2 files changed, 95 insertions(+)
create mode 100644 xen/include/public/arch-riscv.h
diff --git
The patch also fixes the build script as conf util expects
to have each config on separate line.
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- update the commit message.
- remove xen/arch/riscv/Kconfig changes.
---
automation/gitlab-ci/build.yaml | 122
The header is shared between archs so it is moved to asm-generic.
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Use forward-declaration of struct domain instead of " #include
".
- Add ' include '
- Drop PPC's monitor.h.
---
Changes in V2:
- remove inclusion of
Beulich
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Remove unnecessary comment.
---
xen/arch/arm/p2m.c| 1 +
xen/arch/arm/traps.c | 1 +
xen/arch/ppc/include/asm/mem_access.h | 5 -
xen/include/xen/mem_access.h | 2 ++
4 files changed, 4
is common between Arm, PPC and RISC-V so it is
moved to asm-generic.
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Drop Arm and PPC's softirq.h
- Update the commit message.
---
Changes in V2:
- update the commit message.
---
xen/arch/arm/include/asm/Makefile
is common through archs thereby it is moved
to asm-generic.
Arm and PPC were switched to asm generic verstion of hardirq.h.
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Drop Arm and PPC's hardirq.h
- Update the commit message.
---
Changes in V2:
- add #include
a place where is included in
because asm-generic version of percpu.h started to include which
requires definition of DECLARE_PER_CPU.
As well the patch switches Arm, PPC and x86 architectures to use asm-generic
version of percpu.h.
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- switch
architectures are switched to
generic paging.h header.
Signed-off-by: Oleksii Kurochko
Reviewed-by: Jan Beulich
---
Changes in V3:
- Sort xen/arch/{arm,ppc}/include/asm/Makefile alphabetically.
- Add Reviewed-by: Jan Beulich
---
Changes in V2:
- evaluate argument of macros
- covert
iocap.h is common for Arm, PPC and RISC-V architectures thereby
it was moved to asm-generic.
Also Arm and PPC were switched to asm-generic version of iocap.h.
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Drop Arm and PPC's iocap.h and switch to asm-generic's version.
- Update
at changes for each patch separately.
Oleksii Kurochko (14):
xen/asm-generic: introduce stub header paging.h
xen/asm-generic: introduce generic device.h
xen/asm-generic: introduce generic hypercall.h
xen/asm-generic: introduce generic header iocap.h
xen/asm-generic: introduce stub header
is common between archs so it is moved to
asm-generic.
Arm and PPC were switched to asm-generic version of altp2m.h.
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Drop Arm and PPC's altp2m.h
- Update the commit message.
---
Changes in V2:
- change uint16_t to unsigned int
.
is #ifdef-ed with CONFIG_GRANT_TABLE in
so in case of !CONFIG_GRANT_TABLE gnttab_dom0_frames
won't be available for use in arch/arm/domain_build.c.
Suggested-by: Jan Beulich
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Remove unnecessary comment.
---
xen/arch/arm/domain_build.c
is common through some archs so it is moved
to asm-generic.
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Remove old header inclusion in asm-generic numa.h and include
and
- Drop Arm and PPC's numa.h and use asm-generic version instead.
---
Changes in V2:
- update
is common for Arm, PPC and RISC-V thereby it
is moved to asm-generic.
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Drop Arm and PPC's random.h and switch to asm-generic verison.
---
Changes in V2:
- update the commit messages
---
xen/arch/arm/include/asm/Makefile | 1 +
xen/arch/arm
All archs have the do_div implementation for BITS_PER_LONG == 64
so do_div64.h is moved to asm-generic.
x86 and PPC were switched to asm-generic version of div64.h.
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Drop x86 and PPC's div64.h.
- Update the commit message.
---
Changes in V2
Introduce an empty generic hypercall.h for archs which don't
implement it.
Drop PPC's hypercall.h and switch to generic one instead.
Signed-off-by: Oleksii Kurochko
Acked-by: Jan Beulich
---
Changes in V3:
- Drop PPC's hypercall.h and switch to generic one.
- Update the commit message
- Add
.
Signed-off-by: Oleksii Kurochko
---
It is still open question if device.h should be in asm-generic. Need more
opinions.
---
Changes in V3:
- ifdef device tree related things.
- update the commit message
---
Changes in V2:
- take ( as common ) device.h from Arm as PPC and RISC-V use
.
is #ifdef-ed with CONFIG_GRANT_TABLE in
so in case of !CONFIG_GRANT_TABLE gnttab_dom0_frames
won't be available for use in arch/arm/domain_build.c.
Suggested-by: Jan Beulich
Signed-off-by: Oleksii Kurochko
---
This patch was part of patch series:
https://lore.kernel.org/xen-devel/cover.1699633310
Beulich
Signed-off-by: Oleksii Kurochko
---
This patch was part of patch series:
https://lore.kernel.org/xen-devel/cover.1699633310.git.oleksii.kuroc...@gmail.com/
The patch series hasn't been reviewed all yet so send this path
separately.
---
xen/arch/arm/p2m.c | 6 ++
xen/arch/arm
is common through some archs so it is moved
to asm-generic.
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- update the commit message.
- change u8 to uint8_t.
- add ifnded CONFIG_NUMA.
---
xen/include/asm-generic/numa.h | 40 ++
1
is common between Arm, PPC and RISC-V so it is
moved to asm-generic.
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- update the commit message.
---
xen/include/asm-generic/softirq.h | 17 +
1 file changed, 17 insertions(+)
create mode 100644 xen/include/asm-generic
All archs have the do_div implementation for BITS_PER_LONG == 64
so do_div64.h is moved to asm-generic.
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- rename base to divisor
- add "#if BITS_PER_LONG
is expcted to be generic between Arm, PPC and RISC-V
there by it is moved to asm-generic.
Right now it is common only by PPC and RISC-V but during work on
support of the mentioned arhcs is expected to be the
same.
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- drop #ifded
is common for Arm, PPC and RISC-V thereby it
is moved to asm-generic.
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- update the commit messages
---
xen/include/asm-generic/random.h | 20
1 file changed, 20 insertions(+)
create mode 100644 xen/include/asm-generic
ifdefing inclusion of in
allows to avoid generation of empty header
for the case when !CONFIG_MEM_ACCESS.
Suggested-by: Jan Beulich
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- add Suggested-by: Jan Beulich
- update the commit message
- remove
---
xen
The header is shared between archs so it is moved to asm-generic.
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- remove inclusion of "+#include "
- add "struct xen_domctl_monitor_op;"
- remove one of SPDX tags.
---
xen/include/asm-ge
is common between archs so it is moved to
asm-generic.
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- change uint16_t to unsigned int in declaration of altp2m_vcpu_idx
- update the commit message
---
xen/include/asm-generic/altp2m.h | 34
architectures are switched to
generic paging.h header.
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- evaluate argument of macros
- covert macros to true
- use proper tabs
- switch Arm & PPC to generic paging.h
- update commit message
---
xen/arch/arm/inc
Ifdefing inclusion of allows to avoid
generation of empty for cases when
CONFIG_GRANT_TABLE is not enabled.
Suggested-by: Jan Beulich
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- ifdef inclusion of asm/grant_table.h in xen/grant_table.h to avoid
generation of empty
is common through archs thereby it is moved
to asm-generic.
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- add #include .
- update the commit message
---
xen/include/asm-generic/hardirq.h | 29 +
1 file changed, 29 insertions(+)
create mode
Arm, PPC and RISC-V use the same device.h thereby device.h
was moved to asm-generic. Arm's device.h was taken as a base with
the following changes:
- #ifdef PCI related things.
- #ifdef ACPI related things.
- Rename #ifdef guards.
- Add SPDX tag.
Signed-off-by: Oleksii Kurochko
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- use smp_processor_id() instead of get_processor_id().
- update commit message .
---
xen/include/asm-generic/percpu.h | 35
1 file changed, 35 insertions(+)
create mode 100644 xen/include/asm
iocap.h is common for Arm, PPC and RISC-V architectures thereby
it was moved to asm-generic.
Signed-off-by: Oleksii Kurochko
---
The same question as with device.h. Should it be in asm-generic?
Changes in V2:
- update the commit message
---
xen/include/asm-generic/iocap.h | 17
at changes for each patch separately.
Oleksii Kurochko (15):
xen/asm-generic: introduce stub header paging.h
xen/asm-generic: introduce generic device.h
xen: ifdef inclusion of in
xen/asm-generic: introduce generic hypercall.h
xen/asm-generic: introduce generic header iocap.h
xen/a
Introduce an empty generic hypercall.h for archs which don't
implement it.
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- add check that isn't included directly.
---
xen/include/asm-generic/hypercall.h | 18 ++
1 file changed, 18 insertions(+)
create mode 100644 xen
to generate
for only define the mentioned above arch_pci_dev structure.
For the Arm-only stubs ( mentioned in for disabled
HAS_PCI and ARM-specific) will be needed
to add directly alongside . Only to
was added.
Suggested-by: Jan Beulich
Signed-off-by: Oleksii Kurochko
---
xen/arch/arm
only declares udelay() function so udelay()
declaration was moved to xen/delay.h.
For x86, __udelay() was renamed to udelay() and removed
inclusion of in x86 code.
For ppc, udelay() stub definition was moved to ppc/stubs.c.
Suggested-by: Jan Beulich
Signed-off-by: Oleksii Kurochko
Reviewed
only declares udelay() function so udelay()
declaration was moved to xen/delay.h.
For x86, __udelay() was renamed to udelay() and removed
inclusion of in x86 code.
Signed-off-by: Oleksii Kurochko
---
xen/arch/arm/include/asm/delay.h | 14 --
xen/arch/riscv/include/asm/delay.h
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/numa.h | 35 ++
1 file changed, 35 insertions(+)
create mode 100644 xen/include/asm-generic/numa.h
diff --git a/xen/include/asm-generic
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/softirq.h | 17 +
1 file changed, 17 insertions(+)
create mode 100644 xen/include/asm-generic/softirq.h
diff --git a/xen/include/asm-generic/softirq.h
b
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/hardirq.h | 27 +++
1 file changed, 27 insertions(+)
create mode 100644 xen/include/asm-generic/hardirq.h
diff --git a/xen/include/asm-generic
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/domain.h | 53
1 file changed, 53 insertions(+)
create mode 100644 xen/include/asm-generic/domain.h
diff --git a/xen/include/asm-generic
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/irq.h | 44 +++
1 file changed, 44 insertions(+)
create mode 100644 xen/include/asm-generic/irq.h
diff --git a/xen/include/asm-generic
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/monitor.h | 64 +++
1 file changed, 64 insertions(+)
create mode 100644 xen/include/asm-generic/monitor.h
diff --git a/xen/include/asm-generic
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/div64.h | 24
1 file changed, 24 insertions(+)
create mode 100644 xen/include/asm-generic/div64.h
diff --git a/xen/include/asm-generic/div64.h b
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/p2m.h | 115 ++
1 file changed, 115 insertions(+)
create mode 100644 xen/include/asm-generic/p2m.h
diff --git a/xen/include/asm-generic
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/guest_access.h | 31 ++
1 file changed, 31 insertions(+)
create mode 100644 xen/include/asm-generic/guest_access.h
diff --git a/xen/include/asm
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/percpu.h | 35
1 file changed, 35 insertions(+)
create mode 100644 xen/include/asm-generic/percpu.h
diff --git a/xen/include/asm-generic
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/delay.h | 21 +
1 file changed, 21 insertions(+)
create mode 100644 xen/include/asm-generic/delay.h
diff --git a/xen/include/asm-generic/delay.h b/xen
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/flushtlb.h | 42 ++
1 file changed, 42 insertions(+)
create mode 100644 xen/include/asm-generic/flushtlb.h
diff --git a/xen/include/asm-generic
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/smp.h | 30 ++
1 file changed, 30 insertions(+)
create mode 100644 xen/include/asm-generic/smp.h
diff --git a/xen/include/asm-generic/smp.h b
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/setup.h | 16
1 file changed, 16 insertions(+)
create mode 100644 xen/include/asm-generic/setup.h
diff --git a/xen/include/asm-generic/setup.h b/xen
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/random.h | 20
1 file changed, 20 insertions(+)
create mode 100644 xen/include/asm-generic/random.h
diff --git a/xen/include/asm-generic/random.h b
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/altp2m.h | 34
1 file changed, 34 insertions(+)
create mode 100644 xen/include/asm-generic/altp2m.h
diff --git a/xen/include/asm-generic
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/pci.h | 18 ++
1 file changed, 18 insertions(+)
create mode 100644 xen/include/asm-generic/pci.h
diff --git a/xen/include/asm-generic/pci.h b/xen/include
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/xenoprof.h | 14 ++
1 file changed, 14 insertions(+)
create mode 100644 xen/include/asm-generic/xenoprof.h
diff --git a/xen/include/asm-generic/xenoprof.h
b
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/iocap.h | 17 +
1 file changed, 17 insertions(+)
create mode 100644 xen/include/asm-generic/iocap.h
diff --git a/xen/include/asm-generic/iocap.h b/xen
The patch introduces stub header necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/iommu.h | 17 +
1 file changed, 17 insertions(+)
create mode 100644 xen/include/asm-generic/iommu.h
diff --git a/xen/include/asm-generic/iommu.h b/xen
The patch introduces stub header needed for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/guest_atomics.h | 47 +
1 file changed, 47 insertions(+)
create mode 100644 xen/include/asm-generic/guest_atomics.h
diff --git a/xen/include/asm
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/mem_access.h | 14 ++
1 file changed, 14 insertions(+)
create mode 100644 xen/include/asm-generic/mem_access.h
diff --git a/xen/include/asm-generic
The patch introduces stub header needed for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/paging.h | 17 +
1 file changed, 17 insertions(+)
create mode 100644 xen/include/asm-generic/paging.h
diff --git a/xen/include/asm-generic/paging.h b/xen
to add
a full Xen build.
[1]
https://lore.kernel.org/xen-devel/cover.1694543103.git.sanasta...@raptorengineering.com/
[2]
https://lore.kernel.org/xen-devel/cover.1692181079.git.oleksii.kuroc...@gmail.com/
Oleksii Kurochko (29):
xen/asm-generic: introduce stub header spinlock.h
xen/asm-generic
The patch introduces header stub necessry for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/hypercall.h | 14 ++
1 file changed, 14 insertions(+)
create mode 100644 xen/include/asm-generic/hypercall.h
diff --git a/xen/include/asm-generic/hypercall.h
The patch introduces stub header needed for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/spinlock.h | 23 +++
1 file changed, 23 insertions(+)
create mode 100644 xen/include/asm-generic/spinlock.h
diff --git a/xen/include/asm-generic
The patch introduces stub header needed for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/grant_table.h | 14 ++
1 file changed, 14 insertions(+)
create mode 100644 xen/include/asm-generic/grant_table.h
diff --git a/xen/include/asm-generic
The patch introduces stub header needed for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/event.h | 39 +
1 file changed, 39 insertions(+)
create mode 100644 xen/include/asm-generic/event.h
diff --git a/xen/include/asm-generic
The patch introduces stub header needed for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/device.h | 65
1 file changed, 65 insertions(+)
create mode 100644 xen/include/asm-generic/device.h
diff --git a/xen/include/asm-generic
The patch introduces stub header needed for full Xen build.
Signed-off-by: Oleksii Kurochko
---
xen/include/asm-generic/cpufeature.h | 23 +++
1 file changed, 23 insertions(+)
create mode 100644 xen/include/asm-generic/cpufeature.h
diff --git a/xen/include/asm-generic
x 6.5-rc1" ).
Signed-off-by: Oleksii Kurochko
Reviewed-by: Anthony PERARD
Acked-by: Jan Beulich
---
Changes in V7:
- update warning message in Makefile.asm-generic
- add Reviewed-by: Anthony PERARD
- add Acked-by: Jan Beulich
---
Changes in V6:
- introduce $(asm-generic) macro in Kbui
clude/asm/vm_event.h
to stubs
Oleksii Kurochko (2):
xen: asm-generic support
xen: move arm/include/asm/vm_event.h to asm-generic
.gitignore | 1 +
xen/Makefile| 9 +++-
xen/arch/arm/include/asm/Makefile | 2 +
xen/arch/a
vent.h was moved to asm-generic then it is needed to create
Makefile in arm/include/asm/ and add generated-y += vm_event.h to
it.
Signed-off-by: Oleksii Kurochko
Acked-by: Tamas K Lengyel
---
Changes in V7:
- update guards in asm-generic/vm_event.h.
- add Acked-by: Tamas K Lengyel
---
C
message of [PATCH v2 2/2] xen: move arm/include/asm/vm_event.h
to stubs
Oleksii Kurochko (2):
xen: asm-generic support
xen: move arm/include/asm/vm_event.h to asm-generic
.gitignore | 1 +
xen/Makefile| 9 +++-
xen/arch/arm/include/asm/M
x 6.5-rc1" ).
Signed-off-by: Oleksii Kurochko
---
Changes in V6:
- introduce $(asm-generic) macro in Kbuild.include.
- move "asm-generic" after the rule "__distclean".
---
Changes in V5:
- Update the commit message
- Update SPDX license in Makefile.
- Remove code r
vent.h was moved to asm-generic then it is needed to create
Makefile in arm/include/asm/ and add generated-y += vm_event.h to
it.
Signed-off-by: Oleksii Kurochko
---
Changes in V6:
- update the commit message.
---
Changes in V5:
- Update the commit message
- Remove Acked-by:...
- Switch
as moved to asm-generic then it is needed to create
Makefile in arm/include/asm/ and add generated-y += vm_event.h to
it.
Signed-off-by: Oleksii Kurochko
---
Changes in V5:
- Update the commit message
- Remove Acked-by:...
- Switch ARM to use asm-generic/vm_event.h
---
Changes in V4:
- update
x 6.5-rc1" ).
Signed-off-by: Oleksii Kurochko
---
Changes in V5:
- Update the commit message
- Update SPDX license in Makefile.
- Remove code related to UML
- Include $(src)/Makefile instead of $(kbuild-file)
- Update comment message in Makefile.asm-generic
- Update .gitignore
- U
sm-generic.
- rename stubs dir to asm-generic.
---
Changes in V2:
- change public/domctl.h to public/vm_event.h.
- update commit message of [PATCH v2 2/2] xen: move arm/include/asm/vm_event.h
to stubs
Oleksii Kurochko (2):
xen: asm-generic support
xen: move arm/include/asm/vm_event.
The change which adds generic-y += vm_event.h to ARM's Kbuild was lost
during creation of the patch. Should be added in the next patch version
On Fri, Sep 1, 2023, 18:02 Oleksii Kurochko
wrote:
> asm/vm_event.h is common for ARM and RISC-V so it will be moved to
> asm-generic dir.
>
&
to
arch/$(ARCH)/include/asm/Kbuild :
generic-y +=
For each mentioned header in arch/$(ARCH)/include/asm/Kbuild,
kbuild will generate the necessary wrapper in
arch/$(ARCH)/include/generated/asm.
Signed-off-by: Oleksii Kurochko
---
Changes in V4:
- introduce asm-generic support
- update
asm/vm_event.h is common for ARM and RISC-V so it will be moved to
asm-generic dir.
Original asm/vm_event.h from ARM was updated:
* use SPDX-License-Identifier.
* update comment messages of stubs.
* update #ifdef.
* change public/domctl.h to public/vm_event.h.
Signed-off-by: Oleksii Kurochko
vm_event.h.
- update commit message of [PATCH v2 2/2] xen: move arm/include/asm/vm_event.h
to stubs
Oleksii Kurochko (2):
xen: asm-generic support
xen: move arm/include/asm/vm_event.h to asm-generic
xen/Makefile | 10 +-
xen/arch/arm/include/asm/Kbuild| 1 +
xe
o asm-generic"
- update SPDX tag.
- move asm/vm_event.h to asm-generic.
- rename stubs dir to asm-generic.
---
Changes in V2:
- change public/domctl.h to public/vm_event.h.
- update commit message of [PATCH v2 2/2] xen: move arm/include/asm/vm_event.h
to stubs
Oleksii Kurochko (2):
xe
asm-generic dir will contain empty/stubs generic for all architectures.
Signed-off-by: Oleksii Kurochko
---
Changes in V3:
- Rename stubs dir to asm-generic
---
Changes in V2:
- Nothing changed.
---
xen/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/xen/Makefile b/xen/Makefile
asm/vm_event.h is common for ARM and RISC-V so it will be moved to
asm-generic dir.
Original asm/vm_event.h from ARM was updated:
* use SPDX-License-Identifier.
* update comment messages of stubs.
* update #ifdef.
* change public/domctl.h to public/vm_event.h.
Signed-off-by: Oleksii Kurochko
asm/vm_event.h is common for ARM and RISC-V so it will be moved to
stubs dir.
Original asm/vm_event.h from ARM was updated:
* use SPDX-License-Identifier.
* update comment messages of stubs.
* update #ifdef.
* change public/domctl.h to public/vm_event.h.
Signed-off-by: Oleksii Kurochko
stubs dir will contain empty/stubs generic for all architectures
headers.
Signed-off-by: Oleksii Kurochko
---
Changes in V2:
- Nothing changed.
---
xen/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/xen/Makefile b/xen/Makefile
index f57e5a596c..64c3542c84 100644
--- a/xen
: move arm/include/asm/vm_event.h
to stubs
Oleksii Kurochko (2):
xen: add stubs dir to include path
xen: move arm/include/asm/vm_event.h to stubs
xen/Makefile| 1 +
xen/arch/arm/include/asm/vm_event.h | 66 -
xen/include/stubs/asm/vm_event.h
asm/vm_event.h is common for ARM and RISC-V so it will be moved to
stubs dir.
Original asm/vm_event.h from ARM was updated:
* use SPDX-License-Identifier.
* update comment messages of stubs.
* update #ifdef
Signed-off-by: Oleksii Kurochko
---
xen/arch/arm/include/asm/vm_event.h | 66
/a92f99e8f697da99d77bfde562a549dbef3760ce.1692816595.git.sanasta...@raptorengineering.com/
As part of the patch series, asm/vm_event.h was moved to the stubs directory
because
It is the same for ARM, PPC, and RISC-V.
Oleksii Kurochko (2):
xen: add stubs dir to include path
xen: move arm/include/asm/vm_event.h to stubs
stubs dir will contain empty/stubs generic for all architectures
headers.
Signed-off-by: Oleksii Kurochko
---
xen/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/xen/Makefile b/xen/Makefile
index f57e5a596c..64c3542c84 100644
--- a/xen/Makefile
+++ b/xen/Makefile
@@ -438,6 +438,7
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/Makefile| 1 +
xen/arch/riscv/lib/Makefile| 1 +
xen/arch/riscv/lib/find_next_bit.c | 278 +
3 files changed, 280 insertions(+)
create mode 100644 xen/arch/riscv/lib/Makefile
create mode
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/irq.h | 34
1 file changed, 34 insertions(+)
create mode 100644 xen/arch/riscv/include/asm/irq.h
diff --git a/xen/arch/riscv/include/asm/irq.h b/xen/arch/riscv/include/asm/irq.h
new file mode 100644
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/cache.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/xen/arch/riscv/include/asm/cache.h
b/xen/arch/riscv/include/asm/cache.h
index 69573eb051..94bd94db53 100644
--- a/xen/arch/riscv/include/asm/cache.h
+++ b/xen/arch/riscv
Also the patchs adds some helpful macros.
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/config.h | 21 +
1 file changed, 21 insertions(+)
diff --git a/xen/arch/riscv/include/asm/config.h
b/xen/arch/riscv/include/asm/config.h
index fa90ae0898..63ddcae1f9
:
CONFIG_1=n
CONFIG_2=n
...
2. Override in arch-specific KConfig:
CONFIG_1:
default n
Each option doesn't work for me fully.
Could you please suggest other options or more correct way?
Signed-off-by: Oleksii Kurochko
---
xen/arch/riscv/include/asm/asm_defns.h | 44
Signed-off-by: Oleksii Kurochko
---
automation/gitlab-ci/analyze.yaml | 16 -
automation/gitlab-ci/build.yaml | 544 --
automation/gitlab-ci/test.yaml| 308 -
3 files changed, 868 deletions(-)
diff --git a/automation/gitlab-ci/analyze.yaml
b
301 - 400 of 748 matches
Mail list logo