Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp335340rwb; Tue, 25 Jul 2023 16:58:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlE19Y4IgZlQuc7BhiJ86SwbaVIf3qtd3oXs61MLqx9ATvjUpYJGVy7X75EdGYOfmD/nrpd8 X-Received: by 2002:a17:90a:6649:b0:268:414c:ff3 with SMTP id f9-20020a17090a664900b00268414c0ff3mr510793pjm.23.1690329512943; Tue, 25 Jul 2023 16:58:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690329512; cv=none; d=google.com; s=arc-20160816; b=IY8X4iywlqrkzN7Cqn6kgiMTDYHzF2Ku2glA6R1HIRhMjcUSu0D6NAd5nK7hEmqNup witLdg0/moyHXiJEC0lT6M8AnB9Rk4YGrtkAL1X1tnLm/+5sBN3wLUJLcexm4mVJRPRB q8eK8i99hJSXeZVaG0Ok9pzlcHHAvENhbPVZnwolnAjiSnkwPCZYSP8tO6HUavuVfIaB 5SapTAdSBqEmyA6Q6jiAUcLYPN2bIVa+Jd92MBBLOSf0UwYPYmVHt/O5zj9gjgOVNKJY L32CNQ8AItBEMBbhtNwFXTK3kIHQVaUrPYCLrR2n7PXGC3JM78eIMiY/P5cN9sLY54dW fJCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=tpcY/KRZk5hiP87JmAb/M+fcCqvEACvi7wT7XhSE4Vg=; fh=17FjaaG+WxTQMZDJzYdpGG3AVAe2K19Mw9Go/7TCqNg=; b=j/WCm7QB22o7jbw5dYGhqmhpmNaytxBzCuDHKwbyJsZzpXcYNJEpOiofzJfHDy0ZU5 oKYT+nTqKbBY8PIDCB7J1CVK3v6L8FZTzRXmNtJitOBq00Qw5dNPmCXKXo8ZdLEaUAwC eizc9ErnMh+6tZi88FUXmkoDGBL/PMgxKsakelwpMnXglPDXJbmA0HVdLtko+8hBKspz 3E2eElmjTC9hLYPpM5T8Z2LZmiOS6chOTyqIb8kK4lZ0mnQ5x6gYzisKLS+le4zDmTAS e55R4IBgjnBURfflK31kVNMEo7MfXssSiIC6S0e/WGnOPCa9STbazvlHCWRnZ6+HSlVL K0GA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@treblig.org header.s=bytemarkmx header.b=c0MMfSLP; 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 u8-20020a17090a4bc800b0026822221502si192080pjl.163.2023.07.25.16.58.20; Tue, 25 Jul 2023 16:58:32 -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=fail header.i=@treblig.org header.s=bytemarkmx header.b=c0MMfSLP; 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 S231224AbjGYXJx (ORCPT + 99 others); Tue, 25 Jul 2023 19:09:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229740AbjGYXJw (ORCPT ); Tue, 25 Jul 2023 19:09:52 -0400 Received: from mx.treblig.org (unknown [IPv6:2a00:1098:5b::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35961E0; Tue, 25 Jul 2023 16:09:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID :Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe :List-Post:List-Owner:List-Archive; bh=tpcY/KRZk5hiP87JmAb/M+fcCqvEACvi7wT7XhSE4Vg=; b=c0MMfSLPkjphEMgyJhSFY51/jz FMArs3JcyyCm6OJNQZzNH0BOKVo+3b1Z+7Dl3fYzAtQNRXH1o1f9YAmVGRkC9WX3uzjbIhkvUAZ0Q aAeNt1dpyNqz4JxmzhoG1Js+6P4jpighifXpfIOUhKYs0TduKPwStyljD3pD6FGLxQ+zZXOR3n+TX xbxtFeyFMj+L1Nd1OoZBntBWnYF5tG268ztEw1UYIxwRB+dPI/NHXr3ngmyA748pm88U5dBo7cett d6MJad9KvaIzQvgxq3GwxCOmtTAnGZCE/sblpRjrjjlLFLHU20mQ0XWIWbZS+nI47ZHDld36FV/8r oDMhcdtg==; Received: from dg by mx.treblig.org with local (Exim 4.94.2) (envelope-from ) id 1qOR9x-003Kui-43; Tue, 25 Jul 2023 23:09:41 +0000 Date: Tue, 25 Jul 2023 23:09:41 +0000 From: "Dr. David Alan Gilbert" To: John Paul Adrian Glaubitz , akpm@linux-foundation.org Cc: Sam Ravnborg , davem@davemloft.net, benh@kernel.crashing.org, sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] sparc: Use shared font data Message-ID: References: <20230724235851.165871-1-linux@treblig.org> <20230725161040.GA832394@ravnborg.org> <605d12e8a4fdcb238efc9b18fbd2637474de0049.camel@physik.fu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <605d12e8a4fdcb238efc9b18fbd2637474de0049.camel@physik.fu-berlin.de> X-Chocolate: 70 percent or better cocoa solids preferably X-Operating-System: Linux/5.10.0-23-amd64 (x86_64) X-Uptime: 23:08:03 up 19 days, 8:39, 1 user, load average: 0.00, 0.01, 0.00 User-Agent: Mutt/2.0.5 (2021-01-21) X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RDNS_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 * John Paul Adrian Glaubitz (glaubitz@physik.fu-berlin.de) wrote: > Hi Dave! Hi Adrian, > 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. Thanks for the suggestion, I've copied Andrew in, although there's obviously no rush since it's just a dedupe. Dave > Adrian > > -- > .''`. John Paul Adrian Glaubitz > : :' : Debian Developer > `. `' Physicist > `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913 -- -----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/