Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3045107rwo; Mon, 24 Jul 2023 05:34:45 -0700 (PDT) X-Google-Smtp-Source: APBJJlFhdnZFVQcOORlxY7YTZ8cxXpHeHkFUGlt4LDX7LvUAdN6ZcF8Da1OwzJIEFQyxF71k2vIQ X-Received: by 2002:a05:6a20:1593:b0:133:dc0a:37e7 with SMTP id h19-20020a056a20159300b00133dc0a37e7mr7058819pzj.13.1690202085041; Mon, 24 Jul 2023 05:34:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690202085; cv=none; d=google.com; s=arc-20160816; b=QMZ3SjEmqHmY9cOSI3NuBPrku+XYerkBfu3GKzlWR65yxzE0fluOjCBcV9pepbVWgU h8RWIYdLlHJ0chjBh+ldO9y+b1icec2CuEZxqIBeyQFvExhpWvVdsB/8E4rlmjt/aMyl YOdo4Q1LSXApOmzaZIMuQB/X8EhfaFH70uoJRKfn2O4BIbOxQBujfmjP4WPz1RQETrTF tXUtsnjc6yNg8UK46CBUeNEOA0dQ4q7ON+3brna/mU2hD2Uk6gu9bE7RQScEh6JnjXo0 4Y72xR6BQjmLXSBuWWv8aImGwnMvcophcckICPZExWs5IW0huDiD0CVCynfJ41ftho5M uRqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=4l892uZ0Z0xFNoUsZjDkXKAa3pNMtyAWJuQjA9RmwHg=; fh=d6FdAR865WwaNXJH8GmVESzyeT897IZfsU/MOHQKvZQ=; b=DQvV7bYfHfOlMgICsXsJBKd6ZNbgLqbfw9EXH6Gfq3RlHEPOhtEMLWCZagKYFISpr9 FWw7iGMXtPbWf7nLaB/AhJRZ3+gp3+jpHYgThoQYS/7kCUSQXydL/XTIn6qjvORVfKk9 UPunoDJY2Bm0VfnDhWU2pe33KNDv5gY2xI7dn9x3pQ+RRYS463ZPiI7KsR2UBOVu84IP nfyJWHojCbxy8MhnMwQZH3dJUSMWIT+CDKt2Eqc04QodgUDbeqSLwfC0RtP2/lCCa8Ul tepPjHZC/pKdS07wmTSXihug+QxWpcx9SJiDvKY8qoQqdxriVuWF12b1523RvS4et3b9 PzRw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k5-20020aa788c5000000b00679dc747760si9382215pff.353.2023.07.24.05.34.32; Mon, 24 Jul 2023 05:34:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229835AbjGXMQC convert rfc822-to-8bit (ORCPT + 99 others); Mon, 24 Jul 2023 08:16:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46102 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230317AbjGXMQA (ORCPT ); Mon, 24 Jul 2023 08:16:00 -0400 Received: from mail-ot1-f46.google.com (mail-ot1-f46.google.com [209.85.210.46]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B63110E4; Mon, 24 Jul 2023 05:15:34 -0700 (PDT) Received: by mail-ot1-f46.google.com with SMTP id 46e09a7af769-6bb140cd5a5so2034274a34.3; Mon, 24 Jul 2023 05:15:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690200925; x=1690805725; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9nNGOJzgymf6gQYpdxd2UIkw90HSJ+oAIVzOwuAShWk=; b=Uy62wyMg9w8t+mqXu0QFMNYQLHegY1Q65joGU4ncPvQPGwYptIiN2f6DmsYUouk6+7 JtAWmLG197KYoHDOmAfg3ZxOMrjHz4xE3hYyT76AcEWP1/NbfEO6q8JRB5nr/BxAzOyg a7+QOuyPI2rhvw7/jP5F4BBg9IY8T8XHLcAMM5ohppGtr7R86x2IuaPjPO9X/nWI0OoX EtvgGcsk0r/ueEy3TzgJuT1uDqG0x03uxNtyt02jDdb+T8/6bg+fyCYc4tnNsnN92/Ld LEs75sY2hdIgCGspHVn8/auJuTwf5Te67YoZrN0CdTPjjYJTQVBra4cPZU4AkhkcKXZg UqmA== X-Gm-Message-State: ABy/qLbLYusZCq828Ib/fOAikT1ZT1JurJbDna2ZiunMDfG28vkcu73f FuQTMKLHFf9zJHCLdakK0mBA/eVijJEt8w== X-Received: by 2002:a05:6830:188:b0:6b9:91da:484f with SMTP id q8-20020a056830018800b006b991da484fmr8804468ota.27.1690200924916; Mon, 24 Jul 2023 05:15:24 -0700 (PDT) Received: from mail-oo1-f50.google.com (mail-oo1-f50.google.com. [209.85.161.50]) by smtp.gmail.com with ESMTPSA id d9-20020a056830004900b006b8c6eb962esm3835164otp.52.2023.07.24.05.15.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Jul 2023 05:15:24 -0700 (PDT) Received: by mail-oo1-f50.google.com with SMTP id 006d021491bc7-56368c40e8eso2620523eaf.0; Mon, 24 Jul 2023 05:15:24 -0700 (PDT) X-Received: by 2002:a25:238e:0:b0:d05:abaf:9933 with SMTP id j136-20020a25238e000000b00d05abaf9933mr7019302ybj.36.1690200457350; Mon, 24 Jul 2023 05:07:37 -0700 (PDT) MIME-Version: 1.0 References: <20230719123944.3438363-1-arnd@kernel.org> <20230719123944.3438363-2-arnd@kernel.org> <87pm4lj1w3.fsf@mail.lhotse> <19631e74-415e-4dcb-b79d-33dcf03d2dfc@app.fastmail.com> In-Reply-To: <19631e74-415e-4dcb-b79d-33dcf03d2dfc@app.fastmail.com> From: Geert Uytterhoeven Date: Mon, 24 Jul 2023 14:07:25 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/9] vgacon: rework Kconfig dependencies To: Arnd Bergmann Cc: Michael Ellerman , Arnd Bergmann , linux-fbdev@vger.kernel.org, Thomas Zimmermann , Helge Deller , Javier Martinez Canillas , "David S . Miller" , "K. Y. Srinivasan" , Ard Biesheuvel , Borislav Petkov , Brian Cain , Catalin Marinas , Christophe Leroy , Daniel Vetter , Dave Hansen , Dave Airlie , Deepak Rawat , Dexuan Cui , Dinh Nguyen , Greg Kroah-Hartman , guoren , Haiyang Zhang , Huacai Chen , Ingo Molnar , John Paul Adrian Glaubitz , Khalid Aziz , Linus Walleij , Matt Turner , Max Filippov , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Arnd, On Fri, Jul 21, 2023 at 10:29 AM Arnd Bergmann wrote: > On Fri, Jul 21, 2023, at 06:59, Michael Ellerman wrote: > > Arnd Bergmann writes: > >> From: Arnd Bergmann > >> > >> The list of dependencies here is phrased as an opt-out, but this is missing > >> a lot of architectures that don't actually support VGA consoles, and some > >> of the entries are stale: > >> > >> - powerpc used to support VGA consoles in the old arch/ppc codebase, but > >> the merged arch/powerpc never did > > > > Not disputing this, but how did you come to that conclusion? I grepped > > around and couldn't convince myself whether it can work on powerpc or > > not. ie. currently it's possible to enable CONFIG_VGA_CONSOLE and > > powerpc does have a struct screen_info defined which seems like it would > > allow vgacon_startup() to complete. > > The VGA console needs both screen_info and vga_con to work. In arch/ppc > we had both, but in arch/powerpc we only retained the screen_info: > > $ git grep vga_con v2.6.26 -- arch/ppc arch/ppc64 arch/powerpc > v2.6.26:arch/ppc/platforms/pplus.c: conswitchp = &vga_con; > v2.6.26:arch/ppc/platforms/prep_setup.c: conswitchp = &vga_con; > > so after arch/ppc was removed, this became impossible to use on both > pplus and prep. These two platforms were also (as far as I can tell) > the only ones to support vga16fb as an alternative to vgacon, but > both platforms were removed later on. I did use vgacon and vga16fb on CHRP on a second video card (initialized using Gabriel Paubert's x86 BIOS emulator), but that was definitely before the advent of arch/powerpc/. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds