[PATCH v11 2/7] PCI: A fix for caculating bridge window's size and alignment

Yinghai Lu yinghai at kernel.org
Tue Apr 18 07:45:31 AEST 2017


On Mon, Apr 17, 2017 at 2:36 PM, Bjorn Helgaas <bhelgaas at google.com> wrote:
> From: Yongji Xie <elohimes at gmail.com>
>
> In case that one device's alignment is greater than its size,
> we may get an incorrect size and alignment for its bus's memory
> window in pbus_size_mem(). This patch fixes this case.

In which case, that device alignment is not same as size?
or powerpc need small size, but alignment is PAGE_SIZE?

Thanks

Yinghai


More information about the Linuxppc-dev mailing list