From: kernel test robot <lkp@intel.com>
To: Ashish Kalra <Ashish.Kalra@amd.com>,
seanjc@google.com, pbonzini@redhat.com,
dave.hansen@linux.intel.com, tglx@linutronix.de,
mingo@redhat.com, bp@alien8.de, x86@kernel.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
hpa@zytor.com, peterz@infradead.org,
linux-kernel@vger.kernel.org, kvm@vger.kernel.org,
thomas.lendacky@amd.com, michael.roth@amd.com,
kexec@lists.infradead.org, linux-coco@lists.linux.dev
Subject: Re: [PATCH] x86/sev: Fix host kdump support for SNP
Date: Sat, 31 Aug 2024 15:35:11 +0800 [thread overview]
Message-ID: <202408311530.cYa27OX8-lkp@intel.com> (raw)
In-Reply-To: <20240827203804.4989-1-Ashish.Kalra@amd.com>
Hi Ashish,
kernel test robot noticed the following build warnings:
[auto build test WARNING on kvm/queue]
[also build test WARNING on linus/master v6.11-rc5 next-20240830]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Ashish-Kalra/x86-sev-Fix-host-kdump-support-for-SNP/20240828-044035
base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
patch link: https://lore.kernel.org/r/20240827203804.4989-1-Ashish.Kalra%40amd.com
patch subject: [PATCH] x86/sev: Fix host kdump support for SNP
config: i386-buildonly-randconfig-006-20240831 (https://download.01.org/0day-ci/archive/20240831/202408311530.cYa27OX8-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240831/202408311530.cYa27OX8-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408311530.cYa27OX8-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from arch/x86/kvm/svm/svm.c:50:
>> arch/x86/kvm/svm/svm.h:783:13: warning: function 'snp_decommision_all' has internal linkage but is not defined [-Wundefined-internal]
783 | static void snp_decommision_all(void);
| ^
arch/x86/kvm/svm/svm.c:686:3: note: used here
686 | snp_decommision_all();
| ^
1 warning generated.
vim +/snp_decommision_all +783 arch/x86/kvm/svm/svm.h
763
764 static inline void sev_free_vcpu(struct kvm_vcpu *vcpu) {}
765 static inline void sev_vm_destroy(struct kvm *kvm) {}
766 static inline void __init sev_set_cpu_caps(void) {}
767 static inline void __init sev_hardware_setup(void) {}
768 static inline void sev_hardware_unsetup(void) {}
769 static inline int sev_cpu_init(struct svm_cpu_data *sd) { return 0; }
770 static inline int sev_dev_get_attr(u32 group, u64 attr, u64 *val) { return -ENXIO; }
771 #define max_sev_asid 0
772 static inline void sev_handle_rmp_fault(struct kvm_vcpu *vcpu, gpa_t gpa, u64 error_code) {}
773 static inline void sev_snp_init_protected_guest_state(struct kvm_vcpu *vcpu) {}
774 static inline int sev_gmem_prepare(struct kvm *kvm, kvm_pfn_t pfn, gfn_t gfn, int max_order)
775 {
776 return 0;
777 }
778 static inline void sev_gmem_invalidate(kvm_pfn_t start, kvm_pfn_t end) {}
779 static inline int sev_private_max_mapping_level(struct kvm *kvm, kvm_pfn_t pfn)
780 {
781 return 0;
782 }
> 783 static void snp_decommision_all(void);
784 #endif
785
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Ashish Kalra <Ashish.Kalra@amd.com>,
seanjc@google.com, pbonzini@redhat.com,
dave.hansen@linux.intel.com, tglx@linutronix.de,
mingo@redhat.com, bp@alien8.de, x86@kernel.org
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
hpa@zytor.com, peterz@infradead.org,
linux-kernel@vger.kernel.org, kvm@vger.kernel.org,
thomas.lendacky@amd.com, michael.roth@amd.com,
kexec@lists.infradead.org, linux-coco@lists.linux.dev
Subject: Re: [PATCH] x86/sev: Fix host kdump support for SNP
Date: Sat, 31 Aug 2024 15:35:11 +0800 [thread overview]
Message-ID: <202408311530.cYa27OX8-lkp@intel.com> (raw)
In-Reply-To: <20240827203804.4989-1-Ashish.Kalra@amd.com>
Hi Ashish,
kernel test robot noticed the following build warnings:
[auto build test WARNING on kvm/queue]
[also build test WARNING on linus/master v6.11-rc5 next-20240830]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Ashish-Kalra/x86-sev-Fix-host-kdump-support-for-SNP/20240828-044035
base: https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
patch link: https://lore.kernel.org/r/20240827203804.4989-1-Ashish.Kalra%40amd.com
patch subject: [PATCH] x86/sev: Fix host kdump support for SNP
config: i386-buildonly-randconfig-006-20240831 (https://download.01.org/0day-ci/archive/20240831/202408311530.cYa27OX8-lkp@intel.com/config)
compiler: clang version 18.1.5 (https://github.com/llvm/llvm-project 617a15a9eac96088ae5e9134248d8236e34b91b1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240831/202408311530.cYa27OX8-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408311530.cYa27OX8-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from arch/x86/kvm/svm/svm.c:50:
>> arch/x86/kvm/svm/svm.h:783:13: warning: function 'snp_decommision_all' has internal linkage but is not defined [-Wundefined-internal]
783 | static void snp_decommision_all(void);
| ^
arch/x86/kvm/svm/svm.c:686:3: note: used here
686 | snp_decommision_all();
| ^
1 warning generated.
vim +/snp_decommision_all +783 arch/x86/kvm/svm/svm.h
763
764 static inline void sev_free_vcpu(struct kvm_vcpu *vcpu) {}
765 static inline void sev_vm_destroy(struct kvm *kvm) {}
766 static inline void __init sev_set_cpu_caps(void) {}
767 static inline void __init sev_hardware_setup(void) {}
768 static inline void sev_hardware_unsetup(void) {}
769 static inline int sev_cpu_init(struct svm_cpu_data *sd) { return 0; }
770 static inline int sev_dev_get_attr(u32 group, u64 attr, u64 *val) { return -ENXIO; }
771 #define max_sev_asid 0
772 static inline void sev_handle_rmp_fault(struct kvm_vcpu *vcpu, gpa_t gpa, u64 error_code) {}
773 static inline void sev_snp_init_protected_guest_state(struct kvm_vcpu *vcpu) {}
774 static inline int sev_gmem_prepare(struct kvm *kvm, kvm_pfn_t pfn, gfn_t gfn, int max_order)
775 {
776 return 0;
777 }
778 static inline void sev_gmem_invalidate(kvm_pfn_t start, kvm_pfn_t end) {}
779 static inline int sev_private_max_mapping_level(struct kvm *kvm, kvm_pfn_t pfn)
780 {
781 return 0;
782 }
> 783 static void snp_decommision_all(void);
784 #endif
785
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-08-31 7:36 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-27 20:38 [PATCH] x86/sev: Fix host kdump support for SNP Ashish Kalra
2024-08-27 20:38 ` Ashish Kalra
2024-08-29 8:34 ` Borislav Petkov
2024-08-29 8:34 ` Borislav Petkov
2024-08-29 14:30 ` Kalra, Ashish
2024-08-29 14:30 ` Kalra, Ashish
2024-08-29 14:40 ` Borislav Petkov
2024-08-29 14:40 ` Borislav Petkov
2024-08-29 14:50 ` Sean Christopherson
2024-08-29 14:50 ` Sean Christopherson
2024-08-29 15:04 ` Borislav Petkov
2024-08-29 15:04 ` Borislav Petkov
2024-08-29 15:16 ` Kalra, Ashish
2024-08-29 15:16 ` Kalra, Ashish
2024-08-30 21:08 ` Kalra, Ashish
2024-08-30 21:08 ` Kalra, Ashish
2024-09-03 16:54 ` Borislav Petkov
2024-09-03 16:54 ` Borislav Petkov
2024-08-29 15:50 ` kernel test robot
2024-08-29 15:50 ` kernel test robot
2024-08-31 7:35 ` kernel test robot [this message]
2024-08-31 7:35 ` kernel test robot
2024-09-02 15:05 ` Paolo Bonzini
2024-09-02 15:05 ` Paolo Bonzini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202408311530.cYa27OX8-lkp@intel.com \
--to=lkp@intel.com \
--cc=Ashish.Kalra@amd.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=kexec@lists.infradead.org \
--cc=kvm@vger.kernel.org \
--cc=linux-coco@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
--cc=michael.roth@amd.com \
--cc=mingo@redhat.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=pbonzini@redhat.com \
--cc=peterz@infradead.org \
--cc=seanjc@google.com \
--cc=tglx@linutronix.de \
--cc=thomas.lendacky@amd.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.