tree:
https://github.com/thierryreding/linux for-5.13/work
head: b2ea517f55a84b7036d299279e4fc672fd91c156
commit: 95f8d102ec805060169853c20fa75db5b429421d [38/47] memory: tegra: Implement SID
override programming
config: arm64-randconfig-r022-20210413 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
9829f5e6b1bca9b61efc629770d28bb9014dec45)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
#
https://github.com/thierryreding/linux/commit/95f8d102ec805060169853c20fa...
git remote add thierryreding
https://github.com/thierryreding/linux
git fetch --no-tags thierryreding for-5.13/work
git checkout 95f8d102ec805060169853c20fa75db5b429421d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/memory/tegra/tegra186.c:125:24: error: no member named
'ids' in 'struct iommu_fwspec'
u32 sid = fwspec->ids[0] & MC_SID_STREAMID_OVERRIDE_MASK;
~~~~~~ ^
1 error generated.
vim +125 drivers/memory/tegra/tegra186.c
111
112 static int tegra186_mc_probe_device(struct tegra_mc *mc, struct device *dev)
113 {
114 struct iommu_fwspec *fwspec = dev_iommu_fwspec_get(dev);
115 struct of_phandle_args args;
116 unsigned int i, index = 0;
117
118 while (!of_parse_phandle_with_args(dev->of_node, "interconnects",
"#interconnect-cells",
119 index, &args)) {
120 if (args.np == mc->dev->of_node && args.args_count != 0) {
121 for (i = 0; i < mc->soc->num_clients; i++) {
122 const struct tegra_mc_client *client = &mc->soc->clients[i];
123
124 if (client->id == args.args[0]) {
125 u32 sid = fwspec->ids[0] &
MC_SID_STREAMID_OVERRIDE_MASK;
126
127 tegra186_mc_client_sid_override(mc, client, sid);
128 }
129 }
130 }
131
132 index++;
133 }
134
135 return 0;
136 }
137
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org