[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202512202203.1g4jywFB-lkp@intel.com>
Date: Sat, 20 Dec 2025 22:34:50 +0800
From: kernel test robot <lkp@...el.com>
To: Steven Price <steven.price@....com>, kvm@...r.kernel.org,
kvmarm@...ts.linux.dev
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
Steven Price <steven.price@....com>,
Catalin Marinas <catalin.marinas@....com>,
Marc Zyngier <maz@...nel.org>, Will Deacon <will@...nel.org>,
James Morse <james.morse@....com>,
Oliver Upton <oliver.upton@...ux.dev>,
Suzuki K Poulose <suzuki.poulose@....com>,
Zenghui Yu <yuzenghui@...wei.com>,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Joey Gouly <joey.gouly@....com>,
Alexandru Elisei <alexandru.elisei@....com>,
Christoffer Dall <christoffer.dall@....com>,
Fuad Tabba <tabba@...gle.com>, linux-coco@...ts.linux.dev,
Ganapatrao Kulkarni <gankulkarni@...amperecomputing.com>,
Gavin Shan <gshan@...hat.com>,
Shanker Donthineni <sdonthineni@...dia.com>,
Alper Gun <alpergun@...gle.com>,
"Aneesh Kumar K . V" <aneesh.kumar@...nel.org>,
Emi Kisanuki <fj0570is@...itsu.com>,
Vishal Annapurve <vannapurve@...gle.com>
Subject: Re: [PATCH v12 20/46] arm64: RMI: Allow populating initial contents
Hi Steven,
kernel test robot noticed the following build warnings:
[auto build test WARNING on linus/master]
[also build test WARNING on v6.19-rc1 next-20251219]
[cannot apply to kvmarm/next kvm/queue kvm/next arm64/for-next/core kvm/linux-next]
[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/Steven-Price/kvm-arm64-Include-kvm_emulate-h-in-kvm-arm_psci-h/20251218-030351
base: linus/master
patch link: https://lore.kernel.org/r/20251217101125.91098-21-steven.price%40arm.com
patch subject: [PATCH v12 20/46] arm64: RMI: Allow populating initial contents
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20251220/202512202203.1g4jywFB-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251220/202512202203.1g4jywFB-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202512202203.1g4jywFB-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> arch/arm64/kvm/rmi.c:805:16: warning: variable 'data_flags' set but not used [-Wunused-but-set-variable]
805 | unsigned long data_flags = 0;
| ^
1 warning generated.
vim +/data_flags +805 arch/arm64/kvm/rmi.c
801
802 int kvm_arm_rmi_populate(struct kvm *kvm,
803 struct kvm_arm_rmi_populate *args)
804 {
> 805 unsigned long data_flags = 0;
806 unsigned long ipa_start = args->base;
807 unsigned long ipa_end = ipa_start + args->size;
808 int ret;
809
810 if (args->reserved ||
811 (args->flags & ~KVM_ARM_RMI_POPULATE_FLAGS_MEASURE) ||
812 !IS_ALIGNED(ipa_start, PAGE_SIZE) ||
813 !IS_ALIGNED(ipa_end, PAGE_SIZE))
814 return -EINVAL;
815
816 ret = realm_ensure_created(kvm);
817 if (ret)
818 return ret;
819
820 if (args->flags & KVM_ARM_RMI_POPULATE_FLAGS_MEASURE)
821 data_flags |= RMI_MEASURE_CONTENT;
822
823 ret = populate_region(kvm, gpa_to_gfn(ipa_start),
824 args->size >> PAGE_SHIFT,
825 args->source_uaddr, args->flags);
826
827 if (ret < 0)
828 return ret;
829
830 return ret * PAGE_SIZE;
831 }
832
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists