During the Ubuntu-snapdragon-4.15.0-1061.68, the qcom smmuv2 implementation was replaced with an upstream generic version that didn't take into accout clocks and power requirements - reverting the upstream patch, and reapplying the qcom one fixes this hangs.
How to test:
Try to boot a patched kernel and see if it reaches userspace.
Regression potential:
None, since the current kernel version doesn't boot at all.
Impact:
Ubuntu- snapdragon- 4.15.0- 1061.68 hangs during boot:
...
[ 1.856849] arm-smmu da0000.arm,smmu: probing hardware configuration...
[ 1.859296] arm-smmu da0000.arm,smmu: SMMUv2 with:
[ 1.865845] arm-smmu da0000.arm,smmu: stage 1 translation
[ 1.870658] arm-smmu da0000.arm,smmu: address translation ops
[ 1.876121] arm-smmu da0000.arm,smmu: non-coherent table walk
[ 1.881936] arm-smmu da0000.arm,smmu: (IDR0.CTTW overridden by FW configuration)
[ 1.887760] arm-smmu da0000.arm,smmu: stream matching with 4 register groups
[ 1.895337] arm-smmu da0000.arm,smmu: 2 context banks (0 stage-2 only)
[ 1.902455] arm-smmu da0000.arm,smmu: Supported page sizes: 0x63315000
[ 1.908852] arm-smmu da0000.arm,smmu: Stage-1: 32-bit VA -> 36-bit IPA
[hangs here]
Fix:
During the Ubuntu- snapdragon- 4.15.0- 1061.68, the qcom smmuv2 implementation was replaced with an upstream generic version that didn't take into accout clocks and power requirements - reverting the upstream patch, and reapplying the qcom one fixes this hangs.
How to test:
Try to boot a patched kernel and see if it reaches userspace.
Regression potential:
None, since the current kernel version doesn't boot at all.