Patch "KVM: arm64: nvhe: Fix missing FORCE for hyp-reloc.S build rule" has been added to the 5.14-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    KVM: arm64: nvhe: Fix missing FORCE for hyp-reloc.S build rule

to the 5.14-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     kvm-arm64-nvhe-fix-missing-force-for-hyp-reloc.s-bui.patch
and it can be found in the queue-5.14 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit ca4527b9e146af36e76e77a6c736362df02ad711
Author: Zenghui Yu <yuzenghui@xxxxxxxxxx>
Date:   Tue Sep 7 13:21:37 2021 +0800

    KVM: arm64: nvhe: Fix missing FORCE for hyp-reloc.S build rule
    
    [ Upstream commit a49b50a3c1c3226d26e1dd11e8b763f27e477623 ]
    
    Add FORCE so that if_changed can detect the command line change.
    
    We'll otherwise see a compilation warning since commit e1f86d7b4b2a
    ("kbuild: warn if FORCE is missing for if_changed(_dep,_rule) and
    filechk").
    
    arch/arm64/kvm/hyp/nvhe/Makefile:58: FORCE prerequisite is missing
    
    Cc: David Brazdil <dbrazdil@xxxxxxxxxx>
    Cc: Masahiro Yamada <masahiroy@xxxxxxxxxx>
    Signed-off-by: Zenghui Yu <yuzenghui@xxxxxxxxxx>
    Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20210907052137.1059-1-yuzenghui@xxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

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.



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux