From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9AD5DEB64DA for ; Wed, 19 Jul 2023 14:35:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=0yR2pETHpvoCxjhuTQ6BY3WvX1lOuzTYu5NNEoCacNE=; b=IcCs1h/01aGdW+ s3z3IE/gfHo3pNhIkcR7NJ98fqXOAKXPEr8+AltpXDZjGMJNXvJWZt1Pmg9MZ1JoLUUIPf1D5YxJF lworwk99eaGKre6DborrcegBlV3a5WHX4ujcwbgAZ+aMC4swQPbLYWtq21zNpnNTkUlr3+rjL6EwT q1xQO+zq7UbnZ68Xo1aTRitO4MIxzV61UWwlJ7OYi3jzv7Dk+LWlbtGb3m9y2cF4GUONO/vlBrzy8 Yji4UVzK5t0ysXqWfwZXfa4KcRDVadUu7zok6063eajS0u1Uwm6guOiQTEvrpU7+Qw0DVSriyigEO 2t0IeSQc6iYsxCDvzV+w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qM8HG-007jzZ-38; Wed, 19 Jul 2023 14:35:43 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.129.124]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qM8HD-007jy1-10 for linux-riscv@lists.infradead.org; Wed, 19 Jul 2023 14:35:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689777338; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=GW017PQkbwcyBZVSjL1eIJ3Tr23afBwEJMZO/sY3MB8=; b=Bk+dk1mBEQJDTKuW9K8t8hp3CB+h01vAXtIZOhfUUaOwjhn9QZJr3CrmMjGOtTHDmM5KZW vSQUlLA10dA9WKF3pWrhH871D3hn+/HeD7aooccGEqHBD5haE3RVpCeBrHeqIAGuJObE5/ sZCUoatdaCiRxEVTfL/SXBzjE87DKv8= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-587-R6idZLWQP-SZoFDVrAkDPw-1; Wed, 19 Jul 2023 10:35:36 -0400 X-MC-Unique: R6idZLWQP-SZoFDVrAkDPw-1 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-3fc08d6a40cso39553665e9.0 for ; Wed, 19 Jul 2023 07:35:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689777335; x=1690382135; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GW017PQkbwcyBZVSjL1eIJ3Tr23afBwEJMZO/sY3MB8=; b=b2AOTx1GvDM4j4g06VQ20Wz7AjhTFgZITLmNef550u5gsmGgLiy3mnU9/MdiMuxuzG OfTPAn+MbzzgPH8mSS8YDCMdjSiejW8EBKLV1/cvWIHhWHjN/thNHxgR04Yvoa7LvQZG bJwRLodYiTDE1A64tAd7SNH3B3et8Ewiorvcse8F/bak1PcXVElXlB/UuFCN6e7V7gEC CMR8tapN4U3Swll5FHGawNwE8i4r4oPvqHl2EMxo1OXkbIyjUvRRUgOJM4eBQABFsFOL z0raDSnpVgOaVlJyXk0edmF8FSUYd8toAVGgKUdzcDohMd6g5KLG8pNZ5ESNDMqFzaWX vkng== X-Gm-Message-State: ABy/qLZQoiPxdpAtsBm7eL/lj42D6kj+3kuhORHnzlPBSFwAmlOYOZCu Iyv8T7/wBhhhUqh4rKWdSNZIWMjTap3er/TRwBpGfzUF1OkuDMbYxXEMrPqrii4VO7xKvWA27Gh kikbBp6185gvS0KUNbstUkiNIunJS X-Received: by 2002:a05:600c:20f:b0:3fb:ab76:164b with SMTP id 15-20020a05600c020f00b003fbab76164bmr2130560wmi.13.1689777335788; Wed, 19 Jul 2023 07:35:35 -0700 (PDT) X-Google-Smtp-Source: APBJJlGyN6MTy8oRS46HP6DzRqXrb5z9b00oXqiEwJ+r7OovxVf1XP/FK2uW1HDXjbNqEtS7mD81iA== X-Received: by 2002:a05:600c:20f:b0:3fb:ab76:164b with SMTP id 15-20020a05600c020f00b003fbab76164bmr2130535wmi.13.1689777335451; Wed, 19 Jul 2023 07:35:35 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id u9-20020a7bc049000000b003fba6a0c881sm1798903wmc.43.2023.07.19.07.35.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jul 2023 07:35:35 -0700 (PDT) From: Javier Martinez Canillas To: Arnd Bergmann , linux-fbdev@vger.kernel.org, Thomas Zimmermann , Helge Deller Cc: Arnd Bergmann , "David S. Miller" , "K. Y. Srinivasan" , Ard Biesheuvel , Borislav Petkov , Brian Cain , Catalin Marinas , Christophe Leroy , Daniel Vetter , Dave Hansen , David Airlie , Deepak Rawat , Dexuan Cui , Dinh Nguyen , Greg Kroah-Hartman , Guo Ren , Haiyang Zhang , Huacai Chen , Ingo Molnar , 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, dri-devel@lists.freedesktop.org Subject: Re: [PATCH v2 9/9] efi: move screen_info into efi init code In-Reply-To: <20230719123944.3438363-10-arnd@kernel.org> References: <20230719123944.3438363-1-arnd@kernel.org> <20230719123944.3438363-10-arnd@kernel.org> Date: Wed, 19 Jul 2023 16:35:34 +0200 Message-ID: <874jm0hsuh.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230719_073539_449416_8984D6F5 X-CRM114-Status: GOOD ( 15.65 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Arnd Bergmann writes: > 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 commicate the initial VGA or framebuffer communicate > 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. > > Signed-off-by: Arnd Bergmann > --- Reviewed-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Core Platforms Red Hat _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv