commit | 382746376993cfa6d6c4e546c67384201c0f3a82 | [log] [tgz] |
---|---|---|
author | Yongji Xie <elohimes@gmail.com> | Mon Apr 10 19:58:13 2017 +0800 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Wed Apr 19 12:51:26 2017 -0500 |
tree | f51dc2c2c9130559dd400eeed5c08304c0c371dc | |
parent | 0a701aa6378496ea54fb065c68b41d918e372e94 [diff] |
powerpc/powernv: Override pcibios_default_alignment() to force PCI devices to be page aligned Override 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@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>