From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B2D23C433EF for ; Mon, 20 Sep 2021 21:19:45 +0000 (UTC) Received: from mm01.cs.columbia.edu (mm01.cs.columbia.edu [128.59.11.253]) by mail.kernel.org (Postfix) with ESMTP id 233DD611C2 for ; Mon, 20 Sep 2021 21:19:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 233DD611C2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.cs.columbia.edu Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id A1F184A534; Mon, 20 Sep 2021 17:19:44 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Authentication-Results: mm01.cs.columbia.edu (amavisd-new); dkim=softfail (fail, message has been altered) header.i=@kernel.org Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JSZjE0tIz68u; Mon, 20 Sep 2021 17:19:43 -0400 (EDT) Received: from mm01.cs.columbia.edu (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 87D5D4AC78; Mon, 20 Sep 2021 17:19:43 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 8C1BF4B09C for ; Mon, 20 Sep 2021 06:05:23 -0400 (EDT) X-Virus-Scanned: at lists.cs.columbia.edu Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xc0pJ+OyJqqt for ; Mon, 20 Sep 2021 06:05:22 -0400 (EDT) Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 8AB064B08A for ; Mon, 20 Sep 2021 06:05:22 -0400 (EDT) Received: by mail.kernel.org (Postfix) with ESMTPSA id 2DCB760F21; Mon, 20 Sep 2021 10:05:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632132320; bh=BQ/pJEAhwojVoXtwSmRnTJ5Rlh46slyFWdQtV+Ah9rk=; h=From:To:Cc:Subject:Date:From; b=QsMHE9cHRVHvL8TUDwOHjUyfsYxJwqNDZmA2zBcwiVPnbOZ25NxJ4zdovMO4c1oRk R0hnaa7WcCV7cJ8mVF5oZoNinUu4YmkzZyiASj/ni+NkMWrleyFV7+No5ltYAyW5gp rEcwqCdSa+5Ao6D2nyS/YuxlvrGSZSjBewJ9tLB8pDAeIsVN/+lg5O4vBrCT6tw25t BTW/yDARFOjM7AAF1RpeKx/tOIB9azMOXWktc5+WSAa7eBy4fCr64Vs9htrdPUwDs3 zRSSGQNHt1og8bbBuW8ySHKOsejbT8uOgyXKXm+D+ObD65slQOFAFbKd46WrGH0Zvz C5m5PWMxh0Ilw== From: Arnd Bergmann To: Marc Zyngier , Catalin Marinas , Will Deacon , David Brazdil Subject: [PATCH] KVM: arm: add Kbuild FORCE prerequisite for hyp-reloc Date: Mon, 20 Sep 2021 12:05:10 +0200 Message-Id: <20210920100515.1554788-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 20 Sep 2021 17:19:43 -0400 Cc: Kees Cook , Arnd Bergmann , linux-kernel@vger.kernel.org, Sami Tolvanen , kvmarm@lists.cs.columbia.edu, linux-arm-kernel@lists.infradead.org X-BeenThere: kvmarm@lists.cs.columbia.edu X-Mailman-Version: 2.1.14 Precedence: list List-Id: Where KVM/ARM decisions are made List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu From: Arnd Bergmann Commit e1f86d7b4b2a ("kbuild: warn if FORCE is missing for if_changed(_dep,_rule) and filechk") added a helpful check for Kbuild, which now notices that a problem with the hyp-reloc rule: arch/arm64/kvm/hyp/nvhe/Makefile:58: FORCE prerequisite is missing Do as suggested and add FORCE here. Fixes: 8c49b5d43d4c ("KVM: arm64: Generate hyp relocation data") Signed-off-by: Arnd Bergmann --- arch/arm64/kvm/hyp/nvhe/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kvm/hyp/nvhe/Makefile b/arch/arm64/kvm/hyp/nvhe/Makefile index 5df6193fc430..8d741f71377f 100644 --- a/arch/arm64/kvm/hyp/nvhe/Makefile +++ b/arch/arm64/kvm/hyp/nvhe/Makefile @@ -54,7 +54,7 @@ $(obj)/kvm_nvhe.tmp.o: $(obj)/hyp.lds $(addprefix $(obj)/,$(hyp-obj)) FORCE # runtime. Because the hypervisor is part of the kernel binary, relocations # produce a kernel VA. We enumerate relocations targeting hyp at build time # and convert the kernel VAs at those positions to hyp VAs. -$(obj)/hyp-reloc.S: $(obj)/kvm_nvhe.tmp.o $(obj)/gen-hyprel +$(obj)/hyp-reloc.S: $(obj)/kvm_nvhe.tmp.o $(obj)/gen-hyprel FORCE $(call if_changed,hyprel) # 5) Compile hyp-reloc.S and link it into the existing partially linked object. -- 2.29.2 _______________________________________________ kvmarm mailing list kvmarm@lists.cs.columbia.edu https://lists.cs.columbia.edu/mailman/listinfo/kvmarm