summaryrefslogtreecommitdiff
path: root/rust/kernel/alloc
diff options
context:
space:
mode:
authorLuigi Santivetti <luigi.santivetti@imgtec.com>2026-11-05 12:25:37 +0000
committerAlessio Belle <alessio.belle@imgtec.com>2026-11-16 09:39:31 +0000
commitb1e4074bfd00bc7dcf760c8eeb9b694895e5296e (patch)
treef012da9d3a665ed999ae5e0d78fab29100b6222b /rust/kernel/alloc
parente9c183840d9729300f6128812936b7939145412f (diff)
drm/imagination: use appropriate poll function for non-iomem
pvr_power_send_command() checks the contents of some memory on the CPU that's written to by the firmware. readl_poll_timeout() expects the address to read from to be qualified with __iomem, that is generally used for registers or memory that is accessed through a bus and other than regular system memory. For PowerVR in particular, __iomem is not accurate as the memory pointed to by can strictly be system memory only. Fix this by lifting one level of abstraction in the macro expansion chain and explicitly provide what routine should be used for reading. Fixes: cc1aeedb98ad ("drm/imagination: Implement firmware infrastructure and META FW support") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202610302136.3nli2ijx-lkp@intel.com/ Signed-off-by: Luigi Santivetti <luigi.santivetti@imgtec.com> Tested-by: Gyeyoung Baek <gye976@gmail.com> Reviewed-by: Alessio Belle <alessio.belle@imgtec.com> Link: https://patch.msgid.link/20261105-fix-sparse-iomem-warning-v1-1-35c13069f271@imgtec.com Signed-off-by: Alessio Belle <alessio.belle@imgtec.com>
Diffstat (limited to 'rust/kernel/alloc')
0 files changed, 0 insertions, 0 deletions