* drivers/iommu/io-pgtable-arm.c:1138 arm_lpae_dump_ops() warn: should '8 << data->pgd_bits' be a 64 bit
@ 2020-09-09 3:56 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-09-09 3:56 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 2712 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Robin Murphy <robin.murphy@arm.com>
CC: Will Deacon <will@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 34d4ddd359dbcdf6c5fb3f85a179243d7a1cb7f8
commit: c79278c185c8848fefc25cf304eecec9c4623a40 iommu/io-pgtable-arm: Simplify PGD size handling
date: 10 months ago
:::::: branch date: 9 hours ago
:::::: commit date: 10 months ago
config: arm-randconfig-m031-20200909 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch warnings:
drivers/iommu/io-pgtable-arm.c:1138 arm_lpae_dump_ops() warn: should '8 << data->pgd_bits' be a 64 bit type?
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c79278c185c8848fefc25cf304eecec9c4623a40
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout c79278c185c8848fefc25cf304eecec9c4623a40
vim +1138 drivers/iommu/io-pgtable-arm.c
fe4b991dcd84e01 Will Deacon 2014-11-17 1130
fe4b991dcd84e01 Will Deacon 2014-11-17 1131 static void __init arm_lpae_dump_ops(struct io_pgtable_ops *ops)
fe4b991dcd84e01 Will Deacon 2014-11-17 1132 {
fe4b991dcd84e01 Will Deacon 2014-11-17 1133 struct arm_lpae_io_pgtable *data = io_pgtable_ops_to_data(ops);
fe4b991dcd84e01 Will Deacon 2014-11-17 1134 struct io_pgtable_cfg *cfg = &data->iop.cfg;
fe4b991dcd84e01 Will Deacon 2014-11-17 1135
fe4b991dcd84e01 Will Deacon 2014-11-17 1136 pr_err("cfg: pgsize_bitmap 0x%lx, ias %u-bit\n",
fe4b991dcd84e01 Will Deacon 2014-11-17 1137 cfg->pgsize_bitmap, cfg->ias);
fe4b991dcd84e01 Will Deacon 2014-11-17 @1138 pr_err("data: %d levels, 0x%zx pgd_size, %lu pg_shift, %lu bits_per_level, pgd @ %p\n",
c79278c185c8848 Robin Murphy 2019-10-25 1139 ARM_LPAE_MAX_LEVELS - data->start_level, ARM_LPAE_PGD_SIZE(data),
594ab90fc46c084 Robin Murphy 2019-10-25 1140 data->pg_shift, data->bits_per_level, data->pgd);
fe4b991dcd84e01 Will Deacon 2014-11-17 1141 }
fe4b991dcd84e01 Will Deacon 2014-11-17 1142
:::::: The code at line 1138 was first introduced by commit
:::::: fe4b991dcd84e0104cf2e29223a819335ed048a7 iommu: add self-consistency tests to ARM LPAE IO page table allocator
:::::: TO: Will Deacon <will.deacon@arm.com>
:::::: CC: Will Deacon <will.deacon@arm.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 25898 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* drivers/iommu/io-pgtable-arm.c:1138 arm_lpae_dump_ops() warn: should '8 << data->pgd_bits' be a 64 bit
@ 2020-10-14 9:50 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-10-14 9:50 UTC (permalink / raw)
To: kbuild
[-- Attachment #1: Type: text/plain, Size: 2397 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Robin Murphy <robin.murphy@arm.com>
CC: Will Deacon <will@kernel.org>
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: b5fc7a89e58bcc059a3d5e4db79c481fb437de59
commit: c79278c185c8848fefc25cf304eecec9c4623a40 iommu/io-pgtable-arm: Simplify PGD size handling
date: 12 months ago
:::::: branch date: 10 hours ago
:::::: commit date: 12 months ago
config: i386-randconfig-m021-20201014 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch warnings:
drivers/iommu/io-pgtable-arm.c:1138 arm_lpae_dump_ops() warn: should '8 << data->pgd_bits' be a 64 bit type?
vim +1138 drivers/iommu/io-pgtable-arm.c
fe4b991dcd84e0 Will Deacon 2014-11-17 1130
fe4b991dcd84e0 Will Deacon 2014-11-17 1131 static void __init arm_lpae_dump_ops(struct io_pgtable_ops *ops)
fe4b991dcd84e0 Will Deacon 2014-11-17 1132 {
fe4b991dcd84e0 Will Deacon 2014-11-17 1133 struct arm_lpae_io_pgtable *data = io_pgtable_ops_to_data(ops);
fe4b991dcd84e0 Will Deacon 2014-11-17 1134 struct io_pgtable_cfg *cfg = &data->iop.cfg;
fe4b991dcd84e0 Will Deacon 2014-11-17 1135
fe4b991dcd84e0 Will Deacon 2014-11-17 1136 pr_err("cfg: pgsize_bitmap 0x%lx, ias %u-bit\n",
fe4b991dcd84e0 Will Deacon 2014-11-17 1137 cfg->pgsize_bitmap, cfg->ias);
fe4b991dcd84e0 Will Deacon 2014-11-17 @1138 pr_err("data: %d levels, 0x%zx pgd_size, %lu pg_shift, %lu bits_per_level, pgd @ %p\n",
c79278c185c884 Robin Murphy 2019-10-25 1139 ARM_LPAE_MAX_LEVELS - data->start_level, ARM_LPAE_PGD_SIZE(data),
594ab90fc46c08 Robin Murphy 2019-10-25 1140 data->pg_shift, data->bits_per_level, data->pgd);
fe4b991dcd84e0 Will Deacon 2014-11-17 1141 }
fe4b991dcd84e0 Will Deacon 2014-11-17 1142
:::::: The code at line 1138 was first introduced by commit
:::::: fe4b991dcd84e0104cf2e29223a819335ed048a7 iommu: add self-consistency tests to ARM LPAE IO page table allocator
:::::: TO: Will Deacon <will.deacon@arm.com>
:::::: CC: Will Deacon <will.deacon@arm.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 41637 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-14 9:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-09 3:56 drivers/iommu/io-pgtable-arm.c:1138 arm_lpae_dump_ops() warn: should '8 << data->pgd_bits' be a 64 bit kernel test robot
2020-10-14 9:50 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.