[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<TY3PR01MB11346C0622E61F19C38B2AB238624A@TY3PR01MB11346.jpnprd01.prod.outlook.com>
Date: Wed, 30 Jul 2025 14:12:27 +0000
From: Biju Das <biju.das.jz@...renesas.com>
To: geert <geert@...ux-m68k.org>, Wolfram Sang <wsa-dev@...g-engineering.com>
CC: kernel test robot <lkp@...el.com>, biju.das.au <biju.das.au@...il.com>,
Ulf Hansson <ulf.hansson@...aro.org>, "llvm@...ts.linux.dev"
<llvm@...ts.linux.dev>, "oe-kbuild-all@...ts.linux.dev"
<oe-kbuild-all@...ts.linux.dev>, "linux-mmc@...r.kernel.org"
<linux-mmc@...r.kernel.org>, "linux-renesas-soc@...r.kernel.org"
<linux-renesas-soc@...r.kernel.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>, Geert Uytterhoeven <geert+renesas@...der.be>,
Prabhakar Mahadev Lad <prabhakar.mahadev-lad.rj@...renesas.com>
Subject: RE: [PATCH v2 1/2] mmc: tmio: Add 64-bit read/write support for
SD_BUF0 in polling mode
Hi Geert/Wolfram,
> -----Original Message-----
> From: Geert Uytterhoeven <geert@...ux-m68k.org>
> Sent: 30 July 2025 14:57
> Subject: Re: [PATCH v2 1/2] mmc: tmio: Add 64-bit read/write support for SD_BUF0 in polling mode
>
> Hi Wolfram,
>
> On Wed, 30 Jul 2025 at 11:17, Wolfram Sang <wsa-dev@...g-engineering.com> wrote:
> > > In file included from drivers/mmc/host/uniphier-sd.c:21:
> > > >> drivers/mmc/host/tmio_mmc.h:249:2: error: call to undeclared
> > > >> function 'ioread64_rep'; ISO C99 and later do not support
> > > >> implicit function declarations [-Wimplicit-function-declaration]
> > > 249 | ioread64_rep(host->ctl + (addr << host->bus_shift), buf, count);
> > > | ^
> > > >> drivers/mmc/host/tmio_mmc.h:255:2: error: call to undeclared
> > > >> function 'iowrite64_rep'; ISO C99 and later do not support
> > > >> implicit function declarations [-Wimplicit-function-declaration]
> > > 255 | iowrite64_rep(host->ctl + (addr << host->bus_shift), buf, count);
> > > | ^
> >
> > Sigh, then the guard seems to be ARM64 after all :(
>
> ioread64_rep() is defined in include/asm-generic/io.h, and powerpc does include that.
>
> Perhaps drivers/mmc/host/tmio_mmc.h should just include <linux/io.h>?
This does not fix the issue.
biju@...u:~/lkp-tests$ COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang-21 ~/lkp-tests/kbuild/make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/mmc/
Compiler will be installed in /home/biju/0day
PATH=/home/biju/0day/llvm-21.1.0-rc2-x86_64/bin:/home/biju/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
make --keep-going CONFIG_OF_ALL_DTBS=y CONFIG_DTC=y LLVM=1 CROSS_COMPILE=powerpc64-linux- --jobs=64 KCFLAGS= -Wno-error=return-type -Wreturn-type -funsigned-char -Wundef W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash drivers/mmc/
make[1]: Entering directory '/home/biju/lkp-tests/build_dir'
GEN Makefile
CALL ../scripts/checksyscalls.sh
CC [M] drivers/mmc/host/tmio_mmc_core.o
CC [M] drivers/mmc/host/uniphier-sd.o
In file included from ../drivers/mmc/host/uniphier-sd.c:21:
../drivers/mmc/host/tmio_mmc.h:250:2: error: call to undeclared function 'ioread64_rep'; ISO C99 and later do not support implicit function declarations
[-Wimplicit-function-declaration]
250 | ioread64_rep(host->ctl + (addr << host->bus_shift), buf, count);
Cheers,
Biju
Powered by blists - more mailing lists