Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Hongmei Xu" <hongmei.xu@oss.qualcomm.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v5 4/5] arm64: defconfig: enable NVMEM_LAYOUT_QCOM_ETH_MAC
Date: Fri, 04 Dec 2026 06:30:03 +0000	[thread overview]
Message-ID: <sashiko-outbox-249228@kernel.org> (raw)
In-Reply-To: <20261204-nvmem-byte-mask-for-split-macaddr-v5-4-13c12a99383f@oss.qualcomm.com>

Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Low] arm64: defconfig: enable NVMEM_LAYOUT_QCOM_ETH_MAC as module
  instead of y
- [Low] arm64: defconfig: NVMEM_LAYOUT_QCOM_ETH_MAC out of savedefconfig
  order
--

commit 95a7c71fcd811c52dbc5f369086db485010b7e63
Author: Hongmei Xu <hongmei.xu@oss.qualcomm.com>

arm64: defconfig: enable NVMEM_LAYOUT_QCOM_ETH_MAC

This commit enables CONFIG_NVMEM_LAYOUT_QCOM_ETH_MAC as built-in in the
arm64 defconfig.

> diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
> index 7b4985b29b21c..f7355450f22e8 100644
> --- a/arch/arm64/configs/defconfig
> +++ b/arch/arm64/configs/defconfig
> @@ -1728,6 +1728,7 @@ CONFIG_NVMEM_IMX_OCOTP=y
>  CONFIG_NVMEM_IMX_OCOTP_ELE=m
>  CONFIG_NVMEM_IMX_OCOTP_SCU=y
>  CONFIG_NVMEM_LAYERSCAPE_SFP=m
> +CONFIG_NVMEM_LAYOUT_QCOM_ETH_MAC=y
>  CONFIG_NVMEM_MESON_EFUSE=m
>  CONFIG_NVMEM_MTK_EFUSE=y
>  CONFIG_NVMEM_QCOM_QFPROM=y

[Severity: Low]
Should CONFIG_NVMEM_LAYOUT_QCOM_ETH_MAC be enabled as a module (=m) instead
of built-in (=y)?

The driver is tristate, its Qualcomm Ethernet consumers (CONFIG_QCOM_EMAC=m
and CONFIG_STMMAC_ETH=m) and CONFIG_NVMEM_LAYOUT_SL28_VPD=m are modules, and
the NVMEM core supports modular layouts via autoloading and probe deferral.
Building it in unnecessarily increases the arm64 kernel image size.

[Severity: Low]
Is CONFIG_NVMEM_LAYOUT_QCOM_ETH_MAC in savedefconfig order here?

drivers/nvmem/Kconfig sources drivers/nvmem/layouts/Kconfig before the NVMEM
device drivers, so make ARCH=arm64 savedefconfig will move this entry
directly after CONFIG_NVMEM_LAYOUT_SL28_VPD=m (before
CONFIG_NVMEM_APPLE_EFUSES=m), causing churn on future defconfig updates.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-nvmem-byte-mask-for-split-macaddr-v5-0-13c12a99383f@oss.qualcomm.com?part=4

  reply	other threads:[~2026-12-04  6:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-04  6:22 [PATCH v5 0/5] nvmem: add Qualcomm eFuse Ethernet MAC address layout driver Hongmei Xu
2026-12-04  6:22 ` [PATCH v5 1/5] dt-bindings: nvmem: layouts: add Qualcomm eFuse Ethernet MAC layout Hongmei Xu
2026-12-04  6:40   ` sashiko-bot
2026-12-04  6:22 ` [PATCH v5 2/5] nvmem: layouts: add Qualcomm eFuse Ethernet MAC address layout driver Hongmei Xu
2026-12-04  6:22 ` [PATCH v5 3/5] MAINTAINERS: add entry for Qualcomm Ethernet MAC nvmem " Hongmei Xu
2026-12-04  6:22 ` [PATCH v5 4/5] arm64: defconfig: enable NVMEM_LAYOUT_QCOM_ETH_MAC Hongmei Xu
2026-12-04  6:30   ` sashiko-bot [this message]
2026-12-04  6:22 ` [PATCH v5 5/5] arm64: dts: qcom: Add eFuse nvmem cells for Ethernet MAC addresses Hongmei Xu
2026-12-04  6:43   ` sashiko-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-249228@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=hongmei.xu@oss.qualcomm.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox