From: Randy Dunlap <rdunlap@infradead.org> To: Arnd Bergmann <arnd@arndb.de>, Arnd Bergmann <arnd@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, sparclinux <sparclinux@vger.kernel.org> Cc: linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] soc: sunxi: select CONFIG_PM Date: Sat, 4 Feb 2023 08:54:19 -0800 [thread overview] Message-ID: <2d9a36e7-4518-a23f-9f0c-84b830e57d51@infradead.org> (raw) In-Reply-To: <e2c5a0db-aa25-496c-9a5e-4e996d908dc9@app.fastmail.com> On 2/4/23 02:38, Arnd Bergmann wrote: > On Sat, Feb 4, 2023, at 08:47, Randy Dunlap wrote: >> On 1/30/23 05:04, Arnd Bergmann wrote: >> >> Apparently sparc32 does not support PM (arch/sparc/Kconfig): >> >> if SPARC64 >> source "kernel/power/Kconfig" >> endif >> >> so I think that SUN20I_PPU should also depend on !SPARC32. >> Does that make sense? > > I would suggest working around this in arch/sparc/ instead > of every driver that uses 'select PM', perhaps something like > > --- a/arch/sparc/Kconfig > +++ b/arch/sparc/Kconfig > @@ -283,7 +283,7 @@ config ARCH_FORCE_MAX_ORDER > This config option is actually maximum order plus one. For example, > a value of 13 means that the largest free memory block is 2^12 pages. > > -if SPARC64 > +if SPARC64 || COMPILE_TEST > source "kernel/power/Kconfig" > endif > That looks good. Thanks. > The issue does not happen anywhere else, as it's fine if > kernel/power/Kconfig is not included at all. I'm also not too > worried about random sparc32 configs since it's pretty much impossible > to build a sparc32 allmodconfig or randconfig, with all the other > bugs that runs into. OK/ack. -- ~Randy
WARNING: multiple messages have this Message-ID (diff)
From: Randy Dunlap <rdunlap@infradead.org> To: Arnd Bergmann <arnd@arndb.de>, Arnd Bergmann <arnd@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, sparclinux <sparclinux@vger.kernel.org> Cc: linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] soc: sunxi: select CONFIG_PM Date: Sat, 4 Feb 2023 08:54:19 -0800 [thread overview] Message-ID: <2d9a36e7-4518-a23f-9f0c-84b830e57d51@infradead.org> (raw) In-Reply-To: <e2c5a0db-aa25-496c-9a5e-4e996d908dc9@app.fastmail.com> On 2/4/23 02:38, Arnd Bergmann wrote: > On Sat, Feb 4, 2023, at 08:47, Randy Dunlap wrote: >> On 1/30/23 05:04, Arnd Bergmann wrote: >> >> Apparently sparc32 does not support PM (arch/sparc/Kconfig): >> >> if SPARC64 >> source "kernel/power/Kconfig" >> endif >> >> so I think that SUN20I_PPU should also depend on !SPARC32. >> Does that make sense? > > I would suggest working around this in arch/sparc/ instead > of every driver that uses 'select PM', perhaps something like > > --- a/arch/sparc/Kconfig > +++ b/arch/sparc/Kconfig > @@ -283,7 +283,7 @@ config ARCH_FORCE_MAX_ORDER > This config option is actually maximum order plus one. For example, > a value of 13 means that the largest free memory block is 2^12 pages. > > -if SPARC64 > +if SPARC64 || COMPILE_TEST > source "kernel/power/Kconfig" > endif > That looks good. Thanks. > The issue does not happen anywhere else, as it's fine if > kernel/power/Kconfig is not included at all. I'm also not too > worried about random sparc32 configs since it's pretty much impossible > to build a sparc32 allmodconfig or randconfig, with all the other > bugs that runs into. OK/ack. -- ~Randy _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2023-02-04 16:54 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-01-30 13:04 [PATCH] soc: sunxi: select CONFIG_PM Arnd Bergmann 2023-01-30 13:04 ` Arnd Bergmann 2023-01-30 21:18 ` Jernej Škrabec 2023-01-30 21:18 ` Jernej Škrabec 2023-01-30 21:24 ` Arnd Bergmann 2023-01-30 21:24 ` Arnd Bergmann 2023-02-04 7:47 ` Randy Dunlap 2023-02-04 7:47 ` Randy Dunlap 2023-02-04 10:38 ` Arnd Bergmann 2023-02-04 10:38 ` Arnd Bergmann 2023-02-04 16:54 ` Randy Dunlap [this message] 2023-02-04 16:54 ` Randy Dunlap
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=2d9a36e7-4518-a23f-9f0c-84b830e57d51@infradead.org \ --to=rdunlap@infradead.org \ --cc=arnd@arndb.de \ --cc=arnd@kernel.org \ --cc=jernej.skrabec@gmail.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-sunxi@lists.linux.dev \ --cc=samuel@sholland.org \ --cc=sparclinux@vger.kernel.org \ --cc=wens@csie.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: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.