Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4788097rwb; Tue, 6 Sep 2022 12:43:45 -0700 (PDT) X-Google-Smtp-Source: AA6agR4hfuN2/TnOy7Vtp5E+wtOHyNP5PA6zECt+608kYNU75X/7Tk3BL0n2Gx3tYCWp9RijFSkC X-Received: by 2002:a63:90c3:0:b0:42b:231b:7cbc with SMTP id a186-20020a6390c3000000b0042b231b7cbcmr194374pge.115.1662493425317; Tue, 06 Sep 2022 12:43:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662493425; cv=none; d=google.com; s=arc-20160816; b=Vd+NP+NzxGQOkCvQi+6ndNWJJBtzKFu8TMvGOZWXX8PPRmqSWC2jgeJfLjrH7IYaOh R+/58sIEQqBqC+Y+MZqky7hGCc71o4N+QRqaxorI10/qpBpbZXK0StxjOM+u96oE+U1d asaHBlGv/++hFLjpsquR3higSnNAF3xylVfKNy2R2LXsSkhEC3YS5q3fg7Xnij2/2qFe ynGWt8OlEjuQWh+sZBv7rdTx8pSqxQEqwNhWANS2/xyZDa0ODKFzN8Qvf5qGGDfy51TQ fddztnI2kl/JrfSpmPZViea+lYSpimTp5Ag206MZ3OoiU0MJU8ErbmxW4Q+3jUCK6zt6 DNjw== 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=Q7k34QMFna+VMCWcVTBpDYwMMQqIocaQ24VXbz0U53E=; b=00H93Wn73/Rx87zh44GQL+TTSX9oUP9x/xSyO0TpFva1LKuZb/oAJAhDNp3t0JU7E/ b84z0o6z1eI9zwH+GSF9RE4D1+JggcDNMnWM+d7/xiXtNX1ZaQAI6aAZY3zWP0CuHQT7 wtF/L/MrkeWwfYdb4RhR3l9pTkQaYMSIj1n8i43u80NiUiB82c8ADZ0f35a+MEstLBb7 bcBZ/Oo1Kx7k7UO52AEq9bqvMCTrTNb+OcrYH6ULAbxssY4TIfd+X1Y1BayqXcTTHYjJ 3YgcwPowcwunheOy+rf9NoG28uloqQx6vrPfOLKH+AdEiIO1+M4jMXm9YG7KhkA717wd meZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ffwll.ch header.s=google header.b=fSlBCXUT; 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 h184-20020a6383c1000000b00434c132a41bsi1590820pge.147.2022.09.06.12.43.33; Tue, 06 Sep 2022 12:43:45 -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=@ffwll.ch header.s=google header.b=fSlBCXUT; 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 S229927AbiIFTkE (ORCPT + 99 others); Tue, 6 Sep 2022 15:40:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48306 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229838AbiIFTj7 (ORCPT ); Tue, 6 Sep 2022 15:39:59 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2489B21E1D for ; Tue, 6 Sep 2022 12:39:50 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id s23so7424816wmj.4 for ; Tue, 06 Sep 2022 12:39:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:from:to:cc :subject:date; bh=Q7k34QMFna+VMCWcVTBpDYwMMQqIocaQ24VXbz0U53E=; b=fSlBCXUTu5f+ysIYWkhIOcXEh0jK1dX6We3GoYUzQZD/pi1UP7PLGgh3ddRR5nF4bd IXrbHJCXywJEJD1/6lFMXsX2r6MtDTGZWi+ivQLGsdFh0rfWi0HwvRiTFhb2CKJArtDF 0cOn3TBXU4djET4/KpQEUGdEZGhaaUKc7Vuxs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date; bh=Q7k34QMFna+VMCWcVTBpDYwMMQqIocaQ24VXbz0U53E=; b=XdhxlaAMbhBRPudv1KKOlIhudPHKwlhy23LfjyXVwpCbOp7jX40OmIzmib7KhZeg+x rzKNk7BFZGfg7FaT/kp0f7XRdPQxQBlCaxX1OQxP1pICaesHxkTM1BVxJrIZOhCaj+E9 5VHr2v2fHRtZCWr6/NSOcv4MB0fn+L0YodX3IQpFPZt/vkTGVu1UeXWBI7z1fsL8kQlm YgNMQMEGldusfW4aYtNVJuZb7fsGT7Rnvhl7x5rnXcLK+lsoWSdg/6GzruSBUgPcOZ2w Wyk/Lgmoe1gnt7GsmSigOsYwUdE7eePo0bcCnG652KutU04WG2mTSTnn7OhG2Kt7M4C7 MfVg== X-Gm-Message-State: ACgBeo3cuiUBWvcmmYUWh2+AjBTJl0Zn/dnFK6Lo1xJp+xxCMsR8ze9U eS+qH5Fgruy9VVSTgr67bzOyAA== X-Received: by 2002:a05:600c:1554:b0:3a6:23d7:1669 with SMTP id f20-20020a05600c155400b003a623d71669mr14922175wmg.70.1662493188711; Tue, 06 Sep 2022 12:39:48 -0700 (PDT) Received: from phenom.ffwll.local (212-51-149-33.fiber7.init7.net. [212.51.149.33]) by smtp.gmail.com with ESMTPSA id e27-20020adf9bdb000000b0021f0ff1bc6csm8083000wrc.41.2022.09.06.12.39.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 12:39:48 -0700 (PDT) Date: Tue, 6 Sep 2022 21:39:45 +0200 From: Daniel Vetter To: Greg Kroah-Hartman Cc: Markuss Broks , linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Jonathan Corbet , Ard Biesheuvel , Jiri Slaby , Helge Deller , "Paul E. McKenney" , Borislav Petkov , Andrew Morton , Kees Cook , Randy Dunlap , Damien Le Moal , Thomas Zimmermann , Javier Martinez Canillas , Michal Suchanek , Andy Shevchenko , Arnd Bergmann , Wei Ming Chen , Bartlomiej Zolnierkiewicz , Tony Lindgren , linux-doc@vger.kernel.org, linux-efi@vger.kernel.org, linux-serial@vger.kernel.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Rob Herring Subject: Re: [PATCH 2/2] efi: earlycon: Add support for generic framebuffers and move to fbdev subsystem Message-ID: Mail-Followup-To: Greg Kroah-Hartman , Markuss Broks , linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Jonathan Corbet , Ard Biesheuvel , Jiri Slaby , Helge Deller , "Paul E. McKenney" , Borislav Petkov , Andrew Morton , Kees Cook , Randy Dunlap , Damien Le Moal , Thomas Zimmermann , Javier Martinez Canillas , Michal Suchanek , Andy Shevchenko , Arnd Bergmann , Wei Ming Chen , Bartlomiej Zolnierkiewicz , Tony Lindgren , linux-doc@vger.kernel.org, linux-efi@vger.kernel.org, linux-serial@vger.kernel.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Rob Herring References: <20220728142824.3836-1-markuss.broks@gmail.com> <20220728142824.3836-3-markuss.broks@gmail.com> <30ce6f21-0a91-81cb-8b03-5acff17c59ee@gmail.com> <27b40940-b8a7-2755-1ef5-e97d6b35dd2a@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: Linux phenom 5.18.0-4-amd64 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, T_SPF_TEMPERROR 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 On Sun, Aug 07, 2022 at 08:53:14AM +0200, Greg Kroah-Hartman wrote: > On Sat, Aug 06, 2022 at 07:26:07PM +0300, Markuss Broks wrote: > > Hi Greg, > > > > On 7/28/22 18:01, Greg Kroah-Hartman wrote: > > > On Thu, Jul 28, 2022 at 05:52:04PM +0300, Markuss Broks wrote: > > > > Hi Greg, > > > > > > > > On 7/28/22 17:39, Greg Kroah-Hartman wrote: > > > > > On Thu, Jul 28, 2022 at 05:28:19PM +0300, Markuss Broks wrote: > > > > > > Add early console support for generic linear framebuffer devices. > > > > > > This driver supports probing from cmdline early parameters > > > > > > or from the device-tree using information in simple-framebuffer node. > > > > > > The EFI functionality should be retained in whole. > > > > > > The driver was disabled on ARM because of a bug in early_ioremap > > > > > > implementation on ARM. > > > > > > > > > > > > Signed-off-by: Markuss Broks > > > > > > --- > > > > > > .../admin-guide/kernel-parameters.txt | 12 +- > > > > > > MAINTAINERS | 5 + > > > > > > drivers/firmware/efi/Kconfig | 6 +- > > > > > > drivers/firmware/efi/Makefile | 1 - > > > > > > drivers/firmware/efi/earlycon.c | 246 -------------- > > > > > > drivers/video/fbdev/Kconfig | 11 + > > > > > > drivers/video/fbdev/Makefile | 1 + > > > > > > drivers/video/fbdev/earlycon.c | 301 ++++++++++++++++++ > > > > > > 8 files changed, 327 insertions(+), 256 deletions(-) > > > > > > delete mode 100644 drivers/firmware/efi/earlycon.c > > > > > > create mode 100644 drivers/video/fbdev/earlycon.c > > > > > > > > > > That should be a rename, not a delete/create, right? > > > > > > > > Should this change be split into two separate commits, > > > > one for moving the file and the second for making changes? > > > > > > Git will show a rename and modification properly, if you use -M to git > > > format-patch, so it should be fine. > > > > It appears that there are so many changes Git would refuse to make it a > > "move" no matter what I do. What should be done here: should it be two > > separate commits for move/change or should it just be kept as delete/create? > > One commit to move the file, and then add your changes on top of it > might be the easiest to review, right? +1 I think this should be a least - commit to move the file, as unchanged as possible - commit to auto-select the right mapping mode (or maybe that's only in v2) - actual change to add the simplefb support with a clearly readable diff But also video/console is for Greg to maintain, I'm trying hard to not go even more stupid :-) -Daniel -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch