dmsg log for jammy-6.8-hwe (failure):

[ 7.762100] arm-smmu: deprecated "mmu-masters" DT property in use; SMMU support 
unavailable
[ 7.772351] arm-smmu 830000000000.smmu0: probing hardware configuration...
[ 7.779245] arm-smmu 830000000000.smmu0: SMMUv2 with:
[ 7.784301] arm-smmu 830000000000.smmu0: stage 1 translation
[ 7.790050] arm-smmu 830000000000.smmu0: stage 2 translation
[ 7.795797] arm-smmu 830000000000.smmu0: nested translation
[ 7.801460] arm-smmu 830000000000.smmu0: non-coherent table walk
[ 7.807556] arm-smmu 830000000000.smmu0: (IDR0.CTTW overridden by FW 
configuration)
[ 7.815305] arm-smmu 830000000000.smmu0: stream matching with 128 register 
groups
[ 7.822899] arm-smmu 830000000000.smmu0: 128 context banks (0 stage-2 only)
[ 7.829983] arm-smmu 830000000000.smmu0: enabling workaround for Cavium erratum 
27704
[ 7.837913] arm-smmu 830000000000.smmu0: Supported page sizes: 0x62215000
[ 7.844793] arm-smmu 830000000000.smmu0: Stage-1: 48-bit VA -> 48-bit IPA
[ 7.851670] arm-smmu 830000000000.smmu0: Stage-2: 48-bit IPA -> 48-bit PA
[ 7.858815] arm-smmu 830000000000.smmu0: preserved 0 boot mappings
[ 7.867039] arm-smmu 831000000000.smmu1: probing hardware configuration...
[ 7.873935] arm-smmu 831000000000.smmu1: SMMUv2 with:
[ 7.878993] arm-smmu 831000000000.smmu1: stage 1 translation
[ 7.884744] arm-smmu 831000000000.smmu1: stage 2 translation
[ 7.890493] arm-smmu 831000000000.smmu1: nested translation
[ 7.896155] arm-smmu 831000000000.smmu1: non-coherent table walk
[ 7.902251] arm-smmu 831000000000.smmu1: (IDR0.CTTW overridden by FW 
configuration)
[ 7.910000] arm-smmu 831000000000.smmu1: stream matching with 128 register 
groups
[ 7.917577] arm-smmu 831000000000.smmu1: 128 context banks (0 stage-2 only)
[ 7.924632] arm-smmu 831000000000.smmu1: enabling workaround for Cavium erratum 
27704
[ 7.932554] arm-smmu 831000000000.smmu1: Supported page sizes: 0x62215000
[ 7.939431] arm-smmu 831000000000.smmu1: Stage-1: 48-bit VA -> 48-bit IPA
[ 7.946310] arm-smmu 831000000000.smmu1: Stage-2: 48-bit IPA -> 48-bit PA
[ 7.953346] arm-smmu 831000000000.smmu1: preserved 0 boot mappings
[ 7.961571] arm-smmu 832000000000.smmu2: probing hardware configuration...
[ 7.968466] arm-smmu 832000000000.smmu2: SMMUv2 with:
[ 7.973524] arm-smmu 832000000000.smmu2: stage 1 translation
[ 7.979275] arm-smmu 832000000000.smmu2: stage 2 translation
[ 7.985025] arm-smmu 832000000000.smmu2: nested translation
[ 7.990686] arm-smmu 832000000000.smmu2: non-coherent table walk
[ 7.996783] arm-smmu 832000000000.smmu2: (IDR0.CTTW overridden by FW 
configuration)
[ 8.004531] arm-smmu 832000000000.smmu2: stream matching with 128 register 
groups
[ 8.012109] arm-smmu 832000000000.smmu2: 128 context banks (0 stage-2 only)
[ 8.019164] arm-smmu 832000000000.smmu2: enabling workaround for Cavium erratum 
27704
[ 8.027086] arm-smmu 832000000000.smmu2: Supported page sizes: 0x62215000
[ 8.033963] arm-smmu 832000000000.smmu2: Stage-1: 48-bit VA -> 48-bit IPA
[ 8.040842] arm-smmu 832000000000.smmu2: Stage-2: 48-bit IPA -> 48-bit PA
[ 8.047878] arm-smmu 832000000000.smmu2: preserved 0 boot mappings
[ 8.056104] arm-smmu 833000000000.smmu3: probing hardware configuration...
[ 8.062991] arm-smmu 833000000000.smmu3: SMMUv2 with:
[ 8.068048] arm-smmu 833000000000.smmu3: stage 1 translation
[ 8.073796] arm-smmu 833000000000.smmu3: stage 2 translation
[ 8.079544] arm-smmu 833000000000.smmu3: nested translation
[ 8.085206] arm-smmu 833000000000.smmu3: non-coherent table walk
[ 8.091303] arm-smmu 833000000000.smmu3: (IDR0.CTTW overridden by FW 
configuration)
[ 8.099053] arm-smmu 833000000000.smmu3: stream matching with 128 register 
groups
[ 8.106639] arm-smmu 833000000000.smmu3: 128 context banks (0 stage-2 only)
[ 8.113704] arm-smmu 833000000000.smmu3: enabling workaround for Cavium erratum 
27704
[ 8.121632] arm-smmu 833000000000.smmu3: Supported page sizes: 0x62215000
[ 8.128515] arm-smmu 833000000000.smmu3: Stage-1: 48-bit VA -> 48-bit IPA
[ 8.135392] arm-smmu 833000000000.smmu3: Stage-2: 48-bit IPA -> 48-bit PA
[ 8.142429] arm-smmu 833000000000.smmu3: preserved 0 boot mappings
[ 8.189529] loop: module loaded
[ 8.196664] tun: Universal TUN/TAP device driver, 1.6
[ 8.202520] PPP generic driver version 2.4.2
[ 8.207656] mousedev: PS/2 mouse device common for all mice
[ 8.218049] rtc-efi rtc-efi.0: registered as rtc0
[ 8.224837] rtc-efi rtc-efi.0: setting system clock to 2024-11-07T08:45:33 UTC 
(1730969133)
[ 8.233504] i2c_dev: i2c /dev entries driver
[ 8.238953] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. 
Duplicate IMA measurements will not be recorded in the IMA log.
[ 8.251357] device-mapper: uevent: version 1.0.3
[ 8.256392] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: 
dm-de...@redhat.com
[ 8.266998] ledtrig-cpu: registered to indicate activity on CPUs
[ 8.273980] simple-framebuffer simple-framebuffer.0: [drm] could not acquire 
memory region [mem 0x10000000-0x102fffff flags 0x200]
[ 8.285767] ------------[ cut here ]------------
[ 8.290384] WARNING: CPU: 13 PID: 1 at arch/arm64/mm/ioremap.c:16 
ioremap_prot+0x84/0xa0
[ 8.298483] Modules linked in:
[ 8.301539] CPU: 13 PID: 1 Comm: swapper/0 Not tainted 6.8.0-49-generic-64k 
#49~22.04.1-Ubuntu
[ 8.310151] Hardware name: GIGABYTE R120-T33/MT30-GS1, BIOS T31 02/14/2017
[ 8.317024] pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 8.323985] pc : ioremap_prot+0x84/0xa0
[ 8.327819] lr : ioremap_prot+0x48/0xa0
[ 8.331652] sp : ffff80008470f820
[ 8.334962] x29: ffff80008470f820 x28: ffff00015958e000 x27: 0000000000001000
[ 8.342106] x26: ffff00015958e000 x25: 0000000000000400 x24: 0000000000000000
[ 8.349248] x23: 0000000010000000 x22: 0000000000300000 x21: 006800000000070b
[ 8.356390] x20: 0000000000300000 x19: 0000000010000000 x18: ffff8000847200a8
[ 8.363532] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[ 8.370674] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[ 8.377815] x11: 0000000000000000 x10: 0000000000000000 x9 : ffff80008003faf8
[ 8.384957] x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000000000
[ 8.392099] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000
[ 8.399240] x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000001
[ 8.406383] Call trace:
[ 8.408826] ioremap_prot+0x84/0xa0
[ 8.412313] devm_ioremap_wc+0x84/0x130
[ 8.416149] simpledrm_device_create.constprop.0+0x80c/0xad0
[ 8.421814] simpledrm_probe+0x20/0xb8
[ 8.425562] platform_probe+0x74/0x110
[ 8.429309] really_probe+0x1bc/0x420
[ 8.432973] __driver_probe_device+0x94/0x1d8
[ 8.437329] driver_probe_device+0x48/0x188
[ 8.441511] __device_attach_driver+0x114/0x220
[ 8.446041] bus_for_each_drv+0x90/0x110
[ 8.449962] __device_attach+0xa8/0x200
[ 8.453797] device_initial_probe+0x20/0x48
[ 8.457979] bus_probe_device+0xcc/0xd8
[ 8.461813] device_add+0x55c/0x768
[ 8.465300] platform_device_add+0x1c4/0x2b0
[ 8.469568] sysfb_create_simplefb+0x194/0x1b0
[ 8.474015] sysfb_init+0x160/0x1a8
[ 8.477502] do_one_initcall+0x64/0x3b8
[ 8.481337] do_initcalls+0x144/0x2f0
[ 8.484999] kernel_init_freeable+0x130/0x2b8
[ 8.489355] kernel_init+0x3c/0x250
[ 8.492845] ret_from_fork+0x10/0x20
[ 8.496419] ---[ end trace 0000000000000000 ]---
[ 8.501103] simple-framebuffer: probe of simple-framebuffer.0 failed with error 
-12

-- 
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