Re: [PATCH 5.4 000/214] 5.4.62-rc1 review

2020-09-02 Thread Greg Kroah-Hartman
On Wed, Sep 02, 2020 at 10:47:51AM +0530, Naresh Kamboju wrote:
> On Wed, 2 Sep 2020 at 00:39, Guenter Roeck  wrote:
> >
> > On 9/1/20 8:08 AM, Greg Kroah-Hartman wrote:
> > > This is the start of the stable review cycle for the 5.4.62 release.
> > > There are 214 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, 03 Sep 2020 15:09:01 +.
> > > Anything received after that time might be too late.
> > >
> >
> > Building x86_64:tools/perf ... failed
> > --
> > Error log:
> > Warning: Kernel ABI header at 'tools/include/uapi/linux/kvm.h' differs from 
> > latest version at 'include/uapi/linux/kvm.h'
> > Warning: Kernel ABI header at 'tools/include/uapi/linux/sched.h' differs 
> > from latest version at 'include/uapi/linux/sched.h'
> > Warning: Kernel ABI header at 'tools/arch/x86/include/asm/cpufeatures.h' 
> > differs from latest version at 'arch/x86/include/asm/cpufeatures.h'
> > Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/unistd.h' 
> > differs from latest version at 'arch/x86/include/uapi/asm/unistd.h'
> > Makefile.config:846: No libcap found, disables capability support, please 
> > install libcap-devel/libcap-dev
> > Makefile.config:958: No openjdk development package found, please install 
> > JDK package, e.g. openjdk-8-jdk, java-1.8.0-openjdk-devel
> >   PERF_VERSION = 5.4.61.gf5583dd12e6f
> > In file included from btf_dump.c:16:0:
> > btf_dump.c: In function ‘btf_align_of’:
> > tools/include/linux/kernel.h:53:17: error: comparison of distinct pointer 
> > types lacks a cast [-Werror]
> >   (void) (&_min1 == &_min2);  \
> >  ^
> > btf_dump.c:770:10: note: in expansion of macro ‘min’
> >return min(sizeof(void *), t->size);
> >   ^~~
> > cc1: all warnings being treated as errors
> > make[7]: *** [/tmp/buildbot-builddir/tools/perf/staticobjs/btf_dump.o] 
> > Error 1
> 
> This perf build break noticed and reported on mailing list [1]
> 
> >
> > Bisect log below. Reverting the following two patches fixes the problem.
> >
> > 497ef945f327 libbpf: Fix build on ppc64le architecture
> > 401834f55ce7 libbpf: Handle GCC built-in types for Arm NEON
> >
> > Guenter
> >
> > ---
> > $ git bisect log
> > # bad: [f5583dd12e6fc8a3c11ae732f38bce8334e150a2] Linux 5.4.62-rc1
> > # good: [6576d69aac94cd8409636dfa86e0df39facdf0d2] Linux 5.4.61
> > git bisect start 'HEAD' 'v5.4.61'
> > # good: [6c747bd0794c982b500bda7334ef55d9dabb6cc6] nvme-fc: Fix wrong 
> > return value in __nvme_fc_init_request()
> > git bisect good 6c747bd0794c982b500bda7334ef55d9dabb6cc6
> > # bad: [81b5698e6d9ecdc9569df8f4b93be70d587f5ddf] serial: samsung: Removes 
> > the IRQ not found warning
> > git bisect bad 81b5698e6d9ecdc9569df8f4b93be70d587f5ddf
> > # bad: [973679736caa8e1b39b68866535bdc7899a46f25] ASoC: wm8994: Avoid 
> > attempts to read unreadable registers
> > git bisect bad 973679736caa8e1b39b68866535bdc7899a46f25
> > # good: [1789df2a787c589dbe83bc3ed52af2abbc739d1b] ext4: correctly restore 
> > system zone info when remount fails
> > git bisect good 1789df2a787c589dbe83bc3ed52af2abbc739d1b
> > # good: [ba1fb0301a60cbded377e0f312c82847415a1820] drm/amd/powerplay: 
> > correct UVD/VCE PG state on custom pptable uploading
> > git bisect good ba1fb0301a60cbded377e0f312c82847415a1820
> > # bad: [1ef070d29e73a50e98a93d9a68f69cfef4247170] netfilter: avoid ipv6 -> 
> > nf_defrag_ipv6 module dependency
> > git bisect bad 1ef070d29e73a50e98a93d9a68f69cfef4247170
> > # bad: [401834f55ce7f86bf2c0f8fdd8fbf9e1baf19f1c] libbpf: Handle GCC 
> > built-in types for Arm NEON
> > git bisect bad 401834f55ce7f86bf2c0f8fdd8fbf9e1baf19f1c
> > # good: [ccb6e88cd42a9cb65bde705f7f8e7c9822dcb711] drm/amd/display: Switch 
> > to immediate mode for updating infopackets
> > git bisect good ccb6e88cd42a9cb65bde705f7f8e7c9822dcb711
> > # first bad commit: [401834f55ce7f86bf2c0f8fdd8fbf9e1baf19f1c] libbpf: 
> > Handle GCC built-in types for Arm NEON
> 
> [1] 
> https://lore.kernel.org/stable/ca+g9fyvsnkxvs7hdcb3lc9w+rp8hba3f1fg3951s+xhfioj...@mail.gmail.com/

Yes, sorry, I thought the follow-on patch I added would solve this
issue, I guess not :(

Odd that it works in Linus's tree?  I'll go drop both of these patches
now...

thanks,

greg k-h


Re: [PATCH 5.4 000/214] 5.4.62-rc1 review

2020-09-01 Thread Naresh Kamboju
On Wed, 2 Sep 2020 at 00:39, Guenter Roeck  wrote:
>
> On 9/1/20 8:08 AM, Greg Kroah-Hartman wrote:
> > This is the start of the stable review cycle for the 5.4.62 release.
> > There are 214 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, 03 Sep 2020 15:09:01 +.
> > Anything received after that time might be too late.
> >
>
> Building x86_64:tools/perf ... failed
> --
> Error log:
> Warning: Kernel ABI header at 'tools/include/uapi/linux/kvm.h' differs from 
> latest version at 'include/uapi/linux/kvm.h'
> Warning: Kernel ABI header at 'tools/include/uapi/linux/sched.h' differs from 
> latest version at 'include/uapi/linux/sched.h'
> Warning: Kernel ABI header at 'tools/arch/x86/include/asm/cpufeatures.h' 
> differs from latest version at 'arch/x86/include/asm/cpufeatures.h'
> Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/unistd.h' 
> differs from latest version at 'arch/x86/include/uapi/asm/unistd.h'
> Makefile.config:846: No libcap found, disables capability support, please 
> install libcap-devel/libcap-dev
> Makefile.config:958: No openjdk development package found, please install JDK 
> package, e.g. openjdk-8-jdk, java-1.8.0-openjdk-devel
>   PERF_VERSION = 5.4.61.gf5583dd12e6f
> In file included from btf_dump.c:16:0:
> btf_dump.c: In function ‘btf_align_of’:
> tools/include/linux/kernel.h:53:17: error: comparison of distinct pointer 
> types lacks a cast [-Werror]
>   (void) (&_min1 == &_min2);  \
>  ^
> btf_dump.c:770:10: note: in expansion of macro ‘min’
>return min(sizeof(void *), t->size);
>   ^~~
> cc1: all warnings being treated as errors
> make[7]: *** [/tmp/buildbot-builddir/tools/perf/staticobjs/btf_dump.o] Error 1

This perf build break noticed and reported on mailing list [1]

>
> Bisect log below. Reverting the following two patches fixes the problem.
>
> 497ef945f327 libbpf: Fix build on ppc64le architecture
> 401834f55ce7 libbpf: Handle GCC built-in types for Arm NEON
>
> Guenter
>
> ---
> $ git bisect log
> # bad: [f5583dd12e6fc8a3c11ae732f38bce8334e150a2] Linux 5.4.62-rc1
> # good: [6576d69aac94cd8409636dfa86e0df39facdf0d2] Linux 5.4.61
> git bisect start 'HEAD' 'v5.4.61'
> # good: [6c747bd0794c982b500bda7334ef55d9dabb6cc6] nvme-fc: Fix wrong return 
> value in __nvme_fc_init_request()
> git bisect good 6c747bd0794c982b500bda7334ef55d9dabb6cc6
> # bad: [81b5698e6d9ecdc9569df8f4b93be70d587f5ddf] serial: samsung: Removes 
> the IRQ not found warning
> git bisect bad 81b5698e6d9ecdc9569df8f4b93be70d587f5ddf
> # bad: [973679736caa8e1b39b68866535bdc7899a46f25] ASoC: wm8994: Avoid 
> attempts to read unreadable registers
> git bisect bad 973679736caa8e1b39b68866535bdc7899a46f25
> # good: [1789df2a787c589dbe83bc3ed52af2abbc739d1b] ext4: correctly restore 
> system zone info when remount fails
> git bisect good 1789df2a787c589dbe83bc3ed52af2abbc739d1b
> # good: [ba1fb0301a60cbded377e0f312c82847415a1820] drm/amd/powerplay: correct 
> UVD/VCE PG state on custom pptable uploading
> git bisect good ba1fb0301a60cbded377e0f312c82847415a1820
> # bad: [1ef070d29e73a50e98a93d9a68f69cfef4247170] netfilter: avoid ipv6 -> 
> nf_defrag_ipv6 module dependency
> git bisect bad 1ef070d29e73a50e98a93d9a68f69cfef4247170
> # bad: [401834f55ce7f86bf2c0f8fdd8fbf9e1baf19f1c] libbpf: Handle GCC built-in 
> types for Arm NEON
> git bisect bad 401834f55ce7f86bf2c0f8fdd8fbf9e1baf19f1c
> # good: [ccb6e88cd42a9cb65bde705f7f8e7c9822dcb711] drm/amd/display: Switch to 
> immediate mode for updating infopackets
> git bisect good ccb6e88cd42a9cb65bde705f7f8e7c9822dcb711
> # first bad commit: [401834f55ce7f86bf2c0f8fdd8fbf9e1baf19f1c] libbpf: Handle 
> GCC built-in types for Arm NEON

[1] 
https://lore.kernel.org/stable/ca+g9fyvsnkxvs7hdcb3lc9w+rp8hba3f1fg3951s+xhfioj...@mail.gmail.com/

- Naresh


Re: [PATCH 5.4 000/214] 5.4.62-rc1 review

2020-09-01 Thread Shuah Khan

On 9/1/20 9:08 AM, Greg Kroah-Hartman wrote:

This is the start of the stable review cycle for the 5.4.62 release.
There are 214 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, 03 Sep 2020 15:09:01 +.
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.62-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



Compiled and booted on my test system. No dmesg regressions.

Tested-by: Shuah Khan 

thanks,
-- Shuah


Re: [PATCH 5.4 000/214] 5.4.62-rc1 review

2020-09-01 Thread Guenter Roeck
On 9/1/20 8:08 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.4.62 release.
> There are 214 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, 03 Sep 2020 15:09:01 +.
> Anything received after that time might be too late.
> 

Building x86_64:tools/perf ... failed
--
Error log:
Warning: Kernel ABI header at 'tools/include/uapi/linux/kvm.h' differs from 
latest version at 'include/uapi/linux/kvm.h'
Warning: Kernel ABI header at 'tools/include/uapi/linux/sched.h' differs from 
latest version at 'include/uapi/linux/sched.h'
Warning: Kernel ABI header at 'tools/arch/x86/include/asm/cpufeatures.h' 
differs from latest version at 'arch/x86/include/asm/cpufeatures.h'
Warning: Kernel ABI header at 'tools/arch/x86/include/uapi/asm/unistd.h' 
differs from latest version at 'arch/x86/include/uapi/asm/unistd.h'
Makefile.config:846: No libcap found, disables capability support, please 
install libcap-devel/libcap-dev
Makefile.config:958: No openjdk development package found, please install JDK 
package, e.g. openjdk-8-jdk, java-1.8.0-openjdk-devel
  PERF_VERSION = 5.4.61.gf5583dd12e6f
In file included from btf_dump.c:16:0:
btf_dump.c: In function ‘btf_align_of’:
tools/include/linux/kernel.h:53:17: error: comparison of distinct pointer types 
lacks a cast [-Werror]
  (void) (&_min1 == &_min2);  \
 ^
btf_dump.c:770:10: note: in expansion of macro ‘min’
   return min(sizeof(void *), t->size);
  ^~~
cc1: all warnings being treated as errors
make[7]: *** [/tmp/buildbot-builddir/tools/perf/staticobjs/btf_dump.o] Error 1

Bisect log below. Reverting the following two patches fixes the problem.

497ef945f327 libbpf: Fix build on ppc64le architecture
401834f55ce7 libbpf: Handle GCC built-in types for Arm NEON

Guenter

---
$ git bisect log
# bad: [f5583dd12e6fc8a3c11ae732f38bce8334e150a2] Linux 5.4.62-rc1
# good: [6576d69aac94cd8409636dfa86e0df39facdf0d2] Linux 5.4.61
git bisect start 'HEAD' 'v5.4.61'
# good: [6c747bd0794c982b500bda7334ef55d9dabb6cc6] nvme-fc: Fix wrong return 
value in __nvme_fc_init_request()
git bisect good 6c747bd0794c982b500bda7334ef55d9dabb6cc6
# bad: [81b5698e6d9ecdc9569df8f4b93be70d587f5ddf] serial: samsung: Removes the 
IRQ not found warning
git bisect bad 81b5698e6d9ecdc9569df8f4b93be70d587f5ddf
# bad: [973679736caa8e1b39b68866535bdc7899a46f25] ASoC: wm8994: Avoid attempts 
to read unreadable registers
git bisect bad 973679736caa8e1b39b68866535bdc7899a46f25
# good: [1789df2a787c589dbe83bc3ed52af2abbc739d1b] ext4: correctly restore 
system zone info when remount fails
git bisect good 1789df2a787c589dbe83bc3ed52af2abbc739d1b
# good: [ba1fb0301a60cbded377e0f312c82847415a1820] drm/amd/powerplay: correct 
UVD/VCE PG state on custom pptable uploading
git bisect good ba1fb0301a60cbded377e0f312c82847415a1820
# bad: [1ef070d29e73a50e98a93d9a68f69cfef4247170] netfilter: avoid ipv6 -> 
nf_defrag_ipv6 module dependency
git bisect bad 1ef070d29e73a50e98a93d9a68f69cfef4247170
# bad: [401834f55ce7f86bf2c0f8fdd8fbf9e1baf19f1c] libbpf: Handle GCC built-in 
types for Arm NEON
git bisect bad 401834f55ce7f86bf2c0f8fdd8fbf9e1baf19f1c
# good: [ccb6e88cd42a9cb65bde705f7f8e7c9822dcb711] drm/amd/display: Switch to 
immediate mode for updating infopackets
git bisect good ccb6e88cd42a9cb65bde705f7f8e7c9822dcb711
# first bad commit: [401834f55ce7f86bf2c0f8fdd8fbf9e1baf19f1c] libbpf: Handle 
GCC built-in types for Arm NEON


[PATCH 5.4 000/214] 5.4.62-rc1 review

2020-09-01 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 5.4.62 release.
There are 214 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, 03 Sep 2020 15:09:01 +.
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.62-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

-
Pseudo-Shortlog of commits:

Greg Kroah-Hartman 
Linux 5.4.62-rc1

Hector Martin 
ALSA: usb-audio: Update documentation comment for MS2109 quirk

Andrii Nakryiko 
libbpf: Fix build on ppc64le architecture

Peilin Ye 
HID: hiddev: Fix slab-out-of-bounds write in hiddev_ioctl_usage()

Denis Efremov 
kbuild: fix broken builds because of GZIP,BZIP2,LZOP variables

Denis Efremov 
kbuild: add variables for compression tools

Masahiro Yamada 
kheaders: explain why include/config/autoconf.h is excluded from md5sum

Masahiro Yamada 
kheaders: remove the last bashism to allow sh to run it

Masahiro Yamada 
kheaders: optimize header copy for in-tree builds

Masahiro Yamada 
kheaders: optimize md5sum calculation for in-tree builds

Masahiro Yamada 
kheaders: remove unneeded 'cat' command piped to 'head' / 'tail'

Tetsuo Handa 
fbmem: pull fbcon_update_vcs() out of fb_set_var()

Thinh Nguyen 
usb: dwc3: gadget: Handle ZLP for sg requests

Thinh Nguyen 
usb: dwc3: gadget: Fix handling ZLP

Thinh Nguyen 
usb: dwc3: gadget: Don't setup more than requested

Mika Kuoppala 
drm/i915: Fix cmd parser desc matching with masks

Alan Stern 
usb: storage: Add unusual_uas entry for Sony PSZ drives

Tom Rix 
USB: cdc-acm: rework notification_buffer resizing

Andy Shevchenko 
USB: gadget: u_f: Unbreak offset calculation in VLAs

Brooke Basile 
USB: gadget: f_ncm: add bounds checks to ncm_unwrap_ntb()

Brooke Basile 
USB: gadget: u_f: add overflow checks to VLA macros

Tang Bin 
usb: host: ohci-exynos: Fix error handling in exynos_ohci_probe()

Cyril Roelandt 
USB: Ignore UAS for JMicron JMS567 ATA/ATAPI Bridge

Alan Stern 
USB: quirks: Ignore duplicate endpoint on Sound Devices MixPre-D

Kai-Heng Feng 
USB: quirks: Add no-lpm quirk for another Raydium touchscreen

Thinh Nguyen 
usb: uas: Add quirk for PNY Pro Elite

Alan Stern 
USB: yurex: Fix bad gfp argument

Evan Quan 
drm/amd/pm: correct the thermal alert temperature limit settings

Evan Quan 
drm/amd/pm: correct Vega20 swctf limit setting

Evan Quan 
drm/amd/pm: correct Vega12 swctf limit setting

Evan Quan 
drm/amd/pm: correct Vega10 swctf limit setting

Nicholas Kazlauskas 
drm/amd/powerplay: Fix hardmins not being sent to SMU for RV

Jiansong Chen 
drm/amdgpu/gfx10: refine mgcg setting

Alex Deucher 
drm/amdgpu: Fix buffer overflow in INFO ioctl

Ashok Raj 
x86/hotplug: Silence APIC only after all interrupts are migrated

qiuguorui1 
irqchip/stm32-exti: Avoid losing interrupts due to clearing pending bits by 
mistake

Thomas Gleixner 
genirq/matrix: Deal with the sillyness of for_each_cpu() on UP

Herbert Xu 
crypto: af_alg - Work around empty control messages without MSG_MORE

Heikki Krogerus 
device property: Fix the secondary firmware node handling in 
set_primary_fwnode()

Alexey Kardashevskiy 
powerpc/perf: Fix crashes with generic_compat_pmu & BHRB

Rafael J. Wysocki 
PM: sleep: core: Fix the handling of pending runtime resume requests

Frank van der Linden 
arm64: vdso32: make vdso32 install conditional

Ding Hui 
xhci: Always restore EP_SOFT_CLEAR_TOGGLE even if ep reset failed

Kai-Heng Feng 
xhci: Do warm-reset when both CAS and XDEV_RESUME are set

Li Jun 
usb: host: xhci: fix ep context print mismatch in debugfs

Thomas Gleixner 
XEN uses irqdesc::irq_data_common::handler_data to store a per interrupt 
XEN data pointer which contains XEN specific information.

Jan Kara 
writeback: Fix sync livelock due to b_dirty_time processing

Jan Kara 
writeback: Avoid skipping inode writeback

Jan Kara 
writeback: Protect inode->i_io_list with inode->i_lock

Sergey Senozhatsky 
serial: 8250: change lock order in serial8250_do_startup()

Valmer Huhn 
serial: 8250_exar: Fix number of ports for Commtech PCIe cards

Holger Assmann 
serial: stm32: avoid kernel warning on absence of optional IRQ

Lukas Wunner 
serial: pl011: Don't leak amba_ports entry on driver register error

Lukas Wunner 
serial: pl011: Fix oops on -EPROBE_DEFER

Tamseel Shams 
serial: samsung: Removes the IRQ not found warning

George Kennedy 
vt_ioctl: change VT_RESIZEX ioctl to check for error return from vc_resize()