From: Kishon Vijay Abraham I <hidden> Date: 2021-09-15 05:54:11
Patch series adds a bunch of PCIe DT fixes. Except from
"[PATCH 5/6] arm64: dts: ti: j7200-main: Add *max-virtual-functions*
for pcie-ep DT node" which adds *max-virtual-functions* property
to PCIe DT node, rest of them are fixes or cleanups on already added
DT properties.
If required I can post 5th patch separately to be merged for next merge
window while the rest can go in this -rc cycle.
Kishon Vijay Abraham I (6):
arm64: dts: ti: k3-j721e-main: Fix "max-virtual-functions" in PCIe EP
nodes
arm64: dts: ti: k3-j721e-main: Fix "bus-range" upto 256 bus number for
PCIe
arm64: dts: ti: j7200-main: Fix "vendor-id"/"device-id" properties of
pcie node
arm64: dts: ti: j7200-main: Fix "bus-range" upto 256 bus number for
PCIe
arm64: dts: ti: j7200-main: Add *max-virtual-functions* for pcie-ep DT
node
arm64: dts: ti: k3-am65-main: Cleanup "ranges" property in "pcie" DT
node
arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 8 ++++----
arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 7 ++++---
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 16 ++++++++--------
3 files changed, 16 insertions(+), 15 deletions(-)
--
2.17.1
From: Kishon Vijay Abraham I <hidden> Date: 2021-09-15 05:54:25
commit 4e5833884f66 ("arm64: dts: ti: k3-j721e-main: Add PCIe device
tree nodes") restricted PCIe bus numbers from 0 to 15 (due to SMMU
restriction in J721E). However since SMMU is not enabled, allow the full
supported bus numbers from 0 to 255.
Fixes: 4e5833884f66 ("arm64: dts: ti: k3-j721e-main: Add PCIe device tree nodes")
Signed-off-by: Kishon Vijay Abraham I <redacted>
---
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
From: Kishon Vijay Abraham I <hidden> Date: 2021-09-15 05:54:27
commit 3276d9f53cf6 ("arm64: dts: ti: k3-j7200-main: Add PCIe device
tree node") incorrectly added "vendor-id" and "device-id" as 16-bit
properties though both of them are 32-bit properties. Fix it here.
Fixes: 3276d9f53cf6 ("arm64: dts: ti: k3-j7200-main: Add PCIe device tree node")
Signed-off-by: Kishon Vijay Abraham I <redacted>
---
arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
From: Kishon Vijay Abraham I <hidden> Date: 2021-09-15 05:54:28
commit 3276d9f53cf6 ("arm64: dts: ti: k3-j7200-main: Add PCIe device
tree node") incorrectly added PCIe bus numbers from 0 to 15 (copy-paste
from J721E node). Enable all the supported bus numbers from 0 to 255
defined in PCIe spec here.
Fixes: 3276d9f53cf6 ("arm64: dts: ti: k3-j7200-main: Add PCIe device tree node")
Signed-off-by: Kishon Vijay Abraham I <redacted>
---
arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Kishon Vijay Abraham I <hidden> Date: 2021-09-15 05:54:34
J7200 has 4 virtual functions for the first four physical function.
Add *max-virtual-functions* in pcie-ep DT node to represent the same.
Signed-off-by: Kishon Vijay Abraham I <redacted>
---
arch/arm64/boot/dts/ti/k3-j7200-main.dtsi | 1 +
1 file changed, 1 insertion(+)
From: Kishon Vijay Abraham I <hidden> Date: 2021-09-15 05:54:40
*dtbs_check* on
"Documentation/devicetree/bindings/pci/ti,am65-pci-host.yaml" YAML file
resulted in the following errors.
pcie@5500000: ranges: 'oneOf' conditional failed, one must be fixed:
pcie@5600000: ranges: 'oneOf' conditional failed, one must be fixed
Cleanup "ranges" property in "pcie" DT node to fix the above errors.
Signed-off-by: Kishon Vijay Abraham I <redacted>
---
arch/arm64/boot/dts/ti/k3-am65-main.dtsi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
On 15/09/21 11:23 am, Kishon Vijay Abraham I wrote:
Patch series adds a bunch of PCIe DT fixes. Except from
"[PATCH 5/6] arm64: dts: ti: j7200-main: Add *max-virtual-functions*
for pcie-ep DT node" which adds *max-virtual-functions* property
to PCIe DT node, rest of them are fixes or cleanups on already added
DT properties.
If required I can post 5th patch separately to be merged for next merge
window while the rest can go in this -rc cycle.
Kishon Vijay Abraham I (6):
arm64: dts: ti: k3-j721e-main: Fix "max-virtual-functions" in PCIe EP
nodes
arm64: dts: ti: k3-j721e-main: Fix "bus-range" upto 256 bus number for
PCIe
arm64: dts: ti: j7200-main: Fix "vendor-id"/"device-id" properties of
pcie node
arm64: dts: ti: j7200-main: Fix "bus-range" upto 256 bus number for
PCIe
arm64: dts: ti: j7200-main: Add *max-virtual-functions* for pcie-ep DT
node
arm64: dts: ti: k3-am65-main: Cleanup "ranges" property in "pcie" DT
node
for the complete series,
Reviewed-by: Aswath Govindraju <redacted>
Thanks,
Aswath
On Wed, 15 Sep 2021 11:23:52 +0530, Kishon Vijay Abraham I wrote:
Patch series adds a bunch of PCIe DT fixes. Except from
"[PATCH 5/6] arm64: dts: ti: j7200-main: Add *max-virtual-functions*
for pcie-ep DT node" which adds *max-virtual-functions* property
to PCIe DT node, rest of them are fixes or cleanups on already added
DT properties.
If required I can post 5th patch separately to be merged for next merge
window while the rest can go in this -rc cycle.
[...]
Hi Kishon Vijay Abraham I,
I have applied the following to branch ti-k3-dts-next on [1].
Thank you!
[1/6] arm64: dts: ti: k3-j721e-main: Fix "max-virtual-functions" in PCIe EP nodes
commit: 9af3ef954975c383eeb667aee207d9ce6fbef8c4
[2/6] arm64: dts: ti: k3-j721e-main: Fix "bus-range" upto 256 bus number for PCIe
commit: 5f46633565b1c1e1840a927676065d72b442dac4
[3/6] arm64: dts: ti: j7200-main: Fix "vendor-id"/"device-id" properties of pcie node
commit: 0d553792726a61ced760422e74ea67552ac69cdb
[4/6] arm64: dts: ti: j7200-main: Fix "bus-range" upto 256 bus number for PCIe
commit: 8bb8429290c0043a78804ae48294b53f781ee426
[5/6] arm64: dts: ti: j7200-main: Add *max-virtual-functions* for pcie-ep DT node
commit: b6021ba03bdf25b7bf7751e107fed2f92dbb8e50
[6/6] arm64: dts: ti: k3-am65-main: Cleanup "ranges" property in "pcie" DT node
commit: 1c953935c00537009c5b41ebdbef807d8536943a
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent up the chain during
the next merge window (or sooner if it is a relevant bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
[1] git://git.kernel.org/pub/scm/linux/kernel/git/nmenon/linux.git
--
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3 1A34 DDB5 849D 1736 249D