From: Daniel Vetter <daniel@ffwll.ch>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-fbdev@vger.kernel.org, linux-efi@vger.kernel.org,
Markuss Broks <markuss.broks@gmail.com>,
linux-doc@vger.kernel.org, Tony Lindgren <tony@atomide.com>,
dri-devel@lists.freedesktop.org,
Wei Ming Chen <jj251510319013@gmail.com>,
phone-devel@vger.kernel.org, Jiri Slaby <jirislaby@kernel.org>,
Ard Biesheuvel <ardb@kernel.org>, Arnd Bergmann <arnd@arndb.de>,
Jonathan Corbet <corbet@lwn.net>,
Damien Le Moal <damien.lemoal@opensource.wdc.com>,
Javier Martinez Canillas <javierm@redhat.com>,
linux-serial@vger.kernel.org, Borislav Petkov <bp@suse.de>,
Kees Cook <keescook@chromium.org>,
"Paul E. McKenney" <paulmck@kernel.org>,
Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
~postmarketos/upstreaming@lists.sr.ht,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Michal Suchanek <msuchanek@suse.de>,
Randy Dunlap <rdunlap@infradead.org>,
linux-kernel@vger.kernel.org,
Thomas Zimmermann <tzimmermann@suse.de>,
Andrew Morton <akpm@linux-foundation.org>,
Helge Deller <deller@gmx.de>
Subject: Re: [PATCH 2/2] efi: earlycon: Add support for generic framebuffers and move to fbdev subsystem
Date: Tue, 6 Sep 2022 21:39:45 +0200 [thread overview]
Message-ID: <YxeiAbw0OLb7OP7V@phenom.ffwll.local> (raw)
In-Reply-To: <Yu9hWu8IseJlpCUK@kroah.com>
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 <markuss.broks@gmail.com>
> > > > > > ---
> > > > > > .../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
next prev parent reply other threads:[~2022-09-06 19:39 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-28 14:28 [PATCH 0/2] Add generic framebuffer support to EFI earlycon driver Markuss Broks
2022-07-28 14:28 ` [PATCH 1/2] drivers: serial: earlycon: Pass device-tree node Markuss Broks
2022-07-28 14:38 ` Greg Kroah-Hartman
2022-07-28 21:04 ` Andy Shevchenko
2022-07-29 7:57 ` Greg Kroah-Hartman
2022-07-29 10:47 ` Andy Shevchenko
2022-07-28 14:28 ` [PATCH 2/2] efi: earlycon: Add support for generic framebuffers and move to fbdev subsystem Markuss Broks
2022-07-28 14:39 ` Greg Kroah-Hartman
2022-07-28 14:52 ` Markuss Broks
2022-07-28 15:01 ` Greg Kroah-Hartman
2022-08-06 16:26 ` Markuss Broks
2022-08-07 6:53 ` Greg Kroah-Hartman
2022-09-06 19:39 ` Daniel Vetter [this message]
2022-07-28 21:06 ` Andy Shevchenko
2022-07-28 14:48 ` Arnd Bergmann
2022-07-28 14:57 ` Markuss Broks
2022-07-28 15:16 ` Arnd Bergmann
2022-07-28 18:13 ` Thomas Zimmermann
2022-07-28 21:19 ` Andy Shevchenko
2022-07-30 11:54 ` Markuss Broks
2022-07-30 10:25 ` Andy Shevchenko
2022-07-28 21:20 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YxeiAbw0OLb7OP7V@phenom.ffwll.local \
--to=daniel@ffwll.ch \
--cc=akpm@linux-foundation.org \
--cc=andriy.shevchenko@linux.intel.com \
--cc=ardb@kernel.org \
--cc=arnd@arndb.de \
--cc=b.zolnierkie@samsung.com \
--cc=bp@suse.de \
--cc=corbet@lwn.net \
--cc=damien.lemoal@opensource.wdc.com \
--cc=deller@gmx.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=gregkh@linuxfoundation.org \
--cc=javierm@redhat.com \
--cc=jirislaby@kernel.org \
--cc=jj251510319013@gmail.com \
--cc=keescook@chromium.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-efi@vger.kernel.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=markuss.broks@gmail.com \
--cc=msuchanek@suse.de \
--cc=paulmck@kernel.org \
--cc=phone-devel@vger.kernel.org \
--cc=rdunlap@infradead.org \
--cc=tony@atomide.com \
--cc=tzimmermann@suse.de \
--cc=~postmarketos/upstreaming@lists.sr.ht \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).