Re: [PATCH v4 20/24] iommu/mediatek: Support report iova 34bit translation fault in ISR
by kernel test robot
Hi Yong,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on iommu/next]
[also build test ERROR on robh/for-next linus/master v5.10-rc4 next-20201117]
[cannot apply to mediatek/for-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Yong-Wu/MT8192-IOMMU-support/202...
base: https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git next
config: powerpc64-randconfig-r005-20201117 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project ace9653c11c6308401dcda2e8b26bf97e6e66e30)
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 powerpc64 cross compiling tool for clang build
# apt-get install binutils-powerpc64-linux-gnu
# https://github.com/0day-ci/linux/commit/2ac9ae3e1803f422950cdad221f033bb9...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Yong-Wu/MT8192-IOMMU-support/20201111-204421
git checkout 2ac9ae3e1803f422950cdad221f033bb9ba9503d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc64
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/iommu/mtk_iommu.c:289:13: error: implicit declaration of function 'FIELD_GET' [-Werror,-Wimplicit-function-declaration]
va34_32 = FIELD_GET(F_MMU_INVAL_VA_34_32_MASK, fault_iova);
^
drivers/iommu/mtk_iommu.c:510:29: warning: result of comparison of constant 5368709120 with expression of type 'phys_addr_t' (aka 'unsigned int') is always false [-Wtautological-constant-out-of-range-compare]
if (data->enable_4GB && pa >= MTK_IOMMU_4GB_MODE_REMAP_BASE)
~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
vim +/FIELD_GET +289 drivers/iommu/mtk_iommu.c
265
266 static irqreturn_t mtk_iommu_isr(int irq, void *dev_id)
267 {
268 struct mtk_iommu_data *data = dev_id;
269 struct mtk_iommu_domain *dom = data->m4u_dom;
270 unsigned int fault_larb, fault_port, sub_comm = 0;
271 u32 int_state, regval, va34_32, pa34_32;
272 u64 fault_iova, fault_pa;
273 bool layer, write;
274
275 /* Read error info from registers */
276 int_state = readl_relaxed(data->base + REG_MMU_FAULT_ST1);
277 if (int_state & F_REG_MMU0_FAULT_MASK) {
278 regval = readl_relaxed(data->base + REG_MMU0_INT_ID);
279 fault_iova = readl_relaxed(data->base + REG_MMU0_FAULT_VA);
280 fault_pa = readl_relaxed(data->base + REG_MMU0_INVLD_PA);
281 } else {
282 regval = readl_relaxed(data->base + REG_MMU1_INT_ID);
283 fault_iova = readl_relaxed(data->base + REG_MMU1_FAULT_VA);
284 fault_pa = readl_relaxed(data->base + REG_MMU1_INVLD_PA);
285 }
286 layer = fault_iova & F_MMU_FAULT_VA_LAYER_BIT;
287 write = fault_iova & F_MMU_FAULT_VA_WRITE_BIT;
288 if (MTK_IOMMU_HAS_FLAG(data->plat_data, IOVA_34_EN)) {
> 289 va34_32 = FIELD_GET(F_MMU_INVAL_VA_34_32_MASK, fault_iova);
290 pa34_32 = FIELD_GET(F_MMU_INVAL_PA_34_32_MASK, fault_iova);
291 fault_iova = fault_iova & F_MMU_INVAL_VA_31_12_MASK;
292 fault_iova |= (u64)va34_32 << 32;
293 fault_pa |= (u64)pa34_32 << 32;
294 }
295
296 fault_port = F_MMU_INT_ID_PORT_ID(regval);
297 if (MTK_IOMMU_HAS_FLAG(data->plat_data, HAS_SUB_COMM)) {
298 fault_larb = F_MMU_INT_ID_COMM_ID(regval);
299 sub_comm = F_MMU_INT_ID_SUB_COMM_ID(regval);
300 } else {
301 fault_larb = F_MMU_INT_ID_LARB_ID(regval);
302 }
303 fault_larb = data->plat_data->larbid_remap[fault_larb][sub_comm];
304
305 if (report_iommu_fault(&dom->domain, data->dev, fault_iova,
306 write ? IOMMU_FAULT_WRITE : IOMMU_FAULT_READ)) {
307 dev_err_ratelimited(
308 data->dev,
309 "fault type=0x%x iova=0x%llx pa=0x%llx larb=%d port=%d layer=%d %s\n",
310 int_state, fault_iova, fault_pa, fault_larb, fault_port,
311 layer, write ? "write" : "read");
312 }
313
314 /* Interrupt clear */
315 regval = readl_relaxed(data->base + REG_MMU_INT_CONTROL0);
316 regval |= F_INT_CLR_BIT;
317 writel_relaxed(regval, data->base + REG_MMU_INT_CONTROL0);
318
319 mtk_iommu_tlb_flush_all(data);
320
321 return IRQ_HANDLED;
322 }
323
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
[linux-next:master 4265/6320] pwm-bcm-iproc.c:undefined reference to `devm_platform_ioremap_resource'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 7c8ca8129ee9724cb1527895fe6dec942ef07f19
commit: b61a6edcb956f9c6e6d690c629da15d9303992ec [4265/6320] pwm: bcm-iproc: Convert to devm_platform_ioremap_resource()
config: s390-randconfig-r033-20201117 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project ace9653c11c6308401dcda2e8b26bf97e6e66e30)
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 s390 cross compiling tool for clang build
# apt-get install binutils-s390x-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout b61a6edcb956f9c6e6d690c629da15d9303992ec
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390
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 >>):
s390x-linux-gnu-ld: drivers/irqchip/irq-renesas-intc-irqpin.o: in function `intc_irqpin_probe':
irq-renesas-intc-irqpin.c:(.text+0x1f2): undefined reference to `devm_ioremap'
s390x-linux-gnu-ld: drivers/irqchip/irq-renesas-irqc.o: in function `irqc_probe':
irq-renesas-irqc.c:(.text+0xd8): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/irqchip/irq-imx-intmux.o: in function `imx_intmux_probe':
irq-imx-intmux.c:(.text+0xbe): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/phy/hisilicon/phy-histb-combphy.o: in function `histb_combphy_probe':
phy-histb-combphy.c:(.text+0x4e): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/phy/st/phy-stm32-usbphyc.o: in function `stm32_usbphyc_probe':
phy-stm32-usbphyc.c:(.text+0x66): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/pwm/pwm-bcm-iproc.o: in function `iproc_pwmc_probe':
>> pwm-bcm-iproc.c:(.text+0x82): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/pwm/pwm-hibvt.o: in function `hibvt_pwm_probe':
pwm-hibvt.c:(.text+0xd8): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/pwm/pwm-pxa.o: in function `pwm_probe':
pwm-pxa.c:(.text+0xcc): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/pwm/pwm-tegra.o: in function `tegra_pwm_probe':
pwm-tegra.c:(.text+0x54): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/pwm/pwm-tiecap.o: in function `ecap_pwm_probe':
pwm-tiecap.c:(.text+0x102): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/pwm/pwm-tiehrpwm.o: in function `ehrpwm_pwm_probe':
pwm-tiehrpwm.c:(.text+0x104): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/char/ipmi/bt-bmc.o: in function `bt_bmc_probe':
bt-bmc.c:(.text+0xae): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/clk-fsl-sai.o: in function `fsl_sai_clk_probe':
clk-fsl-sai.c:(.text+0x60): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/clk-gemini.o: in function `gemini_clk_probe':
clk-gemini.c:(.text+0x66): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/clk-plldig.o: in function `plldig_clk_probe':
clk-plldig.c:(.text+0x48): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/actions/owl-common.o: in function `owl_clk_regmap_init':
owl-common.c:(.text+0x3e): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/mediatek/clk-mt6765.o: in function `clk_mt6765_apmixed_probe':
clk-mt6765.c:(.text+0x5c): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/mediatek/clk-mt6765.o: in function `clk_mt6765_top_probe':
clk-mt6765.c:(.text+0x19c): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/mediatek/clk-mt6765.o: in function `clk_mt6765_ifr_probe':
clk-mt6765.c:(.text+0x2dc): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/mediatek/clk-mt6779.o: in function `clk_mt6779_top_probe':
clk-mt6779.c:(.text+0xc6): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/mediatek/clk-mt2701.o: in function `mtk_topckgen_init':
clk-mt2701.c:(.text+0x5c): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/mediatek/clk-mt2701.o: in function `mtk_pericfg_init':
clk-mt2701.c:(.text+0x2dc): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/mediatek/clk-mt2712.o: in function `clk_mt2712_top_probe':
clk-mt2712.c:(.text+0xa6): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/mediatek/clk-mt2712.o: in function `clk_mt2712_mcu_probe':
clk-mt2712.c:(.text+0x320): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/mediatek/clk-mt7629.o: in function `mtk_topckgen_init':
clk-mt7629.c:(.text+0x1e0): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/mediatek/clk-mt7629.o: in function `mtk_pericfg_init':
clk-mt7629.c:(.text+0x346): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/sifive/fu540-prci.o: in function `sifive_fu540_prci_probe':
fu540-prci.c:(.text+0x8a): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/sprd/common.o: in function `sprd_clk_regmap_init':
common.c:(.text+0x28): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/sunxi-ng/ccu-sun50i-a100.o: in function `sun50i_a100_ccu_probe':
ccu-sun50i-a100.c:(.text+0x24): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/sunxi-ng/ccu-sun50i-a100-r.o: in function `sun50i_a100_r_ccu_probe':
ccu-sun50i-a100-r.c:(.text+0x24): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/sunxi-ng/ccu-sun8i-a83t.o: in function `sun8i_a83t_ccu_probe':
ccu-sun8i-a83t.c:(.text+0x36): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/sunxi-ng/ccu-sun8i-r40.o: in function `sun8i_r40_ccu_probe':
ccu-sun8i-r40.c:(.text+0x3a): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/sunxi-ng/ccu-sun9i-a80.o: in function `sun9i_a80_ccu_probe':
ccu-sun9i-a80.c:(.text+0x36): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/sunxi-ng/ccu-sun9i-a80-de.o: in function `sun9i_a80_de_clk_probe':
ccu-sun9i-a80-de.c:(.text+0x3a): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/clk/sunxi-ng/ccu-sun9i-a80-usb.o: in function `sun9i_a80_usb_clk_probe':
ccu-sun9i-a80-usb.c:(.text+0x3a): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/soc/amlogic/meson-clk-measure.o:meson-clk-measure.c:(.text+0x8e): more undefined references to `devm_ioremap_resource' follow
s390x-linux-gnu-ld: drivers/reset/reset-npcm.o: in function `npcm_rc_probe':
reset-npcm.c:(.text+0x48): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/reset/reset-qcom-pdc.o: in function `qcom_pdc_reset_probe':
reset-qcom-pdc.c:(.text+0x5a): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/reset/reset-simple.o: in function `reset_simple_probe':
reset-simple.c:(.text+0x49e): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/mfd/syscon.o: in function `syscon_probe':
syscon.c:(.text+0x2d0): undefined reference to `devm_ioremap'
s390x-linux-gnu-ld: drivers/input/serio/sun4i-ps2.o: in function `sun4i_ps2_probe':
sun4i-ps2.c:(.text+0xca): undefined reference to `ioremap'
s390x-linux-gnu-ld: sun4i-ps2.c:(.text+0x2f2): undefined reference to `iounmap'
s390x-linux-gnu-ld: drivers/input/serio/sun4i-ps2.o: in function `sun4i_ps2_remove':
sun4i-ps2.c:(.text+0x38a): undefined reference to `iounmap'
s390x-linux-gnu-ld: drivers/power/reset/ocelot-reset.o: in function `ocelot_reset_probe':
ocelot-reset.c:(.text+0x5a): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/thermal/broadcom/sr-thermal.o: in function `sr_thermal_probe':
sr-thermal.c:(.text+0x74): undefined reference to `devm_memremap'
s390x-linux-gnu-ld: drivers/thermal/zx2967_thermal.o: in function `zx2967_thermal_probe':
zx2967_thermal.c:(.text+0x5a): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/watchdog/s3c2410_wdt.o: in function `s3c2410wdt_probe':
s3c2410_wdt.c:(.text+0xe2): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/watchdog/imx2_wdt.o: in function `imx2_wdt_probe':
imx2_wdt.c:(.init.text+0x6e): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/watchdog/moxart_wdt.o: in function `moxart_wdt_probe':
moxart_wdt.c:(.text+0x4e): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/watchdog/sirfsoc_wdt.o: in function `sirfsoc_wdt_probe':
sirfsoc_wdt.c:(.text+0x24): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/watchdog/bcm_kona_wdt.o: in function `bcm_kona_wdt_probe':
bcm_kona_wdt.c:(.text+0x4e): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/watchdog/renesas_wdt.o:renesas_wdt.c:(.text+0x48): more undefined references to `devm_platform_ioremap_resource' follow
s390x-linux-gnu-ld: drivers/crypto/atmel-aes.o: in function `atmel_aes_probe':
atmel-aes.c:(.text+0x16a): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/crypto/atmel-sha.o: in function `atmel_sha_probe':
atmel-sha.c:(.text+0x3a8a): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/crypto/atmel-tdes.o: in function `atmel_tdes_probe':
atmel-tdes.c:(.text+0x16a): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/crypto/mediatek/mtk-platform.o: in function `mtk_crypto_probe':
mtk-platform.c:(.text+0x48): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/clocksource/timer-of.o: in function `timer_of_init':
timer-of.c:(.init.text+0x166): undefined reference to `iounmap'
s390x-linux-gnu-ld: drivers/clocksource/timer-of.o: in function `timer_of_cleanup':
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
Re: [PATCH v4] swiotlb: Adjust SWIOTBL bounce buffer size for SEV guests.
by kernel test robot
Hi Ashish,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on tip/x86/core]
[also build test WARNING on tip/x86/mm hch-configfs/for-next v5.10-rc4 next-20201117]
[cannot apply to swiotlb/linux-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Ashish-Kalra/swiotlb-Adjust-SWIO...
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 238c91115cd05c71447ea071624a4c9fe661f970
config: arm64-randconfig-r036-20201117 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project ace9653c11c6308401dcda2e8b26bf97e6e66e30)
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/0day-ci/linux/commit/ec17437123f45040f2139e36122a4021f...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Ashish-Kalra/swiotlb-Adjust-SWIOTBL-bounce-buffer-size-for-SEV-guests/20201118-020049
git checkout ec17437123f45040f2139e36122a4021f1fd3b07
# 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 warnings (new ones prefixed by >>):
>> kernel/dma/swiotlb.c:166:29: warning: no previous prototype for function 'arch_swiotlb_adjust' [-Wmissing-prototypes]
unsigned long __init __weak arch_swiotlb_adjust(unsigned long size)
^
kernel/dma/swiotlb.c:166:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
unsigned long __init __weak arch_swiotlb_adjust(unsigned long size)
^
static
kernel/dma/swiotlb.c:305:1: warning: no previous prototype for function 'swiotlb_late_init_with_default_size' [-Wmissing-prototypes]
swiotlb_late_init_with_default_size(size_t default_size)
^
kernel/dma/swiotlb.c:304:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int
^
static
2 warnings generated.
vim +/arch_swiotlb_adjust +166 kernel/dma/swiotlb.c
165
> 166 unsigned long __init __weak arch_swiotlb_adjust(unsigned long size)
167 {
168 return 0;
169 }
170
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
Re: [PATCH v4 20/24] iommu/mediatek: Support report iova 34bit translation fault in ISR
by kernel test robot
Hi Yong,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on iommu/next]
[also build test ERROR on robh/for-next linus/master v5.10-rc4 next-20201117]
[cannot apply to mediatek/for-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Yong-Wu/MT8192-IOMMU-support/202...
base: https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git next
config: arm-randconfig-r003-20201117 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.3.0
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
# https://github.com/0day-ci/linux/commit/2ac9ae3e1803f422950cdad221f033bb9...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Yong-Wu/MT8192-IOMMU-support/20201111-204421
git checkout 2ac9ae3e1803f422950cdad221f033bb9ba9503d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
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/iommu/mtk_iommu.c: In function 'mtk_iommu_isr':
>> drivers/iommu/mtk_iommu.c:289:13: error: implicit declaration of function 'FIELD_GET'; did you mean 'FOLL_GET'? [-Werror=implicit-function-declaration]
289 | va34_32 = FIELD_GET(F_MMU_INVAL_VA_34_32_MASK, fault_iova);
| ^~~~~~~~~
| FOLL_GET
cc1: some warnings being treated as errors
vim +289 drivers/iommu/mtk_iommu.c
265
266 static irqreturn_t mtk_iommu_isr(int irq, void *dev_id)
267 {
268 struct mtk_iommu_data *data = dev_id;
269 struct mtk_iommu_domain *dom = data->m4u_dom;
270 unsigned int fault_larb, fault_port, sub_comm = 0;
271 u32 int_state, regval, va34_32, pa34_32;
272 u64 fault_iova, fault_pa;
273 bool layer, write;
274
275 /* Read error info from registers */
276 int_state = readl_relaxed(data->base + REG_MMU_FAULT_ST1);
277 if (int_state & F_REG_MMU0_FAULT_MASK) {
278 regval = readl_relaxed(data->base + REG_MMU0_INT_ID);
279 fault_iova = readl_relaxed(data->base + REG_MMU0_FAULT_VA);
280 fault_pa = readl_relaxed(data->base + REG_MMU0_INVLD_PA);
281 } else {
282 regval = readl_relaxed(data->base + REG_MMU1_INT_ID);
283 fault_iova = readl_relaxed(data->base + REG_MMU1_FAULT_VA);
284 fault_pa = readl_relaxed(data->base + REG_MMU1_INVLD_PA);
285 }
286 layer = fault_iova & F_MMU_FAULT_VA_LAYER_BIT;
287 write = fault_iova & F_MMU_FAULT_VA_WRITE_BIT;
288 if (MTK_IOMMU_HAS_FLAG(data->plat_data, IOVA_34_EN)) {
> 289 va34_32 = FIELD_GET(F_MMU_INVAL_VA_34_32_MASK, fault_iova);
290 pa34_32 = FIELD_GET(F_MMU_INVAL_PA_34_32_MASK, fault_iova);
291 fault_iova = fault_iova & F_MMU_INVAL_VA_31_12_MASK;
292 fault_iova |= (u64)va34_32 << 32;
293 fault_pa |= (u64)pa34_32 << 32;
294 }
295
296 fault_port = F_MMU_INT_ID_PORT_ID(regval);
297 if (MTK_IOMMU_HAS_FLAG(data->plat_data, HAS_SUB_COMM)) {
298 fault_larb = F_MMU_INT_ID_COMM_ID(regval);
299 sub_comm = F_MMU_INT_ID_SUB_COMM_ID(regval);
300 } else {
301 fault_larb = F_MMU_INT_ID_LARB_ID(regval);
302 }
303 fault_larb = data->plat_data->larbid_remap[fault_larb][sub_comm];
304
305 if (report_iommu_fault(&dom->domain, data->dev, fault_iova,
306 write ? IOMMU_FAULT_WRITE : IOMMU_FAULT_READ)) {
307 dev_err_ratelimited(
308 data->dev,
309 "fault type=0x%x iova=0x%llx pa=0x%llx larb=%d port=%d layer=%d %s\n",
310 int_state, fault_iova, fault_pa, fault_larb, fault_port,
311 layer, write ? "write" : "read");
312 }
313
314 /* Interrupt clear */
315 regval = readl_relaxed(data->base + REG_MMU_INT_CONTROL0);
316 regval |= F_INT_CLR_BIT;
317 writel_relaxed(regval, data->base + REG_MMU_INT_CONTROL0);
318
319 mtk_iommu_tlb_flush_all(data);
320
321 return IRQ_HANDLED;
322 }
323
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
drivers/net/phy/mscc/mscc_ptp.c:138:12: warning: Redundant condition: cond. '!cond || (cond && upper)' is equivalent to '!cond || upper'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9c87c9f41245baa3fc4716cf39141439cf405b01
commit: ab2bf933935710ac545f94e49d16b5eab01f846f net: phy: mscc: 1588 block initialization
compiler: h8300-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <rong.a.chen(a)intel.com>
cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
>> kernel/taskstats.c:220:0: warning: syntax error [syntaxError]
^
--
>> drivers/net/phy/mscc/mscc_ptp.c:138:12: warning: Redundant condition: cond. '!cond || (cond && upper)' is equivalent to '!cond || upper' [redundantCondition]
if (!cond || (cond && upper))
^
vim +138 drivers/net/phy/mscc/mscc_ptp.c
ab2bf933935710a Quentin Schulz 2020-06-23 104
ab2bf933935710a Quentin Schulz 2020-06-23 105 static void vsc85xx_ts_write_csr(struct phy_device *phydev, enum ts_blk blk,
ab2bf933935710a Quentin Schulz 2020-06-23 106 u16 addr, u32 val)
ab2bf933935710a Quentin Schulz 2020-06-23 107 {
ab2bf933935710a Quentin Schulz 2020-06-23 108 struct vsc8531_private *priv = phydev->priv;
ab2bf933935710a Quentin Schulz 2020-06-23 109 bool base_port = phydev->mdio.addr == priv->ts_base_addr;
ab2bf933935710a Quentin Schulz 2020-06-23 110 u32 reg, bypass, cnt = 0, lower = val & 0xffff, upper = val >> 16;
ab2bf933935710a Quentin Schulz 2020-06-23 111 bool cond = (addr == MSCC_PHY_PTP_LTC_CTRL ||
ab2bf933935710a Quentin Schulz 2020-06-23 112 addr == MSCC_PHY_1588_INGR_VSC85XX_INT_MASK ||
ab2bf933935710a Quentin Schulz 2020-06-23 113 addr == MSCC_PHY_1588_VSC85XX_INT_MASK ||
ab2bf933935710a Quentin Schulz 2020-06-23 114 addr == MSCC_PHY_1588_INGR_VSC85XX_INT_STATUS ||
ab2bf933935710a Quentin Schulz 2020-06-23 115 addr == MSCC_PHY_1588_VSC85XX_INT_STATUS) &&
ab2bf933935710a Quentin Schulz 2020-06-23 116 blk == PROCESSOR;
ab2bf933935710a Quentin Schulz 2020-06-23 117 enum ts_blk_hw blk_hw;
ab2bf933935710a Quentin Schulz 2020-06-23 118
ab2bf933935710a Quentin Schulz 2020-06-23 119 switch (blk) {
ab2bf933935710a Quentin Schulz 2020-06-23 120 case INGRESS:
ab2bf933935710a Quentin Schulz 2020-06-23 121 blk_hw = base_port ? INGRESS_ENGINE_0 : INGRESS_ENGINE_1;
ab2bf933935710a Quentin Schulz 2020-06-23 122 break;
ab2bf933935710a Quentin Schulz 2020-06-23 123 case EGRESS:
ab2bf933935710a Quentin Schulz 2020-06-23 124 blk_hw = base_port ? EGRESS_ENGINE_0 : EGRESS_ENGINE_1;
ab2bf933935710a Quentin Schulz 2020-06-23 125 break;
ab2bf933935710a Quentin Schulz 2020-06-23 126 case PROCESSOR:
ab2bf933935710a Quentin Schulz 2020-06-23 127 default:
ab2bf933935710a Quentin Schulz 2020-06-23 128 blk_hw = base_port ? PROCESSOR_0 : PROCESSOR_1;
ab2bf933935710a Quentin Schulz 2020-06-23 129 break;
ab2bf933935710a Quentin Schulz 2020-06-23 130 }
ab2bf933935710a Quentin Schulz 2020-06-23 131
ab2bf933935710a Quentin Schulz 2020-06-23 132 mutex_lock(&phydev->mdio.bus->mdio_lock);
ab2bf933935710a Quentin Schulz 2020-06-23 133
ab2bf933935710a Quentin Schulz 2020-06-23 134 bypass = phy_ts_base_read(phydev, MSCC_PHY_BYPASS_CONTROL);
ab2bf933935710a Quentin Schulz 2020-06-23 135
ab2bf933935710a Quentin Schulz 2020-06-23 136 phy_ts_base_write(phydev, MSCC_EXT_PAGE_ACCESS, MSCC_PHY_PAGE_1588);
ab2bf933935710a Quentin Schulz 2020-06-23 137
ab2bf933935710a Quentin Schulz 2020-06-23 @138 if (!cond || (cond && upper))
ab2bf933935710a Quentin Schulz 2020-06-23 139 phy_ts_base_write(phydev, MSCC_PHY_TS_CSR_DATA_MSB, upper);
ab2bf933935710a Quentin Schulz 2020-06-23 140
ab2bf933935710a Quentin Schulz 2020-06-23 141 phy_ts_base_write(phydev, MSCC_PHY_TS_CSR_DATA_LSB, lower);
ab2bf933935710a Quentin Schulz 2020-06-23 142
ab2bf933935710a Quentin Schulz 2020-06-23 143 phy_ts_base_write(phydev, MSCC_PHY_TS_BIU_ADDR_CNTL, BIU_ADDR_EXE |
ab2bf933935710a Quentin Schulz 2020-06-23 144 BIU_ADDR_WRITE | BIU_BLK_ID(blk_hw) |
ab2bf933935710a Quentin Schulz 2020-06-23 145 BIU_CSR_ADDR(addr));
ab2bf933935710a Quentin Schulz 2020-06-23 146
ab2bf933935710a Quentin Schulz 2020-06-23 147 do {
ab2bf933935710a Quentin Schulz 2020-06-23 148 reg = phy_ts_base_read(phydev, MSCC_PHY_TS_BIU_ADDR_CNTL);
ab2bf933935710a Quentin Schulz 2020-06-23 149 } while (!(reg & BIU_ADDR_EXE) && cnt++ < BIU_ADDR_CNT_MAX);
ab2bf933935710a Quentin Schulz 2020-06-23 150
ab2bf933935710a Quentin Schulz 2020-06-23 151 phy_ts_base_write(phydev, MSCC_EXT_PAGE_ACCESS, MSCC_PHY_PAGE_STANDARD);
ab2bf933935710a Quentin Schulz 2020-06-23 152
ab2bf933935710a Quentin Schulz 2020-06-23 153 if (cond && upper)
ab2bf933935710a Quentin Schulz 2020-06-23 154 phy_ts_base_write(phydev, MSCC_PHY_BYPASS_CONTROL, bypass);
ab2bf933935710a Quentin Schulz 2020-06-23 155
ab2bf933935710a Quentin Schulz 2020-06-23 156 mutex_unlock(&phydev->mdio.bus->mdio_lock);
ab2bf933935710a Quentin Schulz 2020-06-23 157 }
ab2bf933935710a Quentin Schulz 2020-06-23 158
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
Re: [PATCH v2 3/3] f2fs: Handle casefolding with Encryption
by kernel test robot
Hi Daniel,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on f2fs/dev-test]
[also build test WARNING on ext4/dev linus/master v5.10-rc4 next-20201117]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Daniel-Rosenberg/Add-support-for...
base: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev-test
:::::: branch date: 9 hours ago
:::::: commit date: 9 hours ago
compiler: aarch64-linux-gcc (GCC) 9.3.0
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <rong.a.chen(a)intel.com>
cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
>> fs/f2fs/dir.c:206:3: warning: Assignment of function parameter has no effect outside the function. Did you forget dereferencing it? [uselessAssignmentPtrArg]
dentry_page = ERR_CAST(res);
^
fs/f2fs/f2fs.h:2200:15: warning: Local variable valid_node_count shadows outer function [shadowFunction]
unsigned int valid_node_count, user_block_count;
^
fs/f2fs/f2fs.h:2296:28: note: Shadowed declaration
static inline unsigned int valid_node_count(struct f2fs_sb_info *sbi)
^
fs/f2fs/f2fs.h:2200:15: note: Shadow variable
unsigned int valid_node_count, user_block_count;
^
vim +206 fs/f2fs/dir.c
6b4ea0160ae236a Jaegeuk Kim 2012-11-14 191
2c2eb7a300cd7c6 Daniel Rosenberg 2019-07-23 192 static struct f2fs_dir_entry *find_in_block(struct inode *dir,
2c2eb7a300cd7c6 Daniel Rosenberg 2019-07-23 193 struct page *dentry_page,
43c780ba26244e4 Eric Biggers 2020-05-07 194 const struct f2fs_filename *fname,
17f930e0a649e15 Chao Yu 2020-09-26 195 int *max_slots)
4e6ebf6d4935914 Jaegeuk Kim 2014-10-13 196 {
4e6ebf6d4935914 Jaegeuk Kim 2014-10-13 197 struct f2fs_dentry_block *dentry_blk;
7b3cd7d6f026784 Jaegeuk Kim 2014-10-18 198 struct f2fs_dentry_ptr d;
6f0a1d1d8d24e7e Daniel Rosenberg 2020-11-17 199 struct f2fs_dir_entry *res;
4e6ebf6d4935914 Jaegeuk Kim 2014-10-13 200
bdbc90fa55af632 Yunlong Song 2018-02-28 201 dentry_blk = (struct f2fs_dentry_block *)page_address(dentry_page);
7b3cd7d6f026784 Jaegeuk Kim 2014-10-18 202
2c2eb7a300cd7c6 Daniel Rosenberg 2019-07-23 203 make_dentry_ptr_block(dir, &d, dentry_blk);
6f0a1d1d8d24e7e Daniel Rosenberg 2020-11-17 204 res = f2fs_find_target_dentry(&d, fname, max_slots);
6f0a1d1d8d24e7e Daniel Rosenberg 2020-11-17 205 if (IS_ERR(res)) {
6f0a1d1d8d24e7e Daniel Rosenberg 2020-11-17 @206 dentry_page = ERR_CAST(res);
6f0a1d1d8d24e7e Daniel Rosenberg 2020-11-17 207 res = NULL;
6f0a1d1d8d24e7e Daniel Rosenberg 2020-11-17 208 }
6f0a1d1d8d24e7e Daniel Rosenberg 2020-11-17 209 return res;
4e6ebf6d4935914 Jaegeuk Kim 2014-10-13 210 }
4e6ebf6d4935914 Jaegeuk Kim 2014-10-13 211
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
[ti:ti-linux-5.4.y 7094/11671] drivers/crypto/sa2ul.c:1296:25: warning: variable 'rctx' set but not used
by kernel test robot
Hi Tero,
FYI, the error/warning still remains.
tree: git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-linux-5.4.y
head: a78602ef875fdf4abcb333da76f020cba57cc913
commit: 2e7c47e07621e99da76060d7e85b2ea050ad97b0 [7094/11671] crypto: sa2ul: convert hash fallback mechanism to use local buffer
config: nios2-randconfig-r034-20201117 (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.0
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
git remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
git fetch --no-tags ti ti-linux-5.4.y
git checkout 2e7c47e07621e99da76060d7e85b2ea050ad97b0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/crypto/sa2ul.c: In function 'sa_cipher_setkey':
drivers/crypto/sa2ul.c:856:14: warning: variable 'cra_name' set but not used [-Wunused-but-set-variable]
856 | const char *cra_name;
| ^~~~~~~~
drivers/crypto/sa2ul.c: In function 'sa_sha_dma_in_callback':
>> drivers/crypto/sa2ul.c:1296:25: warning: variable 'rctx' set but not used [-Wunused-but-set-variable]
1296 | struct sa_sha_req_ctx *rctx;
| ^~~~
In file included from include/linux/printk.h:327,
from include/linux/kernel.h:15,
from include/linux/clk.h:13,
from drivers/crypto/sa2ul.c:11:
drivers/crypto/sa2ul.c: In function 'sa_sha_init':
drivers/crypto/sa2ul.c:1525:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
1525 | crypto_ahash_digestsize(tfm), (u64)rctx);
| ^
include/linux/dynamic_debug.h:125:15: note: in definition of macro '__dynamic_func_call'
125 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:157:2: note: in expansion of macro '_dynamic_func_call'
157 | _dynamic_func_call(fmt,__dynamic_dev_dbg, \
| ^~~~~~~~~~~~~~~~~~
include/linux/device.h:1751:2: note: in expansion of macro 'dynamic_dev_dbg'
1751 | dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~
drivers/crypto/sa2ul.c:1524:2: note: in expansion of macro 'dev_dbg'
1524 | dev_dbg(sa_k3_dev, "init: digest size: %d, rctx=%llx\n",
| ^~~~~~~
drivers/crypto/sa2ul.c: At top level:
drivers/crypto/sa2ul.c:2211:6: warning: no previous prototype for 'sa_register_algos' [-Wmissing-prototypes]
2211 | void sa_register_algos(const struct device *dev)
| ^~~~~~~~~~~~~~~~~
drivers/crypto/sa2ul.c:2243:6: warning: no previous prototype for 'sa_unregister_algos' [-Wmissing-prototypes]
2243 | void sa_unregister_algos(const struct device *dev)
| ^~~~~~~~~~~~~~~~~~~
vim +/rctx +1296 drivers/crypto/sa2ul.c
491c6a44ee1ed98 Keerthy 2020-01-17 1289
b30be50bf38eb79 Tero Kristo 2020-05-26 1290 static void sa_sha_dma_in_callback(void *data)
dfcac7a6a1f9e04 Keerthy 2020-01-17 1291 {
dfcac7a6a1f9e04 Keerthy 2020-01-17 1292 struct sa_rx_data *rxd = (struct sa_rx_data *)data;
b30be50bf38eb79 Tero Kristo 2020-05-26 1293 struct ahash_request *req;
b30be50bf38eb79 Tero Kristo 2020-05-26 1294 struct crypto_ahash *tfm;
b30be50bf38eb79 Tero Kristo 2020-05-26 1295 unsigned int authsize;
b30be50bf38eb79 Tero Kristo 2020-05-26 @1296 struct sa_sha_req_ctx *rctx;
dfcac7a6a1f9e04 Keerthy 2020-01-17 1297 int i, sg_nents;
dfcac7a6a1f9e04 Keerthy 2020-01-17 1298 size_t ml, pl;
dfcac7a6a1f9e04 Keerthy 2020-01-17 1299 u32 *mdptr, *result;
dfcac7a6a1f9e04 Keerthy 2020-01-17 1300
b30be50bf38eb79 Tero Kristo 2020-05-26 1301 req = container_of(rxd->req, struct ahash_request, base);
b30be50bf38eb79 Tero Kristo 2020-05-26 1302 tfm = crypto_ahash_reqtfm(req);
b30be50bf38eb79 Tero Kristo 2020-05-26 1303 authsize = crypto_ahash_digestsize(tfm);
b30be50bf38eb79 Tero Kristo 2020-05-26 1304 rctx = ahash_request_ctx(req);
b30be50bf38eb79 Tero Kristo 2020-05-26 1305
dfcac7a6a1f9e04 Keerthy 2020-01-17 1306 mdptr = (u32 *)dmaengine_desc_get_metadata_ptr(rxd->tx_in, &pl, &ml);
dfcac7a6a1f9e04 Keerthy 2020-01-17 1307 result = (u32 *)req->result;
dfcac7a6a1f9e04 Keerthy 2020-01-17 1308
2e7c47e07621e99 Tero Kristo 2020-05-26 1309 if (result)
dfcac7a6a1f9e04 Keerthy 2020-01-17 1310 for (i = 0; i < (authsize / 4); i++)
dfcac7a6a1f9e04 Keerthy 2020-01-17 1311 result[i] = htonl(mdptr[i + 4]);
dfcac7a6a1f9e04 Keerthy 2020-01-17 1312
b30be50bf38eb79 Tero Kristo 2020-05-26 1313 sg_nents = sg_nents_for_len(req->src, req->nbytes);
b30be50bf38eb79 Tero Kristo 2020-05-26 1314 dma_unmap_sg(rxd->ddev, req->src, sg_nents, DMA_FROM_DEVICE);
b30be50bf38eb79 Tero Kristo 2020-05-26 1315
b30be50bf38eb79 Tero Kristo 2020-05-26 1316 kfree(rxd->split_src_sg);
dfcac7a6a1f9e04 Keerthy 2020-01-17 1317
dfcac7a6a1f9e04 Keerthy 2020-01-17 1318 kfree(rxd);
dfcac7a6a1f9e04 Keerthy 2020-01-17 1319
dfcac7a6a1f9e04 Keerthy 2020-01-17 1320 ahash_request_complete(req, 0);
dfcac7a6a1f9e04 Keerthy 2020-01-17 1321 }
dfcac7a6a1f9e04 Keerthy 2020-01-17 1322
:::::: The code at line 1296 was first introduced by commit
:::::: b30be50bf38eb7964bc59dbfefd120939b357b37 crypto: sa2ul: sync codebase with latest upstream
:::::: TO: Tero Kristo <t-kristo(a)ti.com>
:::::: CC: Tero Kristo <t-kristo(a)ti.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months
Re: [PATCH v4 4/7] drm: rockchip: add sound support to rk3066 hdmi driver
by kernel test robot
Hi Johan,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on rockchip/for-next]
[also build test WARNING on robh/for-next asoc/for-next sound/for-next v5.10-rc4 next-20201117]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Johan-Jonker/Enable-rk3066a-HDMI...
base: https://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip.git for-next
config: nios2-allyesconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.0
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
# https://github.com/0day-ci/linux/commit/4fd170243d9bc7618270dff969e138b05...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Johan-Jonker/Enable-rk3066a-HDMI-sound/20201118-034916
git checkout 4fd170243d9bc7618270dff969e138b05db0f945
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
drivers/gpu/drm/rockchip/rk3066_hdmi.c: In function 'rk3066_hdmi_config_aai':
>> drivers/gpu/drm/rockchip/rk3066_hdmi.c:227:31: warning: variable 'faudio' set but not used [-Wunused-but-set-variable]
227 | struct hdmi_audio_infoframe *faudio;
| ^~~~~~
vim +/faudio +227 drivers/gpu/drm/rockchip/rk3066_hdmi.c
223
224 static int rk3066_hdmi_config_aai(struct rk3066_hdmi *hdmi,
225 struct audio_info *audio)
226 {
> 227 struct hdmi_audio_infoframe *faudio;
228 union hdmi_infoframe frame;
229 int rc;
230
231 rc = hdmi_audio_infoframe_init(&frame.audio);
232 faudio = (struct hdmi_audio_infoframe *)&frame;
233
234 return rk3066_hdmi_upload_frame(hdmi, rc, &frame,
235 HDMI_INFOFRAME_AAI, 0, 0, 0);
236 }
237
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 10 months