lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z0NUdoG17EwuCigT@sashalap>
Date: Sun, 24 Nov 2024 11:29:42 -0500
From: Sasha Levin <sashal@...nel.org>
To: Rob Herring <robh@...nel.org>
Cc: Linus Torvalds <torvalds@...ux-foundation.org>,
	Saravana Kannan <saravanak@...gle.com>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
	Conor Dooley <conor+dt@...nel.org>, linux-kernel@...r.kernel.org,
	devicetree@...r.kernel.org
Subject: Re: [GIT PULL] Devicetree updates for v6.13

Hi Rob,

On Mon, Nov 18, 2024 at 03:07:30PM -0600, Rob Herring wrote:
>      of: WARN on deprecated #address-cells/#size-cells handling

With the commit above, I've started seeing boot warnings on a few
platforms that KernelCI is testing. One example is:

[    0.047792] ------------[ cut here ]------------
[    0.047803] Missing '#address-cells' in /firmware
[    0.047873] WARNING: CPU: 0 PID: 1 at drivers/of/base.c:106 of_bus_n_addr_cells+0x90/0xf0
[    0.047900] Modules linked in:
[    0.047917] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.12.0 #1 933ab9971ff4d5dc58cb378a96f64c7f72e3454d
[    0.047935] Hardware name: Google juniper sku16 board (DT)
[    0.047947] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    0.047961] pc : of_bus_n_addr_cells+0x90/0xf0
[    0.047974] lr : of_bus_n_addr_cells+0x90/0xf0
[    0.047987] sp : ffff80008008ba50
[    0.047997] x29: ffff80008008ba50 x28: ffffcc9644c19060 x27: ffffcc9644b60118
[    0.048016] x26: 0000000000000000 x25: ffff119d7f5c3fe8 x24: ffff80008008bb80
[    0.048034] x23: ffff80008008bb7c x22: ffffcc96441dc0f0 x21: ffffcc9644522170
[    0.048053] x20: ffffcc96454964ed x19: ffff119d7f5c3e28 x18: 0000000000000006
[    0.048071] x17: 64656c62616e655f x16: 0000000000000100 x15: ffff80008008b4d0
[    0.048090] x14: 0000000000000000 x13: 657261776d726966 x12: ffffcc96452d14f0
[    0.048108] x11: 0000000000000001 x10: 0000000000000001 x9 : ffffcc9642742150
[    0.048126] x8 : c0000000ffffdfff x7 : ffffcc9645221450 x6 : 00000000000affa8
[    0.048145] x5 : ffffcc96452d1498 x4 : 0000000000000000 x3 : 0000000000000000
[    0.048163] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff119d40288000
[    0.048182] Call trace:
[    0.048192]  of_bus_n_addr_cells+0x90/0xf0 (P)
[    0.048207]  of_bus_n_addr_cells+0x90/0xf0 (L)
[    0.048222]  of_n_addr_cells+0x24/0x38
[    0.048235]  of_bus_default_count_cells+0x30/0x60
[    0.048251]  __of_get_address+0xb4/0x1c0
[    0.048264]  __of_address_to_resource+0x4c/0x198
[    0.048278]  of_address_to_resource+0x20/0x38
[    0.048292]  of_device_alloc+0x80/0x1a0
[    0.048306]  of_platform_device_create_pdata+0x5c/0x138
[    0.048321]  of_platform_bus_create+0x15c/0x398
[    0.048335]  of_platform_populate+0x58/0x110
[    0.048350]  of_platform_default_populate_init+0x98/0xf8
[    0.048366]  do_one_initcall+0x60/0x320
[    0.048382]  kernel_init_freeable+0x20c/0x420
[    0.048397]  kernel_init+0x28/0x1e8
[    0.048410]  ret_from_fork+0x10/0x20
[    0.048424] ---[ end trace 0000000000000000 ]---
[    0.048445] ------------[ cut here ]------------
[    0.048455] Missing '#size-cells' in /firmware
[    0.048495] WARNING: CPU: 0 PID: 1 at drivers/of/base.c:133 of_bus_n_size_cells+0x90/0xf0
[    0.048513] Modules linked in:
[    0.048526] CPU: 0 UID: 0 PID: 1 Comm: swapper/0 Tainted: G        W          6.12.0 #1 933ab9971ff4d5dc58cb378a96f64c7f72e3454d
[    0.048544] Tainted: [W]=WARN
[    0.048553] Hardware name: Google juniper sku16 board (DT)
[    0.048563] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    0.048576] pc : of_bus_n_size_cells+0x90/0xf0
[    0.048589] lr : of_bus_n_size_cells+0x90/0xf0
[    0.048602] sp : ffff80008008ba50
[    0.048611] x29: ffff80008008ba50 x28: ffffcc9644c19060 x27: ffffcc9644b60118
[    0.048630] x26: 0000000000000000 x25: ffff119d7f5c3fe8 x24: ffff80008008bb80
[    0.048649] x23: ffff80008008bb7c x22: ffffcc96441dc0f0 x21: ffffcc96445221a8
[    0.048667] x20: ffffcc96454964ed x19: ffff119d7f5c3e28 x18: 0000000000000006
[    0.048686] x17: 64656c62616e655f x16: 0000000000000100 x15: ffff80008008b4d0
[    0.048704] x14: 0000000000000000 x13: 657261776d726966 x12: ffffcc96452d14f0
[    0.048722] x11: 0000000000000001 x10: 0000000000000001 x9 : ffffcc9642742150
[    0.048740] x8 : c0000000ffffdfff x7 : ffffcc9645221450 x6 : 00000000000affa8
[    0.048758] x5 : ffffcc96452d1498 x4 : 0000000000000000 x3 : 0000000000000000
[    0.048776] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff119d40288000
[    0.048794] Call trace:
[    0.048803]  of_bus_n_size_cells+0x90/0xf0 (P)
[    0.048817]  of_bus_n_size_cells+0x90/0xf0 (L)
[    0.048831]  of_n_size_cells+0x24/0x38
[    0.048845]  of_bus_default_count_cells+0x40/0x60
[    0.048859]  __of_get_address+0xb4/0x1c0
[    0.048872]  __of_address_to_resource+0x4c/0x198
[    0.048885]  of_address_to_resource+0x20/0x38
[    0.048899]  of_device_alloc+0x80/0x1a0
[    0.048912]  of_platform_device_create_pdata+0x5c/0x138
[    0.048928]  of_platform_bus_create+0x15c/0x398
[    0.048942]  of_platform_populate+0x58/0x110
[    0.048956]  of_platform_default_populate_init+0x98/0xf8
[    0.048970]  do_one_initcall+0x60/0x320
[    0.048983]  kernel_init_freeable+0x20c/0x420
[    0.048997]  kernel_init+0x28/0x1e8
[    0.049009]  ret_from_fork+0x10/0x20
[    0.049021] ---[ end trace 0000000000000000 ]---


-- 
Thanks,
Sasha

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ