Re: [PATCH] KVM: x86: Use MMCONFIG for all PCI config space accesses

2020-07-31 Thread Julia Suvorova
On Fri, Jul 31, 2020 at 11:22 AM Vitaly Kuznetsov wrote: > > Andy Shevchenko writes: > > > On Thu, Jul 30, 2020 at 10:37 PM Julia Suvorova wrote: > >> > >> Using MMCONFIG instead of I/O ports cuts the number of config space > >> accesses in half, which is faster on KVM and opens the door for > >

Re: [PATCH] KVM: x86: Use MMCONFIG for all PCI config space accesses

2020-07-31 Thread Andy Shevchenko
On Fri, Jul 31, 2020 at 12:22 PM Vitaly Kuznetsov wrote: > Andy Shevchenko writes: > > On Thu, Jul 30, 2020 at 10:37 PM Julia Suvorova wrote: ... > >> +static int __init kvm_pci_arch_init(void) > >> +{ > >> + if (raw_pci_ext_ops && > >> + return 0; > >> + } > > > >>

Re: [PATCH] KVM: x86: Use MMCONFIG for all PCI config space accesses

2020-07-31 Thread Vitaly Kuznetsov
Andy Shevchenko writes: > On Thu, Jul 30, 2020 at 10:37 PM Julia Suvorova wrote: >> >> Using MMCONFIG instead of I/O ports cuts the number of config space >> accesses in half, which is faster on KVM and opens the door for >> additional optimizations such as Vitaly's "[PATCH 0/3] KVM: x86: KVM >>

Re: [PATCH] KVM: x86: Use MMCONFIG for all PCI config space accesses

2020-07-30 Thread Andy Shevchenko
On Thu, Jul 30, 2020 at 10:37 PM Julia Suvorova wrote: > > Using MMCONFIG instead of I/O ports cuts the number of config space > accesses in half, which is faster on KVM and opens the door for > additional optimizations such as Vitaly's "[PATCH 0/3] KVM: x86: KVM > MEM_PCI_HOLE memory": > https:/