]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
PCI: rcar: Verify that mem_res is 64K-aligned
authorNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Mon, 16 Feb 2015 01:54:08 +0000 (10:54 +0900)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 24 Feb 2015 06:24:19 +0000 (00:24 -0600)
commit7a27db23a3f697b730422482df7d21c93f84fe4a
treec0a4c8073b3edf83e83710a48ee7111a6e30180d
parentecd06305c9a077ab5aa000cb8027e2c1c872f25f
PCI: rcar: Verify that mem_res is 64K-aligned

The lower 16 bits of the address, which is managed by mem_res, need to be
zero.  Check the address to verify this.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pci/host/pci-rcar-gen2.c