Content-Type: multipart/mixed; boundary="===============4743453732999834102==" MIME-Version: 1.0 From: Florian Fainelli To: kbuild-all@lists.01.org Subject: Re: [PATCH 4/4] clk: bcm: Add BCM63268 timer clock and reset driver Date: Sat, 13 Mar 2021 17:43:46 -0800 Message-ID: <1908831a-5aaa-86d6-f8cc-e68cfaf97908@gmail.com> In-Reply-To: <161567571328.1478170.10934839736352128645@swboyd.mtv.corp.google.com> List-Id: --===============4743453732999834102== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On 3/13/2021 2:48 PM, Stephen Boyd wrote: > Quoting kernel test robot (2021-03-03 22:22:44) >> Hi "=C3=81lvaro, >> >> Thank you for the patch! Yet something to improve: >> >> [auto build test ERROR on clk/clk-next] >> [also build test ERROR on robh/for-next pza/reset/next v5.12-rc1 next-20= 210303] >> [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/lvaro-Fern-ndez-Rojas/c= lk-add-BCM63268-timer-clock-and-reset/20210226-034945 >> base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git cl= k-next >> config: sparc-allyesconfig (attached as .config) >> compiler: sparc64-linux-gcc (GCC) 9.3.0 >> reproduce (this is a W=3D1 build): >> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sb= in/make.cross -O ~/bin/make.cross >> chmod +x ~/bin/make.cross >> # https://github.com/0day-ci/linux/commit/f6057c7d442f720a3824ac= c27e306a67344348ce >> git remote add linux-review https://github.com/0day-ci/linux >> git fetch --no-tags linux-review lvaro-Fern-ndez-Rojas/clk-add-B= CM63268-timer-clock-and-reset/20210226-034945 >> git checkout f6057c7d442f720a3824acc27e306a67344348ce >> # save the attached .config to linux build tree >> COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-9.3.0 make.cro= ss ARCH=3Dsparc = >> >> If you fix the issue, kindly add following tag as appropriate >> Reported-by: kernel test robot >> >> All errors (new ones prefixed by >>): >> >> drivers/clk/bcm/clk-bcm63268-timer.c: In function 'bcm63268_timer_res= et_update': >>>> drivers/clk/bcm/clk-bcm63268-timer.c:91:8: error: implicit declaration= of function '__raw_readl'; did you mean '__raw_read_lock'? [-Werror=3Dimpl= icit-function-declaration] >> 91 | val =3D __raw_readl(reset->regs); > = > Please use readl() and writel() unless it needs to be raw to avoid some > barrier? In which case relaxed should be used. __raw_readl() should be used here or ioread32be() because these peripherals are always to be accessed with the native CPU endian through the BUS infrastructure (UBUS). UBUS is also non-reodering, non-posting and non-gathering so no barrier needed. -- = Florian --===============4743453732999834102==--