From: kernel test robot <lkp@intel.com>
To: Michal Wilczynski <m.wilczynski@samsung.com>
Cc: oe-kbuild-all@lists.linux.dev,
Alessio Belle <alessio.belle@imgtec.com>,
Matt Coster <matt.coster@imgtec.com>,
Luigi Santivetti <luigi.santivetti@imgtec.com>
Subject: [linux-next:master 21240/21381] drivers/gpu/drm/imagination/pvr_power.c:62:16: sparse: sparse: incorrect type in argument 1 (different address spaces)
Date: Fri, 30 Oct 2026 21:30:35 +0100 [thread overview]
Message-ID: <202610302136.3nli2ijx-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 7649ba73f9e7e1e04d0b46213e39c79ae09dd55c
commit: 6c6200ffebf9766fd5d9293002298ea371c261c1 [21240/21381] drm/imagination: Align rogue_fwif_hwrtdata to 64 bytes
config: riscv-randconfig-r2300-20261030 (https://download.01.org/0day-ci/archive/20261030/202610302136.3nli2ijx-lkp@intel.com/config)
compiler: riscv64-linux-gcc (GCC) 10.5.0
sparse: v0.6.5-rc1-21-g84ec0658
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261030/202610302136.3nli2ijx-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/202610302136.3nli2ijx-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/imagination/pvr_power.c:62:16: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __iomem *addr @@ got unsigned int [usertype] *power_sync @@
drivers/gpu/drm/imagination/pvr_power.c:62:16: sparse: expected void const volatile [noderef] __iomem *addr
drivers/gpu/drm/imagination/pvr_power.c:62:16: sparse: got unsigned int [usertype] *power_sync
vim +62 drivers/gpu/drm/imagination/pvr_power.c
cc1aeedb98ad34 Sarah Walker 2023-11-22 46
727538a4bbff07 Sarah Walker 2023-11-22 47 static int
727538a4bbff07 Sarah Walker 2023-11-22 48 pvr_power_send_command(struct pvr_device *pvr_dev, struct rogue_fwif_kccb_cmd *pow_cmd)
727538a4bbff07 Sarah Walker 2023-11-22 49 {
cc1aeedb98ad34 Sarah Walker 2023-11-22 50 struct pvr_fw_device *fw_dev = &pvr_dev->fw_dev;
cc1aeedb98ad34 Sarah Walker 2023-11-22 51 u32 slot_nr;
cc1aeedb98ad34 Sarah Walker 2023-11-22 52 u32 value;
cc1aeedb98ad34 Sarah Walker 2023-11-22 53 int err;
cc1aeedb98ad34 Sarah Walker 2023-11-22 54
cc1aeedb98ad34 Sarah Walker 2023-11-22 55 WRITE_ONCE(*fw_dev->power_sync, 0);
cc1aeedb98ad34 Sarah Walker 2023-11-22 56
cc1aeedb98ad34 Sarah Walker 2023-11-22 57 err = pvr_kccb_send_cmd_powered(pvr_dev, pow_cmd, &slot_nr);
cc1aeedb98ad34 Sarah Walker 2023-11-22 58 if (err)
cc1aeedb98ad34 Sarah Walker 2023-11-22 59 return err;
cc1aeedb98ad34 Sarah Walker 2023-11-22 60
cc1aeedb98ad34 Sarah Walker 2023-11-22 61 /* Wait for FW to acknowledge. */
cc1aeedb98ad34 Sarah Walker 2023-11-22 @62 return readl_poll_timeout(pvr_dev->fw_dev.power_sync, value, value != 0, 100,
cc1aeedb98ad34 Sarah Walker 2023-11-22 63 POWER_SYNC_TIMEOUT_US);
727538a4bbff07 Sarah Walker 2023-11-22 64 }
727538a4bbff07 Sarah Walker 2023-11-22 65
:::::: The code at line 62 was first introduced by commit
:::::: cc1aeedb98ad347c06ff59e991b2f94dfb4c565d drm/imagination: Implement firmware infrastructure and META FW support
:::::: TO: Sarah Walker <sarah.walker@imgtec.com>
:::::: CC: Maxime Ripard <mripard@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-10-30 20:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202610302136.3nli2ijx-lkp@intel.com \
--to=lkp@intel.com \
--cc=alessio.belle@imgtec.com \
--cc=luigi.santivetti@imgtec.com \
--cc=m.wilczynski@samsung.com \
--cc=matt.coster@imgtec.com \
--cc=oe-kbuild-all@lists.linux.dev \
/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.