Received: by 2002:ac0:e34a:0:0:0:0:0 with SMTP id g10csp529262imn; Thu, 28 Jul 2022 08:02:51 -0700 (PDT) X-Google-Smtp-Source: AGRyM1t0Ggl6km/5ql6ckA7uzR6ymB1dZrfWtLAVKF520Fbh9c74IIXMNFDrNOY9m0g6TBLTFqmP X-Received: by 2002:a17:903:41c3:b0:16d:90f4:b96c with SMTP id u3-20020a17090341c300b0016d90f4b96cmr15035248ple.169.1659020571249; Thu, 28 Jul 2022 08:02:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659020571; cv=none; d=google.com; s=arc-20160816; b=txCIVkGHPCBrRrFO+l9GNqQZZY020Yw1M6kIviXqGwwfyRWROENFA5BU42ap20I7np 5C4+bTAISv4GOCepnZQDofSmS1lZGzqD60Uu89n2YCW83nhlaTuPva5mQ2gwdzrWTFBp uGVfkoHTzUI3+ugj9JjsuDkG+F8l6LrNwSVZSaGXsa50E/I3MDclkcWqeevEBiwdWqGm BdClNZoxaUT337L32zzoe9qGGP59TVQz2KJwU5n3jqkP+xxARM/3UGoUYZSqzL7BcRzc IDatfnRMx0zuE52YrenCW3uCNqxQMiR1gPum0Ssl9WuH2LsWqAVBc9Dy2DPmdo8kXi43 7lWg== 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; bh=rraXuBfEYGrnthVJteIACj2Rxqz05m50yYUjsyyD8qI=; b=HeGIUURaKojQAr0zj/YOJGrn56RhOuDDqyWd+4AzN7j91CQjV3fu2QLP1H+nR32mSy Kc/glxyfJFugs8mZ+00rZdXlpvbTuV8/E0EbHybq8kAjGkMDe5uYN8iTZDjTBGj6J18Z S+/1gbD4FOkcRXDQCULUnWiJ2pXoOnOyT/ztESj+YR5cZvlwuC+LMxPToYkXlaOMMiwa tXJf3GazQBL8bmNbaIc6v3xjnSZ18F7b03EtA5Fx7v2WBFmrVgbkMzLklDLDo/UXa2bj xcYr1TF0jGzEjFfuxbuEV8+Aqp8T23n1wR9BzrRttcTnRaNFO/A7m62Hvde8AO9ZhPEg jESQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JWDZDXIR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v3-20020a631503000000b00415ed5db5absi1180638pgl.772.2022.07.28.08.02.33; Thu, 28 Jul 2022 08:02:51 -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=@linuxfoundation.org header.s=korg header.b=JWDZDXIR; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231288AbiG1PBd (ORCPT + 99 others); Thu, 28 Jul 2022 11:01:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230172AbiG1PB3 (ORCPT ); Thu, 28 Jul 2022 11:01:29 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12F212F663; Thu, 28 Jul 2022 08:01:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 64805619A0; Thu, 28 Jul 2022 15:01:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F0B4C433C1; Thu, 28 Jul 2022 15:01:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1659020487; bh=AnGfT+ICsOyh5alSICQ2W481AGcoHD5Y+3Yjrk8MoK8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JWDZDXIRbUZ/IoBQeMzzoHOc5I2XHIwsTCKOeb2aQomZWw6DzieJDUzQEbGaqLe+0 GuKlglVyhlolxfqdliF2m8KVh6DVDom4+rgyjGJ2nPulYrYgxdsVOFP7ZsA6/8nN09 7rHvsufLcp53MTiIJcJGydPBj/k+wfMofQWXFGSo= Date: Thu, 28 Jul 2022 17:01:25 +0200 From: Greg Kroah-Hartman To: Markuss Broks Cc: 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: References: <20220728142824.3836-1-markuss.broks@gmail.com> <20220728142824.3836-3-markuss.broks@gmail.com> <30ce6f21-0a91-81cb-8b03-5acff17c59ee@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <30ce6f21-0a91-81cb-8b03-5acff17c59ee@gmail.com> X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 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.