Messages in this thread | | | Date | Sat, 18 Jul 2020 16:18:25 -0400 | Subject | Re: [PATCH v2 1/1] phy: tusb1210: use bitmasks to set VENDOR_SPECIFIC2 | From | "Liam Beguin" <> |
| |
On Wed Jul 15, 2020 at 7:48 AM kernel test robot wrote: > Hi Liam, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on 8f3d9f354286745c751374f5f1fcafee6b3f3136] > > url: https://github.com/0day-ci/linux/commits/Liam-Beguin/phy-tusb1210-use-bitmasks-to-set-VENDOR_SPECIFIC2/20200715-003517 > base: 8f3d9f354286745c751374f5f1fcafee6b3f3136 > config: parisc-allyesconfig (attached as .config) > compiler: hppa-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 > # save the attached .config to linux build tree > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=parisc > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot <lkp@intel.com> > > All errors (new ones prefixed by >>): > > hppa-linux-ld: drivers/phy/ti/phy-tusb1210.o: in function `tusb1210_probe': > >> (.text+0x2f4): undefined reference to `__cmpxchg_called_with_bad_pointer' > >> hppa-linux-ld: (.text+0x324): undefined reference to `__cmpxchg_called_with_bad_pointer' > hppa-linux-ld: (.text+0x354): undefined reference to `__cmpxchg_called_with_bad_pointer' >
Hi,
I sent another patch[1] to try to address this.
The issue seems to come from the fact that the parisc architecture doesn't support cmpxchg on u8 pointers. cmpxchg is called by set_mask_bits.
Thanks, Liam
[1] https://lore.kernel.org/patchwork/patch/1272617/
> --- > 0-DAY CI Kernel Test Service, Intel Corporation > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
| |