From: kernel test robot <lkp@intel.com>
To: Raghavendra Rao Ananta <rananta@google.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH v8 06/13] KVM: arm64: Sanitize PM{C,I}NTEN{SET,CLR}, PMOVS{SET,CLR} before first run
Date: Wed, 25 Oct 2023 03:56:32 +0800 [thread overview]
Message-ID: <202310250322.y4kBQsJS-lkp@intel.com> (raw)
In-Reply-To: <20231020214053.2144305-7-rananta@google.com>
Hi Raghavendra,
kernel test robot noticed the following build errors:
[auto build test ERROR on 0a3a1665cbc59ee8d6326aa6c0b4a8d1cd67dda3]
url: https://github.com/intel-lab-lkp/linux/commits/Raghavendra-Rao-Ananta/KVM-arm64-PMU-Introduce-helpers-to-set-the-guest-s-PMU/20231021-054721
base: 0a3a1665cbc59ee8d6326aa6c0b4a8d1cd67dda3
patch link: https://lore.kernel.org/r/20231020214053.2144305-7-rananta%40google.com
patch subject: [PATCH v8 06/13] KVM: arm64: Sanitize PM{C,I}NTEN{SET,CLR}, PMOVS{SET,CLR} before first run
config: arm64-randconfig-004-20231025 (https://download.01.org/0day-ci/archive/20231025/202310250322.y4kBQsJS-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231025/202310250322.y4kBQsJS-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/202310250322.y4kBQsJS-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/arm64/kvm/arm.c: In function 'check_vcpu_requests':
>> arch/arm64/kvm/arm.c:860:25: error: implicit declaration of function 'kvm_vcpu_handle_request_reload_pmu'; did you mean 'vm_vcpu_handle_request_reload_pmu'? [-Werror=implicit-function-declaration]
860 | kvm_vcpu_handle_request_reload_pmu(vcpu);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| vm_vcpu_handle_request_reload_pmu
cc1: some warnings being treated as errors
vim +860 arch/arm64/kvm/arm.c
823
824 /**
825 * check_vcpu_requests - check and handle pending vCPU requests
826 * @vcpu: the VCPU pointer
827 *
828 * Return: 1 if we should enter the guest
829 * 0 if we should exit to userspace
830 * < 0 if we should exit to userspace, where the return value indicates
831 * an error
832 */
833 static int check_vcpu_requests(struct kvm_vcpu *vcpu)
834 {
835 if (kvm_request_pending(vcpu)) {
836 if (kvm_check_request(KVM_REQ_SLEEP, vcpu))
837 kvm_vcpu_sleep(vcpu);
838
839 if (kvm_check_request(KVM_REQ_VCPU_RESET, vcpu))
840 kvm_reset_vcpu(vcpu);
841
842 /*
843 * Clear IRQ_PENDING requests that were made to guarantee
844 * that a VCPU sees new virtual interrupts.
845 */
846 kvm_check_request(KVM_REQ_IRQ_PENDING, vcpu);
847
848 if (kvm_check_request(KVM_REQ_RECORD_STEAL, vcpu))
849 kvm_update_stolen_time(vcpu);
850
851 if (kvm_check_request(KVM_REQ_RELOAD_GICv4, vcpu)) {
852 /* The distributor enable bits were changed */
853 preempt_disable();
854 vgic_v4_put(vcpu);
855 vgic_v4_load(vcpu);
856 preempt_enable();
857 }
858
859 if (kvm_check_request(KVM_REQ_RELOAD_PMU, vcpu))
> 860 kvm_vcpu_handle_request_reload_pmu(vcpu);
861
862 if (kvm_check_request(KVM_REQ_RESYNC_PMU_EL0, vcpu))
863 kvm_vcpu_pmu_restore_guest(vcpu);
864
865 if (kvm_check_request(KVM_REQ_SUSPEND, vcpu))
866 return kvm_vcpu_suspend(vcpu);
867
868 if (kvm_dirty_ring_check_request(vcpu))
869 return 0;
870 }
871
872 return 1;
873 }
874
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2023-10-24 19:57 UTC|newest]
Thread overview: 79+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-20 21:40 [PATCH v8 00/13] KVM: arm64: PMU: Allow userspace to limit the number of PMCs on vCPU Raghavendra Rao Ananta
2023-10-20 21:40 ` Raghavendra Rao Ananta
2023-10-20 21:40 ` [PATCH v8 01/13] KVM: arm64: PMU: Introduce helpers to set the guest's PMU Raghavendra Rao Ananta
2023-10-20 21:40 ` Raghavendra Rao Ananta
2023-10-23 15:24 ` Sebastian Ott
2023-10-23 15:24 ` Sebastian Ott
2023-10-20 21:40 ` [PATCH v8 02/13] KVM: arm64: PMU: Set the default PMU for the guest before vCPU reset Raghavendra Rao Ananta
2023-10-20 21:40 ` Raghavendra Rao Ananta
2023-10-23 10:40 ` Marc Zyngier
2023-10-23 10:40 ` Marc Zyngier
2023-10-23 18:24 ` Oliver Upton
2023-10-23 18:24 ` Oliver Upton
2023-10-23 15:25 ` Sebastian Ott
2023-10-23 15:25 ` Sebastian Ott
2023-10-20 21:40 ` [PATCH v8 03/13] KVM: arm64: PMU: Add a helper to read a vCPU's PMCR_EL0 Raghavendra Rao Ananta
2023-10-20 21:40 ` Raghavendra Rao Ananta
2023-10-23 16:18 ` Sebastian Ott
2023-10-23 16:18 ` Sebastian Ott
2023-10-20 21:40 ` [PATCH v8 04/13] KVM: arm64: PMU: Set PMCR_EL0.N for vCPU based on the associated PMU Raghavendra Rao Ananta
2023-10-20 21:40 ` Raghavendra Rao Ananta
2023-10-23 11:50 ` Marc Zyngier
2023-10-23 11:50 ` Marc Zyngier
2023-10-23 16:20 ` Sebastian Ott
2023-10-23 16:20 ` Sebastian Ott
2023-10-24 9:22 ` Oliver Upton
2023-10-24 9:22 ` Oliver Upton
2023-10-20 21:40 ` [PATCH v8 05/13] KVM: arm64: Add {get,set}_user for PM{C,I}NTEN{SET,CLR}, PMOVS{SET,CLR} Raghavendra Rao Ananta
2023-10-20 21:40 ` Raghavendra Rao Ananta
2023-10-23 12:31 ` Marc Zyngier
2023-10-23 12:31 ` Marc Zyngier
2023-10-23 17:28 ` Raghavendra Rao Ananta
2023-10-23 17:28 ` Raghavendra Rao Ananta
2023-10-24 8:59 ` Oliver Upton
2023-10-24 8:59 ` Oliver Upton
2023-10-20 21:40 ` [PATCH v8 06/13] KVM: arm64: Sanitize PM{C,I}NTEN{SET,CLR}, PMOVS{SET,CLR} before first run Raghavendra Rao Ananta
2023-10-20 21:40 ` Raghavendra Rao Ananta
2023-10-23 12:42 ` Marc Zyngier
2023-10-23 12:42 ` Marc Zyngier
2023-10-23 17:42 ` Raghavendra Rao Ananta
2023-10-23 17:42 ` Raghavendra Rao Ananta
2023-10-23 18:07 ` Marc Zyngier
2023-10-23 18:07 ` Marc Zyngier
2023-10-24 19:56 ` kernel test robot [this message]
2023-10-20 21:40 ` [PATCH v8 07/13] KVM: arm64: PMU: Allow userspace to limit PMCR_EL0.N for the guest Raghavendra Rao Ananta
2023-10-20 21:40 ` Raghavendra Rao Ananta
2023-10-23 13:00 ` Marc Zyngier
2023-10-23 13:00 ` Marc Zyngier
2023-10-23 17:53 ` Raghavendra Rao Ananta
2023-10-23 17:53 ` Raghavendra Rao Ananta
2023-10-24 18:37 ` Oliver Upton
2023-10-24 18:37 ` Oliver Upton
2023-10-20 21:40 ` [PATCH v8 08/13] tools: Import arm_pmuv3.h Raghavendra Rao Ananta
2023-10-20 21:40 ` Raghavendra Rao Ananta
2023-10-20 21:40 ` [PATCH v8 09/13] KVM: selftests: aarch64: Introduce vpmu_counter_access test Raghavendra Rao Ananta
2023-10-20 21:40 ` Raghavendra Rao Ananta
2023-10-20 21:40 ` [PATCH v8 10/13] KVM: selftests: aarch64: vPMU register test for implemented counters Raghavendra Rao Ananta
2023-10-20 21:40 ` Raghavendra Rao Ananta
2023-10-20 21:40 ` [PATCH v8 11/13] KVM: selftests: aarch64: vPMU register test for unimplemented counters Raghavendra Rao Ananta
2023-10-20 21:40 ` Raghavendra Rao Ananta
2023-10-24 18:29 ` Oliver Upton
2023-10-24 18:29 ` Oliver Upton
2023-10-20 21:40 ` [PATCH v8 12/13] KVM: selftests: aarch64: vPMU test for validating user accesses Raghavendra Rao Ananta
2023-10-20 21:40 ` Raghavendra Rao Ananta
2023-10-20 21:40 ` [PATCH v8 13/13] KVM: selftests: aarch64: vPMU test for immutability Raghavendra Rao Ananta
2023-10-20 21:40 ` Raghavendra Rao Ananta
2023-10-24 10:36 ` Oliver Upton
2023-10-24 10:36 ` Oliver Upton
2023-10-23 13:09 ` [PATCH v8 00/13] KVM: arm64: PMU: Allow userspace to limit the number of PMCs on vCPU Marc Zyngier
2023-10-23 13:09 ` Marc Zyngier
2023-10-23 17:58 ` Raghavendra Rao Ananta
2023-10-23 17:58 ` Raghavendra Rao Ananta
2023-10-23 18:19 ` Marc Zyngier
2023-10-23 18:19 ` Marc Zyngier
2023-10-23 18:35 ` Marc Zyngier
2023-10-23 18:35 ` Marc Zyngier
2023-10-24 19:21 ` Oliver Upton
2023-10-24 19:21 ` Oliver Upton
2023-10-25 0:01 ` Oliver Upton
2023-10-25 0:01 ` Oliver Upton
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=202310250322.y4kBQsJS-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=rananta@google.com \
/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.