commit | c9c75143a5962c4c26d2f2c99b7a6e06f421f5e1 | [log] [tgz] |
---|---|---|
author | Yongji Xie <elohimes@gmail.com> | Mon Apr 10 19:58:11 2017 +0800 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Tue Apr 18 14:47:20 2017 -0500 |
tree | 55bd5389c0e603b900ce7fcc317fbae2575543bb | |
parent | ea629d873f3e140fb2e3181c30413e485ee9002b [diff] |
PCI: Fix calculation of bridge window's size and alignment 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(). Fix this case. Signed-off-by: Yongji Xie <elohimes@gmail.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>