[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNAT9EU1ZAUh9SAEQ4Ar5LY-wUstaCjGLt7=Kr=uJMNfJvQ@mail.gmail.com>
Date: Mon, 29 Jul 2024 16:35:48 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: Rong Xu <xur@...gle.com>, Han Shen <shenhan@...gle.com>,
Sriraman Tallam <tmsriram@...gle.com>, David Li <davidxl@...gle.com>,
Jonathan Corbet <corbet@....net>, Nathan Chancellor <nathan@...nel.org>, Nicolas Schier <nicolas@...sle.eu>,
Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
"H. Peter Anvin" <hpa@...or.com>, Ard Biesheuvel <ardb@...nel.org>, Josh Poimboeuf <jpoimboe@...nel.org>,
Peter Zijlstra <peterz@...radead.org>, Nick Desaulniers <ndesaulniers@...gle.com>,
Bill Wendling <morbo@...gle.com>, Justin Stitt <justinstitt@...gle.com>,
Vegard Nossum <vegard.nossum@...cle.com>, John Moon <john@...on.dev>,
Andrew Morton <akpm@...ux-foundation.org>, Heiko Carstens <hca@...ux.ibm.com>,
Luis Chamberlain <mcgrof@...nel.org>, Samuel Holland <samuel.holland@...ive.com>,
Mike Rapoport <rppt@...nel.org>, "Paul E. McKenney" <paulmck@...nel.org>, Rafael Aquini <aquini@...hat.com>,
Petr Pavlu <petr.pavlu@...e.com>, Eric DeVolder <eric.devolder@...cle.com>,
Bjorn Helgaas <bhelgaas@...gle.com>, Randy Dunlap <rdunlap@...radead.org>,
Benjamin Segall <bsegall@...gle.com>, Breno Leitao <leitao@...ian.org>,
Wei Yang <richard.weiyang@...il.com>, Brian Gerst <brgerst@...il.com>,
Juergen Gross <jgross@...e.com>, Palmer Dabbelt <palmer@...osinc.com>,
Alexandre Ghiti <alexghiti@...osinc.com>, Kees Cook <kees@...nel.org>,
Sami Tolvanen <samitolvanen@...gle.com>, Xiao W Wang <xiao.w.wang@...el.com>,
Jan Kiszka <jan.kiszka@...mens.com>, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org,
linux-efi@...r.kernel.org, Linux-Arch <linux-arch@...r.kernel.org>,
llvm@...ts.linux.dev, Krzysztof Pszeniczny <kpszeniczny@...gle.com>,
Stephane Eranian <eranian@...gle.com>
Subject: Re: [PATCH 6/6] Add Propeller configuration for kernel build.
On Mon, Jul 29, 2024 at 4:02 PM Arnd Bergmann <arnd@...db.de> wrote:
>
> On Sun, Jul 28, 2024, at 22:29, Rong Xu wrote:
> > Documentation/dev-tools/index.rst | 1 +
> > Documentation/dev-tools/propeller.rst | 188 ++++++++++++++++++++++++++
> > MAINTAINERS | 7 +
> > Makefile | 1 +
> > arch/Kconfig | 22 +++
> > arch/x86/Kconfig | 1 +
> > arch/x86/boot/compressed/Makefile | 3 +
> > arch/x86/kernel/vmlinux.lds.S | 4 +
> > arch/x86/platform/efi/Makefile | 1 +
> > drivers/firmware/efi/libstub/Makefile | 2 +
> > include/asm-generic/vmlinux.lds.h | 8 +-
> > scripts/Makefile.lib | 10 ++
> > scripts/Makefile.propeller | 25 ++++
> > tools/objtool/check.c | 1 +
>
> I have not looked in much detail, but I see that you need
> a special case for arch/x86/boot/compressed and
> drivers/firmware/efi, which makes it likely that you
> need to also disable properller support for
> arch/x86/purgatory/Makefile, which tends to have similar
> requirements.
>
> Arnd
I applied the following commits:
- 9c2d1328f88adb6cbfb218163623254b96f680d3
- 7f7f6f7ad654b326897c9f54438a06f03454bd0d
This might be another case to apply a similar approach
instead of sprinkling PROPELLER__PROFILE=n.
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists