Bjorn Helgaas <bhelgaas@xxxxxxxxxx> writes: > From: Yongji Xie <elohimes@xxxxxxxxx> > > This overrides pcibios_default_alignment() to set default alignment > to PAGE_SIZE for all PCI devices on PowerNV platform. Thus sub-page > BARs would not share a page and could be mapped into guest when VFIO > passthrough them. > > Signed-off-by: Yongji Xie <elohimes@xxxxxxxxx> > Signed-off-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx> > --- > arch/powerpc/include/asm/machdep.h | 2 ++ > arch/powerpc/kernel/pci-common.c | 8 ++++++++ > arch/powerpc/platforms/powernv/pci-ioda.c | 7 +++++++ This looks fine to me, here's an ack, but don't feel you have to rebase to add it: Acked-by: Michael Ellerman <mpe@xxxxxxxxxxxxxx> cheers