Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8266739rwp; Wed, 19 Jul 2023 07:34:07 -0700 (PDT) X-Google-Smtp-Source: APBJJlE7WreJ2gW0PD7UxPoV3ErTg+rTt3HKgX52/yB3ppnarTuDoyK9P950l0RsMcsKg1X4WzzF X-Received: by 2002:a17:907:7ba6:b0:99b:4867:5e1c with SMTP id ne38-20020a1709077ba600b0099b48675e1cmr550614ejc.28.1689777246907; Wed, 19 Jul 2023 07:34:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689777246; cv=none; d=google.com; s=arc-20160816; b=pVeZc5xMnK4Yi1ddZiDVpte0JGEIukWiMB48sAIgo5TRyTFfJ68xYyxhN/r+p/u9LK T5C0lv3Fsb80OnOBOopXwbXTAHykMA4nlj+KF0QG+Vghw5Ke30/ffcKJ7acoiUL14jMO X0anYF6Wp0lEkqu3t6XmOfum4im7r0522SwnhaQZf7rtaDSF/CfketKJ0/Zzq7W0oIk+ YqO3SqzC2njW8wau20ef5BDPKLe+bb/wNfr5MxTGnzaTKt5Dh5pl2UUghPalykpCm/gq bOTWvyT8en3/Q6/nBpZDtHmpUPnTCHgR3lbvqtR1LB6/1KgyzLNlebx7AjsWC/GjsTQ4 fbTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=AYL0WxfELPHjwx6ZiDqavEiQQIijrcopNRfhrvLV03A=; fh=/vUeYG8BbC4v2aqyVepzpbVVZqjidfEBEuCugcFx/lo=; b=aFxSdBu1biauPvmM7NWMT4HDHi44bgbVA9Pw3Bt+ASPs0YGPE/FE44W/Fd9n5HrnEe TabfGRzm/MbPVyNyndfVy6tR82hWU21SJBek+Wbs4T6hXPG2aPaW7rBlYCfTdrgXPWmv hukTykOvUz9GmWNadQJtZLfmGmkKRhHib9PLBPQpOn6BBR6HvxIBcSIygu0j7d9z1eaT ZhlkOklIMzCXnT19S5NMlVfoN7OI3j8BTNwMs6/hmh1QOXRf3CcKc4NDyj9ieb0VXpW4 fe1m5u2jLKOmHtkO0/lpWzVX2SsMM6JltaljFa1UAMMlMcRj0ks9avK5J1uluB7yzPY4 HXmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Fy8i5nOu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n19-20020a17090625d300b00992b75dedafsi2594784ejb.507.2023.07.19.07.33.42; Wed, 19 Jul 2023 07:34:06 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Fy8i5nOu; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231630AbjGSOZ1 (ORCPT + 99 others); Wed, 19 Jul 2023 10:25:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231621AbjGSOZJ (ORCPT ); Wed, 19 Jul 2023 10:25:09 -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 063CC1FFB for ; Wed, 19 Jul 2023 07:24:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689776638; 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=AYL0WxfELPHjwx6ZiDqavEiQQIijrcopNRfhrvLV03A=; b=Fy8i5nOuJc9vT64qGI1h402ACgpl6AB64fP+pSezsKXU7oX0ASaTIrY6cxryrL9cV8OvNU v0sIZeURGjZ3itQ6NPF0MFxRumgHZwjZfMTfec/c/ZD6nxw8e6l3CXc8VJBtqU8rK9ljTf QgQvU5p0Ucau8pjJq5qE+94Kp1SQ6E8= 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-342-yD-e619FO-GYoxGJYrxQ2g-1; Wed, 19 Jul 2023 10:23:56 -0400 X-MC-Unique: yD-e619FO-GYoxGJYrxQ2g-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-314394a798dso398057f8f.0 for ; Wed, 19 Jul 2023 07:23:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689776635; x=1690381435; 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=AYL0WxfELPHjwx6ZiDqavEiQQIijrcopNRfhrvLV03A=; b=NjfB+XujNCQV0EXAhz1ixnriYmSMxyhZsxyoc6Y/VVkkeq2X0UZowiFjmee9Kyxvu5 VhzCGDvN4wxm1xpdg5D9WQ3t+zDU/xjM+aHyRfVWLk6oyow35Bq+7gVvVmm+j2rCEkQw FHd1mlO+TtiKRkmfQ4xWc5UWc6qUK8s72w1EMSSCUKbtC79gDNK5IP7wMN1Uk8krpmDe Ac54Hg3zq0BBcsUFmk7xyxmn6kcLmh0fMLQC2Xt+bOYR7XfLbKhJ7OiP8lmn27jI2lKb JPhctvTJnVpRgQxazH2wz6p1Zx3eAhdKOXl3BqYwe5WJalxcdbgp5xsnsr+InwGY2itC CrmA== X-Gm-Message-State: ABy/qLb1EiaITSGWJURWg6FeavSU+4BSliGYAV9vYhXOwZIw+h1Pq7qH tRrgemXCfoYL6nufs9wz9vdwb+Td2oDeYI8K6QuXYhTMh2Fr4+hfF0omsm6sk4MlCXzlxyulxZq U41gBZya7mOG+agIi8zqV1e9v X-Received: by 2002:adf:f406:0:b0:317:15f5:a1cc with SMTP id g6-20020adff406000000b0031715f5a1ccmr41801wro.22.1689776635699; Wed, 19 Jul 2023 07:23:55 -0700 (PDT) X-Received: by 2002:adf:f406:0:b0:317:15f5:a1cc with SMTP id g6-20020adff406000000b0031715f5a1ccmr41757wro.22.1689776635405; Wed, 19 Jul 2023 07:23:55 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id q19-20020a056000137300b003143d80d11dsm5429196wrz.112.2023.07.19.07.23.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jul 2023 07:23:54 -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 7/9] vga16fb: drop powerpc support In-Reply-To: <20230719123944.3438363-8-arnd@kernel.org> References: <20230719123944.3438363-1-arnd@kernel.org> <20230719123944.3438363-8-arnd@kernel.org> Date: Wed, 19 Jul 2023 16:23:53 +0200 Message-ID: <87a5vshtdy.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 Arnd Bergmann writes: > From: Arnd Bergmann > > I noticed that commit 0db5b61e0dc07 ("fbdev/vga16fb: Create > EGA/VGA devices in sysfb code") broke vga16fb on non-x86 platforms, > because the sysfb code never creates a vga-framebuffer device when > screen_info.orig_video_isVGA is set to '1' instead of VIDEO_TYPE_VGAC. > > However, it turns out that the only architecture that has allowed > building vga16fb in the past 20 years is powerpc, and this only worked > on two 32-bit platforms and never on 64-bit powerpc. The last machine > that actually used this was removed in linux-3.10, so this is all dead > code and can be removed. > > The big-endian support in vga16fb.c could also be removed, but I'd just > leave this in place. > > Fixes: 933ee7119fb14 ("powerpc: remove PReP platform") > Signed-off-by: Arnd Bergmann > --- Reviewed-by: Javier Martinez Canillas -- Best regards, Javier Martinez Canillas Core Platforms Red Hat