Description of problem: 飞腾FT2000+平台。固件开启SMMU系统无法启动。 Version-Release number of selected component (if applicable): 内核:5.10.134-13 How reproducible: Steps to Reproduce: 1.安装8.6版本ISO 2.下载gitee仓库下的5.10.134-13.y内核 3. 编译安装 Actual results: 系统无法正常启动 Expected results: 系统能够正常启动 Additional info: 该问题是由于arm-smmu.c中代码处理iommu_group分组存在问题。
[ 9.696942] ahci 0000:41:00.0: version 3.0 [ 9.707168] ahci 0000:41:00.0: AHCI 0001.0000 32 slots 4 ports 6 Gbps 0xf impl SATA mode [ 9.715232] ahci 0000:41:00.0: flags: 64bit ncq sntf led only pmp fbs pio slum part sxs [ 9.738322] scsi host0: ahci [ 9.741883] scsi host1: ahci [ 9.745145] scsi host2: ahci [ 9.749380] scsi host3: ahci [ 9.753476] ata1: SATA max UDMA/133 abar m2048@0x8006c010000 port 0x8006c010100 irq 114 [ 9.762703] ata2: SATA max UDMA/133 abar m2048@0x8006c010000 port 0x8006c010180 irq 114 [ 9.771613] ata3: SATA max UDMA/133 abar m2048@0x8006c010000 port 0x8006c010200 irq 114 [ 9.779593] ata4: SATA max UDMA/133 abar m2048@0x8006c010000 port 0x8006c010280 irq 114 [ 9.794522] arm-smmu arm-smmu.0.auto: Blocked unknown Stream ID 0x4100; boot with "arm-smmu.disable_bypass=0" to allow, but this may have security implications [ 9.808708] arm-smmu arm-smmu.0.auto: GFSR 0x00000002, GFSYNR0 0x00000002, GFSYNR1 0x00004100, GFSYNR2 0x00000000 [ 10.099910] ata4: SATA link down (SStatus 0 SControl 300) [ 10.105323] arm-smmu arm-smmu.0.auto: Blocked unknown Stream ID 0x2820; boot with "arm-smmu.disable_bypass=0" to allow, but this may have security implications [ 10.105332] ata2: SATA link down (SStatus 0 SControl 300) [ 10.119509] arm-smmu arm-smmu.0.auto: GFSR 0x00000002, GFSYNR0 0x00000000, GFSYNR1 0x00002820, GFSYNR2 0x00000000 [ 10.135207] ata1: SATA link down (SStatus 0 SControl 300) [ 19.786147] ata3: softreset failed (1st FIS failed) [ 19.799632] arm-smmu arm-smmu.0.auto: Blocked unknown Stream ID 0x4100; boot with "arm-smmu.disable_bypass=0" to allow, but this may have security implications [ 19.813818] arm-smmu arm-smmu.0.auto: GFSR 0x00000002, GFSYNR0 0x00000002, GFSYNR1 0x00004100, GFSYNR2 0x00000000 [ 29.790364] ata3: softreset failed (1st FIS failed) [ 29.803835] arm-smmu arm-smmu.0.auto: Blocked unknown Stream ID 0x4100; boot with "arm-smmu.disable_bypass=0" to allow, but this may have security implications [ 29.818020] arm-smmu arm-smmu.0.auto: GFSR 0x00000002, GFSYNR0 0x00000002, GFSYNR1 0x00004100, GFSYNR2 0x00000000 [ 64.794367] ata3: softreset failed (1st FIS failed) [ 64.799227] ata3: limiting SATA link speed to 3.0 Gbps [ 64.812901] arm-smmu arm-smmu.0.auto: Blocked unknown Stream ID 0x4100; boot with "arm-smmu.disable_bypass=0" to allow, but this may have security implications [ 64.827086] arm-smmu arm-smmu.0.auto: GFSR 0x00000002, GFSYNR0 0x00000002, GFSYNR1 0x00004100, GFSYNR2 0x00000000 [ 69.802367] ata3: softreset failed (1st FIS failed) [ 69.807227] ata3: reset failed, giving up