diff mbox series

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

Message ID 90beae5dfa2bc4c27108ca4dea630306dfdfe81f.1700761381.git.oleksii.kurochko@gmail.com (mailing list archive)
State Superseded
Headers show
Series Enable build of full Xen for RISC-V | expand

Commit Message

Oleksii Kurochko Nov. 24, 2023, 10:30 a.m. UTC
Some headers are the same as asm-generic verions of them
so use them instead of arch-specific headers.

Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
---
Changes in V2:
 - New commit introduced in V2.
---
 xen/arch/riscv/include/asm/Makefile | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 xen/arch/riscv/include/asm/Makefile

Comments

Jan Beulich Dec. 5, 2023, 3:40 p.m. UTC | #1
On 24.11.2023 11:30, Oleksii Kurochko wrote:
> Some headers are the same as asm-generic verions of them
> so use them instead of arch-specific headers.
> 
> Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>

Acked-by: Jan Beulich <jbeulich@suse.com>
assuming ...

> --- /dev/null
> +++ b/xen/arch/riscv/include/asm/Makefile
> @@ -0,0 +1,14 @@
> +# SPDX-License-Identifier: GPL-2.0-only
> +generic-y += altp2m.h
> +generic-y += device.h
> +generic-y += div64.h
> +generic-y += hardirq.h
> +generic-y += hypercall.h
> +generic-y += iocap.h
> +generic-y += monitor.h
> +generic-y += numa.h
> +generic-y += paging.h
> +generic-y += percpu.h
> +generic-y += random.h
> +generic-y += softirq.h
> +generic-y += vm_event.h

... these headers are indeed all going to appear.

Jan
Oleksii Kurochko Dec. 7, 2023, 9:36 a.m. UTC | #2
On Tue, 2023-12-05 at 16:40 +0100, Jan Beulich wrote:
> On 24.11.2023 11:30, Oleksii Kurochko wrote:
> > Some headers are the same as asm-generic verions of them
> > so use them instead of arch-specific headers.
> > 
> > Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com>
> 
> Acked-by: Jan Beulich <jbeulich@suse.com>
> assuming ...
> 
> > --- /dev/null
> > +++ b/xen/arch/riscv/include/asm/Makefile
> > @@ -0,0 +1,14 @@
> > +# SPDX-License-Identifier: GPL-2.0-only
> > +generic-y += altp2m.h
> > +generic-y += device.h
> > +generic-y += div64.h
> > +generic-y += hardirq.h
> > +generic-y += hypercall.h
> > +generic-y += iocap.h
> > +generic-y += monitor.h
> > +generic-y += numa.h
> > +generic-y += paging.h
> > +generic-y += percpu.h
> > +generic-y += random.h
> > +generic-y += softirq.h
> > +generic-y += vm_event.h
> 
> ... these headers are indeed all going to appear.
Thanks.

Only 4 (div64.h, monitor.h, numa.h, softirq.h) of them aren't appearing
in staging. It only needs some ACKs from Arm and PPC maintainers.

But if something changes, I'll update riscv/include/asm/Makefile

~ Oleksii
diff mbox series

Patch

diff --git a/xen/arch/riscv/include/asm/Makefile b/xen/arch/riscv/include/asm/Makefile
new file mode 100644
index 0000000000..4da0c70cc0
--- /dev/null
+++ b/xen/arch/riscv/include/asm/Makefile
@@ -0,0 +1,14 @@ 
+# SPDX-License-Identifier: GPL-2.0-only
+generic-y += altp2m.h
+generic-y += device.h
+generic-y += div64.h
+generic-y += hardirq.h
+generic-y += hypercall.h
+generic-y += iocap.h
+generic-y += monitor.h
+generic-y += numa.h
+generic-y += paging.h
+generic-y += percpu.h
+generic-y += random.h
+generic-y += softirq.h
+generic-y += vm_event.h