[PATCH v2 10/39] xen/riscv: introduce asm/iommu.h

2023-11-24 Thread Oleksii Kurochko
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

[PATCH v2 00/39] Enable build of full Xen for RISC-V

2023-11-24 Thread Oleksii Kurochko
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

[PATCH v2 06/39] xen/riscv: introduce fence.h

2023-11-24 Thread Oleksii Kurochko
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

[PATCH v2 02/39] xen/riscv: use some asm-generic headers

2023-11-24 Thread Oleksii Kurochko
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

[PATCH v2 04/39] xen/riscv: add public arch-riscv.h

2023-11-24 Thread Oleksii Kurochko
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

[PATCH v2 01/39] xen/riscv: disable unnecessary configs

2023-11-24 Thread Oleksii Kurochko
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

[PATCH v3 10/14] xen/asm-generic: introduce stub header monitor.h

2023-11-17 Thread Oleksii Kurochko
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

[PATCH v3 14/14] xen/asm-generic: ifdef inclusion of

2023-11-17 Thread Oleksii Kurochko
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

[PATCH v3 12/14] xen/asm-generic: introduce stub header softirq.h

2023-11-17 Thread Oleksii Kurochko
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

[PATCH v3 07/14] xen/asm-generic: introduce generalized hardirq.h

2023-11-17 Thread Oleksii Kurochko
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

[PATCH v3 06/14] xen/asm-generic: introduce generic header percpu.h

2023-11-17 Thread Oleksii Kurochko
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

[PATCH v3 01/14] xen/asm-generic: introduce stub header paging.h

2023-11-17 Thread Oleksii Kurochko
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

[PATCH v3 04/14] xen/asm-generic: introduce generic header iocap.h

2023-11-17 Thread Oleksii Kurochko
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

[PATCH v3 00/14] Introduce generic headers

2023-11-17 Thread Oleksii Kurochko
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

[PATCH v3 09/14] xen/asm-generic: introduce generic header altp2m.h

2023-11-17 Thread Oleksii Kurochko
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

[PATCH v3 13/14] xen: ifdef inclusion of in

2023-11-17 Thread Oleksii Kurochko
. 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

[PATCH v3 11/14] xen/asm-generic: introduce stub header numa.h

2023-11-17 Thread Oleksii Kurochko
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

[PATCH v3 05/14] xen/asm-generic: introduce stub header

2023-11-17 Thread Oleksii Kurochko
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

[PATCH v3 08/14] xen/asm-generic: introduce generic div64.h header

2023-11-17 Thread Oleksii Kurochko
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

[PATCH v3 03/14] xen/asm-generic: introduce generic hypercall.h

2023-11-17 Thread Oleksii Kurochko
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

[PATCH v3 02/14] xen/asm-generic: introduce generic device.h

2023-11-17 Thread Oleksii Kurochko
. 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

[PATCH v3] xen: ifdef inclusion of in

2023-11-14 Thread Oleksii Kurochko
. 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

[PATCH v3] xen/asm-generic: ifdef inclusion of

2023-11-14 Thread Oleksii Kurochko
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

[PATCH v2 14/15] xen/asm-generic: introduce stub header numa.h

2023-11-10 Thread Oleksii Kurochko
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

[PATCH v2 15/15] xen/asm-generic: introduce stub header softirq.h

2023-11-10 Thread Oleksii Kurochko
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

[PATCH v2 11/15] xen/asm-generic: introduce generic div64.h header

2023-11-10 Thread Oleksii Kurochko
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

[PATCH v2 09/15] xen/asm-generic: introduce generic header smp.h

2023-11-10 Thread Oleksii Kurochko
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

[PATCH v2 07/15] xen/asm-generic: introduce stub header

2023-11-10 Thread Oleksii Kurochko
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

[PATCH v2 06/15] xen/asm-generic: ifdef inclusion of

2023-11-10 Thread Oleksii Kurochko
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

[PATCH v2 13/15] xen/asm-generic: introduce stub header monitor.h

2023-11-10 Thread Oleksii Kurochko
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

[PATCH v2 12/15] xen/asm-generic: introduce generic header altp2m.h

2023-11-10 Thread Oleksii Kurochko
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

[PATCH v2 01/15] xen/asm-generic: introduce stub header paging.h

2023-11-10 Thread Oleksii Kurochko
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

[PATCH v2 03/15] xen: ifdef inclusion of in

2023-11-10 Thread Oleksii Kurochko
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

[PATCH v2 10/15] xen/asm-generic: introduce generalized hardirq.h

2023-11-10 Thread Oleksii Kurochko
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

[PATCH v2 02/15] xen/asm-generic: introduce generic device.h

2023-11-10 Thread Oleksii Kurochko
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

[PATCH v2 08/15] xen/asm-generic: introduce generic header percpu.h

2023-11-10 Thread 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

[PATCH v2 05/15] xen/asm-generic: introduce generic header iocap.h

2023-11-10 Thread Oleksii Kurochko
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

[PATCH v2 00/15] Introduce generic headers

2023-11-10 Thread Oleksii Kurochko
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

[PATCH v2 04/15] xen/asm-generic: introduce generic hypercall.h

2023-11-10 Thread Oleksii Kurochko
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

[PATCH] xen: avoid generation of stub header

2023-11-01 Thread Oleksii Kurochko
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

[PATCH v2] xen: remove

2023-10-31 Thread Oleksii Kurochko
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

[PATCH] xen: remove

2023-10-31 Thread Oleksii Kurochko
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

[PATCH v1 27/29] xen/asm-generic: introduce stub header numa.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 29/29] xen/asm-generic: introduce stub header softirq.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 19/29] xen/asm-generic: introduce stub header hardirq.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 23/29] xen/asm-generic: introduce stub header domain.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 25/29] xen/asm-generic: introduce stub header irq.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 26/29] xen/asm-generic: introduce stub header monitor.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 20/29] xen/asm-generic: introduce stub header div64.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 28/29] xen/asm-generic: introduce stub header p2m.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 24/29] xen/asm-generic: introduce stub header guest_access.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 17/29] xen/asm-generic: introduce stub header percpu.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 22/29] xen/asm-generic: introduce stub header delay.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 16/29] xen/asm-generic: introduce stub header flushtlb.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 18/29] xen/asm-generic: introduce stub header smp.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 14/29] xen/asm-generic: introduce stub header setup.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 13/29] xen/asm-generic: introduce stub header random.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 21/29] xen/asm-generic: introduce stub header altp2m.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 12/29] xen/asm-generic: introduce stub header pci.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 15/29] xen/asm-generic: introduce stub header xenoprof.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 09/29] xen/asm-generic: introduce stub header iocap.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 10/29] xen/asm-generic: introduce stub header iommu.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 07/29] xen/asm-generic: introduce stub header guest_atomics.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 11/29] xen/asm-generic: introduce stub header mem_access.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 02/29] xen/asm-generic: introduce stub header paging.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 00/29] Introduce stub headers necessary for full Xen build

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 08/29] xen/asm-generic: introduce stub hypercall.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 01/29] xen/asm-generic: introduce stub header spinlock.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 06/29] xen/asm-generic: introduce stub header grant_table.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 05/29] xen/asm-generic: introduce stub header event.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 04/29] xen/asm-generic: introduce stub header device.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v1 03/29] xen/asm-generic: introduce stub header cpufeature.h

2023-09-14 Thread Oleksii Kurochko
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

[PATCH v7 1/2] xen: asm-generic support

2023-09-07 Thread Oleksii Kurochko
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

[PATCH v7 0/2] introduce stub directory to storing empty/stub headers

2023-09-07 Thread Oleksii Kurochko
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

[PATCH v7 2/2] xen: move arm/include/asm/vm_event.h to asm-generic

2023-09-07 Thread Oleksii Kurochko
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

[PATCH v6 0/2] introduce stub directory to storing empty/stub headers

2023-09-07 Thread Oleksii Kurochko
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

[PATCH v6 1/2] xen: asm-generic support

2023-09-07 Thread Oleksii Kurochko
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

[PATCH v6 2/2] xen: move arm/include/asm/vm_event.h to asm-generic

2023-09-07 Thread Oleksii Kurochko
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

[PATCH v5 2/2] xen: move arm/include/asm/vm_event.h to stubs

2023-09-06 Thread Oleksii Kurochko
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

[PATCH v5 1/2] xen: asm-generic support

2023-09-06 Thread Oleksii Kurochko
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

[PATCH v5 0/2] introduce stub directory to storing empty/stub headers

2023-09-06 Thread Oleksii Kurochko
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.

Re: [PATCH v4 2/2] xen: move arm/include/asm/vm_event.h to asm-generic

2023-09-01 Thread Oleksii Kurochko
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. > &

[PATCH v4 1/2] xen: asm-generic support

2023-09-01 Thread Oleksii Kurochko
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

[PATCH v4 2/2] xen: move arm/include/asm/vm_event.h to asm-generic

2023-09-01 Thread Oleksii Kurochko
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

[PATCH v4 0/2] introduce stub directory to storing empty/stub headers

2023-09-01 Thread 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

[PATCH v3 0/2] introduce stub directory to storing empty/stub headers

2023-08-30 Thread Oleksii Kurochko
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

[PATCH v3 1/2] xen: add asm-generic dir to include path

2023-08-30 Thread Oleksii Kurochko
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

[PATCH v3 2/2] xen: move arm/include/asm/vm_event.h to asm-generic

2023-08-30 Thread Oleksii Kurochko
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

[PATCH v2 2/2] xen: move arm/include/asm/vm_event.h to stubs

2023-08-29 Thread 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

[PATCH v2 1/2] xen: add stubs dir to include path

2023-08-29 Thread 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

[PATCH v2 0/2] introduce stub directory to storing empty/stub headers

2023-08-29 Thread Oleksii Kurochko
: 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

[PATCH v1 2/2] xen: move arm/include/asm/vm_event.h to stubs

2023-08-28 Thread 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 Signed-off-by: Oleksii Kurochko --- xen/arch/arm/include/asm/vm_event.h | 66

[PATCH v1 0/2] introduce stub directory to storing empty/stub headers

2023-08-28 Thread Oleksii Kurochko
/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

[PATCH v1 1/2] xen: add stubs dir to include path

2023-08-28 Thread Oleksii Kurochko
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

[PATCH v1 32/57] xen/riscv: introduce bit operations

2023-08-16 Thread Oleksii Kurochko
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

[PATCH v1 37/57] xen/riscv: introduce asm/irq.h

2023-08-16 Thread Oleksii Kurochko
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

[PATCH v1 45/57] xen/riscv: add definition of __read_mostly

2023-08-16 Thread Oleksii Kurochko
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

[PATCH v1 46/57] xen/riscv: define an address of frame table

2023-08-16 Thread Oleksii Kurochko
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

[PATCH v1 57/57] xxxen/riscv: WIP ( need advise )

2023-08-16 Thread Oleksii Kurochko
: 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

[PATCH v1 56/57] test only riscv

2023-08-16 Thread Oleksii Kurochko
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

<    1   2   3   4   5   6   7   8   >