Re: [PATCH v3 4/5] xen: Add files needed for minimal riscv build

2021-05-17 Thread Jan Beulich
On 18.05.2021 06:58, Connor Davis wrote: > On 5/17/21 5:51 AM, Jan Beulich wrote: >> On 14.05.2021 20:53, Connor Davis wrote: >>> --- /dev/null >>> +++ b/xen/arch/riscv/configs/riscv64_defconfig >>> @@ -0,0 +1,12 @@ >>> +# CONFIG_SCHED_CREDIT is not set >>> +# CONFIG_SCHED_RTDS is not set >>> +# CO

Re: [PATCH v3 4/5] xen: Add files needed for minimal riscv build

2021-05-17 Thread Connor Davis
On 5/17/21 5:51 AM, Jan Beulich wrote: On 14.05.2021 20:53, Connor Davis wrote: --- /dev/null +++ b/config/riscv64.mk @@ -0,0 +1,5 @@ +CONFIG_RISCV := y +CONFIG_RISCV_64 := y +CONFIG_RISCV_$(XEN_OS) := y I wonder whether the last one actually gets used anywhere, but I do realize that other a

Re: [PATCH v3 4/5] xen: Add files needed for minimal riscv build

2021-05-17 Thread Connor Davis
On 5/17/21 7:43 PM, Bob Eshleman wrote: On 5/14/21 4:47 PM, Connor Davis wrote: On 5/14/21 3:53 PM, Bob Eshleman wrote: On 5/14/21 11:53 AM, Connor Davis wrote: + +#ifdef CONFIG_RISCV_64 + +/* + * RISC-V Layout: + *   0x - 0x003f (256GB, L2 slots [0-255]) + *

Re: [PATCH v3 4/5] xen: Add files needed for minimal riscv build

2021-05-17 Thread Bob Eshleman
On 5/14/21 4:47 PM, Connor Davis wrote: > > On 5/14/21 3:53 PM, Bob Eshleman wrote: >> On 5/14/21 11:53 AM, Connor Davis wrote: >> >>> + >>> +#ifdef CONFIG_RISCV_64 >>> + >>> +/* >>> + * RISC-V Layout: >>> + *   0x - 0x003f (256GB, L2 slots [0-255]) >>> + * Unmapped

Re: [PATCH v3 4/5] xen: Add files needed for minimal riscv build

2021-05-17 Thread Jan Beulich
On 14.05.2021 20:53, Connor Davis wrote: > --- /dev/null > +++ b/config/riscv64.mk > @@ -0,0 +1,5 @@ > +CONFIG_RISCV := y > +CONFIG_RISCV_64 := y > +CONFIG_RISCV_$(XEN_OS) := y I wonder whether the last one actually gets used anywhere, but I do realize that other architectures have similar definit

Re: [PATCH v3 4/5] xen: Add files needed for minimal riscv build

2021-05-14 Thread Connor Davis
On 5/14/21 3:53 PM, Bob Eshleman wrote: On 5/14/21 11:53 AM, Connor Davis wrote: Add arch-specific makefiles and configs needed to build for riscv64. Also add a minimal head.S that is a simple infinite loop. head.o can be built with $ make XEN_TARGET_ARCH=riscv64 SUBSYSTEMS=xen -C xen TARGET=

Re: [PATCH v3 4/5] xen: Add files needed for minimal riscv build

2021-05-14 Thread Bob Eshleman
On 5/14/21 11:53 AM, Connor Davis wrote: > Add arch-specific makefiles and configs needed to build for > riscv64. Also add a minimal head.S that is a simple infinite loop. > head.o can be built with > > $ make XEN_TARGET_ARCH=riscv64 SUBSYSTEMS=xen -C xen TARGET=head.o > I recently realized that