[dpdk-dev] [PATCH v6 2/2] bus/pci: support MMIO in PCI ioport accessors
David Marchand
david.marchand at redhat.com
Wed Feb 17 10:06:36 CET 2021
On Fri, Jan 29, 2021 at 4:19 AM 谢华伟(此时此刻) <huawei.xhw at alibaba-inc.com> wrote:
> @@ -517,6 +525,60 @@
> }
> #endif
>
> +static inline uint8_t ioread8(void *addr)
> +{
> + uint8_t val;
> +
> + val = (uint64_t)(uintptr_t)addr >= PIO_MAX ?
> + *(volatile uint8_t *)addr :
> + inb((unsigned long)addr);
inb/outb and others are architecture (x86?) specific.
The CI caught this issue, see build failures on ARM64.
https://lab.dpdk.org/results/dashboard/results/results-uploads/test_runs/82432e287bc94831b7a65d7cd6f05783/log_upload_file/2021/2/dpdk_b49c677a0d24_15433_2021-02-01_00-15-59_NA.zip
I can see the same issue with ppc64le.
--
David Marchand
More information about the dev
mailing list