dmesg log on bionic (successful):

[ 7.346107] arm-smmu: deprecated "mmu-masters" DT property in use; DMA API 
support unavailable
[ 7.355854] arm-smmu 830000000000.smmu0: probing hardware configuration...
[ 7.362798] arm-smmu 830000000000.smmu0: SMMUv2 with:
[ 7.367895] arm-smmu 830000000000.smmu0: stage 1 translation
[ 7.373694] arm-smmu 830000000000.smmu0: stage 2 translation
[ 7.379494] arm-smmu 830000000000.smmu0: nested translation
[ 7.385205] arm-smmu 830000000000.smmu0: non-coherent table walk
[ 7.391354] arm-smmu 830000000000.smmu0: (IDR0.CTTW overridden by FW 
configuration)
[ 7.399170] arm-smmu 830000000000.smmu0: stream matching with 128 register 
groups
[ 7.406812] arm-smmu 830000000000.smmu0: 128 context banks (0 stage-2 only)
[ 7.413925] arm-smmu 830000000000.smmu0: enabling workaround for Cavium erratum 
27704
[ 7.421918] arm-smmu 830000000000.smmu0: Supported page sizes: 0x62215000
[ 7.428856] arm-smmu 830000000000.smmu0: Stage-1: 48-bit VA -> 48-bit IPA
[ 7.435794] arm-smmu 830000000000.smmu0: Stage-2: 48-bit IPA -> 48-bit PA
[ 7.443907] arm-smmu 831000000000.smmu1: probing hardware configuration...
[ 7.450855] arm-smmu 831000000000.smmu1: SMMUv2 with:
[ 7.455953] arm-smmu 831000000000.smmu1: stage 1 translation
[ 7.461751] arm-smmu 831000000000.smmu1: stage 2 translation
[ 7.467550] arm-smmu 831000000000.smmu1: nested translation
[ 7.473260] arm-smmu 831000000000.smmu1: non-coherent table walk
[ 7.481375] arm-smmu 831000000000.smmu1: (IDR0.CTTW overridden by FW 
configuration)
[ 7.491124] arm-smmu 831000000000.smmu1: stream matching with 128 register 
groups
[ 7.500689] arm-smmu 831000000000.smmu1: 128 context banks (0 stage-2 only)
[ 7.509731] arm-smmu 831000000000.smmu1: enabling workaround for Cavium erratum 
27704
[ 7.519627] arm-smmu 831000000000.smmu1: Supported page sizes: 0x62215000
[ 7.528435] arm-smmu 831000000000.smmu1: Stage-1: 48-bit VA -> 48-bit IPA
[ 7.537208] arm-smmu 831000000000.smmu1: Stage-2: 48-bit IPA -> 48-bit PA
[ 7.547082] arm-smmu 832000000000.smmu2: probing hardware configuration...
[ 7.555825] arm-smmu 832000000000.smmu2: SMMUv2 with:
[ 7.562718] arm-smmu 832000000000.smmu2: stage 1 translation
[ 7.570304] arm-smmu 832000000000.smmu2: stage 2 translation
[ 7.577832] arm-smmu 832000000000.smmu2: nested translation
[ 7.585246] arm-smmu 832000000000.smmu2: non-coherent table walk
[ 7.593088] arm-smmu 832000000000.smmu2: (IDR0.CTTW overridden by FW 
configuration)
[ 7.602609] arm-smmu 832000000000.smmu2: stream matching with 128 register 
groups
[ 7.611936] arm-smmu 832000000000.smmu2: 128 context banks (0 stage-2 only)
[ 7.620720] arm-smmu 832000000000.smmu2: enabling workaround for Cavium erratum 
27704
[ 7.630395] arm-smmu 832000000000.smmu2: Supported page sizes: 0x62215000
[ 7.639030] arm-smmu 832000000000.smmu2: Stage-1: 48-bit VA -> 48-bit IPA
[ 7.647652] arm-smmu 832000000000.smmu2: Stage-2: 48-bit IPA -> 48-bit PA
[ 7.657446] arm-smmu 833000000000.smmu3: probing hardware configuration...
[ 7.666045] arm-smmu 833000000000.smmu3: SMMUv2 with:
[ 7.672781] arm-smmu 833000000000.smmu3: stage 1 translation
[ 7.680207] arm-smmu 833000000000.smmu3: stage 2 translation
[ 7.687584] arm-smmu 833000000000.smmu3: nested translation
[ 7.694845] arm-smmu 833000000000.smmu3: non-coherent table walk
[ 7.702516] arm-smmu 833000000000.smmu3: (IDR0.CTTW overridden by FW 
configuration)
[ 7.711851] arm-smmu 833000000000.smmu3: stream matching with 128 register 
groups
[ 7.711856] arm-smmu 833000000000.smmu3: 128 context banks (0 stage-2 only)
[ 7.729556] arm-smmu 833000000000.smmu3: enabling workaround for Cavium erratum 
27704
[ 7.739008] arm-smmu 833000000000.smmu3: Supported page sizes: 0x62215000
[ 7.747432] arm-smmu 833000000000.smmu3: Stage-1: 48-bit VA -> 48-bit IPA
[ 7.755876] arm-smmu 833000000000.smmu3: Stage-2: 48-bit IPA -> 48-bit PA


** Description changed:

  For some of the arm64 systems arm-smmu driver doesn't seem to work with
  older versions of the firmware where it encounters "mmu-masters" in the
  device-tree.
  
  In this case, kernel is unable to map simple drm device and fail to boot
  (Note that for "DMA_API" it works fine). See, drivers/iommu/arm/arm-
  smmu/arm-smmu.c:arm_smmu_device_dt_probe() for more information.
  
  I have seen the error for the following arm64 instances in testflinger:
  moigno, igor, egede. Updating the firmware seems like one of the
  possible solutions.
  
  I have seen this error in 6.8 kernels (noble+jammy). However, both
- series should fail.
+ series should fail regardless of the kernel version.
  
  Focal can be different since "CONFIG_ARM_SMMU_LEGACY_DT_BINDINGS" config
  options is not defined there. If Focal works, we can remove this config
  option from Jammy and Noble.
+ 
+ See error messages below for more information.

** Changed in: linux (Ubuntu)
     Assignee: (unassigned) => Mehmet Basaran (mehmetbasaran)

** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** Also affects: linux (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Noble)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2088458

Title:
   noble/jammy arm-smmu and firmware discrepancy

Status in linux package in Ubuntu:
  New
Status in linux source package in Jammy:
  New
Status in linux source package in Noble:
  New

Bug description:
  For some of the arm64 systems arm-smmu driver doesn't seem to work
  with older versions of the firmware where it encounters "mmu-masters"
  in the device-tree.

  In this case, kernel is unable to map simple drm device and fail to
  boot (Note that for "DMA_API" it works fine). See,
  drivers/iommu/arm/arm-smmu/arm-smmu.c:arm_smmu_device_dt_probe() for
  more information.

  I have seen the error for the following arm64 instances in
  testflinger: moigno, igor, egede. Updating the firmware seems like one
  of the possible solutions.

  I have seen this error in 6.8 kernels (noble+jammy). However, both
  series should fail regardless of the kernel version.

  Focal can be different since "CONFIG_ARM_SMMU_LEGACY_DT_BINDINGS"
  config options is not defined there. If Focal works, we can remove
  this config option from Jammy and Noble.

  See error messages below for more information.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2088458/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to