From: Sven Peter <sven@kernel.org>
To: Robin Murphy <robin.murphy@arm.com>
Cc: asahi@lists.linux.dev, "Stephen Boyd" <sboyd@kernel.org>,
"Alyssa Rosenzweig" <alyssa@rosenzweig.io>,
"Janne Grunau" <j@jannau.net>,
linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org,
"Srinivas Kandagatla" <srini@kernel.org>,
linux-kernel@vger.kernel.org,
"Viresh Kumar" <viresh.kumar@linaro.org>,
"Neal Gompa" <neal@gompa.dev>,
linux-clk@vger.kernel.org, "Arnd Bergmann" <arnd@arndb.de>,
linux-i2c@vger.kernel.org, "Takashi Iwai" <tiwai@suse.com>,
"Liam Girdwood" <lgirdwood@gmail.com>,
"Martin Povišer" <povik+lin@cutebit.org>,
"Joerg Roedel" <joro@8bytes.org>,
"Rafael J. Wysocki" <rafael@kernel.org>,
"Jaroslav Kysela" <perex@perex.cz>,
"Mark Brown" <broonie@kernel.org>,
iommu@lists.linux.dev, linux-input@vger.kernel.org,
dmaengine@vger.kernel.org, linux-sound@vger.kernel.org,
"Vinod Koul" <vkoul@kernel.org>,
"Dmitry Torokhov" <dmitry.torokhov@gmail.com>,
"Ulf Hansson" <ulf.hansson@linaro.org>,
"Michael Turquette" <mturquette@baylibre.com>,
"Andi Shyti" <andi.shyti@kernel.org>,
"Will Deacon" <will@kernel.org>
Subject: Re: [PATCH 11/11] arm64: defconfig: Enable Apple Silicon drivers
Date: Sat, 21 Jun 2025 18:01:33 +0200 [thread overview]
Message-ID: <d5a616f3-67a3-4504-904e-6cec503ab157@kernel.org> (raw)
In-Reply-To: <2e022f4e-4c87-4da1-9d02-f7a3ae7c5798@arm.com>
On 13.06.25 18:50, Robin Murphy wrote:
> On 2025-06-12 10:11 pm, Sven Peter wrote:
>> Enable drivers for hardware present on Apple Silicon machines.
>> The power domain and interrupt driver should be built-it since these are
>> critical for the system to boot, the rest can be build as modules.
>
> Nit: I'd be tempted to put this patch first, just in case anyone
> bisecting with "make defconfig" in their process lands in the middle and
> suddenly loses some drivers (although arguably them going from "=y" to
> "=m" could still be a surprise, but at least a bit less so).
Ah, that's a good point that I hadn't even thought about.
Now that most of these have already been merged into different trees
that ship has sailed though.
>
> [...]
>> @@ -1504,6 +1520,7 @@ CONFIG_ARCH_TEGRA_194_SOC=y
>> CONFIG_ARCH_TEGRA_234_SOC=y
>> CONFIG_TI_PRUSS=m
>> CONFIG_OWL_PM_DOMAINS=y
>> +CONFIG_APPLE_PMGR_PWRSTATE=y
>
> If this is critical for any Apple platform to work then it would
> probably make sense to explicitly select it from ARCH_APPLE, as is done
> for APPLE_AIC...
Documentation/kbuild/kconfig-language.rst:
select should be used with care. select will force a symbol to a value
without visiting the dependencies. By abusing select you are able to
select a symbol FOO even if FOO depends on BAR that is not set. In
general use select only for non-visible symbols (no prompts anywhere)
and for symbols with no dependencies. That will limit the usefulness
but on the other hand avoid the illegal configurations all over.
That's probably fine for APPLE_AIC which only depends on ARM64 (and
ARCH_APPLE) which is guaranteed to be set when ARCH_APPLE is set anyway.
APPLE_PMGR_PWRSTATE also has an additional dependency on PM so it should
probably remain in defconfig and not use select.
>> CONFIG_RASPBERRYPI_POWER=y
>> CONFIG_IMX_SCU_PD=y
>> CONFIG_QCOM_CPR=y
>> @@ -1567,6 +1584,7 @@ CONFIG_QCOM_PDC=y
>> CONFIG_QCOM_MPM=y
>> CONFIG_TI_SCI_INTR_IRQCHIP=y
>> CONFIG_TI_SCI_INTA_IRQCHIP=y
>> +CONFIG_APPLE_AIC=y
>
> ...which I think means this would already be redundant.
Yup, this can be dropped.
Thanks,
Sven
next prev parent reply other threads:[~2025-06-21 16:01 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-06-12 21:11 [PATCH 00/11] Drop default ARCH_APPLE from Kconfig and use defconfig instead Sven Peter
2025-06-12 21:11 ` [PATCH 01/11] pmdomain: apple: Drop default ARCH_APPLE in Kconfig Sven Peter
2025-06-18 12:56 ` Ulf Hansson
2025-06-12 21:11 ` [PATCH 02/11] soc: " Sven Peter
2025-06-12 21:11 ` [PATCH 03/11] clk: apple-nco: " Sven Peter
2025-06-19 19:51 ` Stephen Boyd
2025-06-12 21:11 ` [PATCH 04/11] nvmem: apple: drop " Sven Peter
2025-06-12 21:11 ` [PATCH 05/11] i2c: apple: Drop " Sven Peter
2025-08-03 20:40 ` Wolfram Sang
2025-06-12 21:11 ` [PATCH 06/11] cpufreq: apple: drop " Sven Peter
2025-06-19 5:35 ` Viresh Kumar
2025-06-12 21:11 ` [PATCH 07/11] iommu/apple-dart: Drop " Sven Peter
2025-06-13 16:55 ` Robin Murphy
2025-06-27 7:00 ` Joerg Roedel
2025-06-12 21:11 ` [PATCH 08/11] Input: apple_z2: " Sven Peter
2025-06-17 22:18 ` Dmitry Torokhov
2025-06-12 21:11 ` [PATCH 09/11] dmaengine: apple-admac: " Sven Peter
2025-06-12 21:11 ` [PATCH 10/11] ASoC: apple: mca: " Sven Peter
2025-06-12 21:11 ` [PATCH 11/11] arm64: defconfig: Enable Apple Silicon drivers Sven Peter
2025-06-13 15:44 ` Nick Chan
2025-06-13 16:50 ` Robin Murphy
2025-06-21 16:01 ` Sven Peter [this message]
2025-06-23 11:33 ` Robin Murphy
2025-06-13 7:34 ` [PATCH 00/11] Drop default ARCH_APPLE from Kconfig and use defconfig instead Janne Grunau
2025-06-14 11:12 ` (subset) " Mark Brown
2025-06-17 17:29 ` Vinod Koul
2025-06-22 9:13 ` Sven Peter
2025-06-27 10:49 ` Srinivas Kandagatla
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=d5a616f3-67a3-4504-904e-6cec503ab157@kernel.org \
--to=sven@kernel.org \
--cc=alyssa@rosenzweig.io \
--cc=andi.shyti@kernel.org \
--cc=arnd@arndb.de \
--cc=asahi@lists.linux.dev \
--cc=broonie@kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=dmitry.torokhov@gmail.com \
--cc=iommu@lists.linux.dev \
--cc=j@jannau.net \
--cc=joro@8bytes.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=neal@gompa.dev \
--cc=perex@perex.cz \
--cc=povik+lin@cutebit.org \
--cc=rafael@kernel.org \
--cc=robin.murphy@arm.com \
--cc=sboyd@kernel.org \
--cc=srini@kernel.org \
--cc=tiwai@suse.com \
--cc=ulf.hansson@linaro.org \
--cc=viresh.kumar@linaro.org \
--cc=vkoul@kernel.org \
--cc=will@kernel.org \
/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