* [android-common:android16-6.12-lts 1/1] arch/arm64/kvm/hyp/nvhe/power/scmi.c:215:36: sparse: sparse: incorrect type in assignment (different address spaces)
@ 2026-09-11 12:29 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-09-11 12:29 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android16-6.12-lts
head: 7542d32487b53ed1a59d02f013a6e6b66804c874
commit: 220be807706d350ba6a1f17f0a3586269d844eda [1/1] BACKPORT: FROMLIST: KVM: arm64: pkvm: Support SCMI power domain
config: arm64-randconfig-r123-20260910 (https://download.01.org/0day-ci/archive/20260911/202609112056.90z1OFir-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project d3db069999553568848400c84cbf815c03f5470f)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260911/202609112056.90z1OFir-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/202609112056.90z1OFir-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> arch/arm64/kvm/hyp/nvhe/power/scmi.c:215:36: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void [noderef] __iomem *static [assigned] [toplevel] shmem @@ got void * @@
arch/arm64/kvm/hyp/nvhe/power/scmi.c:215:36: sparse: expected void [noderef] __iomem *static [assigned] [toplevel] shmem
arch/arm64/kvm/hyp/nvhe/power/scmi.c:215:36: sparse: got void *
vim +215 arch/arm64/kvm/hyp/nvhe/power/scmi.c
191
192 int pkvm_init_scmi_pd(struct kvm_power_domain *pd,
193 const struct kvm_power_domain_ops *ops)
194 {
195 int ret;
196
197 if (!IS_ALIGNED(pd->arm_scmi.shmem_base, PAGE_SIZE) ||
198 pd->arm_scmi.shmem_size < PAGE_SIZE) {
199 return -EINVAL;
200 }
201
202 if (!scmi_channel.shmem) {
203 unsigned long shmem;
204
205 /* FIXME: Do we need to mark those pages shared in the host s2? */
206 ret = __pkvm_create_private_mapping(pd->arm_scmi.shmem_base,
207 pd->arm_scmi.shmem_size,
208 PAGE_HYP_DEVICE,
209 &shmem);
210 if (ret)
211 return ret;
212
213 scmi_channel.smc_id = pd->arm_scmi.smc_id;
214 scmi_channel.shmem_pfn = hyp_phys_to_pfn(pd->arm_scmi.shmem_base);
> 215 scmi_channel.shmem = (void *)shmem;
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* [android-common:android16-6.12-lts 1/1] arch/arm64/kvm/hyp/nvhe/power/scmi.c:215:36: sparse: sparse: incorrect type in assignment (different address spaces)
@ 2026-09-12 23:39 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-09-12 23:39 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android16-6.12-lts
head: 57041e4a7e52342473871000827584f966d8cbd3
commit: 220be807706d350ba6a1f17f0a3586269d844eda [1/1] BACKPORT: FROMLIST: KVM: arm64: pkvm: Support SCMI power domain
config: arm64-randconfig-r123-20260910 (https://download.01.org/0day-ci/archive/20260913/202609130732.bzOBwGXY-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project d3db069999553568848400c84cbf815c03f5470f)
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260913/202609130732.bzOBwGXY-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/202609130732.bzOBwGXY-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> arch/arm64/kvm/hyp/nvhe/power/scmi.c:215:36: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void [noderef] __iomem *static [assigned] [toplevel] shmem @@ got void * @@
arch/arm64/kvm/hyp/nvhe/power/scmi.c:215:36: sparse: expected void [noderef] __iomem *static [assigned] [toplevel] shmem
arch/arm64/kvm/hyp/nvhe/power/scmi.c:215:36: sparse: got void *
vim +215 arch/arm64/kvm/hyp/nvhe/power/scmi.c
191
192 int pkvm_init_scmi_pd(struct kvm_power_domain *pd,
193 const struct kvm_power_domain_ops *ops)
194 {
195 int ret;
196
197 if (!IS_ALIGNED(pd->arm_scmi.shmem_base, PAGE_SIZE) ||
198 pd->arm_scmi.shmem_size < PAGE_SIZE) {
199 return -EINVAL;
200 }
201
202 if (!scmi_channel.shmem) {
203 unsigned long shmem;
204
205 /* FIXME: Do we need to mark those pages shared in the host s2? */
206 ret = __pkvm_create_private_mapping(pd->arm_scmi.shmem_base,
207 pd->arm_scmi.shmem_size,
208 PAGE_HYP_DEVICE,
209 &shmem);
210 if (ret)
211 return ret;
212
213 scmi_channel.smc_id = pd->arm_scmi.smc_id;
214 scmi_channel.shmem_pfn = hyp_phys_to_pfn(pd->arm_scmi.shmem_base);
> 215 scmi_channel.shmem = (void *)shmem;
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-12 23:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-11 12:29 [android-common:android16-6.12-lts 1/1] arch/arm64/kvm/hyp/nvhe/power/scmi.c:215:36: sparse: sparse: incorrect type in assignment (different address spaces) kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2026-09-12 23:39 kernel test robot
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.