Hi, on recent Linus' master from today [1] I'm getting [2] running the of_unittests. Is this known and/or is there somewhere a fix? Many thanks Dirk [1] x86_64_defconfig + CONFIG_OF=y + CONFIG_OF_UNITTEST=y https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/ HEAD: b86545e02e8c2 (master) Merge tag 'acpi-6.13-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm [2] ... [ 1.934623] ### dt-test ### pass of_unittest_parse_interrupts_extended():1590 [ 1.934865] ### dt-test ### pass of_unittest_parse_interrupts_extended():1590 [ 1.935562] ------------[ cut here ]------------ [ 1.935683] Missing '#address-cells' in [ 1.936089] WARNING: CPU: 0 PID: 1 at drivers/of/base.c:106 of_bus_n_addr_cells+0x6d/0xb0 [ 1.936653] Modules linked in: [ 1.937326] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Tainted: G N 6.12.0-10553-gb86545e02e8c #1 [ 1.937706] Tainted: [N]=TEST [ 1.937787] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014 [ 1.938196] RIP: 0010:of_bus_n_addr_cells+0x6d/0xb0 [ 1.938458] Code: e8 48 30 00 00 85 c0 79 4d 80 3d c5 c7 14 01 00 75 ce c6 05 bc c7 14 01 01 90 48 c7 c7 e8 60 fd b3 48 89 de e8 64 d1 53 ff 90 4 [ 1.939060] RSP: 0018:ffffbb4740013be0 EFLAGS: 00000286 [ 1.939212] RAX: 0000000000000000 RBX: ffffa43ac7dc3e38 RCX: 0000000000000000 [ 1.939392] RDX: 0000000000000000 RSI: 00000000ffffdfff RDI: 0000000000000001 [ 1.939650] RBP: ffffbb4740013c5c R08: 0000000000000000 R09: ffffbb4740013a18 [ 1.939885] R10: 0000000000000001 R11: 0000000000000001 R12: ffffa43ac1ba0218 [ 1.940083] R13: ffffffffb3b3a160 R14: ffffbb4740013ce8 R15: ffffbb4740013ce8 [ 1.940287] FS: 0000000000000000(0000) GS:ffffa43ac7800000(0000) knlGS:0000000000000000 [ 1.940501] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.940650] CR2: ffffa43ac7601000 CR3: 0000000006a2e000 CR4: 00000000000006f0 [ 1.940926] Call Trace: [ 1.941455] <TASK> [ 1.941684] ? __warn+0x83/0x130 [ 1.941833] ? of_bus_n_addr_cells+0x6d/0xb0 [ 1.941939] ? report_bug+0x1b7/0x1d0 [ 1.942036] ? handle_bug+0x54/0x90 [ 1.942125] ? exc_invalid_op+0x18/0x70 [ 1.942234] ? asm_exc_invalid_op+0x1a/0x20 [ 1.942375] ? of_bus_n_addr_cells+0x6d/0xb0 [ 1.942490] of_bus_default_count_cells+0x1b/0x40 [ 1.942644] __of_translate_address+0xfa/0x480 [ 1.942768] ? __pfx___of_get_dma_parent+0x10/0x10 [ 1.942931] of_pci_range_parser_one+0x10e/0x360 [ 1.943073] of_dma_get_max_cpu_address+0xe3/0x100 [ 1.943236] of_unittest+0x1572/0x2890 [ 1.943354] ? __pfx_of_unittest+0x10/0x10 [ 1.943469] do_one_initcall+0x43/0x210 [ 1.943579] kernel_init_freeable+0x19a/0x2d0 [ 1.943699] ? __pfx_kernel_init+0x10/0x10 [ 1.943813] kernel_init+0x15/0x130 [ 1.943944] ret_from_fork+0x2f/0x50 [ 1.944127] ? __pfx_kernel_init+0x10/0x10 [ 1.944347] ret_from_fork_asm+0x1a/0x30 [ 1.944493] </TASK> [ 1.944602] ---[ end trace 0000000000000000 ]--- [ 1.944810] ------------[ cut here ]------------ [ 1.944968] Missing '#size-cells' in [ 1.945139] WARNING: CPU: 0 PID: 1 at drivers/of/base.c:133 of_bus_n_size_cells+0x6d/0xb0 [ 1.945340] Modules linked in: [ 1.945427] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Tainted: G W N 6.12.0-10553-gb86545e02e8c #1 [ 1.945796] Tainted: [W]=WARN, [N]=TEST [ 1.945919] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.13.0-1ubuntu1.1 04/01/2014 [ 1.946149] RIP: 0010:of_bus_n_size_cells+0x6d/0xb0 [ 1.946282] Code: e8 58 2f 00 00 85 c0 79 4d 80 3d d4 c6 14 01 00 75 ce c6 05 cb c6 14 01 01 90 48 c7 c7 10 61 fd b3 48 89 de e8 74 d0 53 ff 90 4 [ 1.946705] RSP: 0018:ffffbb4740013be0 EFLAGS: 00000286 [ 1.946866] RAX: 0000000000000000 RBX: ffffa43ac7dc3e38 RCX: 0000000000000000 [ 1.947129] RDX: 0000000000000000 RSI: 00000000ffffdfff RDI: 0000000000000001 [ 1.947303] RBP: ffffbb4740013c5c R08: 0000000000000000 R09: ffffbb4740013a18 [ 1.947470] R10: 0000000000000001 R11: 0000000000000001 R12: ffffa43ac1ba0218 [ 1.947638] R13: ffffffffb3b3a160 R14: ffffbb4740013ce8 R15: ffffbb4740013ce8 [ 1.947806] FS: 0000000000000000(0000) GS:ffffa43ac7800000(0000) knlGS:0000000000000000 [ 1.948027] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1.948186] CR2: ffffa43ac7601000 CR3: 0000000006a2e000 CR4: 00000000000006f0 [ 1.948359] Call Trace: [ 1.948425] <TASK> [ 1.948485] ? __warn+0x83/0x130 [ 1.948579] ? of_bus_n_size_cells+0x6d/0xb0 [ 1.948691] ? report_bug+0x1b7/0x1d0 [ 1.948796] ? handle_bug+0x54/0x90 [ 1.948922] ? exc_invalid_op+0x18/0x70 [ 1.949088] ? asm_exc_invalid_op+0x1a/0x20 [ 1.949210] ? of_bus_n_size_cells+0x6d/0xb0 [ 1.949323] of_bus_default_count_cells+0x2b/0x40 [ 1.949448] __of_translate_address+0xfa/0x480 [ 1.949565] ? __pfx___of_get_dma_parent+0x10/0x10 [ 1.949691] of_pci_range_parser_one+0x10e/0x360 [ 1.949815] of_dma_get_max_cpu_address+0xe3/0x100 [ 1.949985] of_unittest+0x1572/0x2890 [ 1.950209] ? __pfx_of_unittest+0x10/0x10 [ 1.950416] do_one_initcall+0x43/0x210 [ 1.950526] kernel_init_freeable+0x19a/0x2d0 [ 1.950642] ? __pfx_kernel_init+0x10/0x10 [ 1.950757] kernel_init+0x15/0x130 [ 1.950891] ret_from_fork+0x2f/0x50 [ 1.951041] ? __pfx_kernel_init+0x10/0x10 [ 1.951156] ret_from_fork_asm+0x1a/0x30 [ 1.951268] </TASK> [ 1.951329] ---[ end trace 0000000000000000 ]--- [ 1.952208] ### dt-test ### pass of_unittest_dma_get_max_cpu_address():1100 [ 1.952544] ### dt-test ### pass of_unittest_dma_ranges_one():1121 [ 1.952747] ### dt-test ### pass of_unittest_dma_ranges_one():1139 ...