Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp200415pxa; Fri, 14 Aug 2020 01:21:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwgyNylbygYUnLPeoklFamZib3n1uHYDEJf2d1RxqJR8E8kIC4odSrF17YLz6S+t9sF0Nvu X-Received: by 2002:aa7:da52:: with SMTP id w18mr1200661eds.367.1597393304360; Fri, 14 Aug 2020 01:21:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597393304; cv=none; d=google.com; s=arc-20160816; b=eczjAdsREbGq9/FaTfk9gbfq3wAZkQ9T+2NtFSq1ye3vCMWHAQVgBnX2TdbU0MRiHf mhcssuunmhtzlEkszkRSIeXFyQnm5fZN5hx6zoPEt1fj2bKciBiq4qDMgWi3ujsi9VOI ybNjoORINsPvprCwMf76rk1ZPeQTJK7wN3QTyOXIgCpHcnzuhoDCzeOqzayNs4X04TXY Tqfp44OkZmhfF1XG66ZQKvlRiDShU8pQMueRnbPIcC8a8NQMxASYSK17UT+Stn+aAVT/ oM2nBer2kYhXL8LffnBfgpHtZhScCsqUNyJdnCNq48SK+SC/udcuR/gx0lzK717xEJcK MwvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Km/GzkaKwGQO9Fv0OP07q4wzU/e/MTFwUZ3c+ay8tyc=; b=kafcTheyXwiVbAhTqVSKUUCjn2jOYNbpNdcB03BXCIZuYsl7pBVUFCPd3Kz8KNvL9t 7T4nrvCBN0j7iDNLuZz/nFJBxMYWxh2t6Yj/bIVsAv4XvTI8jt2z/NZ/OX0kzwCeWICJ kdjYv8S1E52vHnuE14/0GRX4xo3PPdzOW/VpmMtScXqHba+aPmOaTc9UqyQcJcZMlLyG bYQXaiZgxblzuwXbAk0lxNVAR63R8Z9sy3KwO4WPKY4SzeHCbRIHgj6TzJDGowT2IKp8 gobLbFuo4pTyoxFszFk0BEBgR1r8xZTNtI+frHY4yvO7/cII4TBlt2ckMNapsMmSNuYj j35w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=zjAF2U3Q; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gl25si5029567ejb.424.2020.08.14.01.21.21; Fri, 14 Aug 2020 01:21:44 -0700 (PDT) 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=@kernel.org header.s=default header.b=zjAF2U3Q; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727796AbgHNIR0 (ORCPT + 99 others); Fri, 14 Aug 2020 04:17:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:55890 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726641AbgHNIRY (ORCPT ); Fri, 14 Aug 2020 04:17:24 -0400 Received: from mail-ot1-f47.google.com (mail-ot1-f47.google.com [209.85.210.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1EF4222BED; Fri, 14 Aug 2020 08:17:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1597393043; bh=HY+m6iT/uKtSV5so9rt7C5SbeoJZc1Tb9Nu33p1f+dI=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=zjAF2U3QtvbdVbmBZL64LWKNRCIfq2QOSRlURJtS+XX0RvrrqQ39DmDlicM3G7j4L cW1rNC9hufaJk/Mqi1+xKr+EcLsnQZ50Vvn9nG7GNwZ4KmgSxStXhX3AyQTRjgqPWv nlDiYXrfYQXYktHs5DZPAk6FC0jm2ZlFJQXVg3iw= Received: by mail-ot1-f47.google.com with SMTP id h16so6971193oti.7; Fri, 14 Aug 2020 01:17:23 -0700 (PDT) X-Gm-Message-State: AOAM533ccws27WcL5IDlR2Hi3Dtp5/SV/l6lPTvd0lr6yVfGBj0cL6U1 P3P5g4MEfwp0tGUFO58tTFovP+wsQUAL0pdw2tg= X-Received: by 2002:a05:6830:1d8c:: with SMTP id y12mr1175113oti.77.1597393042323; Fri, 14 Aug 2020 01:17:22 -0700 (PDT) MIME-Version: 1.0 References: <20200812234758.3563-1-atish.patra@wdc.com> <20200812234758.3563-8-atish.patra@wdc.com> In-Reply-To: <20200812234758.3563-8-atish.patra@wdc.com> From: Ard Biesheuvel Date: Fri, 14 Aug 2020 10:17:11 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v5 7/9] efi: Rename arm-init to efi-init common for all arch To: Atish Patra Cc: Linux Kernel Mailing List , Albert Ou , Alistair Francis , Andrew Morton , Anup Patel , Arvind Sankar , Borislav Petkov , Greentime Hu , Ingo Molnar , Kees Cook , linux-efi , linux-riscv , fwts-devel@lists.ubuntu.com, Mao Han , Masahiro Yamada , Michal Simek , Mike Rapoport , Nick Desaulniers , Palmer Dabbelt , Paul Walmsley , Steven Price , Waiman Long , Will Deacon , Daniel Schaefer , "abner.chang@hpe.com" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 13 Aug 2020 at 01:48, Atish Patra wrote: > > arm-init is responsible for setting up efi runtime and doesn't actually > do any ARM specific stuff. RISC-V can use the same source code as it is. > > Rename it to efi-init so that RISC-V can use it. > > Signed-off-by: Atish Patra Acked-by: Ard Biesheuvel Note to the maintainer: to the extent possible, please put the patches in this series that touch drivers/firmware/efi on a separate branch based on v5.9-rc1, and merge that into your for-v5.10 branch at the appropriate spot. I don't have anything queued in the EFI tree at the moment, and so these changes can happily go through the riscv tree, as long as I am not forced to merge a bunch of unrelated changes on the off chance that something does come up. > --- > drivers/firmware/efi/Makefile | 2 +- > drivers/firmware/efi/{arm-init.c => efi-init.c} | 0 > 2 files changed, 1 insertion(+), 1 deletion(-) > rename drivers/firmware/efi/{arm-init.c => efi-init.c} (100%) > > diff --git a/drivers/firmware/efi/Makefile b/drivers/firmware/efi/Makefile > index 7a216984552b..61fd1e8b26fb 100644 > --- a/drivers/firmware/efi/Makefile > +++ b/drivers/firmware/efi/Makefile > @@ -32,7 +32,7 @@ obj-$(CONFIG_EFI_EMBEDDED_FIRMWARE) += embedded-firmware.o > fake_map-y += fake_mem.o > fake_map-$(CONFIG_X86) += x86_fake_mem.o > > -arm-obj-$(CONFIG_EFI) := arm-init.o arm-runtime.o > +arm-obj-$(CONFIG_EFI) := efi-init.o arm-runtime.o > obj-$(CONFIG_ARM) += $(arm-obj-y) > obj-$(CONFIG_ARM64) += $(arm-obj-y) > obj-$(CONFIG_EFI_CAPSULE_LOADER) += capsule-loader.o > diff --git a/drivers/firmware/efi/arm-init.c b/drivers/firmware/efi/efi-init.c > similarity index 100% > rename from drivers/firmware/efi/arm-init.c > rename to drivers/firmware/efi/efi-init.c > -- > 2.24.0 >