From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: Message-ID: <1492293974.25766.30.camel@kernel.crashing.org> Subject: Re: [PATCH v10 3/4] powerpc/powernv: Override pcibios_default_alignment() to force PCI devices to be page aligned From: Benjamin Herrenschmidt To: Bjorn Helgaas Cc: Bjorn Helgaas , Yongji Xie , "linux-pci@vger.kernel.org" , linuxppc-dev , "alex.williamson@redhat.com" , Gavin Shan , Alexey Kardashevskiy , Michael Ellerman , "paulus@samba.org" , Li Zhong Date: Sun, 16 Apr 2017 08:06:14 +1000 In-Reply-To: References: <1491825494-19331-1-git-send-email-elohimes@gmail.com> <1491825494-19331-4-git-send-email-elohimes@gmail.com> <20170414155849.GB5864@bhelgaas-glaptop.roam.corp.google.com> <1492206774.25766.14.camel@kernel.crashing.org> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 List-ID: On Sat, 2017-04-15 at 11:36 -0500, Bjorn Helgaas wrote: > > I agree in principle. I'm surprised that PowerPC is the only one > > interested here though, what about other platforms who want to use > > KVM and PCI pass-through and use Linux to assign BARs ? > > If I understand correctly, the problem is with BARs smaller than a > page, and this happens more on PowerPC because larger page sizes are > more common there. Yes, it happens "more". That doesn't mean it doesn't happen at all on others :-) Anyway, I'm not objecting, just surprised. Cheers, Ben.