Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp906773pxa; Wed, 12 Aug 2020 16:50:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/OmYJOAlq42MbBT1pY5sjujiuFauHJJdzJQlHfv/S4DQlq/T9H91OQd7obrXWrK9qOIW9 X-Received: by 2002:a17:907:2067:: with SMTP id qp7mr2245598ejb.378.1597276236512; Wed, 12 Aug 2020 16:50:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597276236; cv=none; d=google.com; s=arc-20160816; b=Nps3SmwLnacXywpS4N808cvA7Hs2wJdoJfoTjaBc82ojf9igTDMRb3j/vr9kCvwG+v xDXSTmHWquQPjRQSqTJj2UiQpzVX4jCMfcjLIG7MzlbUCX94dzByb9BK43bzRKJ5qP7P jkK6r61qSIf+eEuTjC0+GcUofHt2Q1zF3NVlRipsjNSJYWP7CWxFrZ57InEcxbjvuJMe H+GheAGSmQ+z3qfubfzZMuF5nZVNy6PMq7r2sslqS8SBcOQWxD9qX3Ic+Qvrvs1BIm2O SRnR70LPwYL1BsXX/O8otQhcBjxFSib/V1fGGGe2w+1LaJUnUahv/4XVtrr4zKvNYxMX H6dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :wdcironportexception:ironport-sdr:ironport-sdr:ironport-sdr :dkim-signature; bh=AtGSzzzuZGGn9Unje3T47Y3MyXZ1RfuTO0/0W+d5KNM=; b=ZHDygpmoTk4zro5ptSJjbcspkDhaTuY2TcKR64eRcZNsFfOZWlS2XsmO8HmeJx3Naj VwXaoujlFnbndMBfMHjclSYUxM7/3ebTtsUTFgLMqKimveXY6+0kXvU1LI5u7yic9fPt /VYZL5UsIho9ZXiHcKfIdrD8mEm+rEKe4qCYWedRdmtY4kDOXkngRXM+WBYsl8yMk5cR AmVOI9j7/7Es7YqHkWU4r6s9gEBXDPEmrBUN188xTWTmTm6iVsfRkiPEs76efnMHAgpB iruOzR0P85sEqhXm/+J/Vi6jkKcX2trsFogwsdevkrxauW+uYcNpNoDPSLTtO85XsTWc RyIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=O0maVcWY; 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=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r7si2051839ejo.640.2020.08.12.16.49.34; Wed, 12 Aug 2020 16:50:36 -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=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=O0maVcWY; 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=fail (p=NONE sp=NONE dis=NONE) header.from=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726727AbgHLXsw (ORCPT + 99 others); Wed, 12 Aug 2020 19:48:52 -0400 Received: from esa3.hgst.iphmx.com ([216.71.153.141]:52579 "EHLO esa3.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726678AbgHLXsi (ORCPT ); Wed, 12 Aug 2020 19:48:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1597276119; x=1628812119; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=T6HBziqjPfpEOovieQwcPFPkqxzZPptEH0FVtMgRIac=; b=O0maVcWYWJm0JpWK7Zwf6EtJmsROG1Z/4hfPcLAge2aIgCFW1e9jK8sv MMJ/OXA9DAlJK3H1Et/3YDxv4CHNx4CY20iFL0z4OwRrglg+3qqw2j83M dCOz8NdYj7S+IDvad51PyBmpwRwUQBdsKXm25jCVRjbo6fzfZCl/KX41W NGM5p6tHfUKmOdwFIFG9MNKXY96CnzyGInRJvwgMj3Z/yDBRB3DRL7ABA tn1XZr5BKv+t0gGMK+Rf4dmh6d5+9+NpnI7ZM39kjK2OLonSRRqJrw3v7 eN97rNUNE9n1GUDv4EI8WfFpykT0U/zp3rrf6T44LS3TrdkXiRooTM/Go Q==; IronPort-SDR: mdWAqeG/WM5U6Me8T8iwNYlvmIQDsJ91FXsaj+5MUkPyRzFwZXObl73brhzIgp0MpJtNOUUynt LPIqyJVLw+iLgRR8j6R33RZDtr5HdXkxG/fNHjB98LA1ulKorOurhFERZuUSgtkuDsH3+IYcvU ehBxtZDPolGGGF94ASeVKgMqXG07MB7rtXp55TmVHw/5APO3/jVRnrR9Y++7y6ZrbVJ0nK/loc N3VLdizvG8wMSfTxZbZKeL2ujo8YvN5ir8kJ16rzfRRECKKQsEStrk1ddsQKiIvCp7Fae3/nHT UZA= X-IronPort-AV: E=Sophos;i="5.76,305,1592841600"; d="scan'208";a="149145678" Received: from h199-255-45-15.hgst.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 13 Aug 2020 07:48:39 +0800 IronPort-SDR: 2cJGOk8TKvdhZPOyjZrNC3E8YJ2J9vCckyrtOKkETXy2gOVZp5ysyYwmbJrLYNLqUPDGcqd9sD li9wemJyYWaA== Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Aug 2020 16:35:46 -0700 IronPort-SDR: O+vleDwdgNpf3+2oP8xArSX/++jjUSr7GNwSK8op4zl/Hvx9QM238mzPfMh8vi6BCgYI+Tv0sN qx8sx+6zXXqw== WDCIronportException: Internal Received: from usa002576.ad.shared (HELO jedi-01.hgst.com) ([10.86.59.59]) by uls-op-cesaip01.wdc.com with ESMTP; 12 Aug 2020 16:48:35 -0700 From: Atish Patra To: linux-kernel@vger.kernel.org Cc: Atish Patra , Albert Ou , Alistair Francis , Andrew Morton , Anup Patel , Ard Biesheuvel , Arvind Sankar , Borislav Petkov , Greentime Hu , Ingo Molnar , Kees Cook , linux-efi@vger.kernel.org, linux-riscv@lists.infradead.org, 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" Subject: [PATCH v5 7/9] efi: Rename arm-init to efi-init common for all arch Date: Wed, 12 Aug 2020 16:47:56 -0700 Message-Id: <20200812234758.3563-8-atish.patra@wdc.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20200812234758.3563-1-atish.patra@wdc.com> References: <20200812234758.3563-1-atish.patra@wdc.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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