Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3174536pxb; Mon, 16 Nov 2020 07:38:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJyL/ud5WiugHN9zAuHn1Ul6fA2B/6LitRC8/1dUV3n6YdHoOJwEeZ4aQRK7sXY6G/WyoOWS X-Received: by 2002:a17:906:38d3:: with SMTP id r19mr15541031ejd.525.1605541126373; Mon, 16 Nov 2020 07:38:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605541126; cv=none; d=google.com; s=arc-20160816; b=FN5xXRNTB8CBo+24zADZqzISdgW1v4PSl2p4HxyX/FLtBm1A3HsNJAqkK0Y47kUaI6 ThmCVIwiKbrkhO2dKbulnGYXriGQOHgwql+LeL3gkgXQegou2emoRsSNT0OPgHA85tj8 ResoObPOH0z+b4cOswMiRjlUoQfVUH0bzumL2wO84oEJhi6VZWgw+M7aX/wuoTrtCyhI k5xKVAyLi+aAor41ebgvzVXdHnyF0ufgDwumYgsqZRry/s9dITB12/EurKXHtRMH0vnZ Acgp0J64D8UeJSIo7xgcgmmusx1/GQldHNJp7iulO8K0VGgLTW+N0s2NHYuju5NPhFi9 6wzg== 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:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=bftfhnX/eEwrSLEmEZfOTDJhOE+yWsLG0tNmcvU7v9E=; b=CdIJPtdcaSjKFNqopKz4PezowE6Zo1SHhvwc6QRpa7w/8MgnE9beY6Jde2Ut4uFrQP wZmgzzlTnNlM9iY2PuS2Skvul6CP2JXZgMn4POYHHjLH8VhGrgFLgjLe+BnSIjAvBQLP Z8SgFxXWQx3nk01h5XbubZHW0YCs4V657G2vra+zA1bJ8OEcCvsUjMArzutSb6dcDQJx QSFPlRBoOc0l+8W3l4BD9dcq3C2oUAz5j3oZ1CxMCoL9/6i4suFm9+Kjv1u6tfTBKqas g2i1qJQoJZPMUMQh9vKStAmpn+Ir6A6p7LSjSgVuI5fdQYNM/v8f+O6w7Q4VPbrD1qYu 8kLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=fYbtOv2C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u6si12323031ejf.231.2020.11.16.07.38.23; Mon, 16 Nov 2020 07:38:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=fYbtOv2C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731062AbgKPPeD (ORCPT + 99 others); Mon, 16 Nov 2020 10:34:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730122AbgKPPeC (ORCPT ); Mon, 16 Nov 2020 10:34:02 -0500 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5478DC0613CF for ; Mon, 16 Nov 2020 07:34:02 -0800 (PST) Received: by mail-wm1-x343.google.com with SMTP id 10so24111868wml.2 for ; Mon, 16 Nov 2020 07:34:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=bftfhnX/eEwrSLEmEZfOTDJhOE+yWsLG0tNmcvU7v9E=; b=fYbtOv2CeJtUdxBkmjy1CRIrtst5PAeupiQlzB2MeNjjoMegwo0SgZEVQkQdQ43obg X+DUfSWkUXn+hncJ4JX4zYyvXil9jKWfKTHhHIBw757ucMDEKevCM7NnLjGTvA6SeOGP u9g6Br/jg48FNO6DoFVwX0/csmOtsw3XQMWjY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=bftfhnX/eEwrSLEmEZfOTDJhOE+yWsLG0tNmcvU7v9E=; b=Axum6dwSt5CXG6yGll2ewyVf4ZrKfTcP6r2/vCFN2b9z+hGiS4B8h96ty1/zeDz2NV CRBBnQMBPo71oNv6sgN2NU3+J3VjzF25U3sR4x9RFCHPS4xK6D/cUnc1oY73PwOiyRgB nhtGMTee5Wo+85fxs2qaqg79ijfx4XxntnoPbcss3AOGNKZJW/gkfN/yGrL2Dw9oO8VP m76Wv7LhszNbKLYHBWRd+V+teQJDzSVWPEMheIRWcE0duhLjn6fQIvwe8lwnrBOS5KrC cJFsl03R8IfaGUj1x5LhtomSpagWZwNU7EemLULbioI9B/OrzNlQ44wbst6hebzWn8eM 01Lg== X-Gm-Message-State: AOAM531LUCLpQZuPdtIvjjVAth7MWkC409x1HUyPb1XiG6pog0fyXapc PsQM5IJmZW9QRgI2fRv8PZEVTQ== X-Received: by 2002:a7b:c772:: with SMTP id x18mr17074781wmk.185.1605540840938; Mon, 16 Nov 2020 07:34:00 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id x2sm17710549wru.44.2020.11.16.07.33.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 07:34:00 -0800 (PST) Date: Mon, 16 Nov 2020 16:33:58 +0100 From: Daniel Vetter To: Greg Kroah-Hartman Cc: Peilin Ye , Jiri Slaby , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org Subject: Re: [PATCH v3 0/5] console: Miscellaneous clean-ups, do not use FNTCHARCNT() in fbcon.c Message-ID: <20201116153358.GB401619@phenom.ffwll.local> Mail-Followup-To: Greg Kroah-Hartman , Peilin Ye , Jiri Slaby , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org References: <20201113211633.GY401619@phenom.ffwll.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: Linux phenom 5.7.0-1-amd64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 13, 2020 at 11:47:51PM +0100, Greg Kroah-Hartman wrote: > On Fri, Nov 13, 2020 at 10:16:33PM +0100, Daniel Vetter wrote: > > On Thu, Nov 12, 2020 at 07:02:21AM -0500, Peilin Ye wrote: > > > Hi all, > > > > > > This is a collection of some miscellaneous clean-ups for fbcon and some > > > console drivers. Since v2, I rebased them on linux-next, added some > > > Reviewed-by: tags from Daniel and Greg, and rewrote the commit messages as > > > suggested by Jiri. See [1] for v2 links. > > > > > > It does the following: > > > > > > - Garbage collect KD_FONT_OP_COPY callbacks since we disabled it > > > recently. Mark it as obsolete. > > > - Delete dummy con_font_op() callbacks. (Reviewed by Greg) > > > > > > - Add a charcount field to our new font descriptor, `struct font_desc`. > > > (Reviewed by Daniel) > > > - Do not use a hard-coded 256 for built-in font charcount in > > > console/sticore.c, use the new charcount field of `struct font_desc` > > > instead. (Reviewed by Daniel) > > > - Similarly, in fbcon.c, avoid using the magic negative-indexing macro, > > > FNTCHARCNT(). Set `vc->vc_font.charcount` properly and always use that > > > instead. > > > > > > Daniel, hopefully [5/5] removes FNTCHARCNT() for ever, but I have not > > > tested it sufficiently yet. I remember you mentioned elsewhere that > > > "fbtest.c" is insufficient for framebuffer testing, then how should we > > > test it? The first 4 patches should be fine. > > > > > > Please reference commit messages for more information. Thank you! > > > > > > [1] v2 links: > > > > > > 2/5: https://lore.kernel.org/lkml/c5563eeea36aae7bd72ea2e985bc610d585ece40.1604306433.git.yepeilin.cs@gmail.com/ > > > 3/5: https://lore.kernel.org/lkml/20201028060533.1206307-1-yepeilin.cs@gmail.com/ > > > 4/5: https://lore.kernel.org/lkml/c38042bbf5c9777c84900d56c09f3c156b32af48.1603788512.git.yepeilin.cs@gmail.com/ > > > 5/5: https://lore.kernel.org/lkml/20201028155139.1220549-1-yepeilin.cs@gmail.com/ > > > > > > Peilin Ye (5): > > > console: Delete unused con_font_copy() callback implementations > > > console: Delete dummy con_font_set() and con_font_default() callback implementations > > > Fonts: Add charcount field to font_desc > > > parisc/sticore: Avoid hard-coding built-in font charcount > > > fbcon: Avoid using FNTCHARCNT() and hard-coded built-in font charcount > > > > Patches all look good to me, if Greg is ok with me applying the entire > > pile to drm-misc-next I'll do that next week. > > Yes, please do! > > Reviewed-by: Greg Kroah-Hartman Pulled entire series into drm-misc-next. -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch