Re: [PATCH v2] x86/PCI: Prefer MMIO over PIO on VMware hypervisor

2022-09-12 Thread Wei Liu
On Tue, Sep 06, 2022 at 12:38:37PM +0530, Ajay Kaher wrote: > During boot-time there are many PCI config reads, these could be performed > either using Port IO instructions (PIO) or memory mapped I/O (MMIO). > > PIO are less efficient than MMIO, they require twice as many PCI accesses > and PIO in

Re: [PATCH v2] x86/PCI: Prefer MMIO over PIO on VMware hypervisor

2022-09-07 Thread Vitaly Kuznetsov
Ajay Kaher writes: > During boot-time there are many PCI config reads, these could be performed > either using Port IO instructions (PIO) or memory mapped I/O (MMIO). > > PIO are less efficient than MMIO, they require twice as many PCI accesses > and PIO instructions are serializing. As a result,

[PATCH v2] x86/PCI: Prefer MMIO over PIO on VMware hypervisor

2022-09-06 Thread Ajay Kaher
During boot-time there are many PCI config reads, these could be performed either using Port IO instructions (PIO) or memory mapped I/O (MMIO). PIO are less efficient than MMIO, they require twice as many PCI accesses and PIO instructions are serializing. As a result, MMIO should be preferred when