Re: [PATCH v2] RISC-V: Add PCIe I/O BAR memory mapping

From: Paul Walmsley
Date: Fri Oct 25 2019 - 11:53:26 EST


On Fri, 25 Oct 2019, Yash Shah wrote:

> For legacy I/O BARs (non-MMIO BARs) to work correctly on RISC-V Linux,
> we need to establish a reserved memory region for them, so that drivers
> that wish to use the legacy I/O BARs can issue reads and writes against
> a memory region that is mapped to the host PCIe controller's I/O BAR
> mapping.
>
> Signed-off-by: Yash Shah <yash.shah@xxxxxxxxxx>

Thanks. And just to confirm: this is a fix, right? Without this patch,
legacy PCIe I/O resources won't be accessible on RISC-V?


- Paul