| Message ID | 20260223-soc-of-root-v2-0-b45da45903c8@oss.qualcomm.com (mailing list archive) |
|---|---|
| Headers |
Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com
[205.220.180.131])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id AB871202F65
for <imx@lists.linux.dev>; Mon, 23 Feb 2026 13:37:43 +0000 (UTC)
Authentication-Results: smtp.subspace.kernel.org;
arc=none smtp.client-ip=205.220.180.131
ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1771853865; cv=none;
b=nf+F+MP00T3AHjSz22wuBbxZKH7YER0kKOMx+mcxK7Xr+BMLlrq6I1zTRbDhzY7tTXN+8s0zoRdRgKcdfvlLK4Lw5lR7I5hpSuD3EIbNWBv7mOecRxB2ow6JyFKxOe66dqFtCZWFBAFANgW56kWi+8Et0xujgK88si3eCVLAbbQ=
ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1771853865; c=relaxed/simple;
bh=8U1qrV9VPbA1NurePpOKrOc1y8Pp0LEFx1aO9DiJBzo=;
h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc;
b=NZQEmt5Vb2DCIWSFPAu12V1iTGsn87YcsGbdpD1jTSf7rIEtDUAjbUz7VvEIsUME+Zf3iSMlOM1qv79r54ZeiYt0sgi1kuH+9Rh+3Z+71vQpQohIGbjdSV3h7j1evYZEmlk7Rx4QIAVH/Y0yF2zylm7M5FnNUXXmPpruKMUhwyM=
ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com;
spf=pass smtp.mailfrom=oss.qualcomm.com;
dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com
header.b=CcS2jH80;
dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com
header.b=Wcu3ojdC; arc=none smtp.client-ip=205.220.180.131
Authentication-Results: smtp.subspace.kernel.org;
dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com
Authentication-Results: smtp.subspace.kernel.org;
spf=pass smtp.mailfrom=oss.qualcomm.com
Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com
header.b="CcS2jH80";
dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com
header.b="Wcu3ojdC"
Received: from pps.filterd (m0279872.ppops.net [127.0.0.1])
by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id
61NAWNMo3733304
for <imx@lists.linux.dev>; Mon, 23 Feb 2026 13:37:42 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=
cc:content-transfer-encoding:content-type:date:from:message-id
:mime-version:subject:to; s=qcppdkim1; bh=BPmaMMJCKmfQnceiVQlewf
F4pWyv++KTwwJINk8vYA0=; b=CcS2jH802qsIIJYTQKLEhIrwqr8D1QKbHK9M+T
NxhhRoqiHcBMxthLUjI2gG+s3u02zEmYYEw3hPWu84AmQv5LKwdjUeO/aQJDNnRt
1gU3quLKiTnBAl2CbmFg2N1RLGIrJe/y67bseKH0HTHwN4Tkv+Ya9LJ7H3FBu3zG
jLwxa1mg94Y2zSYcrRiSqUDAytbyJ2rGyQVqCwM70nXfNjdve/RleIsMiOdlIlEa
eiyzDSo6PlI2/v/6IyLnlj3ysVpPWy2JBNaSZ8lJILOyi554R6ZU393ewSo8AwAw
AQIB8AowMsjr2ht1polxdbIYWQvs1Rlqi3ufx8cnu6Ek5Zgg==
Received: from mail-qk1-f199.google.com (mail-qk1-f199.google.com
[209.85.222.199])
by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4cgn7t8fd8-1
(version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)
for <imx@lists.linux.dev>; Mon, 23 Feb 2026 13:37:42 +0000 (GMT)
Received: by mail-qk1-f199.google.com with SMTP id
af79cd13be357-8cb3a129cd2so5688047885a.0
for <imx@lists.linux.dev>; Mon, 23 Feb 2026 05:37:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=oss.qualcomm.com; s=google; t=1771853862; x=1772458662;
darn=lists.linux.dev;
h=cc:to:content-transfer-encoding:mime-version:message-id:date
:subject:from:from:to:cc:subject:date:message-id:reply-to;
bh=BPmaMMJCKmfQnceiVQlewfF4pWyv++KTwwJINk8vYA0=;
b=Wcu3ojdCOyUrooZKhZKjUOzK1qMxqDlFGcp8q6cIur69hKrh8H01Q/I0Z+gfw0np6C
MshVkBF2xzhA4IlPRFN8jWie1O7iJAX/uAwOmOpvQcJb0mdtbn30ScF6H0HwWpxvohPZ
VOEu+1ucMjMXBzgIAnEi4SpESKFXAJEWHWSxuDgw+wrVnhpxzX2+tBMddj8zHAk7nPd5
XzKYBVo+Emzt3psudQJFTOvhi6hz1+usxAFY0Hl0AVLoeC3yN31++eA541ppxGADLeX2
tThn+xRG/EXi0y0QvyuRIEeYH+0vLkVaQp47W7KqZyV/wzsGzrk9rAy+oESSbDcvk/Lw
Srnw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1771853862; x=1772458662;
h=cc:to:content-transfer-encoding:mime-version:message-id:date
:subject:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date
:message-id:reply-to;
bh=BPmaMMJCKmfQnceiVQlewfF4pWyv++KTwwJINk8vYA0=;
b=hfjj+ZMlF0qo40sOr5vl3NAYZD1GR3t/Fjc0wVwlI8OmoGbRlpLuc0BlCZXtGDHK/d
ZYOB1DdDQPE3EfTusQlDInvGaRh7xNed+o6Y5f5N+kwf1UsAD90bZJxqCT0We/4Rvj/W
8SRgBCzSLULnuEDJiMEZUxKEzR12djNn2X+f1EBEeWyBe+d4tzzIHYlGv8jJP7zu3GF+
56qVXa3JD90fMLtpZwdJKMskmGkYFE3UXjBgMwYlBT+c3jxpMhxWCt3/LkJWbyg1s4oQ
8S2p5yc2GAb/VREkSB7mamuDkIxZw/35g9eQsP1mvsNUvH18gbHMbL2ZGnjdi1kSSM5Z
nnWA==
X-Forwarded-Encrypted: i=1;
AJvYcCX5OM9YjjtkC0Fk1EL18nuUGKjfLxtdcBI43ZHQ2OGpdGXkTbrXva+D0Cw5i0CS7yy7jDo=@lists.linux.dev
X-Gm-Message-State: AOJu0Yx6YOO6hGK8urmzI/BoSrEkVyFYuOFM6HMhnj9ddIITnm2tCdP2
L06RydvgAG2z72gFQPy8Aiqmb8dXy8vIN2hqH4VhSiT1P/2PwCGv3TM4V6/9IVdq+KQNf0a2TQe
WBR0PceAnZIlqO5ietzhBOTCz1/WnM9hiVTS2fNpn/Lvq8jIWBQllCqo=
X-Gm-Gg: AZuq6aL6uIBBMNPEg/GNJJkAm+nT4/KwFbwvzCrM3zxwhvJe9P7EWqRvghtDfyt+pmF
li3oRWcftOVOLk6n9pa3fvEa7fi/n6aFd8KcsFWL8XRP3c3lTmIHsBY8ehbgy37aOa/mro8H/FW
oJleVuJNMvGScS5ZKy7GzGbsS6KrjgqkuMisWNVi2awQrFtF+gsukZ4EH6x7iPa5VGgrhTlEaYq
7/VvqPFB18MnUvL4FrVEHWZVV4JRsBdfkfVG05xFPTgeGN/DFDATMMPdDJ69vhFwQQ5lutJ6m3a
pOrmQ8VRAJuaOS5nMQTHZdJFIv2WeK2lYhTDsoGWURRPoYEzLlANfRKxOYE1jfDlfQB8+5YJD/B
6t92x0xCv1xxIobzt8M2Z6pVjaKNYSrb9XADK5gPl4CmhzsRk4Tg=
X-Received: by 2002:a05:620a:a1d6:20b0:8c9:eee0:db94 with SMTP id
af79cd13be357-8cb7bfe78eemr1160537385a.31.1771853861912;
Mon, 23 Feb 2026 05:37:41 -0800 (PST)
X-Received: by 2002:a05:620a:a1d6:20b0:8c9:eee0:db94 with SMTP id
af79cd13be357-8cb7bfe78eemr1160534485a.31.1771853861406;
Mon, 23 Feb 2026 05:37:41 -0800 (PST)
Received: from brgl-qcom.local ([2a01:cb1d:dc:7e00:3fa4:55d7:7aa4:50d6])
by smtp.gmail.com with ESMTPSA id
5b1f17b1804b1-483a42ea5ccsm89398715e9.16.2026.02.23.05.37.39
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Mon, 23 Feb 2026 05:37:40 -0800 (PST)
From: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Subject: [PATCH v2 0/9] soc: remove direct accesses to of_root from
drivers/soc/
Date: Mon, 23 Feb 2026 14:37:15 +0100
Message-Id: <20260223-soc-of-root-v2-0-b45da45903c8@oss.qualcomm.com>
Precedence: bulk
X-Mailing-List: imx@lists.linux.dev
List-Id: <imx.lists.linux.dev>
List-Subscribe: <mailto:imx+subscribe@lists.linux.dev>
List-Unsubscribe: <mailto:imx+unsubscribe@lists.linux.dev>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
X-B4-Tracking: v=1; b=H4sIAAtYnGkC/22MQQ6CMBBFr0Jm7ZC2IgVX3sOwqLWVJsJoBxsN6
d2trN385P3kvRXYxeAYjtUK0aXAgeYCaleBHc18cxiuhUEJ1Qope2SySB4j0YJa2661h0ZI4aE
Yj+h8eG+181B4DLxQ/GzxJH/v/06SKHCvjPCmN7q7NCdirp8vc7c0TXUZGHLOX4FjjF2tAAAA
X-Change-ID: 20260119-soc-of-root-77c86c54010f
To: Rob Herring <robh@kernel.org>, Saravana Kannan <saravanak@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Danilo Krummrich <dakr@kernel.org>,
"Christophe Leroy (CS GROUP)" <chleroy@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
Geert Uytterhoeven <geert+renesas@glider.be>,
Magnus Damm <magnus.damm@gmail.com>, Chen-Yu Tsai <wens@kernel.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>, Frank Li <Frank.Li@nxp.com>
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org,
imx@lists.linux.dev, linux-renesas-soc@vger.kernel.org,
linux-sunxi@lists.linux.dev, driver-core@lists.linux.dev,
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>,
Peng Fan <peng.fan@nxp.com>
X-Mailer: b4 0.14.2
X-Developer-Signature: v=1; a=openpgp-sha256; l=2582;
i=bartosz.golaszewski@oss.qualcomm.com; h=from:subject:message-id;
bh=8U1qrV9VPbA1NurePpOKrOc1y8Pp0LEFx1aO9DiJBzo=;
b=owEBbQKS/ZANAwAKAQWdLsv/NoTDAcsmYgBpnFgVUenh9qw3oSpou3F8KSCFXav2bvcRiege3
sGVJWni6mSJAjMEAAEKAB0WIQSR5RMt5bVGHXuiZfwFnS7L/zaEwwUCaZxYFQAKCRAFnS7L/zaE
w5uXD/9yJoDbzqFe8HN69sZX6yHCeFb24ey9/QRxDPVxBDUzo/mC1CmWvU9maHjuUi2DhsZqteY
vVFK/mvqS21ADpPY9IZMhs9bAmGazA5FS6vLdUNPVB4LEkay288yM5di7NV8q+nibyZUd+hsN7V
X16nMjmBSYZQcTGiOzDHPBzeSgdWvaMLE3VaEh/A9eFmK4duP55S2ax2luP0asf4iUjas6/ENcc
kLL8b5IE8GN38bvLejihYDytXYJTc3u1PGWEeZF4cfzmOXpPEd07oJp0xSx8/+OLRylFE69VXH1
8LAwgPhQSnLbfXneimOOuBt62w9ZnCRFc4hMTIju6Kt4wcigTjzSECjR4kbedSz7coD6p8e7bxj
CzFz+qCGHaam/FvGnBRN8pDaB4hz0RbNofKeXNlBhJlVpAr0G3X+SYpxc0oHh5sRcSNu2stBssc
FlqN7icTX1KQnCpSbzrB1rE+vXwxe0uBbzuSj7DaEzGdJmDJXx3ars6mFSunWmWbPUr8x3fsieX
p/iTxe7StpSNuiucKFnJNzAaPYri1PyLu0BQA8gV5IIZ09OKvMPzXe4pLTe5iL9rZQPda+m7wuT
rEx+R8qYrAT+W/In7OB3eZuTsNFHzTwavJjw1XOfN7LTRrKIPlvd8OxtwgVlbnz+AXam9TwfM8d
qTt/p/Jo5DS26nw==
X-Developer-Key: i=bartosz.golaszewski@oss.qualcomm.com; a=openpgp;
fpr=169DEB6C0BC3C46013D2C79F11A72EA01471D772
X-Authority-Analysis: v=2.4 cv=c5OmgB9l c=1 sm=1 tr=0 ts=699c5826 cx=c_pps
a=HLyN3IcIa5EE8TELMZ618Q==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10
a=HzLeVaNsDn8A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22
a=u7WPNUs3qKkmUXheDGA7:22 a=yx91gb_oNiZeI1HMLzn7:22 a=VwQbUJbxAAAA:8
a=EUspDBNiAAAA:8 a=dWNf8gF45q0IjK5QRoUA:9 a=QEXdDO2ut3YA:10
a=bTQJ7kPSJx9SKPbeHEYW:22
X-Proofpoint-GUID: hTY_2LB6fJI3Lguv1HeoPObvVbT71UGa
X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMjIzMDExNyBTYWx0ZWRfX7/0+82HfT7CE
UirUyeuKE2rz7/4Rdxxqzpg6DsJrcF85jELb8g2uAqU3NorAtDOWrzd5hK0n4N4kjCLdkzuYSfO
TqzGk7LfCtFcRyN9zX+iPC2AABOD1nBQ4iTSKY4enlMJY0m+Ved30lLSKJxwtHBPFK1oZcRRbhT
CkVtX6klHn2N5yJcvGz0xFDWdlaHFgdpI5VZ70K/KgirUoUsq6z+FZ39DDAmBuhDGYVWgw4c35t
rOZX1fzDBjbje3zmud/83FbRmAb9x6rh4cFDYePkNlQbuwgPgceb0Mr5RU4oiLzNGZBJ8Hn8Jqt
VU+SB2Tamo3hfwcGS0S/l9zji9O8fUa05aqNE3Qe3lHtHt2T8CIahQsgwXf0lkVmGEbOhPNS/Ld
40jKSpbe/9ENMJS4C3ImEA3L8yJK1iW7YsQa3l0m3jGKceezzQw+5R0POvj9EfSjS5gurb/zaNV
EMSSB+RwRQoU1USSMJA==
X-Proofpoint-ORIG-GUID: hTY_2LB6fJI3Lguv1HeoPObvVbT71UGa
X-Proofpoint-Virus-Version: vendor=baseguard
engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49
definitions=2026-02-23_02,2026-02-23_02,2025-10-01_01
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0
phishscore=0 impostorscore=0 malwarescore=0 lowpriorityscore=0 adultscore=0
clxscore=1015 bulkscore=0 spamscore=0 suspectscore=0 priorityscore=1501
classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0
reason=mlx scancount=1 engine=8.22.0-2602130000 definitions=main-2602230117
Status: O
|
| Series |
soc: remove direct accesses to of_root from drivers/soc/
|
|
Message
Bartosz Golaszewski
Feb. 23, 2026, 1:37 p.m. UTC
linux/of.h declares a set of variables providing addresses of certain
key OF nodes. The pointers being variables can't profit from stubs
provided for when CONFIG_OF is disabled which means that drivers
accessing these variables can't profit from CONFIG_COMPILE_TEST=y
coverage.
There are drivers under drivers/soc/ that access the of_root node. This
series introduces new OF helpers for reading the machine compatible and
model strings, exports an existing SoC helper that reads the machine
string from the root node and finally replaces all direct accesses to
of_root with new or already existing helper functions.
Merging strategy: first two patches should be either acked by Rob or
picked up into an immutable branch based on v7.0-rc1, the rest can go
through the SoC tree.
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
---
Changes in v2:
- rename of_machine_get_compatible() to of_machine_read_compatible() and
add the index argument
- add a stub for of_machine_read_compatible() for !CONFIG_OF
- provide of_machine_read_model() to avoid having to look-up the root
node via of_find_node_by_path("/")
- rename soc_device_get_machine() to soc_attr_read_machine() before
making it an exported symbol
- Link to v1: https://lore.kernel.org/r/20260119-soc-of-root-v1-0-32a0fa9a78b4@oss.qualcomm.com
---
Bartosz Golaszewski (9):
of: provide of_machine_read_compatible()
of: provide of_machine_read_model()
base: soc: order includes alphabetically
base: soc: rename and export soc_device_get_machine()
soc: fsl: guts: don't access of_root directly
soc: imx8m: don't access of_root directly
soc: imx9: don't access of_root directly
soc: renesas: don't access of_root directly
soc: sunxi: mbus: don't access of_root directly
drivers/base/soc.c | 23 ++++++++++-------------
drivers/of/base.c | 28 ++++++++++++++++++++++++++++
drivers/soc/fsl/guts.c | 12 +++---------
drivers/soc/imx/soc-imx8m.c | 11 +++--------
drivers/soc/imx/soc-imx9.c | 4 ++--
drivers/soc/renesas/renesas-soc.c | 7 ++++++-
drivers/soc/sunxi/sunxi_mbus.c | 2 +-
include/linux/of.h | 14 ++++++++++++++
include/linux/sys_soc.h | 10 ++++++++++
9 files changed, 77 insertions(+), 34 deletions(-)
---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260119-soc-of-root-77c86c54010f
Best regards,
Comments
On Mon, Feb 23, 2026 at 02:37:15PM +0100, Bartosz Golaszewski wrote: > linux/of.h declares a set of variables providing addresses of certain > key OF nodes. The pointers being variables can't profit from stubs > provided for when CONFIG_OF is disabled which means that drivers > accessing these variables can't profit from CONFIG_COMPILE_TEST=y > coverage. > > There are drivers under drivers/soc/ that access the of_root node. This > series introduces new OF helpers for reading the machine compatible and > model strings, exports an existing SoC helper that reads the machine > string from the root node and finally replaces all direct accesses to > of_root with new or already existing helper functions. > > Merging strategy: first two patches should be either acked by Rob or > picked up into an immutable branch based on v7.0-rc1, the rest can go > through the SoC tree. SoC tree is good. > > Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> > --- > Changes in v2: > - rename of_machine_get_compatible() to of_machine_read_compatible() and > add the index argument > - add a stub for of_machine_read_compatible() for !CONFIG_OF > - provide of_machine_read_model() to avoid having to look-up the root > node via of_find_node_by_path("/") > - rename soc_device_get_machine() to soc_attr_read_machine() before > making it an exported symbol > - Link to v1: https://lore.kernel.org/r/20260119-soc-of-root-v1-0-32a0fa9a78b4@oss.qualcomm.com > > --- > Bartosz Golaszewski (9): > of: provide of_machine_read_compatible() > of: provide of_machine_read_model() > base: soc: order includes alphabetically > base: soc: rename and export soc_device_get_machine() > soc: fsl: guts: don't access of_root directly > soc: imx8m: don't access of_root directly > soc: imx9: don't access of_root directly > soc: renesas: don't access of_root directly > soc: sunxi: mbus: don't access of_root directly For all but patch 8, Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
On Tue, Feb 24, 2026 at 7:38 PM Rob Herring <robh@kernel.org> wrote: > > On Mon, Feb 23, 2026 at 02:37:15PM +0100, Bartosz Golaszewski wrote: > > linux/of.h declares a set of variables providing addresses of certain > > key OF nodes. The pointers being variables can't profit from stubs > > provided for when CONFIG_OF is disabled which means that drivers > > accessing these variables can't profit from CONFIG_COMPILE_TEST=y > > coverage. > > > > There are drivers under drivers/soc/ that access the of_root node. This > > series introduces new OF helpers for reading the machine compatible and > > model strings, exports an existing SoC helper that reads the machine > > string from the root node and finally replaces all direct accesses to > > of_root with new or already existing helper functions. > > > > Merging strategy: first two patches should be either acked by Rob or > > picked up into an immutable branch based on v7.0-rc1, the rest can go > > through the SoC tree. > > SoC tree is good. > > For all but patch 8, > > Reviewed-by: Rob Herring (Arm) <robh@kernel.org> > FYI Rob also reviewed patch 8 now. Who would pick the patches up? Greg KH? There does not seem to be a centralized SoC maintainer in MAINTAINERS? Bart
On Thu, Feb 26, 2026 at 10:28:26AM +0100, Bartosz Golaszewski wrote: > On Tue, Feb 24, 2026 at 7:38 PM Rob Herring <robh@kernel.org> wrote: > > > > On Mon, Feb 23, 2026 at 02:37:15PM +0100, Bartosz Golaszewski wrote: > > > linux/of.h declares a set of variables providing addresses of certain > > > key OF nodes. The pointers being variables can't profit from stubs > > > provided for when CONFIG_OF is disabled which means that drivers > > > accessing these variables can't profit from CONFIG_COMPILE_TEST=y > > > coverage. > > > > > > There are drivers under drivers/soc/ that access the of_root node. This > > > series introduces new OF helpers for reading the machine compatible and > > > model strings, exports an existing SoC helper that reads the machine > > > string from the root node and finally replaces all direct accesses to > > > of_root with new or already existing helper functions. > > > > > > Merging strategy: first two patches should be either acked by Rob or > > > picked up into an immutable branch based on v7.0-rc1, the rest can go > > > through the SoC tree. > > > > SoC tree is good. > > > > For all but patch 8, > > > > Reviewed-by: Rob Herring (Arm) <robh@kernel.org> > > > > FYI Rob also reviewed patch 8 now. Who would pick the patches up? Greg > KH? There does not seem to be a centralized SoC maintainer in > MAINTAINERS? Sure, let me take them now, thanks. greg k-h
On Thu, 12 Mar 2026 16:18:38 +0100, Greg Kroah-Hartman <gregkh@linuxfoundation.org> said: > On Thu, Feb 26, 2026 at 10:28:26AM +0100, Bartosz Golaszewski wrote: >> On Tue, Feb 24, 2026 at 7:38 PM Rob Herring <robh@kernel.org> wrote: >> > >> > On Mon, Feb 23, 2026 at 02:37:15PM +0100, Bartosz Golaszewski wrote: >> > > linux/of.h declares a set of variables providing addresses of certain >> > > key OF nodes. The pointers being variables can't profit from stubs >> > > provided for when CONFIG_OF is disabled which means that drivers >> > > accessing these variables can't profit from CONFIG_COMPILE_TEST=y >> > > coverage. >> > > >> > > There are drivers under drivers/soc/ that access the of_root node. This >> > > series introduces new OF helpers for reading the machine compatible and >> > > model strings, exports an existing SoC helper that reads the machine >> > > string from the root node and finally replaces all direct accesses to >> > > of_root with new or already existing helper functions. >> > > >> > > Merging strategy: first two patches should be either acked by Rob or >> > > picked up into an immutable branch based on v7.0-rc1, the rest can go >> > > through the SoC tree. >> > >> > SoC tree is good. >> > >> > For all but patch 8, >> > >> > Reviewed-by: Rob Herring (Arm) <robh@kernel.org> >> > >> >> FYI Rob also reviewed patch 8 now. Who would pick the patches up? Greg >> KH? There does not seem to be a centralized SoC maintainer in >> MAINTAINERS? > > Sure, let me take them now, thanks. > > greg k-h > In the meantime Geert sent an alternative to patch 8/9 so this single one can be dropped from the series. Thanks, Bartosz
On Fri, Mar 13, 2026 at 01:36:49AM -0700, Bartosz Golaszewski wrote: > On Thu, 12 Mar 2026 16:18:38 +0100, Greg Kroah-Hartman > <gregkh@linuxfoundation.org> said: > > On Thu, Feb 26, 2026 at 10:28:26AM +0100, Bartosz Golaszewski wrote: > >> On Tue, Feb 24, 2026 at 7:38 PM Rob Herring <robh@kernel.org> wrote: > >> > > >> > On Mon, Feb 23, 2026 at 02:37:15PM +0100, Bartosz Golaszewski wrote: > >> > > linux/of.h declares a set of variables providing addresses of certain > >> > > key OF nodes. The pointers being variables can't profit from stubs > >> > > provided for when CONFIG_OF is disabled which means that drivers > >> > > accessing these variables can't profit from CONFIG_COMPILE_TEST=y > >> > > coverage. > >> > > > >> > > There are drivers under drivers/soc/ that access the of_root node. This > >> > > series introduces new OF helpers for reading the machine compatible and > >> > > model strings, exports an existing SoC helper that reads the machine > >> > > string from the root node and finally replaces all direct accesses to > >> > > of_root with new or already existing helper functions. > >> > > > >> > > Merging strategy: first two patches should be either acked by Rob or > >> > > picked up into an immutable branch based on v7.0-rc1, the rest can go > >> > > through the SoC tree. > >> > > >> > SoC tree is good. > >> > > >> > For all but patch 8, > >> > > >> > Reviewed-by: Rob Herring (Arm) <robh@kernel.org> > >> > > >> > >> FYI Rob also reviewed patch 8 now. Who would pick the patches up? Greg > >> KH? There does not seem to be a centralized SoC maintainer in > >> MAINTAINERS? > > > > Sure, let me take them now, thanks. > > > > greg k-h > > > > In the meantime Geert sent an alternative to patch 8/9 so this single one can > be dropped from the series. Ick, ok, I've now dropped that one commit from the tree. thanks, greg k-h