[PATCH 5.15 000/121] 5.15.68-rc1 review

Greg Kroah-Hartman posted 121 patches 3 years ago
Documentation/arm64/silicon-errata.rst             |   2 +
Makefile                                           |   7 +-
arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi        |  21 +-
arch/arm/boot/dts/at91-sama5d2_icp.dts             |  21 +-
arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi      |  10 -
arch/arm/mach-at91/pm.c                            |  36 ++-
arch/arm/mach-at91/pm_suspend.S                    |  24 +-
arch/arm64/Kconfig                                 |  19 ++
arch/arm64/kernel/cacheinfo.c                      |   6 +-
arch/arm64/kernel/cpu_errata.c                     |   9 +
arch/arm64/kernel/cpufeature.c                     |   5 +-
arch/arm64/kernel/hibernate.c                      |   5 +
arch/arm64/kernel/mte.c                            |   9 +
arch/arm64/kernel/signal.c                         |   2 +-
arch/arm64/kernel/topology.c                       |  32 ++-
arch/arm64/mm/copypage.c                           |   9 +
arch/arm64/mm/mteswap.c                            |   9 +
arch/arm64/tools/cpucaps                           |   1 +
arch/mips/loongson32/ls1c/board.c                  |   1 -
arch/parisc/include/asm/bitops.h                   |   8 -
arch/parisc/kernel/head.S                          |  43 ++-
.../dts/microchip/microchip-mpfs-icicle-kit.dts    |   4 +
arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi  |  12 +-
arch/s390/kernel/nmi.c                             |   2 +-
arch/s390/kernel/setup.c                           |   1 +
drivers/cpufreq/cpufreq.c                          |   2 +-
drivers/firmware/efi/capsule-loader.c              |  31 +--
drivers/firmware/efi/libstub/Makefile              |   7 +
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c            |   3 +
drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c           |   2 +-
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c              |   3 +-
drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c            |   1 +
.../drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c  |   2 +-
drivers/gpu/drm/bridge/display-connector.c         |  86 ++++++
drivers/gpu/drm/drm_gem.c                          |  17 +-
drivers/gpu/drm/drm_internal.h                     |   4 +-
drivers/gpu/drm/drm_prime.c                        |  20 +-
.../gpu/drm/i915/display/intel_dp_link_training.c  |  22 ++
drivers/gpu/drm/radeon/radeon_device.c             |   3 +
drivers/hwmon/mr75203.c                            |  72 +++--
drivers/hwmon/tps23861.c                           |  10 +-
drivers/infiniband/core/cma.c                      |   4 +-
drivers/infiniband/core/umem_odp.c                 |   2 +-
drivers/infiniband/hw/hns/hns_roce_hw_v2.h         |   2 +-
drivers/infiniband/hw/hns/hns_roce_qp.c            |   7 +-
drivers/infiniband/hw/irdma/uk.c                   |   4 +-
drivers/infiniband/hw/irdma/verbs.c                |   7 +-
drivers/infiniband/hw/mlx5/mad.c                   |   6 +
drivers/infiniband/sw/siw/siw_qp_tx.c              |  18 +-
drivers/infiniband/ulp/rtrs/rtrs-clt.c             |   9 +-
drivers/infiniband/ulp/rtrs/rtrs-srv.c             |  14 +-
drivers/infiniband/ulp/srp/ib_srp.c                |   3 +-
drivers/iommu/amd/iommu.c                          |   3 +-
drivers/iommu/intel/iommu.c                        |  28 +-
drivers/md/md.c                                    |   1 +
drivers/net/ethernet/freescale/fec.h               |   1 -
drivers/net/ethernet/freescale/fec_main.c          |  17 +-
drivers/net/ethernet/freescale/fec_ptp.c           |  28 +-
drivers/net/ethernet/intel/i40e/i40e.h             |  14 +
drivers/net/ethernet/intel/i40e/i40e_client.c      |   5 +-
drivers/net/ethernet/intel/i40e/i40e_ethtool.c     |   2 +-
drivers/net/ethernet/intel/i40e/i40e_main.c        |  23 +-
drivers/net/ethernet/intel/i40e/i40e_txrx.c        |   3 +-
drivers/net/ethernet/intel/iavf/iavf_main.c        |  14 +-
drivers/net/ethernet/intel/ice/ice_main.c          |   2 +-
drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c |   4 +-
drivers/net/phy/meson-gxl.c                        |   8 +-
drivers/net/wireless/intel/iwlegacy/4965-rs.c      |   5 +-
drivers/net/wireless/microchip/wilc1000/netdev.h   |   1 +
drivers/net/wireless/microchip/wilc1000/sdio.c     |  39 ++-
drivers/net/wireless/microchip/wilc1000/wlan.c     |  15 +-
drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c      |  10 -
drivers/net/xen-netback/xenbus.c                   |   2 +-
drivers/nvme/host/tcp.c                            |   7 +-
drivers/nvme/target/core.c                         |   6 +-
drivers/nvme/target/zns.c                          |  17 +-
drivers/parisc/ccio-dma.c                          |  11 +-
drivers/regulator/core.c                           |   9 +-
drivers/scsi/lpfc/lpfc_init.c                      |   5 +-
drivers/scsi/megaraid/megaraid_sas_fusion.c        |   1 -
drivers/scsi/mpt3sas/mpt3sas_scsih.c               |   2 +-
drivers/scsi/qla2xxx/qla_target.c                  |  10 +-
drivers/scsi/ufs/ufshcd.c                          |   9 +-
drivers/soc/bcm/brcmstb/pm/pm-arm.c                |  50 +++-
drivers/soc/imx/gpcv2.c                            |   5 +-
drivers/tee/tee_shm.c                              |   1 +
drivers/vfio/vfio_iommu_type1.c                    |  12 +
drivers/video/fbdev/chipsfb.c                      |   1 +
drivers/video/fbdev/core/fbsysfs.c                 |   4 +
fs/afs/flock.c                                     |   2 +-
fs/afs/fsclient.c                                  |   2 +-
fs/afs/internal.h                                  |   3 +-
fs/afs/rxrpc.c                                     |   7 +-
fs/afs/yfsclient.c                                 |   3 +-
fs/btrfs/zoned.c                                   |  15 +-
fs/debugfs/inode.c                                 |  22 ++
fs/erofs/internal.h                                |  29 --
fs/nfs/dir.c                                       |  16 +-
fs/nfs/file.c                                      |  15 +-
fs/nfs/inode.c                                     |  27 +-
fs/nfs/write.c                                     |   6 +-
include/linux/buffer_head.h                        |  11 +
include/linux/debugfs.h                            |   6 +
include/linux/nfs_fs.h                             |  48 ++--
include/linux/skbuff.h                             |  49 +++-
include/linux/udp.h                                |   1 +
include/net/udp_tunnel.h                           |   4 +
include/soc/at91/sama7-ddr.h                       |  12 +-
kernel/cgroup/cgroup.c                             |  85 ++++--
kernel/cgroup/cpuset.c                             |   3 +-
kernel/dma/swiotlb.c                               |   5 +-
kernel/fork.c                                      |   1 +
kernel/kprobes.c                                   |   1 +
kernel/sched/debug.c                               |   2 +-
kernel/trace/trace_events_trigger.c                |   3 +-
mm/kmemleak.c                                      |   8 +-
net/bridge/br_netfilter_hooks.c                    |   2 +
net/bridge/br_netfilter_ipv6.c                     |   1 +
net/core/datagram.c                                |   2 +-
net/core/skbuff.c                                  |   5 +-
net/ipv4/tcp.c                                     |   2 +-
net/ipv4/tcp_input.c                               |  25 +-
net/ipv4/udp.c                                     |   2 +
net/ipv4/udp_tunnel_core.c                         |   1 +
net/ipv6/seg6.c                                    |   5 +
net/ipv6/udp.c                                     |   5 +-
net/netfilter/nf_conntrack_irc.c                   |   5 +-
net/netfilter/nf_conntrack_proto_tcp.c             |  31 +++
net/netfilter/nf_tables_api.c                      |   4 +-
net/rxrpc/ar-internal.h                            |   1 +
net/rxrpc/local_object.c                           |   1 +
net/rxrpc/peer_event.c                             | 293 ++++++++++++++++++---
net/rxrpc/rxkad.c                                  |   2 +-
net/sched/sch_sfb.c                                |  13 +-
net/tipc/monitor.c                                 |   2 +-
sound/core/oss/pcm_oss.c                           |   6 +-
sound/drivers/aloop.c                              |   7 +-
sound/pci/emu10k1/emupcm.c                         |   2 +-
sound/soc/atmel/mchp-spdiftx.c                     |  10 +-
sound/soc/qcom/sm8250.c                            |   1 +
sound/usb/card.c                                   |   2 +-
sound/usb/endpoint.c                               |  23 +-
sound/usb/endpoint.h                               |   6 +-
sound/usb/pcm.c                                    |  14 +-
sound/usb/quirks.c                                 |   2 +-
sound/usb/stream.c                                 |   9 +-
tools/perf/builtin-script.c                        |   3 +
tools/perf/util/machine.c                          |   3 +-
148 files changed, 1376 insertions(+), 534 deletions(-)
[PATCH 5.15 000/121] 5.15.68-rc1 review
Posted by Greg Kroah-Hartman 3 years ago
This is the start of the stable review cycle for the 5.15.68 release.
There are 121 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, 15 Sep 2022 14:03:27 +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.15.68-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.15.y
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Linux 5.15.68-rc1

Claudiu Beznea <claudiu.beznea@microchip.com>
    ARM: at91: ddr: remove CONFIG_SOC_SAMA7 dependency

Arnaldo Carvalho de Melo <acme@redhat.com>
    perf machine: Use path__join() to compose a path instead of snprintf(dir, '/', filename)

Neil Armstrong <narmstrong@baylibre.com>
    drm/bridge: display-connector: implement bus fmts callbacks

Ionela Voinescu <ionela.voinescu@arm.com>
    arm64: errata: add detection for AMEVCNTR01 incrementing incorrectly

Lu Baolu <baolu.lu@linux.intel.com>
    iommu/vt-d: Correctly calculate sagaw value of IOMMU

Mark Brown <broonie@kernel.org>
    arm64/bti: Disable in kernel BTI when cross section thunks are broken

Sasha Levin <sashal@kernel.org>
    Revert "arm64: kasan: Revert "arm64: mte: reset the page tag in page->flags""

Eliav Farber <farbere@amazon.com>
    hwmon: (mr75203) enable polling for all VM channels

Eliav Farber <farbere@amazon.com>
    hwmon: (mr75203) fix multi-channel voltage reading

Eliav Farber <farbere@amazon.com>
    hwmon: (mr75203) fix voltage equation for negative source input

Eliav Farber <farbere@amazon.com>
    hwmon: (mr75203) update pvt->v_num and vm_num to the actual number of used sensors

Eliav Farber <farbere@amazon.com>
    hwmon: (mr75203) fix VM sensor allocation when "intel,vm-map" not defined

Alexander Gordeev <agordeev@linux.ibm.com>
    s390/boot: fix absolute zero lowcore corruption on boot

John Sperbeck <jsperbeck@google.com>
    iommu/amd: use full 64-bit value in build_completion_wait()

Chao Gao <chao.gao@intel.com>
    swiotlb: avoid potential left shift overflow

Przemyslaw Patynowski <przemyslawx.patynowski@intel.com>
    i40e: Fix ADQ rate limiting for PF

Przemyslaw Patynowski <przemyslawx.patynowski@intel.com>
    i40e: Refactor tc mqprio checks

Masahiro Yamada <masahiroy@kernel.org>
    kbuild: disable header exports for UML in a straightforward way

Yang Ling <gnaygnil@gmail.com>
    MIPS: loongson32: ls1c: Fix hang during startup

Nathan Chancellor <nathan@kernel.org>
    ASoC: mchp-spdiftx: Fix clang -Wbitfield-constant-conversion

Claudiu Beznea <claudiu.beznea@microchip.com>
    ASoC: mchp-spdiftx: remove references to mchp_i2s_caps

Alexandru Gagniuc <mr.nuke.me@gmail.com>
    hwmon: (tps23861) fix byte order in resistance register

Zhengjun Xing <zhengjun.xing@linux.intel.com>
    perf script: Fix Cannot print 'iregs' field for hybrid systems

Toke Høiland-Jørgensen <toke@toke.dk>
    sch_sfb: Also store skb len before calling child enqueue

Sindhu-Devale <sindhu.devale@intel.com>
    RDMA/irdma: Report RNR NAK generation in device caps

Sindhu-Devale <sindhu.devale@intel.com>
    RDMA/irdma: Return correct WC error for bind operation failure

Sindhu-Devale <sindhu.devale@intel.com>
    RDMA/irdma: Report the correct max cqes from query device

Dennis Maisenbacher <dennis.maisenbacher@wdc.com>
    nvmet: fix mar and mor off-by-one errors

Neal Cardwell <ncardwell@google.com>
    tcp: fix early ETIMEDOUT after spurious non-SACK RTO

Sagi Grimberg <sagi@grimberg.me>
    nvme-tcp: fix regression that causes sporadic requests to time out

Sagi Grimberg <sagi@grimberg.me>
    nvme-tcp: fix UAF when detecting digest errors

Gao Xiang <hsiangkao@linux.alibaba.com>
    erofs: fix pcluster use-after-free on UP platforms

Chris Mi <cmi@nvidia.com>
    RDMA/mlx5: Set local port to one when accessing counters

Yishai Hadas <yishaih@nvidia.com>
    IB/core: Fix a nested dead lock as part of ODP flow

David Lebrun <dlebrun@google.com>
    ipv6: sr: fix out-of-bounds read when setting HMAC data.

Linus Walleij <linus.walleij@linaro.org>
    RDMA/siw: Pass a pointer to virt_to_page()

Paul Durrant <pdurrant@amazon.com>
    xen-netback: only remove 'hotplug-status' when the vif is actually destroyed

Csókás Bence <csokas.bence@prolan.hu>
    net: fec: Use a spinlock to guard `fep->ptp_clk_on`

Ivan Vecera <ivecera@redhat.com>
    iavf: Detach device during reset task

Ivan Vecera <ivecera@redhat.com>
    i40e: Fix kernel crash during module removal

Michal Swiatkowski <michal.swiatkowski@linux.intel.com>
    ice: use bitmap_free instead of devm_kfree

Eric Dumazet <edumazet@google.com>
    tcp: TX zerocopy should not sense pfmemalloc status

Pavel Begunkov <asml.silence@gmail.com>
    net: introduce __skb_fill_page_desc_noacc

Dan Carpenter <dan.carpenter@oracle.com>
    tipc: fix shift wrapping bug in map_get()

Toke Høiland-Jørgensen <toke@toke.dk>
    sch_sfb: Don't assume the skb is still around after enqueueing to child

Heiner Kallweit <hkallweit1@gmail.com>
    Revert "net: phy: meson-gxl: improve link-up behavior"

David Howells <dhowells@redhat.com>
    afs: Use the operation issue time instead of the reply time for callbacks

David Howells <dhowells@redhat.com>
    rxrpc: Fix an insufficiently large sglist in rxkad_verify_packet_2()

David Howells <dhowells@redhat.com>
    rxrpc: Fix ICMP/ICMP6 error handling

Takashi Iwai <tiwai@suse.de>
    ALSA: usb-audio: Register card again for iface over delayed_register option

Takashi Iwai <tiwai@suse.de>
    ALSA: usb-audio: Inform the delayed registration more properly

yangx.jy@fujitsu.com <yangx.jy@fujitsu.com>
    RDMA/srp: Set scmnd->result only when scmnd is not NULL

David Leadbeater <dgl@dgl.cx>
    netfilter: nf_conntrack_irc: Fix forged IP logic

Pablo Neira Ayuso <pablo@netfilter.org>
    netfilter: nf_tables: clean up hook list when offload flags check fails

Harsh Modi <harshmodi@google.com>
    netfilter: br_netfilter: Drop dst references before setting.

Claudiu Beznea <claudiu.beznea@microchip.com>
    ARM: dts: at91: sama5d2_icp: don't keep vdd_other enabled all the time

Claudiu Beznea <claudiu.beznea@microchip.com>
    ARM: dts: at91: sama5d27_wlsom1: don't keep ldo2 enabled all the time

Claudiu Beznea <claudiu.beznea@microchip.com>
    ARM: dts: at91: sama5d2_icp: specify proper regulator output ranges

Claudiu Beznea <claudiu.beznea@microchip.com>
    ARM: dts: at91: sama5d27_wlsom1: specify proper regulator output ranges

Claudiu Beznea <claudiu.beznea@microchip.com>
    ARM: at91: pm: fix DDR recalibration when resuming from backup and self-refresh

Claudiu Beznea <claudiu.beznea@microchip.com>
    ARM: at91: pm: fix self-refresh for sama7g5

Ajay.Kathat@microchip.com <Ajay.Kathat@microchip.com>
    wifi: wilc1000: fix DMA on stack objects

Wenpeng Liang <liangwenpeng@huawei.com>
    RDMA/hns: Fix wrong fixed value of qp->rq.wqe_shift

Chengchang Tang <tangchengchang@huawei.com>
    RDMA/hns: Fix supported page size

Liang He <windhl@126.com>
    soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs

Michael Guralnik <michaelgur@nvidia.com>
    RDMA/cma: Fix arguments order in net device validation

Jens Wiklander <jens.wiklander@linaro.org>
    tee: fix compiler warning in tee_shm_register()

Andrew Halaney <ahalaney@redhat.com>
    regulator: core: Clean up on enable failure

Marek Vasut <marex@denx.de>
    soc: imx: gpcv2: Assert reset before ungating clock

Marco Felsch <m.felsch@pengutronix.de>
    ARM: dts: imx6qdl-kontron-samx6i: remove duplicated node

Jack Wang <jinpu.wang@ionos.com>
    RDMA/rtrs-srv: Pass the correct number of entries for dma mapped SGL

Jack Wang <jinpu.wang@ionos.com>
    RDMA/rtrs-clt: Use the right sg_cnt after ib_dma_map_sg

Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
    ASoC: qcom: sm8250: add missing module owner

Geert Uytterhoeven <geert@linux-m68k.org>
    riscv: dts: microchip: mpfs: Fix reference clock node

Tejun Heo <tj@kernel.org>
    cgroup: Fix threadgroup_rwsem <-> cpus_read_lock() deadlock

Tejun Heo <tj@kernel.org>
    cgroup: Elide write-locking threadgroup_rwsem when updating csses on an empty subtree

Trond Myklebust <trond.myklebust@hammerspace.com>
    NFS: Fix another fsync() issue after a server reboot

Trond Myklebust <trond.myklebust@hammerspace.com>
    NFS: Save some space in the inode

Trond Myklebust <trond.myklebust@hammerspace.com>
    NFS: Further optimisations for 'ls -l'

Yang Yingliang <yangyingliang@huawei.com>
    scsi: lpfc: Add missing destroy_workqueue() in error path

Sreekanth Reddy <sreekanth.reddy@broadcom.com>
    scsi: mpt3sas: Fix use-after-free warning

Ville Syrjälä <ville.syrjala@linux.intel.com>
    drm/i915: Implement WaEdpLinkRateDataReload

Bart Van Assche <bvanassche@acm.org>
    nvmet: fix a use-after-free

Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    drm/amd/display: fix memory leak when using debugfs_lookup()

Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    sched/debug: fix dentry leak in update_sched_domain_debugfs

Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    debugfs: add debugfs_lookup_and_remove()

Christian A. Ehrhardt <lk@c--e.de>
    kprobes: Prohibit probes in gate area

Alex Williamson <alex.williamson@redhat.com>
    vfio/type1: Unpin zero pages

Shin'ichiro Kawasaki <shinichiro.kawasaki@wdc.com>
    btrfs: zoned: set pseudo max append zone limit in zone emulation mode

Masami Hiramatsu (Google) <mhiramat@kernel.org>
    tracing: Fix to check event_mutex is held while accessing trigger list

Dongxiang Ke <kdx.glider@gmail.com>
    ALSA: usb-audio: Fix an out-of-bounds bug in __snd_usb_parse_audio_interface()

Takashi Iwai <tiwai@suse.de>
    ALSA: usb-audio: Split endpoint setups for hw_params and prepare

Pattara Teerapong <pteerapong@chromium.org>
    ALSA: aloop: Fix random zeros in capture data when using jiffies timer

Tasos Sahanidis <tasos@tasossah.com>
    ALSA: emu10k1: Fix out of bounds access in snd_emu10k1_pcm_channel_alloc()

Takashi Iwai <tiwai@suse.de>
    ALSA: pcm: oss: Fix race at SNDCTL_DSP_SYNC

Qu Huang <jinsdb@126.com>
    drm/amdgpu: mmVM_L2_CNTL3 register not initialized correctly

Yang Yingliang <yangyingliang@huawei.com>
    fbdev: chipsfb: Add missing pci_disable_device() in chipsfb_pci_init()

Shigeru Yoshida <syoshida@redhat.com>
    fbdev: fbcon: Destroy mutex on freeing struct fb_info

David Sloan <david.sloan@eideticom.com>
    md: Flush workqueue md_rdev_misc_wq in md_alloc()

lily <floridsleeves@gmail.com>
    net/core/skbuff: Check the return value of skb_copy_bits()

Lukasz Luba <lukasz.luba@arm.com>
    cpufreq: check only freq_table in __resolve_freq()

Florian Westphal <fw@strlen.de>
    netfilter: conntrack: work around exceeded receive window

Mark Brown <broonie@kernel.org>
    arm64/signal: Raise limit on stack frames

Sudeep Holla <sudeep.holla@arm.com>
    arm64: cacheinfo: Fix incorrect assignment of signed error value to unsigned fw_level

Helge Deller <deller@gmx.de>
    parisc: Add runtime check to prevent PA2.0 kernels on PA1.x machines

Li Qiong <liqiong@nfschina.com>
    parisc: ccio-dma: Handle kmalloc failure in ccio_init_resources()

Helge Deller <deller@gmx.de>
    Revert "parisc: Show error if wrong 32/64-bit compiler is being used"

Bart Van Assche <bvanassche@acm.org>
    scsi: ufs: core: Reduce the power mode change timeout

Zhenneng Li <lizhenneng@kylinos.cn>
    drm/radeon: add a force flush to delay work when radeon

Candice Li <candice.li@amd.com>
    drm/amdgpu: Check num_gfx_rings for gfx v9_0 rb setup.

YiPeng Chai <YiPeng.Chai@amd.com>
    drm/amdgpu: Move psp_xgmi_terminate call from amdgpu_xgmi_remove_device to psp_hw_fini

Jeffy Chen <jeffy.chen@rock-chips.com>
    drm/gem: Fix GEM handle release errors

Guixin Liu <kanie@linux.alibaba.com>
    scsi: megaraid_sas: Fix double kfree()

Tony Battersby <tonyb@cybernetics.com>
    scsi: qla2xxx: Disable ATIO interrupt coalesce for quad port ISP27XX

Yee Lee <yee.lee@mediatek.com>
    Revert "mm: kmemleak: take a full lowmem check in kmemleak_*_phys()"

Linus Torvalds <torvalds@linux-foundation.org>
    fs: only do a memory barrier for the first set_buffer_uptodate()

Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    net: mvpp2: debugfs: fix memory leak when using debugfs_lookup()

Stanislaw Gruszka <stf_xl@wp.pl>
    wifi: iwlegacy: 4965: corrected fix for potential off-by-one overflow in il4965_rs_fill_link_cmd()

Hyunwoo Kim <imv4bel@gmail.com>
    efi: capsule-loader: Fix use-after-free in efi_capsule_write

Ard Biesheuvel <ardb@kernel.org>
    efi: libstub: Disable struct randomization

Jakub Kicinski <kuba@kernel.org>
    net: wwan: iosm: remove pointless null check


-------------

Diffstat:

 Documentation/arm64/silicon-errata.rst             |   2 +
 Makefile                                           |   7 +-
 arch/arm/boot/dts/at91-sama5d27_wlsom1.dtsi        |  21 +-
 arch/arm/boot/dts/at91-sama5d2_icp.dts             |  21 +-
 arch/arm/boot/dts/imx6qdl-kontron-samx6i.dtsi      |  10 -
 arch/arm/mach-at91/pm.c                            |  36 ++-
 arch/arm/mach-at91/pm_suspend.S                    |  24 +-
 arch/arm64/Kconfig                                 |  19 ++
 arch/arm64/kernel/cacheinfo.c                      |   6 +-
 arch/arm64/kernel/cpu_errata.c                     |   9 +
 arch/arm64/kernel/cpufeature.c                     |   5 +-
 arch/arm64/kernel/hibernate.c                      |   5 +
 arch/arm64/kernel/mte.c                            |   9 +
 arch/arm64/kernel/signal.c                         |   2 +-
 arch/arm64/kernel/topology.c                       |  32 ++-
 arch/arm64/mm/copypage.c                           |   9 +
 arch/arm64/mm/mteswap.c                            |   9 +
 arch/arm64/tools/cpucaps                           |   1 +
 arch/mips/loongson32/ls1c/board.c                  |   1 -
 arch/parisc/include/asm/bitops.h                   |   8 -
 arch/parisc/kernel/head.S                          |  43 ++-
 .../dts/microchip/microchip-mpfs-icicle-kit.dts    |   4 +
 arch/riscv/boot/dts/microchip/microchip-mpfs.dtsi  |  12 +-
 arch/s390/kernel/nmi.c                             |   2 +-
 arch/s390/kernel/setup.c                           |   1 +
 drivers/cpufreq/cpufreq.c                          |   2 +-
 drivers/firmware/efi/capsule-loader.c              |  31 +--
 drivers/firmware/efi/libstub/Makefile              |   7 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c            |   3 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_xgmi.c           |   2 +-
 drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c              |   3 +-
 drivers/gpu/drm/amd/amdgpu/mmhub_v1_0.c            |   1 +
 .../drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c  |   2 +-
 drivers/gpu/drm/bridge/display-connector.c         |  86 ++++++
 drivers/gpu/drm/drm_gem.c                          |  17 +-
 drivers/gpu/drm/drm_internal.h                     |   4 +-
 drivers/gpu/drm/drm_prime.c                        |  20 +-
 .../gpu/drm/i915/display/intel_dp_link_training.c  |  22 ++
 drivers/gpu/drm/radeon/radeon_device.c             |   3 +
 drivers/hwmon/mr75203.c                            |  72 +++--
 drivers/hwmon/tps23861.c                           |  10 +-
 drivers/infiniband/core/cma.c                      |   4 +-
 drivers/infiniband/core/umem_odp.c                 |   2 +-
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h         |   2 +-
 drivers/infiniband/hw/hns/hns_roce_qp.c            |   7 +-
 drivers/infiniband/hw/irdma/uk.c                   |   4 +-
 drivers/infiniband/hw/irdma/verbs.c                |   7 +-
 drivers/infiniband/hw/mlx5/mad.c                   |   6 +
 drivers/infiniband/sw/siw/siw_qp_tx.c              |  18 +-
 drivers/infiniband/ulp/rtrs/rtrs-clt.c             |   9 +-
 drivers/infiniband/ulp/rtrs/rtrs-srv.c             |  14 +-
 drivers/infiniband/ulp/srp/ib_srp.c                |   3 +-
 drivers/iommu/amd/iommu.c                          |   3 +-
 drivers/iommu/intel/iommu.c                        |  28 +-
 drivers/md/md.c                                    |   1 +
 drivers/net/ethernet/freescale/fec.h               |   1 -
 drivers/net/ethernet/freescale/fec_main.c          |  17 +-
 drivers/net/ethernet/freescale/fec_ptp.c           |  28 +-
 drivers/net/ethernet/intel/i40e/i40e.h             |  14 +
 drivers/net/ethernet/intel/i40e/i40e_client.c      |   5 +-
 drivers/net/ethernet/intel/i40e/i40e_ethtool.c     |   2 +-
 drivers/net/ethernet/intel/i40e/i40e_main.c        |  23 +-
 drivers/net/ethernet/intel/i40e/i40e_txrx.c        |   3 +-
 drivers/net/ethernet/intel/iavf/iavf_main.c        |  14 +-
 drivers/net/ethernet/intel/ice/ice_main.c          |   2 +-
 drivers/net/ethernet/marvell/mvpp2/mvpp2_debugfs.c |   4 +-
 drivers/net/phy/meson-gxl.c                        |   8 +-
 drivers/net/wireless/intel/iwlegacy/4965-rs.c      |   5 +-
 drivers/net/wireless/microchip/wilc1000/netdev.h   |   1 +
 drivers/net/wireless/microchip/wilc1000/sdio.c     |  39 ++-
 drivers/net/wireless/microchip/wilc1000/wlan.c     |  15 +-
 drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c      |  10 -
 drivers/net/xen-netback/xenbus.c                   |   2 +-
 drivers/nvme/host/tcp.c                            |   7 +-
 drivers/nvme/target/core.c                         |   6 +-
 drivers/nvme/target/zns.c                          |  17 +-
 drivers/parisc/ccio-dma.c                          |  11 +-
 drivers/regulator/core.c                           |   9 +-
 drivers/scsi/lpfc/lpfc_init.c                      |   5 +-
 drivers/scsi/megaraid/megaraid_sas_fusion.c        |   1 -
 drivers/scsi/mpt3sas/mpt3sas_scsih.c               |   2 +-
 drivers/scsi/qla2xxx/qla_target.c                  |  10 +-
 drivers/scsi/ufs/ufshcd.c                          |   9 +-
 drivers/soc/bcm/brcmstb/pm/pm-arm.c                |  50 +++-
 drivers/soc/imx/gpcv2.c                            |   5 +-
 drivers/tee/tee_shm.c                              |   1 +
 drivers/vfio/vfio_iommu_type1.c                    |  12 +
 drivers/video/fbdev/chipsfb.c                      |   1 +
 drivers/video/fbdev/core/fbsysfs.c                 |   4 +
 fs/afs/flock.c                                     |   2 +-
 fs/afs/fsclient.c                                  |   2 +-
 fs/afs/internal.h                                  |   3 +-
 fs/afs/rxrpc.c                                     |   7 +-
 fs/afs/yfsclient.c                                 |   3 +-
 fs/btrfs/zoned.c                                   |  15 +-
 fs/debugfs/inode.c                                 |  22 ++
 fs/erofs/internal.h                                |  29 --
 fs/nfs/dir.c                                       |  16 +-
 fs/nfs/file.c                                      |  15 +-
 fs/nfs/inode.c                                     |  27 +-
 fs/nfs/write.c                                     |   6 +-
 include/linux/buffer_head.h                        |  11 +
 include/linux/debugfs.h                            |   6 +
 include/linux/nfs_fs.h                             |  48 ++--
 include/linux/skbuff.h                             |  49 +++-
 include/linux/udp.h                                |   1 +
 include/net/udp_tunnel.h                           |   4 +
 include/soc/at91/sama7-ddr.h                       |  12 +-
 kernel/cgroup/cgroup.c                             |  85 ++++--
 kernel/cgroup/cpuset.c                             |   3 +-
 kernel/dma/swiotlb.c                               |   5 +-
 kernel/fork.c                                      |   1 +
 kernel/kprobes.c                                   |   1 +
 kernel/sched/debug.c                               |   2 +-
 kernel/trace/trace_events_trigger.c                |   3 +-
 mm/kmemleak.c                                      |   8 +-
 net/bridge/br_netfilter_hooks.c                    |   2 +
 net/bridge/br_netfilter_ipv6.c                     |   1 +
 net/core/datagram.c                                |   2 +-
 net/core/skbuff.c                                  |   5 +-
 net/ipv4/tcp.c                                     |   2 +-
 net/ipv4/tcp_input.c                               |  25 +-
 net/ipv4/udp.c                                     |   2 +
 net/ipv4/udp_tunnel_core.c                         |   1 +
 net/ipv6/seg6.c                                    |   5 +
 net/ipv6/udp.c                                     |   5 +-
 net/netfilter/nf_conntrack_irc.c                   |   5 +-
 net/netfilter/nf_conntrack_proto_tcp.c             |  31 +++
 net/netfilter/nf_tables_api.c                      |   4 +-
 net/rxrpc/ar-internal.h                            |   1 +
 net/rxrpc/local_object.c                           |   1 +
 net/rxrpc/peer_event.c                             | 293 ++++++++++++++++++---
 net/rxrpc/rxkad.c                                  |   2 +-
 net/sched/sch_sfb.c                                |  13 +-
 net/tipc/monitor.c                                 |   2 +-
 sound/core/oss/pcm_oss.c                           |   6 +-
 sound/drivers/aloop.c                              |   7 +-
 sound/pci/emu10k1/emupcm.c                         |   2 +-
 sound/soc/atmel/mchp-spdiftx.c                     |  10 +-
 sound/soc/qcom/sm8250.c                            |   1 +
 sound/usb/card.c                                   |   2 +-
 sound/usb/endpoint.c                               |  23 +-
 sound/usb/endpoint.h                               |   6 +-
 sound/usb/pcm.c                                    |  14 +-
 sound/usb/quirks.c                                 |   2 +-
 sound/usb/stream.c                                 |   9 +-
 tools/perf/builtin-script.c                        |   3 +
 tools/perf/util/machine.c                          |   3 +-
 148 files changed, 1376 insertions(+), 534 deletions(-)


Re: [PATCH 5.15 000/121] 5.15.68-rc1 review
Posted by Sudip Mukherjee 3 years ago
Hi Greg,

On Tue, Sep 13, 2022 at 04:03:11PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.68 release.
> There are 121 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, 15 Sep 2022 14:03:27 +0000.
> Anything received after that time might be too late.

Build test (gcc version 12.2.1 20220819):
mips: 62 configs -> no failure
arm: 99 configs -> no failure
arm64: 3 configs -> no failure
x86_64: 4 configs -> no failure
alpha allmodconfig -> no failure
csky allmodconfig -> no failure
powerpc allmodconfig -> no failure
riscv allmodconfig -> no failure
s390 allmodconfig -> no failure
xtensa allmodconfig -> no failure

Boot test:
x86_64: Booted on my test laptop. No regression.
x86_64: Booted on qemu. No regression. [1]
arm64: Booted on rpi4b (4GB model). No regression. [2]
mips: Booted on ci20 board. No regression. [3]

[1]. https://openqa.qa.codethink.co.uk/tests/1819
[2]. https://openqa.qa.codethink.co.uk/tests/1825
[3]. https://openqa.qa.codethink.co.uk/tests/1827

Tested-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>

--
Regards
Sudip
Re: [PATCH 5.15 000/121] 5.15.68-rc1 review
Posted by Bagas Sanjaya 3 years ago
On Tue, Sep 13, 2022 at 04:03:11PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.68 release.
> There are 121 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.
> 

Successfully cross-compiled for arm64 (bcm2711_defconfig, GCC 10.2.0) and
powerpc (ps3_defconfig, GCC 12.1.0).

Tested-by: Bagas Sanjaya <bagasdotme@gmail.com> 

-- 
An old man doll... just what I always wanted! - Clara
Re: [PATCH 5.15 000/121] 5.15.68-rc1 review
Posted by Ron Economos 3 years ago
On 9/13/22 7:03 AM, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.68 release.
> There are 121 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, 15 Sep 2022 14:03:27 +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.15.68-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.15.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

Built and booted successfully on RISC-V RV64 (HiFive Unmatched).

Tested-by: Ron Economos <re@w6rz.net>
Re: [PATCH 5.15 000/121] 5.15.68-rc1 review
Posted by Naresh Kamboju 3 years ago
On Tue, 13 Sept 2022 at 19:46, Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
>
> This is the start of the stable review cycle for the 5.15.68 release.
> There are 121 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, 15 Sep 2022 14:03:27 +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.15.68-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.15.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h


Results from Linaro's test farm.
No regressions on arm64, arm, x86_64, and i386.

Tested-by: Linux Kernel Functional Testing <lkft@linaro.org>

NOTE:
While running LTP syscalls, hugetlb and ssuite tests on x86 and arm64
Raspberry Pi 4 Model B.

> Trond Myklebust <trond.myklebust@hammerspace.com>
>     NFS: Fix another fsync() issue after a server reboot
>
> Trond Myklebust <trond.myklebust@hammerspace.com>
>     NFS: Save some space in the inode
>
> Trond Myklebust <trond.myklebust@hammerspace.com>
>     NFS: Further optimisations for 'ls -l'

I have not bisected the reported problem.

hugemmap05.c:99: TINFO: check /proc/meminfo before allocation.
hugemmap05.c:278: TINFO: HugePages_Total is 3.
hugemmap05.c:278: TINFO: HugePages_Free is 3.
hugemmap05.c:278: TINFO: HugePages_Surp is 1.
hugemmap05.c:27[   51.077819] ------------[ cut here ]------------
[   51.082692] WARNING: CPU: 0 PID: 590 at fs/nfs/inode.c:123
nfs_evict_inode+0x58/0x70
[   51.090451] Modules linked in: x86_pkg_temp_thermal
[   51.095329] CPU: 0 PID: 590 Comm: hugemmap05 Not tainted 5.15.68-rc1 #1
[   51.101948] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS
2.5 11/26/2020
[   51.109340] RIP: 0010:nfs_evict_inode+0x58/0x70
[   51.113872] Code: 29 49 8b 54 24 90 49 8d 44 24 90 48 39 c2 75 2b
4c 89 e7 e8 7a d8 ff ff 4c 89 e7 e8 82 74 ff ff 4c 8b 65 f8 c9 c3 cc
cc cc cc <0f> 0b 49 8b 54 24 90 49 8d 44 24 90 48 39 c2 74 d5 0f 0b eb
d1 0f
[   51.132626] RSP: 0018:ffffb6b140a8fb90 EFLAGS: 00010286
[   51.137861] RAX: adacafaea9a8abaa RBX: ffff937fa606a2c0 RCX: ffffb6b140a8fbd0
[   51.144986] RDX: ffff937fa606a2d0 RSI: ffffffffbc720682 RDI: ffffffffbc5ec05f
[   51.152120] RBP: ffffb6b140a8fb98 R08: 0000000000000000 R09: ffffb6b140a8fcf0
[   51.159253] R10: 0000000000000000 R11: 0000000000000002 R12: ffff937fa606a1a8
[   51.166395] R13: ffffffffbd851b40 R14: ffff937c40803870 R15: 0000000000000003
[   51.173525] FS:  00007f5afcdf4740(0000) GS:ffff937fa7a00000(0000)
knlGS:0000000000000000
[   51.181602] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   51.187359] CR2: 00007f5afcf10680 CR3: 000000010360a006 CR4: 00000000003706f0
8: TINFO: HugePa[   51.194499] DR0: 0000000000000000 DR1:
0000000000000000 DR2: 0000000000000000
[   51.203009] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   51.210135] Call Trace:
[   51.212585]  <TASK>
[   51.214684]  evict+0xc8/0x180
[   51.217682]  prune_icache_sb+0x81/0xc0
[   51.221435]  super_cache_scan+0x169/0x200
[   51.225447]  do_shrink_slab+0x13f/0x2b0
[   51.229288]  shrink_slab+0x186/0x2a0
[   51.232868]  drop_slab_node+0x4a/0xa0
[   51.236533]  drop_slab+0x41/0x90
[   51.239765]  drop_caches_sysctl_handler+0x79/0x90
[   51.244471]  proc_sys_call_handler+0x159/0x290
[   51.248918]  proc_sys_write+0x13/0x20
[   51.252582]  new_sync_write+0x111/0x1a0
[   51.256423]  vfs_write+0x1d5/0x270
[   51.259828]  ksys_write+0x67/0xf0
[   51.263150]  __x64_sys_write+0x19/0x20
[   51.266901]  do_syscall_64+0x38/0x90
[   51.270479]  entry_SYSCALL_64_after_hwframe+0x61/0xcb
[   51.275534] RIP: 0033:0x7f5afcef31d7
[   51.279112] Code: 0f 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7
0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00
00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89
74 24
[   51.297859] RSP: 002b:00007ffd40638738 EFLAGS: 00000246 ORIG_RAX:
0000000000000001
[   51.305425] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f5afcef31d7
[   51.312557] RDX: 0000000000000001 RSI: 00000000016f1480 RDI: 0000000000000003
[   51.319689] RBP: 00000000016f1480 R08: 0000000000000001 R09: 0000000000000001
[   51.326812] R10: 0000000000001000 R11: 0000000000000246 R12: 0000000000000001
[   51.333938] R13: 00000000016f12a0 R14: 0000000000000001 R15: 00007f5afcfe87a0
[   51.341073]  </TASK>
[   51.343264] ---[ end trace 3420625c1fbde9e9 ]---
ges_Rsvd is 3.
[   51.348004] hugemmap05 (590): drop_caches: 3
hugemmap05.c:253: TINFO: First hex is 7070707

Full test log link on x86_64
https://lkft.validation.linaro.org/scheduler/job/5522436#L1711


Crash log on arm64  Raspberry Pi 4 Model B.

linktest 1 TPASS: errors: 0
linktest 1 TINFO: test hard link, limit: 1000
linktest 1 TPASS: errors: 0
[ 1172.344209] ------------[ cut here ]------------
[ 1172.348913] WARNING: CPU: 3 PID: 4759 at fs/nfs/inode.c:123
nfs_clear_inode+0x54/0x90
[ 1172.356884] Modules linked in: algif_hash aes_neon_bs aes_neon_blk
xhci_pci xhci_pci_renesas snd_soc_hdmi_codec raspberrypi_cpufreq
hci_uart btqca brcmfmac btbcm brcmutil bluetooth cfg80211
raspberrypi_hwmon rfkill clk_raspberrypi reset_raspberrypi vc4
pwm_bcm2835 cec bcm2711_thermal pcie_brcmstb drm_kms_helper
i2c_bcm2835 iproc_rng200 rng_core crct10dif_ce fuse drm
[ 1172.389906] CPU: 3 PID: 4759 Comm: rm Not tainted 5.15.68-rc1 #1
[ 1172.396005] Hardware name: Raspberry Pi 4 Model B (DT)
[ 1172.401217] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 1172.408284] pc : nfs_clear_inode+0x54/0x90
[ 1172.412444] lr : nfs_evict_inode+0x34/0x44
[ 1172.416604] sp : ffff800012babca0
[ 1172.419963] x29: ffff800012babca0 x28: ffff000040b40000 x27: 0000000000000000
[ 1172.427217] x26: ffff000049a61e88 x25: 0000000000000002 x24: 00000000ffffffec
[ 1172.434468] x23: ffff80000a62ea28 x22: ffff8000092bf7b0 x21: ffff000049a61fa0
[ 1172.441718] x20: ffff000049a62088 x19: ffff000049a61e88 x18: 0000000000000000
[ 1172.448966] x17: 0000000000000000 x16: 0000000000000000 x15: 8107000128000000
[ 1172.456215] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000088
[ 1172.463464] x11: 0000015a6a1d5174 x10: ffff8000ed98a000 x9 : ffff800008486634
[ 1172.470714] x8 : fffffc0001160848 x7 : fffffffffffffffe x6 : 0000000000000001
[ 1172.477962] x5 : ffff80000a62f000 x4 : ffff80000a62f260 x3 : 0000000000000000
[ 1172.485211] x2 : ffff000049a620a8 x1 : ffff000049a61fb0 x0 : ffff000049a61dc0
[ 1172.492460] Call trace:
[ 1172.494938]  nfs_clear_inode+0x54/0x90
[ 1172.498745]  nfs_evict_inode+0x34/0x44
[ 1172.502551]  evict+0xac/0x190
[ 1172.505564]  iput+0x174/0x22c
[ 1172.508572]  do_unlinkat+0x1c0/0x26c
[ 1172.512201]  __arm64_sys_unlinkat+0x48/0x90
[ 1172.516446]  invoke_syscall+0x50/0x120
[ 1172.520254]  el0_svc_common.constprop.0+0x104/0x124
[ 1172.525207]  do_el0_svc+0x30/0x9c
[ 1172.528572]  el0_svc+0x2c/0x90
[ 1172.531676]  el0t_64_sync_handler+0xa4/0x130
[ 1172.536012]  el0t_64_sync+0x1a0/0x1a4
[ 1172.539728] ---[ end trace 6eb5987f00ab00b7 ]---

Full test log log link on arm64
https://lkft.validation.linaro.org/scheduler/job/5524239#L1447


## Build
* kernel: 5.15.68-rc1
* git: https://gitlab.com/Linaro/lkft/mirrors/stable/linux-stable-rc
* git branch: linux-5.15.y
* git commit: 292041e8d6044e6398e95c0bffa9484edd678478
* git describe: v5.15.67-122-g292041e8d604
* test details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-5.15.y/build/v5.15.67-122-g292041e8d604

## No test Regressions (compared to v5.15.67)

## No metric Regressions (compared to v5.15.67)

## No test Fixes (compared to v5.15.67)

## No metric Fixes (compared to v5.15.67)

## Test result summary
total: 106655, pass: 93993, fail: 696, skip: 11659, xfail: 307

## Build Summary
* arc: 10 total, 10 passed, 0 failed
* arm: 333 total, 333 passed, 0 failed
* arm64: 65 total, 63 passed, 2 failed
* i386: 55 total, 53 passed, 2 failed
* mips: 56 total, 56 passed, 0 failed
* parisc: 12 total, 12 passed, 0 failed
* powerpc: 63 total, 63 passed, 0 failed
* riscv: 22 total, 22 passed, 0 failed
* s390: 24 total, 24 passed, 0 failed
* sh: 24 total, 24 passed, 0 failed
* sparc: 12 total, 12 passed, 0 failed
* x86_64: 58 total, 56 passed, 2 failed

## Test suites summary
* fwts
* igt-gpu-tools
* kunit
* kvm-unit-tests
* libgpiod
* libhugetlbfs
* log-parser-boot
* log-parser-test
* ltp-cap_bounds
* ltp-commands
* ltp-containers
* ltp-controllers
* ltp-cpuhotplug
* ltp-crypto
* ltp-cve
* ltp-dio
* ltp-fcntl-locktests
* ltp-filecaps
* ltp-fs
* ltp-fs_bind
* ltp-fs_perms_simple
* ltp-fsx
* ltp-hugetlb
* ltp-io
* ltp-ipc
* ltp-math
* ltp-mm
* ltp-nptl
* ltp-open-posix-tests
* ltp-pty
* ltp-sched
* ltp-securebits
* ltp-syscalls
* ltp-tracing
* network-basic-tests
* packetdrill
* rcutorture
* v4l2-compliance
* vdso

--
Linaro LKFT
https://lkft.linaro.org
Re: [PATCH 5.15 000/121] 5.15.68-rc1 review
Posted by Wang Yugui 2 years, 12 months ago
Hi,

> I have not bisected the reported problem.
> 
> hugemmap05.c:99: TINFO: check /proc/meminfo before allocation.
> hugemmap05.c:278: TINFO: HugePages_Total is 3.
> hugemmap05.c:278: TINFO: HugePages_Free is 3.
> hugemmap05.c:278: TINFO: HugePages_Surp is 1.
> hugemmap05.c:27[   51.077819] ------------[ cut here ]------------
> [   51.082692] WARNING: CPU: 0 PID: 590 at fs/nfs/inode.c:123
> nfs_evict_inode+0x58/0x70
> [   51.090451] Modules linked in: x86_pkg_temp_thermal
> [   51.095329] CPU: 0 PID: 590 Comm: hugemmap05 Not tainted 5.15.68-rc1 #1
> [   51.101948] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS
> 2.5 11/26/2020
> [   51.109340] RIP: 0010:nfs_evict_inode+0x58/0x70
> [   51.113872] Code: 29 49 8b 54 24 90 49 8d 44 24 90 48 39 c2 75 2b
> 4c 89 e7 e8 7a d8 ff ff 4c 89 e7 e8 82 74 ff ff 4c 8b 65 f8 c9 c3 cc
> cc cc cc <0f> 0b 49 8b 54 24 90 49 8d 44 24 90 48 39 c2 74 d5 0f 0b eb
> d1 0f
> [   51.132626] RSP: 0018:ffffb6b140a8fb90 EFLAGS: 00010286
> [   51.137861] RAX: adacafaea9a8abaa RBX: ffff937fa606a2c0 RCX: ffffb6b140a8fbd0
> [   51.144986] RDX: ffff937fa606a2d0 RSI: ffffffffbc720682 RDI: ffffffffbc5ec05f
> [   51.152120] RBP: ffffb6b140a8fb98 R08: 0000000000000000 R09: ffffb6b140a8fcf0
> [   51.159253] R10: 0000000000000000 R11: 0000000000000002 R12: ffff937fa606a1a8
> [   51.166395] R13: ffffffffbd851b40 R14: ffff937c40803870 R15: 0000000000000003
> [   51.173525] FS:  00007f5afcdf4740(0000) GS:ffff937fa7a00000(0000)
> knlGS:0000000000000000
> [   51.181602] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [   51.187359] CR2: 00007f5afcf10680 CR3: 000000010360a006 CR4: 00000000003706f0
> 8: TINFO: HugePa[   51.194499] DR0: 0000000000000000 DR1:
> 0000000000000000 DR2: 0000000000000000
> [   51.203009] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
> [   51.210135] Call Trace:
> [   51.212585]  <TASK>
> [   51.214684]  evict+0xc8/0x180
> [   51.217682]  prune_icache_sb+0x81/0xc0
> [   51.221435]  super_cache_scan+0x169/0x200
> [   51.225447]  do_shrink_slab+0x13f/0x2b0
> [   51.229288]  shrink_slab+0x186/0x2a0
> [   51.232868]  drop_slab_node+0x4a/0xa0
> [   51.236533]  drop_slab+0x41/0x90
> [   51.239765]  drop_caches_sysctl_handler+0x79/0x90
> [   51.244471]  proc_sys_call_handler+0x159/0x290
> [   51.248918]  proc_sys_write+0x13/0x20
> [   51.252582]  new_sync_write+0x111/0x1a0
> [   51.256423]  vfs_write+0x1d5/0x270
> [   51.259828]  ksys_write+0x67/0xf0
> [   51.263150]  __x64_sys_write+0x19/0x20
> [   51.266901]  do_syscall_64+0x38/0x90
> [   51.270479]  entry_SYSCALL_64_after_hwframe+0x61/0xcb
> [   51.275534] RIP: 0033:0x7f5afcef31d7
> [   51.279112] Code: 0f 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7
> 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00
> 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89
> 74 24
> [   51.297859] RSP: 002b:00007ffd40638738 EFLAGS: 00000246 ORIG_RAX:
> 0000000000000001
> [   51.305425] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f5afcef31d7
> [   51.312557] RDX: 0000000000000001 RSI: 00000000016f1480 RDI: 0000000000000003
> [   51.319689] RBP: 00000000016f1480 R08: 0000000000000001 R09: 0000000000000001
> [   51.326812] R10: 0000000000001000 R11: 0000000000000246 R12: 0000000000000001
> [   51.333938] R13: 00000000016f12a0 R14: 0000000000000001 R15: 00007f5afcfe87a0
> [   51.341073]  </TASK>
> [   51.343264] ---[ end trace 3420625c1fbde9e9 ]---
> ges_Rsvd is 3.
> [   51.348004] hugemmap05 (590): drop_caches: 3
> hugemmap05.c:253: TINFO: First hex is 7070707

I hit this warning too.

It seems that we need this patch for 5.15.y

commit 0ebeebcf59601bcfa0284f4bb7abdec051eb856d
Author: Dave Wysochanski <dwysocha@redhat.com>
Date:   Sun Oct 10 18:23:13 2021 -0400

    NFS: Fix WARN_ON due to unionization of nfs_inode.nrequests

    Fixes the following WARN_ON
    WARNING: CPU: 2 PID: 18678 at fs/nfs/inode.c:123 nfs_clear_inode+0x3b/0x50 [nfs]
    ...
    Call Trace:
      nfs4_evict_inode+0x57/0x70 [nfsv4]
      evict+0xd1/0x180

Best Regards
Wang Yugui (wangyugui@e16-tech.com)
2022/09/15
Re: [PATCH 5.15 000/121] 5.15.68-rc1 review
Posted by David Wysochanski 2 years, 12 months ago
On Thu, Sep 15, 2022 at 12:02 PM Wang Yugui <wangyugui@e16-tech.com> wrote:
>
> Hi,
>
> > I have not bisected the reported problem.
> >
> > hugemmap05.c:99: TINFO: check /proc/meminfo before allocation.
> > hugemmap05.c:278: TINFO: HugePages_Total is 3.
> > hugemmap05.c:278: TINFO: HugePages_Free is 3.
> > hugemmap05.c:278: TINFO: HugePages_Surp is 1.
> > hugemmap05.c:27[   51.077819] ------------[ cut here ]------------
> > [   51.082692] WARNING: CPU: 0 PID: 590 at fs/nfs/inode.c:123
> > nfs_evict_inode+0x58/0x70
> > [   51.090451] Modules linked in: x86_pkg_temp_thermal
> > [   51.095329] CPU: 0 PID: 590 Comm: hugemmap05 Not tainted 5.15.68-rc1 #1
> > [   51.101948] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS
> > 2.5 11/26/2020
> > [   51.109340] RIP: 0010:nfs_evict_inode+0x58/0x70
> > [   51.113872] Code: 29 49 8b 54 24 90 49 8d 44 24 90 48 39 c2 75 2b
> > 4c 89 e7 e8 7a d8 ff ff 4c 89 e7 e8 82 74 ff ff 4c 8b 65 f8 c9 c3 cc
> > cc cc cc <0f> 0b 49 8b 54 24 90 49 8d 44 24 90 48 39 c2 74 d5 0f 0b eb
> > d1 0f
> > [   51.132626] RSP: 0018:ffffb6b140a8fb90 EFLAGS: 00010286
> > [   51.137861] RAX: adacafaea9a8abaa RBX: ffff937fa606a2c0 RCX: ffffb6b140a8fbd0
> > [   51.144986] RDX: ffff937fa606a2d0 RSI: ffffffffbc720682 RDI: ffffffffbc5ec05f
> > [   51.152120] RBP: ffffb6b140a8fb98 R08: 0000000000000000 R09: ffffb6b140a8fcf0
> > [   51.159253] R10: 0000000000000000 R11: 0000000000000002 R12: ffff937fa606a1a8
> > [   51.166395] R13: ffffffffbd851b40 R14: ffff937c40803870 R15: 0000000000000003
> > [   51.173525] FS:  00007f5afcdf4740(0000) GS:ffff937fa7a00000(0000)
> > knlGS:0000000000000000
> > [   51.181602] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> > [   51.187359] CR2: 00007f5afcf10680 CR3: 000000010360a006 CR4: 00000000003706f0
> > 8: TINFO: HugePa[   51.194499] DR0: 0000000000000000 DR1:
> > 0000000000000000 DR2: 0000000000000000
> > [   51.203009] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
> > [   51.210135] Call Trace:
> > [   51.212585]  <TASK>
> > [   51.214684]  evict+0xc8/0x180
> > [   51.217682]  prune_icache_sb+0x81/0xc0
> > [   51.221435]  super_cache_scan+0x169/0x200
> > [   51.225447]  do_shrink_slab+0x13f/0x2b0
> > [   51.229288]  shrink_slab+0x186/0x2a0
> > [   51.232868]  drop_slab_node+0x4a/0xa0
> > [   51.236533]  drop_slab+0x41/0x90
> > [   51.239765]  drop_caches_sysctl_handler+0x79/0x90
> > [   51.244471]  proc_sys_call_handler+0x159/0x290
> > [   51.248918]  proc_sys_write+0x13/0x20
> > [   51.252582]  new_sync_write+0x111/0x1a0
> > [   51.256423]  vfs_write+0x1d5/0x270
> > [   51.259828]  ksys_write+0x67/0xf0
> > [   51.263150]  __x64_sys_write+0x19/0x20
> > [   51.266901]  do_syscall_64+0x38/0x90
> > [   51.270479]  entry_SYSCALL_64_after_hwframe+0x61/0xcb
> > [   51.275534] RIP: 0033:0x7f5afcef31d7
> > [   51.279112] Code: 0f 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7
> > 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00
> > 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89
> > 74 24
> > [   51.297859] RSP: 002b:00007ffd40638738 EFLAGS: 00000246 ORIG_RAX:
> > 0000000000000001
> > [   51.305425] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f5afcef31d7
> > [   51.312557] RDX: 0000000000000001 RSI: 00000000016f1480 RDI: 0000000000000003
> > [   51.319689] RBP: 00000000016f1480 R08: 0000000000000001 R09: 0000000000000001
> > [   51.326812] R10: 0000000000001000 R11: 0000000000000246 R12: 0000000000000001
> > [   51.333938] R13: 00000000016f12a0 R14: 0000000000000001 R15: 00007f5afcfe87a0
> > [   51.341073]  </TASK>
> > [   51.343264] ---[ end trace 3420625c1fbde9e9 ]---
> > ges_Rsvd is 3.
> > [   51.348004] hugemmap05 (590): drop_caches: 3
> > hugemmap05.c:253: TINFO: First hex is 7070707
>
> I hit this warning too.
>
> It seems that we need this patch for 5.15.y
>
> commit 0ebeebcf59601bcfa0284f4bb7abdec051eb856d
> Author: Dave Wysochanski <dwysocha@redhat.com>
> Date:   Sun Oct 10 18:23:13 2021 -0400
>
>     NFS: Fix WARN_ON due to unionization of nfs_inode.nrequests
>
>     Fixes the following WARN_ON
>     WARNING: CPU: 2 PID: 18678 at fs/nfs/inode.c:123 nfs_clear_inode+0x3b/0x50 [nfs]
>     ...
>     Call Trace:
>       nfs4_evict_inode+0x57/0x70 [nfsv4]
>       evict+0xd1/0x180
>
> Best Regards
> Wang Yugui (wangyugui@e16-tech.com)
> 2022/09/15
>
>

Sorry, commit 0ebeebcf59601bcfa0284f4bb7abdec051eb856d probably should
have had this
Fixes: e591b298d7ec "NFS: Save some space in the inode"
Re: [PATCH 5.15 000/121] 5.15.68-rc1 review
Posted by Greg Kroah-Hartman 2 years, 12 months ago
On Thu, Sep 15, 2022 at 05:27:40PM -0400, David Wysochanski wrote:
> On Thu, Sep 15, 2022 at 12:02 PM Wang Yugui <wangyugui@e16-tech.com> wrote:
> >
> > Hi,
> >
> > > I have not bisected the reported problem.
> > >
> > > hugemmap05.c:99: TINFO: check /proc/meminfo before allocation.
> > > hugemmap05.c:278: TINFO: HugePages_Total is 3.
> > > hugemmap05.c:278: TINFO: HugePages_Free is 3.
> > > hugemmap05.c:278: TINFO: HugePages_Surp is 1.
> > > hugemmap05.c:27[   51.077819] ------------[ cut here ]------------
> > > [   51.082692] WARNING: CPU: 0 PID: 590 at fs/nfs/inode.c:123
> > > nfs_evict_inode+0x58/0x70
> > > [   51.090451] Modules linked in: x86_pkg_temp_thermal
> > > [   51.095329] CPU: 0 PID: 590 Comm: hugemmap05 Not tainted 5.15.68-rc1 #1
> > > [   51.101948] Hardware name: Supermicro SYS-5019S-ML/X11SSH-F, BIOS
> > > 2.5 11/26/2020
> > > [   51.109340] RIP: 0010:nfs_evict_inode+0x58/0x70
> > > [   51.113872] Code: 29 49 8b 54 24 90 49 8d 44 24 90 48 39 c2 75 2b
> > > 4c 89 e7 e8 7a d8 ff ff 4c 89 e7 e8 82 74 ff ff 4c 8b 65 f8 c9 c3 cc
> > > cc cc cc <0f> 0b 49 8b 54 24 90 49 8d 44 24 90 48 39 c2 74 d5 0f 0b eb
> > > d1 0f
> > > [   51.132626] RSP: 0018:ffffb6b140a8fb90 EFLAGS: 00010286
> > > [   51.137861] RAX: adacafaea9a8abaa RBX: ffff937fa606a2c0 RCX: ffffb6b140a8fbd0
> > > [   51.144986] RDX: ffff937fa606a2d0 RSI: ffffffffbc720682 RDI: ffffffffbc5ec05f
> > > [   51.152120] RBP: ffffb6b140a8fb98 R08: 0000000000000000 R09: ffffb6b140a8fcf0
> > > [   51.159253] R10: 0000000000000000 R11: 0000000000000002 R12: ffff937fa606a1a8
> > > [   51.166395] R13: ffffffffbd851b40 R14: ffff937c40803870 R15: 0000000000000003
> > > [   51.173525] FS:  00007f5afcdf4740(0000) GS:ffff937fa7a00000(0000)
> > > knlGS:0000000000000000
> > > [   51.181602] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> > > [   51.187359] CR2: 00007f5afcf10680 CR3: 000000010360a006 CR4: 00000000003706f0
> > > 8: TINFO: HugePa[   51.194499] DR0: 0000000000000000 DR1:
> > > 0000000000000000 DR2: 0000000000000000
> > > [   51.203009] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
> > > [   51.210135] Call Trace:
> > > [   51.212585]  <TASK>
> > > [   51.214684]  evict+0xc8/0x180
> > > [   51.217682]  prune_icache_sb+0x81/0xc0
> > > [   51.221435]  super_cache_scan+0x169/0x200
> > > [   51.225447]  do_shrink_slab+0x13f/0x2b0
> > > [   51.229288]  shrink_slab+0x186/0x2a0
> > > [   51.232868]  drop_slab_node+0x4a/0xa0
> > > [   51.236533]  drop_slab+0x41/0x90
> > > [   51.239765]  drop_caches_sysctl_handler+0x79/0x90
> > > [   51.244471]  proc_sys_call_handler+0x159/0x290
> > > [   51.248918]  proc_sys_write+0x13/0x20
> > > [   51.252582]  new_sync_write+0x111/0x1a0
> > > [   51.256423]  vfs_write+0x1d5/0x270
> > > [   51.259828]  ksys_write+0x67/0xf0
> > > [   51.263150]  __x64_sys_write+0x19/0x20
> > > [   51.266901]  do_syscall_64+0x38/0x90
> > > [   51.270479]  entry_SYSCALL_64_after_hwframe+0x61/0xcb
> > > [   51.275534] RIP: 0033:0x7f5afcef31d7
> > > [   51.279112] Code: 0f 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7
> > > 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00
> > > 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89
> > > 74 24
> > > [   51.297859] RSP: 002b:00007ffd40638738 EFLAGS: 00000246 ORIG_RAX:
> > > 0000000000000001
> > > [   51.305425] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f5afcef31d7
> > > [   51.312557] RDX: 0000000000000001 RSI: 00000000016f1480 RDI: 0000000000000003
> > > [   51.319689] RBP: 00000000016f1480 R08: 0000000000000001 R09: 0000000000000001
> > > [   51.326812] R10: 0000000000001000 R11: 0000000000000246 R12: 0000000000000001
> > > [   51.333938] R13: 00000000016f12a0 R14: 0000000000000001 R15: 00007f5afcfe87a0
> > > [   51.341073]  </TASK>
> > > [   51.343264] ---[ end trace 3420625c1fbde9e9 ]---
> > > ges_Rsvd is 3.
> > > [   51.348004] hugemmap05 (590): drop_caches: 3
> > > hugemmap05.c:253: TINFO: First hex is 7070707
> >
> > I hit this warning too.
> >
> > It seems that we need this patch for 5.15.y
> >
> > commit 0ebeebcf59601bcfa0284f4bb7abdec051eb856d
> > Author: Dave Wysochanski <dwysocha@redhat.com>
> > Date:   Sun Oct 10 18:23:13 2021 -0400
> >
> >     NFS: Fix WARN_ON due to unionization of nfs_inode.nrequests
> >
> >     Fixes the following WARN_ON
> >     WARNING: CPU: 2 PID: 18678 at fs/nfs/inode.c:123 nfs_clear_inode+0x3b/0x50 [nfs]
> >     ...
> >     Call Trace:
> >       nfs4_evict_inode+0x57/0x70 [nfsv4]
> >       evict+0xd1/0x180
> >
> > Best Regards
> > Wang Yugui (wangyugui@e16-tech.com)
> > 2022/09/15
> >
> >
> 
> Sorry, commit 0ebeebcf59601bcfa0284f4bb7abdec051eb856d probably should
> have had this
> Fixes: e591b298d7ec "NFS: Save some space in the inode"

Now queued up, thanks.

greg k-h
Re: [PATCH 5.15 000/121] 5.15.68-rc1 review
Posted by Kelsey Steele 2 years, 12 months ago
On Tue, Sep 13, 2022 at 04:03:11PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.68 release.
> There are 121 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, 15 Sep 2022 14:03:27 +0000.

Built and tested on WSL x86 and WSL arm64 - no regressions found. 

Tested-by: Kelsey Steele <kelseysteele@linux.microsoft.com>
Re: [PATCH 5.15 000/121] 5.15.68-rc1 review
Posted by Florian Fainelli 2 years, 12 months ago
On 9/13/22 07:03, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.68 release.
> There are 121 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, 15 Sep 2022 14:03:27 +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.15.68-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.15.y
> and the diffstat can be found below.
> 
> thanks,
> 
> greg k-h

On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels, build tested on 
BMIPS_GENERIC:

Tested-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian
Re: [PATCH 5.15 000/121] 5.15.68-rc1 review
Posted by Guenter Roeck 2 years, 12 months ago
On Tue, Sep 13, 2022 at 04:03:11PM +0200, Greg Kroah-Hartman wrote:
> This is the start of the stable review cycle for the 5.15.68 release.
> There are 121 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, 15 Sep 2022 14:03:27 +0000.
> Anything received after that time might be too late.
> 

Build results:
	total: 159 pass: 159 fail: 0
Qemu test results:
	total: 486 pass: 486 fail: 0

New runtime warning:

BUG: sleeping function called from invalid context at drivers/clk/imx/clk-pllv3.c:68

Assuming that the offending patch will be dropped:

Tested-by: Guenter Roeck <linux@roeck-us.net>

Guenter