Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4699717rwo; Tue, 25 Jul 2023 09:38:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlEzFulO4JrK3ttRb4woBYYlTJcbb3VUsnPCvrwefLAlm4zzm1hbK2QjqTzHmA3OQbXS6iC7 X-Received: by 2002:a05:6512:2e4:b0:4fe:95e:159a with SMTP id m4-20020a05651202e400b004fe095e159amr1270409lfq.23.1690303130774; Tue, 25 Jul 2023 09:38:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690303130; cv=none; d=google.com; s=arc-20160816; b=Ygmpuyavq1OnyTxYxyIQgUnK703+El/2LeWDQd0Q8/oM+ktaxiWl7xoHAWuslx71TG V0hoLioKqXhEOfWB31iE72UTZP5jCe4JAvyvoVCXTuETZ7deHfZIn3o/dYZ4I9520MVe 4lXjTWpFQL5Ox2BsoiZFJYgP1jFmIZfYLDEXQ6HpZChV6QqKkUAv8Lrf2Ij5tsmlVVE7 QzxikNa+t8rlB5820qMIlhmAOY1YvmbUFFyZ9xJL+hpNxTWukD9FkVOr62sngSzcmda2 wY7ox19JT2H42ZZ9INhJRbs0uTQ2lW9lXwdwFRop0Qw+axGmm3vdsa3iyeABg+7tZaj/ hKfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=Cw0rSgWDkapwKrtV1yb4DAXkoD6Qi6nW+7bK2LlKxI8=; fh=RpYLm0IUTKgvaYrAGz9jYwxOu+xAWKI7g2XQXv37ego=; b=As43GMm9omkd8y7WOoCxiXcaFJsAFHRAFgay3pCmDVbqWKZ22hRWjV051/oTUo4aNe 78giPns74TxPtETRcF1DeXf1e8zt0CoKJVAb3ep82TUtaHnXhKYMF1ekXwA/cmac8Twr kvOTaU7bnduo0lxpTOIXAey+oh2NR0koJZcBjGIckKlSL9/e41RmY17Mb2aRfJXFpNiC RaJpWdfsh5OQt/15C0q3vkVIsaRGNBvQcdRJ51aXI+Y5/6wj/vmS4bGy2y8tBm5Jjwrl u4VWps4Mglw9ONcSR0P0rYAPYsU8JDsOwmTDalD9+BgW2q8iHFvzz12Hn6wxGs7ltM41 18Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ravnborg.org header.s=rsa1 header.b=LMuii0YU; dkim=neutral (no key) header.i=@ravnborg.org header.s=ed1 header.b=6udjONwz; 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 e13-20020a50ec8d000000b00521764d4021si7879469edr.544.2023.07.25.09.38.26; Tue, 25 Jul 2023 09:38:50 -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=@ravnborg.org header.s=rsa1 header.b=LMuii0YU; dkim=neutral (no key) header.i=@ravnborg.org header.s=ed1 header.b=6udjONwz; 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 S230044AbjGYQLs (ORCPT + 99 others); Tue, 25 Jul 2023 12:11:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229502AbjGYQLr (ORCPT ); Tue, 25 Jul 2023 12:11:47 -0400 Received: from mailrelay5-1.pub.mailoutpod2-cph3.one.com (mailrelay5-1.pub.mailoutpod2-cph3.one.com [46.30.211.180]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9320497 for ; Tue, 25 Jul 2023 09:11:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ravnborg.org; s=rsa1; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=Cw0rSgWDkapwKrtV1yb4DAXkoD6Qi6nW+7bK2LlKxI8=; b=LMuii0YUL0u0Nz6ZDEctnWCfXXVz2diSZuExElJK8e80DmVxgQ2oRlDtxJ+BX+lqC8FQj6DC4b14j RkQMAtexvHYe56elwXmC6IzLpevK/TArH0WUT8L2M1SUCjKdAt7nhJgf6hG1CYTt7BL0yhYyZlbUO2 2KHvdET1w7UEJ0BaU4Vm8hQBwMWfJPW6kWw9bs9pYhFihQeiVsMqwcfdWL7Gbqe5deuNoxOEfnG9mO 2EKIzP7MJdi1BV1KSk9JFvihu3TeUhmOu5QTZcNQUXeoaEJhsxr224Or+EwMbU7f/7xV/9nNlpeFup aecFEqNGyZtwdoObVZqVQ1ivVfBjEMw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ravnborg.org; s=ed1; h=in-reply-to:content-type:mime-version:references:message-id:subject:cc:to: from:date:from; bh=Cw0rSgWDkapwKrtV1yb4DAXkoD6Qi6nW+7bK2LlKxI8=; b=6udjONwzC4RS6UCDRwuB0jT3P0S272OHqJSZGbjhVLdf+Grie/fQntnVOmdERgC/I33l0gCQh2m4L bYY5YZUBw== X-HalOne-ID: cc724f5c-2b05-11ee-a82b-55333ba73462 Received: from ravnborg.org (2-105-2-98-cable.dk.customer.tdc.net [2.105.2.98]) by mailrelay5 (Halon) with ESMTPSA id cc724f5c-2b05-11ee-a82b-55333ba73462; Tue, 25 Jul 2023 16:10:42 +0000 (UTC) Date: Tue, 25 Jul 2023 18:10:40 +0200 From: Sam Ravnborg To: linux@treblig.org Cc: 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: <20230725161040.GA832394@ravnborg.org> References: <20230724235851.165871-1-linux@treblig.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230724235851.165871-1-linux@treblig.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 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 Let's hope someone picks it up... Sam