diff options
author | Niklas Cassel <niklas.cassel@axis.com> | 2018-03-28 14:50:12 +0300 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2018-04-03 14:38:04 +0300 |
commit | a2ea8ac4ec72da44e2cf508e6431db0487b26893 (patch) | |
tree | 1e594348bb59e89e7a4ffc4b0b786861e246c46f /Documentation/fmc | |
parent | d28810ba7891a1df2cb00116c6c66167970a193d (diff) | |
download | linux-a2ea8ac4ec72da44e2cf508e6431db0487b26893.tar.xz |
PCI: cadence: Set PCI_BASE_ADDRESS_MEM_TYPE_64 if a 64-bit BAR was set-up
cdns_pcie_ep_set_bar() does some round-up of the BAR size, which means
that a 64-bit BAR can be set-up, even when the flag
PCI_BASE_ADDRESS_MEM_TYPE_64 isn't set.
If a 64-bit BAR was set-up, set the flag PCI_BASE_ADDRESS_MEM_TYPE_64,
so that the calling function can know what BAR width that was actually
set-up.
I'm not sure why cdns_pcie_ep_set_bar() doesn't obey the flag
PCI_BASE_ADDRESS_MEM_TYPE_64, but I leave this for the MAINTAINER to
fix, since there might be a reason why this flag is ignored.
Signed-off-by: Niklas Cassel <niklas.cassel@axis.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Acked-by: Alan Douglas <adouglas@cadence.com>
Diffstat (limited to 'Documentation/fmc')
0 files changed, 0 insertions, 0 deletions