Re: [linus:master] BUILD REGRESSION 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e

From: Philip Li
Date: Mon Sep 18 2017 - 22:29:25 EST


On Sun, Sep 17, 2017 at 08:31:56AM -0700, Linus Torvalds wrote:
> Fengguang,
> it looks like the kernel build robot _only_ tests the actual rc
> kernels, and doesn't bisect down where the error started.
hi Linus, the robot will also bisect down the error if issue is found
on linus repo.

The regression below is reported at below mail, with a reminder to author

https://lists.01.org/pipermail/kbuild-all/2017-September/038295.html

Hi Felix,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
commit: 70539bd79500245cbb4c7af00572fcce540d0105 drm/amd: Update MEC HQD loading code for KFD
date: 5 weeks ago
config: alpha-allmodconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 70539bd79500245cbb4c7af00572fcce540d0105
# save the attached .config to linux build tree
make.cross ARCH=alpha

All errors (new ones prefixed by >>):

In file included from include/linux/mmu_context.h:4:0,
from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h:29,
from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:23:
arch/alpha/include/asm/mmu_context.h: In function 'ev5_switch_mm':
>> arch/alpha/include/asm/mmu_context.h:160:2: error: implicit declaration of function 'task_thread_info' [-Werror=implicit-function-declaration]
task_thread_info(next)->pcb.asn = mmc & HARDWARE_ASN_MASK;
^~~~~~~~~~~~~~~~
>> arch/alpha/include/asm/mmu_context.h:160:24: error: invalid type argument of '->' (have 'int')
task_thread_info(next)->pcb.asn = mmc & HARDWARE_ASN_MASK;
^~
arch/alpha/include/asm/mmu_context.h: In function 'init_new_context':
arch/alpha/include/asm/mmu_context.h:238:24: error: invalid type argument of '->' (have 'int')
task_thread_info(tsk)->pcb.ptbr
>
> Any change that when it notices an error, it would bisect it, like it
> does for linux-next?
>
> Linus
>
> On Sat, Sep 16, 2017 at 11:02 PM, kbuild test robot
> <fengguang.wu@xxxxxxxxx> wrote:
> > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e Linux 4.14-rc1
> >
> > arch/alpha/include/asm/mmu_context.h:160:24: error: invalid type argument of '->' (have 'int')
> ...
>