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

From: Yash Shah
Date: Tue Oct 29 2019 - 00:20:04 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?

Yes, this is a fix.

- Yash