]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: qcom-ep: Mark BAR0/BAR2 as 64bit BARs and BAR1/BAR3 as RESERVED
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tue, 31 Dec 2024 13:02:24 +0000 (18:32 +0530)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Mon, 24 Feb 2025 18:29:05 +0000 (18:29 +0000)
commit9d52691f899b843d1e0afa8fca19496ace76b8c7
treefc412d5241c1672767f9050435dc4923b5d0a281
parent2014c95afecee3e76ca4a56956a936e23283f05b
PCI: qcom-ep: Mark BAR0/BAR2 as 64bit BARs and BAR1/BAR3 as RESERVED

On all Qcom endpoint SoCs, BAR0/BAR2 are 64bit BARs by default and
software cannot change the type.

So, mark the those BARs as 64bit BARs and also mark the successive
BAR1/BAR3 as RESERVED BARs so that the EPF drivers cannot use them.

Cc: stable+noautosel@kernel.org # depends on patch introducing only_64bit flag
Fixes: f55fee56a631 ("PCI: qcom-ep: Add Qualcomm PCIe Endpoint controller driver")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Link: https://lore.kernel.org/r/20241231130224.38206-3-manivannan.sadhasivam@linaro.org
[kwilczynski: commit log]
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
drivers/pci/controller/dwc/pcie-qcom-ep.c