Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4765199rwo; Tue, 25 Jul 2023 10:33:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlH/Lf+g8GNKzVexDiPVlZ+jjemXNsHnYsmvYqsio3HkJthjZ8KRc5+y87+VeBmT88aBzs0b X-Received: by 2002:a05:6a21:a109:b0:13b:7776:ceed with SMTP id aq9-20020a056a21a10900b0013b7776ceedmr1197511pzc.26.1690306385868; Tue, 25 Jul 2023 10:33:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690306385; cv=none; d=google.com; s=arc-20160816; b=eWyc5JFK9bo4CWUThjCZFFMGtg1q71Aus3epheINLd5D+9YbPg9q1y8nZDEpZ9+S6h o8m6DR/PbriA7bbCI3mCNJHEgQmFCQ/RpU6/mtzfZp678YEcEe/VDcfl0h7mMy2Zu19O vVGdgWopt0bJFjVjQIV6x41FMIpSRVzp94v+v3qO50fsPgYAkBCtAvGjERs2rUc/3tFK v/xht1vUCsTCwaLkkw46WcwBy7UU5lq7zBACHtwREfCdkUkrCrYXlsaWSqahvdYmZzu5 I3JqT+pR+AzqMaHibA1B1nYAapTMpLNn1FQRSdXbs725/ac//F6aPobklJDPgiDX2WUv tmiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=YJMyLJCiLMCHTgmN/H3z+g4LdBaeN0+9rjROp9NjK4c=; fh=QQvXX44Q7amTF3t5cB8YCKbmaYgsIXM99ESB2x9OxtI=; b=jH2TuNgap46OYc5RxzrMeQ76om86LoFhRPlZ+A1fn4j2jZkHUi5QG1DdKuITMgFJOW V56JmEBqm8b1kRItX1wSI5nVXsWCNrtfgzkqVtloPVCbo0WDRB3kmziYzQ2Juksefc7Q W6RQOyUfcP765b0b2yMcdp8InI6GLFVq+5DOhNlkseKzM6pm+ehk0/kd45v4N0whzzPb 51NZTNQ3pcstU8vPoSISiOldTpb4qS6nLj5h5o7q98XHVXXAa8qdu6tLRAULs6tzofmn XRePOIof39g70p5aJyEl8hsN4UbdusGoEHRnvDA3x6MsAUU9PU+DZZlWz1tJPgxVYkYL wSoQ== 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 u18-20020a056a00099200b0066d45f035a5si12172567pfg.320.2023.07.25.10.32.53; Tue, 25 Jul 2023 10:33:05 -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 S230321AbjGYRPb convert rfc822-to-8bit (ORCPT + 99 others); Tue, 25 Jul 2023 13:15:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229689AbjGYRP3 (ORCPT ); Tue, 25 Jul 2023 13:15:29 -0400 Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07B9611F; Tue, 25 Jul 2023 10:15:19 -0700 (PDT) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.95) with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1qOLcw-001mdv-ED; Tue, 25 Jul 2023 19:15:14 +0200 Received: from p5086d382.dip0.t-ipconnect.de ([80.134.211.130] helo=suse-laptop.fritz.box) by inpost2.zedat.fu-berlin.de (Exim 4.95) with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (envelope-from ) id 1qOLcw-001NaV-6S; Tue, 25 Jul 2023 19:15:14 +0200 Message-ID: <605d12e8a4fdcb238efc9b18fbd2637474de0049.camel@physik.fu-berlin.de> Subject: Re: [PATCH v2] sparc: Use shared font data From: John Paul Adrian Glaubitz To: "Dr. David Alan Gilbert" , Sam Ravnborg Cc: davem@davemloft.net, benh@kernel.crashing.org, sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 25 Jul 2023 19:15:08 +0200 In-Reply-To: References: <20230724235851.165871-1-linux@treblig.org> <20230725161040.GA832394@ravnborg.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT User-Agent: Evolution 3.48.4 MIME-Version: 1.0 X-Original-Sender: glaubitz@physik.fu-berlin.de X-Originating-IP: 80.134.211.130 X-ZEDAT-Hint: PO X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS,T_SCC_BODY_TEXT_LINE, T_SPF_HELO_TEMPERROR autolearn=ham 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 Dave! On Tue, 2023-07-25 at 16:53 +0000, Dr. David Alan Gilbert wrote: > * Sam Ravnborg (sam@ravnborg.org) wrote: > > On Tue, Jul 25, 2023 at 12:58:51AM +0100, linux@treblig.org wrote: > > > From: "Dr. David Alan Gilbert" > > > > > > sparc has a 'btext' font used for the console which is almost identical > > > to the shared font_sun8x16, so use it rather than duplicating the data. > > > > > > They were actually identical until about a decade ago when > > > commit bcfbeecea11c ("drivers: console: font_: Change a glyph from > > > "broken bar" to "vertical line"") > > > > > > which changed the | in the shared font to be a solid > > > bar rather than a broken bar. That's the only difference. > > > > > > This was originally spotted by PMD which noticed that PPC does > > > the same thing with the same data, and they also share a bunch > > > of functions to manipulate the data. The PPC code and the functions > > > I'll look at another time if this patch is OK. > > > > > > Tested very lightly with a boot without FS in qemu. > > > > > > Signed-off-by: Dr. David Alan Gilbert > > > > Looks good, thanks for the fixes. > > Reviewed-by: Sam Ravnborg > > Thanks > > > Let's hope someone picks it up... > > I was hoping Dave would, but I realise Sparc doesn't get much > these days. > Of course if anyone feels guilty about their own patches adding code > they can take this patch to make ~340 lines of penance. You can ask Andrew Morton to pick it up through his tree. He usually does that when no one else is willing to pick a patch up. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913