From: Catalin Marinas <catalin.marinas@arm•com>
To: Arnd Bergmann <arnd@kernel•org>
Cc: linux-fbdev@vger•kernel.org, x86@kernel•org,
linux-ia64@vger•kernel.org, linux-sh@vger•kernel.org,
Linus Walleij <linus.walleij@linaro•org>,
Dave Hansen <dave.hansen@linux•intel.com>,
linux-hyperv@vger•kernel.org, dri-devel@lists•freedesktop.org,
Russell King <linux@armlinux•org.uk>,
Max Filippov <jcmvbkbc@gmail•com>, Will Deacon <will@kernel•org>,
linux-efi@vger•kernel.org, Guo Ren <guoren@kernel•org>,
linux-csky@vger•kernel.org, sparclinux@vger•kernel.org,
linux-hexagon@vger•kernel.org, WANG Xuerui <kernel@xen0n•name>,
"K. Y. Srinivasan" <kys@microsoft•com>,
David Airlie <airlied@gmail•com>,
Ard Biesheuvel <ardb@kernel•org>, Wei Liu <wei.liu@kernel•org>,
Helge Deller <deller@gmx•de>, Huacai Chen <chenhuacai@kernel•org>,
Dexuan Cui <decui@microsoft•com>,
Javier Martinez Canillas <javierm@redhat•com>,
Deepak Rawat <drawat.floss@gmail•com>,
Ingo Molnar <mingo@redhat•com>, Matt Turner <mattst88@gmail•com>,
linux-mips@vger•kernel.org,
Thomas Zimmermann <tzimmermann@suse•de>,
Arnd Be rgmann <arnd@arndb•de>,
Haiyang Zhang <haiyangz@microsoft•com>,
Nicholas Piggin <npiggin@gmail•com>,
Borislav Petkov <bp@alien8•de>,
loongarch@lists•linux.dev,
John Paul Adrian Glaubitz <glaubitz@physik•fu-berlin.de>,
Thomas Gleixner <tglx@linutronix•de>,
linux-arm-kernel@lists•infradead.org,
Khalid Aziz <khalid@gonehiking•org>,
Brian Cain <bcain@quicinc•com>,
Thomas Bogendoerfer <tsbogend@alpha•franken.de>,
Greg Kroah-Hartman <gregkh@linuxfoundation•org>,
linux-kernel@vger•kernel.org, Dinh Nguyen <dinguyen@kernel•org>,
linux-riscv@lists•infradead.org,
Palmer Dabbelt <palmer@dabbelt•com>,
Daniel Vetter <daniel@ffwll•ch>,
linux-alpha@vger•kernel.org, linuxppc-dev@lists•ozlabs.org,
"David S. Miller" <davem@davemloft•net>
Subject: Re: [PATCH v3 9/9] efi: move screen_info into efi init code
Date: Tue, 10 Oct 2023 10:39:13 +0100 [thread overview]
Message-ID: <ZSUbwXQCVmuehlKS@arm.com> (raw)
In-Reply-To: <20231009211845.3136536-10-arnd@kernel.org>
On Mon, Oct 09, 2023 at 11:18:45PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb•de>
>
> After the vga console no longer relies on global screen_info, there are
> only two remaining use cases:
>
> - on the x86 architecture, it is used for multiple boot methods
> (bzImage, EFI, Xen, kexec) to commucate the initial VGA or framebuffer
> settings to a number of device drivers.
>
> - on other architectures, it is only used as part of the EFI stub,
> and only for the three sysfb framebuffers (simpledrm, simplefb, efifb).
>
> Remove the duplicate data structure definitions by moving it into the
> efi-init.c file that sets it up initially for the EFI case, leaving x86
> as an exception that retains its own definition for non-EFI boots.
>
> The added #ifdefs here are optional, I added them to further limit the
> reach of screen_info to configurations that have at least one of the
> users enabled.
>
> Reviewed-by: Ard Biesheuvel <ardb@kernel•org>
> Reviewed-by: Javier Martinez Canillas <javierm@redhat•com>
> Acked-by: Helge Deller <deller@gmx•de>
> Signed-off-by: Arnd Bergmann <arnd@arndb•de>
> ---
> arch/arm/kernel/setup.c | 4 ----
> arch/arm64/kernel/efi.c | 4 ----
> arch/arm64/kernel/image-vars.h | 2 ++
It's more Ard's thing and he reviewed it already but if you need another
ack:
Acked-by: Catalin Marinas <catalin.marinas@arm•com>
next prev parent reply other threads:[~2023-10-10 9:39 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-09 21:18 [PATCH v3 0/9] video: screen_info cleanups Arnd Bergmann
2023-10-09 21:18 ` [PATCH v3 1/9] vgacon: rework Kconfig dependencies Arnd Bergmann
2023-10-10 10:26 ` Geert Uytterhoeven
2023-10-09 21:18 ` [PATCH v3 2/9] vgacon: rework screen_info #ifdef checks Arnd Bergmann
2023-10-09 21:18 ` [PATCH v3 3/9] dummycon: limit Arm console size hack to footbridge Arnd Bergmann
2023-10-09 21:18 ` [PATCH v3 4/9] vgacon, arch/*: remove unused screen_info definitions Arnd Bergmann
2023-10-09 21:18 ` [PATCH v3 5/9] vgacon: remove screen_info dependency Arnd Bergmann
2023-10-09 21:18 ` [PATCH v3 6/9] vgacon: clean up global screen_info instances Arnd Bergmann
2023-10-09 21:18 ` [PATCH v3 7/9] vga16fb: drop powerpc support Arnd Bergmann
2023-10-09 21:18 ` [PATCH v3 8/9] hyperv: avoid dependency on screen_info Arnd Bergmann
2023-10-09 21:18 ` [PATCH v3 9/9] efi: move screen_info into efi init code Arnd Bergmann
2023-10-10 9:39 ` Catalin Marinas [this message]
2023-10-10 11:48 ` [PATCH v3 0/9] video: screen_info cleanups Daniel Vetter
2023-10-10 12:20 ` Greg Kroah-Hartman
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=ZSUbwXQCVmuehlKS@arm.com \
--to=catalin.marinas@arm$(echo .)com \
--cc=airlied@gmail$(echo .)com \
--cc=ardb@kernel$(echo .)org \
--cc=arnd@arndb$(echo .)de \
--cc=arnd@kernel$(echo .)org \
--cc=bcain@quicinc$(echo .)com \
--cc=bp@alien8$(echo .)de \
--cc=chenhuacai@kernel$(echo .)org \
--cc=daniel@ffwll$(echo .)ch \
--cc=dave.hansen@linux$(echo .)intel.com \
--cc=davem@davemloft$(echo .)net \
--cc=decui@microsoft$(echo .)com \
--cc=deller@gmx$(echo .)de \
--cc=dinguyen@kernel$(echo .)org \
--cc=drawat.floss@gmail$(echo .)com \
--cc=dri-devel@lists$(echo .)freedesktop.org \
--cc=glaubitz@physik$(echo .)fu-berlin.de \
--cc=gregkh@linuxfoundation$(echo .)org \
--cc=guoren@kernel$(echo .)org \
--cc=haiyangz@microsoft$(echo .)com \
--cc=javierm@redhat$(echo .)com \
--cc=jcmvbkbc@gmail$(echo .)com \
--cc=kernel@xen0n$(echo .)name \
--cc=khalid@gonehiking$(echo .)org \
--cc=kys@microsoft$(echo .)com \
--cc=linus.walleij@linaro$(echo .)org \
--cc=linux-alpha@vger$(echo .)kernel.org \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-csky@vger$(echo .)kernel.org \
--cc=linux-efi@vger$(echo .)kernel.org \
--cc=linux-fbdev@vger$(echo .)kernel.org \
--cc=linux-hexagon@vger$(echo .)kernel.org \
--cc=linux-hyperv@vger$(echo .)kernel.org \
--cc=linux-ia64@vger$(echo .)kernel.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-mips@vger$(echo .)kernel.org \
--cc=linux-riscv@lists$(echo .)infradead.org \
--cc=linux-sh@vger$(echo .)kernel.org \
--cc=linux@armlinux$(echo .)org.uk \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
--cc=loongarch@lists$(echo .)linux.dev \
--cc=mattst88@gmail$(echo .)com \
--cc=mingo@redhat$(echo .)com \
--cc=npiggin@gmail$(echo .)com \
--cc=palmer@dabbelt$(echo .)com \
--cc=sparclinux@vger$(echo .)kernel.org \
--cc=tglx@linutronix$(echo .)de \
--cc=tsbogend@alpha$(echo .)franken.de \
--cc=tzimmermann@suse$(echo .)de \
--cc=wei.liu@kernel$(echo .)org \
--cc=will@kernel$(echo .)org \
--cc=x86@kernel$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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