Re: [PATCH] hw/riscv: split RAM into low and high memory

2023-09-07 Thread Wu, Fei
On 9/7/2023 11:46 PM, Anup Patel wrote: > On Tue, Aug 1, 2023 at 4:16 AM Daniel Henrique Barboza > wrote: >> >> >> >> On 7/30/23 22:53, Fei Wu wrote: >>> riscv virt platform's memory started at 0x8000 and >>> straddled the 4GiB boundary. Curiously enough, this choice >>> of a memory layout wil

Re: [PATCH] hw/riscv: split RAM into low and high memory

2023-09-07 Thread Anup Patel
On Thu, Sep 7, 2023 at 8:48 AM Alistair Francis wrote: > > On Thu, Aug 3, 2023 at 10:47 AM Wu, Fei wrote: > > > > On 8/1/2023 6:46 AM, Daniel Henrique Barboza wrote: > > > > > > > > > On 7/30/23 22:53, Fei Wu wrote: > > >> riscv virt platform's memory started at 0x8000 and > > >> straddled th

Re: [PATCH] hw/riscv: split RAM into low and high memory

2023-09-07 Thread Anup Patel
On Tue, Aug 1, 2023 at 4:16 AM Daniel Henrique Barboza wrote: > > > > On 7/30/23 22:53, Fei Wu wrote: > > riscv virt platform's memory started at 0x8000 and > > straddled the 4GiB boundary. Curiously enough, this choice > > of a memory layout will prevent from launching a VM with > > a bit mor

Re: [PATCH] hw/riscv: split RAM into low and high memory

2023-09-07 Thread Eric Auger
Hi, On 9/7/23 12:04, Wu, Fei wrote: > On 9/7/2023 5:10 PM, Eric Auger wrote: >> Hi, >> >> On 9/7/23 09:16, Philippe Mathieu-Daudé wrote: >>> Widening Cc to ARM/VFIO. >>> >>> On 4/8/23 11:15, Wu, Fei wrote: On 8/3/2023 11:07 PM, Andrew Jones wrote: > On Mon, Jul 31, 2023 at 09:53:17AM +080

Re: [PATCH] hw/riscv: split RAM into low and high memory

2023-09-07 Thread Wu, Fei
On 9/7/2023 5:10 PM, Eric Auger wrote: > Hi, > > On 9/7/23 09:16, Philippe Mathieu-Daudé wrote: >> Widening Cc to ARM/VFIO. >> >> On 4/8/23 11:15, Wu, Fei wrote: >>> On 8/3/2023 11:07 PM, Andrew Jones wrote: On Mon, Jul 31, 2023 at 09:53:17AM +0800, Fei Wu wrote: > riscv virt platform's m

Re: [PATCH] hw/riscv: split RAM into low and high memory

2023-09-07 Thread Eric Auger
Hi, On 9/7/23 09:16, Philippe Mathieu-Daudé wrote: > Widening Cc to ARM/VFIO. > > On 4/8/23 11:15, Wu, Fei wrote: >> On 8/3/2023 11:07 PM, Andrew Jones wrote: >>> On Mon, Jul 31, 2023 at 09:53:17AM +0800, Fei Wu wrote: riscv virt platform's memory started at 0x8000 and straddled the

Re: [PATCH] hw/riscv: split RAM into low and high memory

2023-09-07 Thread Philippe Mathieu-Daudé
Widening Cc to ARM/VFIO. On 4/8/23 11:15, Wu, Fei wrote: On 8/3/2023 11:07 PM, Andrew Jones wrote: On Mon, Jul 31, 2023 at 09:53:17AM +0800, Fei Wu wrote: riscv virt platform's memory started at 0x8000 and straddled the 4GiB boundary. Curiously enough, this choice of a memory layout will p

Re: [PATCH] hw/riscv: split RAM into low and high memory

2023-09-06 Thread Alistair Francis
On Thu, Aug 3, 2023 at 10:47 AM Wu, Fei wrote: > > On 8/1/2023 6:46 AM, Daniel Henrique Barboza wrote: > > > > > > On 7/30/23 22:53, Fei Wu wrote: > >> riscv virt platform's memory started at 0x8000 and > >> straddled the 4GiB boundary. Curiously enough, this choice > >> of a memory layout wil

Re: [PATCH] hw/riscv: split RAM into low and high memory

2023-08-04 Thread Wu, Fei
On 8/3/2023 11:07 PM, Andrew Jones wrote: > On Mon, Jul 31, 2023 at 09:53:17AM +0800, Fei Wu wrote: >> riscv virt platform's memory started at 0x8000 and >> straddled the 4GiB boundary. Curiously enough, this choice >> of a memory layout will prevent from launching a VM with >> a bit more than

Re: [PATCH] hw/riscv: split RAM into low and high memory

2023-08-03 Thread Andrew Jones
On Mon, Jul 31, 2023 at 09:53:17AM +0800, Fei Wu wrote: > riscv virt platform's memory started at 0x8000 and > straddled the 4GiB boundary. Curiously enough, this choice > of a memory layout will prevent from launching a VM with > a bit more than 2000MiB and PCIe pass-thru on an x86 host, due >

Re: [PATCH] hw/riscv: split RAM into low and high memory

2023-08-02 Thread Wu, Fei
On 8/1/2023 6:46 AM, Daniel Henrique Barboza wrote: > > > On 7/30/23 22:53, Fei Wu wrote: >> riscv virt platform's memory started at 0x8000 and >> straddled the 4GiB boundary. Curiously enough, this choice >> of a memory layout will prevent from launching a VM with >> a bit more than 2000MiB

Re: [PATCH] hw/riscv: split RAM into low and high memory

2023-07-31 Thread Wu, Fei
On 8/1/2023 6:46 AM, Daniel Henrique Barboza wrote: > > > On 7/30/23 22:53, Fei Wu wrote: >> riscv virt platform's memory started at 0x8000 and >> straddled the 4GiB boundary. Curiously enough, this choice >> of a memory layout will prevent from launching a VM with >> a bit more than 2000MiB

Re: [PATCH] hw/riscv: split RAM into low and high memory

2023-07-31 Thread Daniel Henrique Barboza
On 7/30/23 22:53, Fei Wu wrote: riscv virt platform's memory started at 0x8000 and straddled the 4GiB boundary. Curiously enough, this choice of a memory layout will prevent from launching a VM with a bit more than 2000MiB and PCIe pass-thru on an x86 host, due to identity mapping requirem

[PATCH] hw/riscv: split RAM into low and high memory

2023-07-30 Thread Fei Wu
riscv virt platform's memory started at 0x8000 and straddled the 4GiB boundary. Curiously enough, this choice of a memory layout will prevent from launching a VM with a bit more than 2000MiB and PCIe pass-thru on an x86 host, due to identity mapping requirements for the MSI doorbell on x86, and