Skip to content

Commit 2fccd11

Browse files
Thippeswamy Havaligekwilczynski
authored andcommitted
PCI: xilinx-nwl: Modify ECAM size to enable support for 256 buses
The PCIe Root Port controller expects ECAM size to be set through software. As such, update the value of the NWL_ECAM_VALUE_DEFAULT macro to 16 to allow the controller to address the 256 MB ECAM region and, as such, enable support for detecting up to 256 buses. [kwilczynski: commit log] Link: https://patchwork.kernel.org/project/linux-pci/patch/[email protected]/ Signed-off-by: Thippeswamy Havalige <[email protected]> Signed-off-by: Krzysztof Wilczyński <[email protected]>
1 parent 1776921 commit 2fccd11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/controller/pcie-xilinx-nwl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@
126126
#define E_ECAM_CR_ENABLE BIT(0)
127127
#define E_ECAM_SIZE_LOC GENMASK(20, 16)
128128
#define E_ECAM_SIZE_SHIFT 16
129-
#define NWL_ECAM_MAX_SIZE 12
129+
#define NWL_ECAM_MAX_SIZE 16
130130

131131
#define CFG_DMA_REG_BAR GENMASK(2, 0)
132132
#define CFG_PCIE_CACHE GENMASK(7, 0)

0 commit comments

Comments
 (0)