From: Gavin Shan Date: Tue, 11 Sep 2012 22:59:45 +0000 (-0600) Subject: PCI: Add weak pcibios_window_alignment() interface X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~79^2~10^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac5ad93e92c3ffca4c7ba386aaa34244e27b7759;p=pandora-kernel.git PCI: Add weak pcibios_window_alignment() interface This patch implements a weak function to return the default I/O or memory window alignment for a P2P bridge. By default, I/O windows are aligned to 4KiB or 1KiB and memory windows are aligned to 4MiB. Some platforms, e.g., powernv, have special alignment requirements and can override pcibios_window_alignment(). [bhelgaas: changelog] Signed-off-by: Gavin Shan Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed