From mboxrd@z Thu Jan 1 00:00:00 1970 From: Javier Martinez Canillas Subject: Re: [PATCH v2 5/9] vgacon: remove screen_info dependency Date: Wed, 19 Jul 2023 15:49:11 +0200 Message-ID: <87fs5khuzs.fsf@minerva.mail-host-address-is-not-set> References: <20230719123944.3438363-1-arnd@kernel.org> <20230719123944.3438363-6-arnd@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: 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=U+ItMmtUar9oQdjV/ieehfoplzjm4bUVq3n0B0mj8gM=; b=fIvuXL5VGmWT0Q BI8bGZeupVlvgewMNHySh+nRE8l9HqUqV0BQ8gkCcaJQ8k0KIEwihOdVEay2NqXe4isMTlcTtx08N +UIGHLqFK9Cq6/UuUZvUIdS7F4CFMWA1V/pyoFLWqmK01QywZat9IR7K1IpzRKAiofTa3LQpHrKwV MuH5Mucx5u1CXyfXH++tKdN5MGE5V8LF79ngBVccVBvoHBl2303RBXxSr68hAoiJ43o78jHL8Iz/1 SuYkzRLlV3M5mr5k5T9WmCzi3cSiR1jCnbJvKsVzu3EP62rRE75Boop3Jj5RSRp3kMNiO3D7n7O35 Su9o9gka757LJyZAifSw==; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689774555; 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=7gvBqRrgzjiPOFgHQxEB0Nm34S2dkYf27eWyqPPlFhY=; b=O5Rd1URVjeh3tsQBpWBdG/ni9Q3s6GpVO5o+5lMdTSIxTxC+ZR8bzquFK10YAccDsOvlyR XoUlHlrpd9iy1eW3Y5ZuTwxhSmAJ2kSf7aAHMhuzHBiDNAKzpDLTlcbtMEQn5sMrw1uVPi 5zZ0MaBdd4Gn7k9rsO3tfhQ+uj8OS+A= In-Reply-To: <20230719123944.3438363-6-arnd@kernel.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+glpr-linux-riscv=m.gmane-mx.org@lists.infradead.org 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 Arnd Bergmann writes: > From: Arnd Bergmann > > The vga console driver is fairly self-contained, and only used by > architectures that explicitly initialize the screen_info settings. > > Chance every instance that picks the vga console by setting conswitchp > to call a function instead, and pass a reference to the screen_info > there. > > Signed-off-by: Arnd Bergmann > --- Reviewed-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Core Platforms Red Hat 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 67ABAEB64DA for ; Wed, 19 Jul 2023 13:50:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231136AbjGSNum (ORCPT ); Wed, 19 Jul 2023 09:50:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33990 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231252AbjGSNui (ORCPT ); Wed, 19 Jul 2023 09:50:38 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F5761719 for ; Wed, 19 Jul 2023 06:49:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689774556; 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=7gvBqRrgzjiPOFgHQxEB0Nm34S2dkYf27eWyqPPlFhY=; b=MJCgQrIBMcr7wbhfvbs95DRDAv9/Ek8YjI4PKuGYoZ1ZJb3B8nHvcNdwQToE6vqRgl2HsX Nw0b20nrnsMI3rhHGzzkjn4JwDxkIPKKvI+ZCeke872ig7XBJlzc9+CP1seBoWUwrs0f/O xmpG37jVTEXuI3uSdP9abNVIzc724nw= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-376-rUfJ4OVwMfmIJ_afIypg7w-1; Wed, 19 Jul 2023 09:49:14 -0400 X-MC-Unique: rUfJ4OVwMfmIJ_afIypg7w-1 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-31701b27d19so375605f8f.1 for ; Wed, 19 Jul 2023 06:49:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689774552; x=1690379352; 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=7gvBqRrgzjiPOFgHQxEB0Nm34S2dkYf27eWyqPPlFhY=; b=Ul/99mAZwsdP7Az7BjkNKIYWIMEOaftsLBf4+gmfhOV0d6Cn96EGeXMZN6gGiyXHIk JOm8ZC0nqiiGfalMMyA6gN4T7jEUyoVawUM5Kbmub5QxiiLQH5EqjQV/jlOKUswVwcx3 eq0ZGXc2mW+HcHQo9X25xIzwcWgPmn0KebQlLBHWliCQvA8Gp0z1q2WSeLcrrJLUxWRc I55L2yxCOuOeLY6bAYQYJ2E4uHCV1vazkh/Bu0Kmqc2hQ0p/J9/jZ2qh65bdBvSg7DOM k2RsDQ+SI01qBjd2/AhAp/ICdClcVOqA5vMdtH/wRbbcVX8vNK4feqSLWByzgkAWIKCO WTlA== X-Gm-Message-State: ABy/qLa5fDLMJrzEDt/yqCX1ePrd1Y6uZFj1yrnTCiD6Ha7o6HVVeKfK 2VcLojr4GM3aeMPm4qqhanGfjgqIeCzLe9seFp9uP4QMmoWmhG3fYyZmYNpODuyIANWcuG74Gen xW5RZ4W+FrTM00wRKCL7dGQ== X-Received: by 2002:a5d:6a04:0:b0:314:3369:df57 with SMTP id m4-20020a5d6a04000000b003143369df57mr1948350wru.5.1689774552644; Wed, 19 Jul 2023 06:49:12 -0700 (PDT) X-Google-Smtp-Source: APBJJlFD8G6VPVcqqGeSjptpNDnOnSs3W+CAZM63rDbbbVz9hymKgoyuOl3Kik6r5ce0mC8oQNhizg== X-Received: by 2002:a5d:6a04:0:b0:314:3369:df57 with SMTP id m4-20020a5d6a04000000b003143369df57mr1948300wru.5.1689774552274; Wed, 19 Jul 2023 06:49:12 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id q2-20020a5d6582000000b003143bb5ecd5sm5381303wru.69.2023.07.19.06.49.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jul 2023 06:49:11 -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 5/9] vgacon: remove screen_info dependency In-Reply-To: <20230719123944.3438363-6-arnd@kernel.org> References: <20230719123944.3438363-1-arnd@kernel.org> <20230719123944.3438363-6-arnd@kernel.org> Date: Wed, 19 Jul 2023 15:49:11 +0200 Message-ID: <87fs5khuzs.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-csky@vger.kernel.org Arnd Bergmann writes: > From: Arnd Bergmann > > The vga console driver is fairly self-contained, and only used by > architectures that explicitly initialize the screen_info settings. > > Chance every instance that picks the vga console by setting conswitchp > to call a function instead, and pass a reference to the screen_info > there. > > Signed-off-by: Arnd Bergmann > --- Reviewed-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Core Platforms Red Hat 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 13C26EB64DA for ; Wed, 19 Jul 2023 13:49:26 +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=U+ItMmtUar9oQdjV/ieehfoplzjm4bUVq3n0B0mj8gM=; b=fIvuXL5VGmWT0Q BI8bGZeupVlvgewMNHySh+nRE8l9HqUqV0BQ8gkCcaJQ8k0KIEwihOdVEay2NqXe4isMTlcTtx08N +UIGHLqFK9Cq6/UuUZvUIdS7F4CFMWA1V/pyoFLWqmK01QywZat9IR7K1IpzRKAiofTa3LQpHrKwV MuH5Mucx5u1CXyfXH++tKdN5MGE5V8LF79ngBVccVBvoHBl2303RBXxSr68hAoiJ43o78jHL8Iz/1 SuYkzRLlV3M5mr5k5T9WmCzi3cSiR1jCnbJvKsVzu3EP62rRE75Boop3Jj5RSRp3kMNiO3D7n7O35 Su9o9gka757LJyZAifSw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qM7YN-007csz-1m; Wed, 19 Jul 2023 13:49:19 +0000 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qM7YK-007cs7-1B for linux-riscv@lists.infradead.org; Wed, 19 Jul 2023 13:49:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689774555; 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=7gvBqRrgzjiPOFgHQxEB0Nm34S2dkYf27eWyqPPlFhY=; b=O5Rd1URVjeh3tsQBpWBdG/ni9Q3s6GpVO5o+5lMdTSIxTxC+ZR8bzquFK10YAccDsOvlyR XoUlHlrpd9iy1eW3Y5ZuTwxhSmAJ2kSf7aAHMhuzHBiDNAKzpDLTlcbtMEQn5sMrw1uVPi 5zZ0MaBdd4Gn7k9rsO3tfhQ+uj8OS+A= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-282-_t9_GKWCPLaNIfmP5OLGnA-1; Wed, 19 Jul 2023 09:49:13 -0400 X-MC-Unique: _t9_GKWCPLaNIfmP5OLGnA-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-31701b27d19so375597f8f.1 for ; Wed, 19 Jul 2023 06:49:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689774552; x=1690379352; 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=7gvBqRrgzjiPOFgHQxEB0Nm34S2dkYf27eWyqPPlFhY=; b=jyvewzOMCmhwvl23EpDUCVnZZX4IMm2WJOYG9jd+oobQMMenp2B62KlzgTuJfbsuT7 mQZI3mC1k0g9HSRlrvW7D1w5ISY34yc0T8OIJFdIelwRa/pk0+iVUZRpxf+l8J2C5xeU 7f5oKyakh7QISJEWkOgQgO4k+z20EJjQ8Q2xBsdonrflg5ZDTRbbpUA3Y+17ez9WFLCK YOrdeDTW79rbSD8huRMJxZR5SADTRKDyyj5qH/o1DMJaWdihu32pHNM7pu17ogic1z7i AoexePGb3gdR+WmN9lEZr9dmxJ9h6qV+a4lUd+o6QjeWMrC81QmcT38BtIJOKLaeuyHq 1IrA== X-Gm-Message-State: ABy/qLZYwEALQXGfBaEvxsj43l4qcdxKDapYNkgYrbzDhZwCVJ6s/kwk QRHFrlRf2gAcv2UXUnyE4APTFxlMN1d/nZHnUMKGqGljg6olgVmW4QaJG10NqLZ40ryOHWrV6ja ++tBTRYBrjrMhcMdZPUpWwKE2jYWS X-Received: by 2002:a5d:6a04:0:b0:314:3369:df57 with SMTP id m4-20020a5d6a04000000b003143369df57mr1948329wru.5.1689774552641; Wed, 19 Jul 2023 06:49:12 -0700 (PDT) X-Google-Smtp-Source: APBJJlFD8G6VPVcqqGeSjptpNDnOnSs3W+CAZM63rDbbbVz9hymKgoyuOl3Kik6r5ce0mC8oQNhizg== X-Received: by 2002:a5d:6a04:0:b0:314:3369:df57 with SMTP id m4-20020a5d6a04000000b003143369df57mr1948300wru.5.1689774552274; Wed, 19 Jul 2023 06:49:12 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id q2-20020a5d6582000000b003143bb5ecd5sm5381303wru.69.2023.07.19.06.49.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jul 2023 06:49:11 -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 5/9] vgacon: remove screen_info dependency In-Reply-To: <20230719123944.3438363-6-arnd@kernel.org> References: <20230719123944.3438363-1-arnd@kernel.org> <20230719123944.3438363-6-arnd@kernel.org> Date: Wed, 19 Jul 2023 15:49:11 +0200 Message-ID: <87fs5khuzs.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_064916_486153_0328E2E5 X-CRM114-Status: GOOD ( 11.39 ) 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 > > The vga console driver is fairly self-contained, and only used by > architectures that explicitly initialize the screen_info settings. > > Chance every instance that picks the vga console by setting conswitchp > to call a function instead, and pass a reference to the screen_info > there. > > 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 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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (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 CE772EB64DA for ; Wed, 19 Jul 2023 13:50:18 +0000 (UTC) Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=KJVvEZat; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=KJVvEZat; dkim-atps=neutral Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4R5cdj2PbPz3bVp for ; Wed, 19 Jul 2023 23:50:17 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=KJVvEZat; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=KJVvEZat; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=redhat.com (client-ip=170.10.129.124; helo=us-smtp-delivery-124.mimecast.com; envelope-from=fmartine@redhat.com; receiver=lists.ozlabs.org) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4R5ccg5hK8z2ytf for ; Wed, 19 Jul 2023 23:49:22 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689774557; 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=7gvBqRrgzjiPOFgHQxEB0Nm34S2dkYf27eWyqPPlFhY=; b=KJVvEZatHoppvFwBWUxQq7s6QEbVmghGy33UzWvbupWugdHY890+Z8FIO+6JozgEmZ99ag XoMkEcE8Jv9tPNZG9nZCqE1DjyQaVkFgDFwOakW+cz7SbL1S6J3YEvbQgEJfc3jlHd/XSX MCmUAbxK0vtlhhCvBYrzhic9pViDW+c= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689774557; 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=7gvBqRrgzjiPOFgHQxEB0Nm34S2dkYf27eWyqPPlFhY=; b=KJVvEZatHoppvFwBWUxQq7s6QEbVmghGy33UzWvbupWugdHY890+Z8FIO+6JozgEmZ99ag XoMkEcE8Jv9tPNZG9nZCqE1DjyQaVkFgDFwOakW+cz7SbL1S6J3YEvbQgEJfc3jlHd/XSX MCmUAbxK0vtlhhCvBYrzhic9pViDW+c= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-323-oQ4ycxSeNGOJBXiwUJst6w-1; Wed, 19 Jul 2023 09:49:13 -0400 X-MC-Unique: oQ4ycxSeNGOJBXiwUJst6w-1 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-314394a798dso378672f8f.0 for ; Wed, 19 Jul 2023 06:49:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689774552; x=1690379352; 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=7gvBqRrgzjiPOFgHQxEB0Nm34S2dkYf27eWyqPPlFhY=; b=l26/VDheHLE81WVqtuPAeZ3jinh1gmEww/lWjxRq7oAWMqUsYDZ1tE8wi8yPFfuj3D DqEM4jPP/L2pgnDApKWT23xvB8ST6A8JropaURdyIpbElwOaUBEDQfahLpSt+5xCmPyX F21oUfKyojn5uDcDSVP/bWzAo+vbTq0IZmi3N7SeHtS0SgUseqU1lLA/X2iirkcC7Q80 W3rUVMFOZ4TB9LTj0D3gI3d9Qaay1CbkeqB4jED985Sd//e8L8xMYlCm2UfSMrv67g9r kqD82moeb58Voqh0WqL/tNNPoU6q+lgg5BmXBCMAgh+LLdOTt/OKhTD3I5PVDaUNkDwj gJ4Q== X-Gm-Message-State: ABy/qLae+JpL+jn9XUwmbP/Y8NzuXGESWPFR+3xWz6shZjlgRj3wxqPC CYT2qE4KYQJb2kQyD7M+qNxWaUETJRrM29WQJZjDH4kJlCK0RsBXlelrxgxsWmEkzKDSec1I+wO zYHa9AhMwR2CJRIkUuTX+t/e6OQ== X-Received: by 2002:a5d:6a04:0:b0:314:3369:df57 with SMTP id m4-20020a5d6a04000000b003143369df57mr1948321wru.5.1689774552640; Wed, 19 Jul 2023 06:49:12 -0700 (PDT) X-Google-Smtp-Source: APBJJlFD8G6VPVcqqGeSjptpNDnOnSs3W+CAZM63rDbbbVz9hymKgoyuOl3Kik6r5ce0mC8oQNhizg== X-Received: by 2002:a5d:6a04:0:b0:314:3369:df57 with SMTP id m4-20020a5d6a04000000b003143369df57mr1948300wru.5.1689774552274; Wed, 19 Jul 2023 06:49:12 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id q2-20020a5d6582000000b003143bb5ecd5sm5381303wru.69.2023.07.19.06.49.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jul 2023 06:49:11 -0700 (PDT) From: Javier Martinez Canillas To: Arnd Bergmann , linux-fbdev@vger.kernel.org, Thomas Zimmermann , Helge Deller Subject: Re: [PATCH v2 5/9] vgacon: remove screen_info dependency In-Reply-To: <20230719123944.3438363-6-arnd@kernel.org> References: <20230719123944.3438363-1-arnd@kernel.org> <20230719123944.3438363-6-arnd@kernel.org> Date: Wed, 19 Jul 2023 15:49:11 +0200 Message-ID: <87fs5khuzs.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-hyperv@vger.kernel.org, x86@kernel.org, linux-ia64@vger.kernel.org, linux-sh@vger.kernel.org, Catalin Marinas , Linus Walleij , Dave Hansen , dri-devel@lists.freedesktop.org, linux-mips@vger.kernel.org, Max Filippov , Will Deacon , linux-efi@vger.kernel.org, Guo Ren , linux-csky@vger.kernel.org, sparclinux@vger.kernel.org, linux-hexagon@vger.kernel.org, WANG Xuerui , "K. Y. Srinivasan" , David Airlie , Ard Biesheuvel , Wei Liu , Huacai Chen , Dexuan Cui , Russell King , Deepak Rawat , Ingo Molnar , Matt Turner , Arnd Bergmann , Haiyang Zhang , Nicholas Piggin , Bor islav Petkov , loongarch@lists.linux.dev, John Paul Adrian Glaubitz , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, Khalid Aziz , Brian Cain , Thomas Bogendoerfer , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Dinh Nguyen , linux-riscv@lists.infradead.org, Palmer Dabbelt , Daniel Vetter , linux-alpha@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, "David S. Miller" Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" Arnd Bergmann writes: > From: Arnd Bergmann > > The vga console driver is fairly self-contained, and only used by > architectures that explicitly initialize the screen_info settings. > > Chance every instance that picks the vga console by setting conswitchp > to call a function instead, and pass a reference to the screen_info > there. > > Signed-off-by: Arnd Bergmann > --- Reviewed-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Core Platforms Red Hat 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (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 03D8BEB64DA for ; Wed, 19 Jul 2023 13:49:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0B34610E100; Wed, 19 Jul 2023 13:49:19 +0000 (UTC) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4337310E100 for ; Wed, 19 Jul 2023 13:49:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689774555; 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=7gvBqRrgzjiPOFgHQxEB0Nm34S2dkYf27eWyqPPlFhY=; b=O5Rd1URVjeh3tsQBpWBdG/ni9Q3s6GpVO5o+5lMdTSIxTxC+ZR8bzquFK10YAccDsOvlyR XoUlHlrpd9iy1eW3Y5ZuTwxhSmAJ2kSf7aAHMhuzHBiDNAKzpDLTlcbtMEQn5sMrw1uVPi 5zZ0MaBdd4Gn7k9rsO3tfhQ+uj8OS+A= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-323-EkHTQmYGMpOsawz2yug6Jw-1; Wed, 19 Jul 2023 09:49:14 -0400 X-MC-Unique: EkHTQmYGMpOsawz2yug6Jw-1 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-315a03cae87so354704f8f.0 for ; Wed, 19 Jul 2023 06:49:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689774552; x=1690379352; 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=7gvBqRrgzjiPOFgHQxEB0Nm34S2dkYf27eWyqPPlFhY=; b=gsMq2+5bAHeOtYX+543rbWdAmQYzQkcVUYhEdpJ8TzAsSbGe8Wa0m3uqr/2uYqcTt9 wJ81fdPgP+QFDkIOA8xdCzYkWLTFryf43iAyTEJCZgxHDjl3iUjwmXenvWnkQ+lFq+7o nR07NQBVTUkJkgqXV511KGY8sPNj+PO2hQ3FglXEUvhbetUsZK/r0jo8QwJkyNBPct9q 27uKpTrub9X72wjmZdClKFOHfLDfba3uPSKPoFcGtMNR7BHbBHaY3oJvZvflpLg6ZOae He0e+ElnW4uPBigG26X0h2IAZsLqmo+80KPHGUu+V/U8tcJkA6xjMJtPqQB8SzfqFBU8 GhUA== X-Gm-Message-State: ABy/qLZz/O+CSHh5QfahYKCS/6RKJf+4hR9YoMkgid03v/AU892G3hrv urER0aJOYFAMOHOhwA89HnIit548ryVqfeuvGdmK/1UeWTVN72hp95izMgHrJMz/bLKAB2nxB+x jjajAFh59iVkZPyHJzdQEMM+bfmDt X-Received: by 2002:a5d:6a04:0:b0:314:3369:df57 with SMTP id m4-20020a5d6a04000000b003143369df57mr1948320wru.5.1689774552642; Wed, 19 Jul 2023 06:49:12 -0700 (PDT) X-Google-Smtp-Source: APBJJlFD8G6VPVcqqGeSjptpNDnOnSs3W+CAZM63rDbbbVz9hymKgoyuOl3Kik6r5ce0mC8oQNhizg== X-Received: by 2002:a5d:6a04:0:b0:314:3369:df57 with SMTP id m4-20020a5d6a04000000b003143369df57mr1948300wru.5.1689774552274; Wed, 19 Jul 2023 06:49:12 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id q2-20020a5d6582000000b003143bb5ecd5sm5381303wru.69.2023.07.19.06.49.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jul 2023 06:49:11 -0700 (PDT) From: Javier Martinez Canillas To: Arnd Bergmann , linux-fbdev@vger.kernel.org, Thomas Zimmermann , Helge Deller Subject: Re: [PATCH v2 5/9] vgacon: remove screen_info dependency In-Reply-To: <20230719123944.3438363-6-arnd@kernel.org> References: <20230719123944.3438363-1-arnd@kernel.org> <20230719123944.3438363-6-arnd@kernel.org> Date: Wed, 19 Jul 2023 15:49:11 +0200 Message-ID: <87fs5khuzs.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-hyperv@vger.kernel.org, x86@kernel.org, linux-ia64@vger.kernel.org, linux-sh@vger.kernel.org, Catalin Marinas , Dave Hansen , dri-devel@lists.freedesktop.org, linux-mips@vger.kernel.org, Max Filippov , Will Deacon , linux-efi@vger.kernel.org, Guo Ren , linux-csky@vger.kernel.org, sparclinux@vger.kernel.org, linux-hexagon@vger.kernel.org, WANG Xuerui , "K. Y. Srinivasan" , Ard Biesheuvel , Wei Liu , Michael Ellerman , Huacai Chen , Dexuan Cui , Russell King , Christophe Leroy , Deepak Rawat , Ingo Molnar , Matt Turner , Arnd Bergmann , Haiyang Zhang , Nicholas Piggin , Borislav Petkov , loongarch@lists.linux.dev, John Paul Adrian Glaubitz , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, Khalid Aziz , Brian Cain , Thomas Bogendoerfer , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Dinh Nguyen , linux-riscv@lists.infradead.org, Palmer Dabbelt , linux-alpha@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, "David S. Miller" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Arnd Bergmann writes: > From: Arnd Bergmann > > The vga console driver is fairly self-contained, and only used by > architectures that explicitly initialize the screen_info settings. > > Chance every instance that picks the vga console by setting conswitchp > to call a function instead, and pass a reference to the screen_info > there. > > Signed-off-by: Arnd Bergmann > --- Reviewed-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Core Platforms Red Hat