2020-09-15 15:18:25

by Naresh Kamboju

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/132] 5.4.66-rc1 review

On Tue, 15 Sep 2020 at 19:50, Greg Kroah-Hartman
<[email protected]> wrote:
>
> This is the start of the stable review cycle for the 5.4.66 release.
> There are 132 patches in this series, all will be posted as a response
> to this one. If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Thu, 17 Sep 2020 14:06:12 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
> https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.66-rc1.gz
> or in the git tree and branch at:
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h
>

arm and arm64 build breaks on stable rc 5.4.

make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm
CROSS_COMPILE=arm-linux-gnueabihf- HOSTCC=gcc CC="sccache
arm-linux-gnueabihf-gcc" O=build zImage
#
../kernel/kprobes.c: In function ‘kill_kprobe’:
../kernel/kprobes.c:1081:33: warning: statement with no effect [-Wunused-value]
1081 | #define disarm_kprobe_ftrace(p) (-ENODEV)
| ^
../kernel/kprobes.c:2113:3: note: in expansion of macro ‘disarm_kprobe_ftrace’
2113 | disarm_kprobe_ftrace(p);
| ^~~~~~~~~~~~~~~~~~~~
#
# make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm
CROSS_COMPILE=arm-linux-gnueabihf- HOSTCC=gcc CC="sccache
arm-linux-gnueabihf-gcc" O=build modules
#
../drivers/gpu/drm/msm/adreno/a5xx_preempt.c: In function ‘preempt_init_ring’:
../drivers/gpu/drm/msm/adreno/a5xx_preempt.c:235:21: error:
‘MSM_BO_MAP_PRIV’ undeclared (first use in this function)
235 | MSM_BO_UNCACHED | MSM_BO_MAP_PRIV, gpu->aspace, &bo, &iova);
| ^~~~~~~~~~~~~~~
../drivers/gpu/drm/msm/adreno/a5xx_preempt.c:235:21: note: each
undeclared identifier is reported only once for each function it
appears in
make[5]: *** [../scripts/Makefile.build:266:
drivers/gpu/drm/msm/adreno/a5xx_preempt.o] Error 1
../drivers/gpu/drm/msm/adreno/a6xx_gpu.c: In function ‘a6xx_hw_init’:
../drivers/gpu/drm/msm/adreno/a6xx_gpu.c:414:6: error: implicit
declaration of function ‘adreno_is_a640’; did you mean
‘adreno_is_a540’? [-Werror=implicit-function-declaration]
414 | if (adreno_is_a640(adreno_gpu) || adreno_is_a650(adreno_gpu)) {
| ^~~~~~~~~~~~~~
| adreno_is_a540
../drivers/gpu/drm/msm/adreno/a6xx_gpu.c:414:36: error: implicit
declaration of function ‘adreno_is_a650’; did you mean
‘adreno_is_a540’? [-Werror=implicit-function-declaration]
414 | if (adreno_is_a640(adreno_gpu) || adreno_is_a650(adreno_gpu)) {
| ^~~~~~~~~~~~~~
| adreno_is_a540
../drivers/gpu/drm/msm/adreno/a6xx_gpu.c:415:18: error:
‘REG_A6XX_GBIF_QSB_SIDE0’ undeclared (first use in this function)
415 | gpu_write(gpu, REG_A6XX_GBIF_QSB_SIDE0, 0x00071620);
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/msm/adreno/a6xx_gpu.c:415:18: note: each undeclared
identifier is reported only once for each function it appears in
../drivers/gpu/drm/msm/adreno/a6xx_gpu.c:416:18: error:
‘REG_A6XX_GBIF_QSB_SIDE1’ undeclared (first use in this function)
416 | gpu_write(gpu, REG_A6XX_GBIF_QSB_SIDE1, 0x00071620);
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/msm/adreno/a6xx_gpu.c:417:18: error:
‘REG_A6XX_GBIF_QSB_SIDE2’ undeclared (first use in this function)
417 | gpu_write(gpu, REG_A6XX_GBIF_QSB_SIDE2, 0x00071620);
| ^~~~~~~~~~~~~~~~~~~~~~~
../drivers/gpu/drm/msm/adreno/a6xx_gpu.c:418:18: error:
‘REG_A6XX_GBIF_QSB_SIDE3’ undeclared (first use in this function)
418 | gpu_write(gpu, REG_A6XX_GBIF_QSB_SIDE3, 0x00071620);
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[5]: *** [../scripts/Makefile.build:265:
drivers/gpu/drm/msm/adreno/a6xx_gpu.o] Error 1
In file included from ../drivers/gpu/drm/msm/msm_gpu.c:7:
../drivers/gpu/drm/msm/msm_gpu.c: In function ‘msm_gpu_init’:
../drivers/gpu/drm/msm/msm_gpu.h:330:22: error: ‘MSM_BO_MAP_PRIV’
undeclared (first use in this function)
330 | (((gpu)->hw_apriv ? MSM_BO_MAP_PRIV : 0) | (flags))
| ^~~~~~~~~~~~~~~
../drivers/gpu/drm/msm/msm_gpu.c:935:3: note: in expansion of macro
‘check_apriv’
935 | check_apriv(gpu, MSM_BO_UNCACHED), gpu->aspace, &gpu->memptrs_bo,
| ^~~~~~~~~~~
../drivers/gpu/drm/msm/msm_gpu.h:330:22: note: each undeclared
identifier is reported only once for each function it appears in
330 | (((gpu)->hw_apriv ? MSM_BO_MAP_PRIV : 0) | (flags))
| ^~~~~~~~~~~~~~~
../drivers/gpu/drm/msm/msm_gpu.c:935:3: note: in expansion of macro
‘check_apriv’
935 | check_apriv(gpu, MSM_BO_UNCACHED), gpu->aspace, &gpu->memptrs_bo,
| ^~~~~~~~~~~
make[5]: *** [../scripts/Makefile.build:266:
drivers/gpu/drm/msm/msm_gpu.o] Error 1
In file included from ../drivers/gpu/drm/msm/msm_ringbuffer.c:8:
../drivers/gpu/drm/msm/msm_ringbuffer.c: In function ‘msm_ringbuffer_new’:
../drivers/gpu/drm/msm/msm_gpu.h:330:22: error: ‘MSM_BO_MAP_PRIV’
undeclared (first use in this function)
330 | (((gpu)->hw_apriv ? MSM_BO_MAP_PRIV : 0) | (flags))
| ^~~~~~~~~~~~~~~
../drivers/gpu/drm/msm/msm_ringbuffer.c:30:3: note: in expansion of
macro ‘check_apriv’
30 | check_apriv(gpu, MSM_BO_WC | MSM_BO_GPU_READONLY),
| ^~~~~~~~~~~
../drivers/gpu/drm/msm/msm_gpu.h:330:22: note: each undeclared
identifier is reported only once for each function it appears in
330 | (((gpu)->hw_apriv ? MSM_BO_MAP_PRIV : 0) | (flags))
| ^~~~~~~~~~~~~~~
../drivers/gpu/drm/msm/msm_ringbuffer.c:30:3: note: in expansion of
macro ‘check_apriv’
30 | check_apriv(gpu, MSM_BO_WC | MSM_BO_GPU_READONLY),
| ^~~~~~~~~~~
make[5]: *** [../scripts/Makefile.build:265:
drivers/gpu/drm/msm/msm_ringbuffer.o] Error 1
make[5]: Target '__build' not remade because of errors.
make[4]: *** [../scripts/Makefile.build:500: drivers/gpu/drm/msm] Error 2
make[4]: Target '__build' not remade because of errors.
make[3]: *** [../scripts/Makefile.build:500: drivers/gpu/drm] Error 2
make[3]: Target '__build' not remade because of errors.
make[2]: *** [../scripts/Makefile.build:500: drivers/gpu] Error 2
make[2]: Target '__build' not remade because of errors.
make[1]: *** [/linux/Makefile:1729: drivers] Error 2
make[1]: Target 'modules' not remade because of errors.
make: *** [Makefile:179: sub-make] Error 2
make: Target 'modules' not remade because of errors.


--
Linaro LKFT
https://lkft.linaro.org


2020-09-15 17:29:13

by Greg Kroah-Hartman

[permalink] [raw]
Subject: Re: [PATCH 5.4 000/132] 5.4.66-rc1 review

On Tue, Sep 15, 2020 at 08:14:34PM +0530, Naresh Kamboju wrote:
> On Tue, 15 Sep 2020 at 19:50, Greg Kroah-Hartman
> <[email protected]> wrote:
> >
> > This is the start of the stable review cycle for the 5.4.66 release.
> > There are 132 patches in this series, all will be posted as a response
> > to this one. If anyone has any issues with these being applied, please
> > let me know.
> >
> > Responses should be made by Thu, 17 Sep 2020 14:06:12 +0000.
> > Anything received after that time might be too late.
> >
> > The whole patch series can be found in one patch at:
> > https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patch-5.4.66-rc1.gz
> > or in the git tree and branch at:
> > git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-5.4.y
> > and the diffstat can be found below.
> >
> > thanks,
> >
> > greg k-h
> >
>
> arm and arm64 build breaks on stable rc 5.4.
>
> make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm
> CROSS_COMPILE=arm-linux-gnueabihf- HOSTCC=gcc CC="sccache
> arm-linux-gnueabihf-gcc" O=build zImage
> #
> ../kernel/kprobes.c: In function ‘kill_kprobe’:
> ../kernel/kprobes.c:1081:33: warning: statement with no effect [-Wunused-value]
> 1081 | #define disarm_kprobe_ftrace(p) (-ENODEV)
> | ^
> ../kernel/kprobes.c:2113:3: note: in expansion of macro ‘disarm_kprobe_ftrace’
> 2113 | disarm_kprobe_ftrace(p);
> | ^~~~~~~~~~~~~~~~~~~~
> #
> # make -sk KBUILD_BUILD_USER=TuxBuild -C/linux -j16 ARCH=arm
> CROSS_COMPILE=arm-linux-gnueabihf- HOSTCC=gcc CC="sccache
> arm-linux-gnueabihf-gcc" O=build modules
> #
> ../drivers/gpu/drm/msm/adreno/a5xx_preempt.c: In function ‘preempt_init_ring’:
> ../drivers/gpu/drm/msm/adreno/a5xx_preempt.c:235:21: error:
> ‘MSM_BO_MAP_PRIV’ undeclared (first use in this function)
> 235 | MSM_BO_UNCACHED | MSM_BO_MAP_PRIV, gpu->aspace, &bo, &iova);
> | ^~~~~~~~~~~~~~~
> ../drivers/gpu/drm/msm/adreno/a5xx_preempt.c:235:21: note: each
> undeclared identifier is reported only once for each function it
> appears in
> make[5]: *** [../scripts/Makefile.build:266:
> drivers/gpu/drm/msm/adreno/a5xx_preempt.o] Error 1
> ../drivers/gpu/drm/msm/adreno/a6xx_gpu.c: In function ‘a6xx_hw_init’:
> ../drivers/gpu/drm/msm/adreno/a6xx_gpu.c:414:6: error: implicit
> declaration of function ‘adreno_is_a640’; did you mean
> ‘adreno_is_a540’? [-Werror=implicit-function-declaration]
> 414 | if (adreno_is_a640(adreno_gpu) || adreno_is_a650(adreno_gpu)) {
> | ^~~~~~~~~~~~~~
> | adreno_is_a540
> ../drivers/gpu/drm/msm/adreno/a6xx_gpu.c:414:36: error: implicit
> declaration of function ‘adreno_is_a650’; did you mean
> ‘adreno_is_a540’? [-Werror=implicit-function-declaration]
> 414 | if (adreno_is_a640(adreno_gpu) || adreno_is_a650(adreno_gpu)) {
> | ^~~~~~~~~~~~~~
> | adreno_is_a540
> ../drivers/gpu/drm/msm/adreno/a6xx_gpu.c:415:18: error:
> ‘REG_A6XX_GBIF_QSB_SIDE0’ undeclared (first use in this function)
> 415 | gpu_write(gpu, REG_A6XX_GBIF_QSB_SIDE0, 0x00071620);
> | ^~~~~~~~~~~~~~~~~~~~~~~
> ../drivers/gpu/drm/msm/adreno/a6xx_gpu.c:415:18: note: each undeclared
> identifier is reported only once for each function it appears in
> ../drivers/gpu/drm/msm/adreno/a6xx_gpu.c:416:18: error:
> ‘REG_A6XX_GBIF_QSB_SIDE1’ undeclared (first use in this function)
> 416 | gpu_write(gpu, REG_A6XX_GBIF_QSB_SIDE1, 0x00071620);
> | ^~~~~~~~~~~~~~~~~~~~~~~
> ../drivers/gpu/drm/msm/adreno/a6xx_gpu.c:417:18: error:
> ‘REG_A6XX_GBIF_QSB_SIDE2’ undeclared (first use in this function)
> 417 | gpu_write(gpu, REG_A6XX_GBIF_QSB_SIDE2, 0x00071620);
> | ^~~~~~~~~~~~~~~~~~~~~~~
> ../drivers/gpu/drm/msm/adreno/a6xx_gpu.c:418:18: error:
> ‘REG_A6XX_GBIF_QSB_SIDE3’ undeclared (first use in this function)
> 418 | gpu_write(gpu, REG_A6XX_GBIF_QSB_SIDE3, 0x00071620);
> | ^~~~~~~~~~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[5]: *** [../scripts/Makefile.build:265:
> drivers/gpu/drm/msm/adreno/a6xx_gpu.o] Error 1
> In file included from ../drivers/gpu/drm/msm/msm_gpu.c:7:
> ../drivers/gpu/drm/msm/msm_gpu.c: In function ‘msm_gpu_init’:
> ../drivers/gpu/drm/msm/msm_gpu.h:330:22: error: ‘MSM_BO_MAP_PRIV’
> undeclared (first use in this function)
> 330 | (((gpu)->hw_apriv ? MSM_BO_MAP_PRIV : 0) | (flags))
> | ^~~~~~~~~~~~~~~
> ../drivers/gpu/drm/msm/msm_gpu.c:935:3: note: in expansion of macro
> ‘check_apriv’
> 935 | check_apriv(gpu, MSM_BO_UNCACHED), gpu->aspace, &gpu->memptrs_bo,
> | ^~~~~~~~~~~
> ../drivers/gpu/drm/msm/msm_gpu.h:330:22: note: each undeclared
> identifier is reported only once for each function it appears in
> 330 | (((gpu)->hw_apriv ? MSM_BO_MAP_PRIV : 0) | (flags))
> | ^~~~~~~~~~~~~~~
> ../drivers/gpu/drm/msm/msm_gpu.c:935:3: note: in expansion of macro
> ‘check_apriv’
> 935 | check_apriv(gpu, MSM_BO_UNCACHED), gpu->aspace, &gpu->memptrs_bo,
> | ^~~~~~~~~~~
> make[5]: *** [../scripts/Makefile.build:266:
> drivers/gpu/drm/msm/msm_gpu.o] Error 1
> In file included from ../drivers/gpu/drm/msm/msm_ringbuffer.c:8:
> ../drivers/gpu/drm/msm/msm_ringbuffer.c: In function ‘msm_ringbuffer_new’:
> ../drivers/gpu/drm/msm/msm_gpu.h:330:22: error: ‘MSM_BO_MAP_PRIV’
> undeclared (first use in this function)
> 330 | (((gpu)->hw_apriv ? MSM_BO_MAP_PRIV : 0) | (flags))
> | ^~~~~~~~~~~~~~~
> ../drivers/gpu/drm/msm/msm_ringbuffer.c:30:3: note: in expansion of
> macro ‘check_apriv’
> 30 | check_apriv(gpu, MSM_BO_WC | MSM_BO_GPU_READONLY),
> | ^~~~~~~~~~~
> ../drivers/gpu/drm/msm/msm_gpu.h:330:22: note: each undeclared
> identifier is reported only once for each function it appears in
> 330 | (((gpu)->hw_apriv ? MSM_BO_MAP_PRIV : 0) | (flags))
> | ^~~~~~~~~~~~~~~
> ../drivers/gpu/drm/msm/msm_ringbuffer.c:30:3: note: in expansion of
> macro ‘check_apriv’
> 30 | check_apriv(gpu, MSM_BO_WC | MSM_BO_GPU_READONLY),
> | ^~~~~~~~~~~
> make[5]: *** [../scripts/Makefile.build:265:
> drivers/gpu/drm/msm/msm_ringbuffer.o] Error 1
> make[5]: Target '__build' not remade because of errors.
> make[4]: *** [../scripts/Makefile.build:500: drivers/gpu/drm/msm] Error 2
> make[4]: Target '__build' not remade because of errors.
> make[3]: *** [../scripts/Makefile.build:500: drivers/gpu/drm] Error 2
> make[3]: Target '__build' not remade because of errors.
> make[2]: *** [../scripts/Makefile.build:500: drivers/gpu] Error 2
> make[2]: Target '__build' not remade because of errors.
> make[1]: *** [/linux/Makefile:1729: drivers] Error 2
> make[1]: Target 'modules' not remade because of errors.
> make: *** [Makefile:179: sub-make] Error 2
> make: Target 'modules' not remade because of errors.

Ah, will go drop that patch, thanks!

greg k-h