Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp9740rdg; Tue, 10 Oct 2023 02:39:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHMvqsPqmK0FHsG36GEIcAyGskgr6FAqOjIyaWVq4ERfqMFcOBuZb0L8+K1D337WZtMsrhm X-Received: by 2002:a17:903:120f:b0:1bb:994c:bc43 with SMTP id l15-20020a170903120f00b001bb994cbc43mr17120541plh.18.1696930787506; Tue, 10 Oct 2023 02:39:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696930787; cv=none; d=google.com; s=arc-20160816; b=gvCQSwvv3QPuAA0la51ihUFZBNOwb39114rcwKr+ao7dCTA67+xT1NH3RaXQozgLsH 17ADfgTme4LEE/nuOo+bfHWdFFDjD+K0jrdYoUePrtdS5NX/6Ycnc8SpzknBo/TDWG9M 2sFYBXkiWNvS0uOVrZIUk5RClkwEAAepaCA8DBom4CzcFrIdi5owdtjIkvhWOcOfWOvE Sf0O//H0uL5PU4PuYXRHjFepsnoa7OjtLeFPbtY9oXPOHuUhJ+rfem6CzBxEfDTY/4LL mUfh9aQ99+X465dJsRZ/NqzyZMqav48gvmlkdyRWx/Y5RPU2t6T++d+pYW+JwKGkha89 /k6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=up8qCiu5M8mbxjEMSXandHLdhH5wqhIwLIU0qlv2jJ0=; fh=p/z0SskUvVK+lvybqzmhbgapDWb0Z1eqUqqRTVOYqwY=; b=oyaRaR5uWJ8E3kaDvMrH3pN++NRKwiUw7kW350xr037o0/kiVpxv/PQLt5KUKlbMl8 loEuEMCzCNLk5EzbXFOCjHVIQSPvpuFBMKgPM6bBuEDoSpMS7AQoe3FJpA6TZnPU7ShD XkmqxDn/TBfi3FegH14o/t49tUksynqFUHWagWIx6NkZtjI7SDoPcVlXTSZqM03duSo/ zCAi1x4MegxClD/jvUzaxbhbvulbF0wp7I4ZbId8iomd0xoO7jMClOu2OohTRBmnSZ2D 9zq/VleJk7jcyin5M4j4YBWS+/0awGlkac/xqeNSCuUmMBr+tKum28ebxE1AlSnrHfVW NDZQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id g17-20020a170902d1d100b001c6240dec44si10830005plb.389.2023.10.10.02.39.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 02:39:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B8AC88028FE9; Tue, 10 Oct 2023 02:39:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230306AbjJJJj1 (ORCPT + 99 others); Tue, 10 Oct 2023 05:39:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230022AbjJJJjZ (ORCPT ); Tue, 10 Oct 2023 05:39:25 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75C6A93; Tue, 10 Oct 2023 02:39:24 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC772C433C7; Tue, 10 Oct 2023 09:39:15 +0000 (UTC) Date: Tue, 10 Oct 2023 10:39:13 +0100 From: Catalin Marinas To: Arnd Bergmann Cc: Thomas Zimmermann , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Arnd Bergmann , "David S. Miller" , "K. Y. Srinivasan" , Ard Biesheuvel , Borislav Petkov , Brian Cain , Christophe Leroy , Daniel Vetter , Dave Hansen , David Airlie , Deepak Rawat , Dexuan Cui , Dinh Nguyen , Greg Kroah-Hartman , Guo Ren , Haiyang Zhang , Helge Deller , Huacai Chen , Ingo Molnar , Javier Martinez Canillas , John Paul Adrian Glaubitz , Khalid Aziz , Linus Walleij , Matt Turner , Max Filippov , Michael Ellerman , Nicholas Piggin , Palmer Dabbelt , Russell King , Thomas Bogendoerfer , Thomas Gleixner , WANG Xuerui , Wei Liu , Will Deacon , x86@kernel.org, linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-efi@vger.kernel.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, loongarch@lists.linux.dev, linux-mips@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-hyperv@vger.kernel.org Subject: Re: [PATCH v3 9/9] efi: move screen_info into efi init code Message-ID: References: <20231009211845.3136536-1-arnd@kernel.org> <20231009211845.3136536-10-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231009211845.3136536-10-arnd@kernel.org> X-Spam-Status: No, score=2.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 10 Oct 2023 02:39:44 -0700 (PDT) X-Spam-Level: ** On Mon, Oct 09, 2023 at 11:18:45PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > 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 > Reviewed-by: Javier Martinez Canillas > Acked-by: Helge Deller > Signed-off-by: Arnd Bergmann > --- > 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