PENDING: arm64: dts: qcom: shikra: fix ethernet interrupt specifier cell count#757
PENDING: arm64: dts: qcom: shikra: fix ethernet interrupt specifier cell count#757ayaan-anwar wants to merge 1 commit into
Conversation
|
Merge Check Failed: No CR Numbers Found Error: No Change Request numbers were found. Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests. |
2b24cb5 to
4708caf
Compare
|
Merge Check Failed: No CR Numbers Found Error: No Change Request numbers were found. Please add Change Request numbers to your pull request description in the format CRs-Fixed: 12345 or link GitHub issues that are associated with Change Requests. |
4708caf to
ce5ab73
Compare
…ell count Commit bf449f3 ("arm64: dts: qcom: shikra: switch to interrupt-cells 4 to add PPI partitions") bumped the GIC node to interrupt-cells = <4> and updated all existing interrupt specifiers accordingly. The ethernet nodes, raised on top of the older version of the patch series are left with a 3-cell specifier against a 4-cell GIC. This causes a probe failure. At boot, of_irq_parse_one() reads intsize=4 from the GIC, then of_property_read_u32_index() attempts to read the 4th cell of a 3-cell property and returns -EOVERFLOW, causing platform_get_irq_byname("macirq") to fail with -ENXIO: qcom-ethqos 5d00000.ethernet: error -ENXIO: IRQ macirq not found qcom-ethqos 5d00000.ethernet: error -ENXIO: Failed to get platform resources Add the missing 4-th cell to both ethernet nodes. This will be posted in V2 of the ethernet series. Fixes: a1b735d ("FROMLIST: arm64: dts: qcom: shikra: Add ethernet nodes") Signed-off-by: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>
ce5ab73 to
960ab12
Compare
PR #757 — validate-patchPR: #757
Final Summary
Additional Context:
|
PR #757 — checker-log-analyzerPR: #757
Detailed report: Full report
|
|
Closing this as the fix is already provided by #751 |
Commit bf449f3 ("arm64: dts: qcom: shikra: switch to interrupt-cells 4 to add PPI partitions") bumped the GIC node to interrupt-cells = <4> and updated all existing interrupt specifiers accordingly. The ethernet nodes, raised on top of the older version of the patch series are left with a 3-cell specifier against a 4-cell GIC.
At boot, of_irq_parse_one() reads intsize=4 from the GIC, then of_property_read_u32_index() attempts to read the 4th cell of a 3-cell property and returns -EOVERFLOW, causing
platform_get_irq_byname("macirq") to fail with -ENXIO:
qcom-ethqos 5d00000.ethernet: error -ENXIO: IRQ macirq not found
qcom-ethqos 5d00000.ethernet: error -ENXIO: Failed to get platform
resources
Add the missing 4th cell to both ethernet nodes. This will be posted in V2 of the ethernet series.
The QLI mainline PR has been updated with the fix (qualcomm-linux/kernel-topics#1318).
Using PENDING tag for this branch as its a minor change which will be included in the next iteration of the series.
Fixes: a1b735d ("arm64: dts: qcom: shikra: Add ethernet nodes")
CRs-Fixed: 4570559