From patchwork Mon Nov 1 20:22:28 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Kamal Mostafa X-Patchwork-Id: 1549332 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=canonical.com header.i=@canonical.com header.a=rsa-sha256 header.s=20210705 header.b=q/c31l3a; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.ubuntu.com (client-ip=91.189.94.19; helo=huckleberry.canonical.com; envelope-from=kernel-team-bounces@lists.ubuntu.com; receiver=) Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4Hjkx70bcFz9sXM for ; Tue, 2 Nov 2021 07:22:49 +1100 (AEDT) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.86_2) (envelope-from ) id 1mhdpF-0008UX-67; Mon, 01 Nov 2021 20:22:37 +0000 Received: from smtp-relay-canonical-1.internal ([10.131.114.174] helo=smtp-relay-canonical-1.canonical.com) by huckleberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1mhdpC-0008UP-O7 for kernel-team@lists.ubuntu.com; Mon, 01 Nov 2021 20:22:34 +0000 Received: from ascalon (3.general.kamal.us.vpn [10.172.68.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id 42F3A3F1B2 for ; Mon, 1 Nov 2021 20:22:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1635798154; bh=esb9piz1JmwIVhXf608q+7hNKczJOBQQubiY0HXLdaA=; h=From:To:Subject:Date:Message-Id:MIME-Version:Content-Type; b=q/c31l3an+TsjSt9QJnKXZkKN1f7yq0WowNsW4u6WsPQmNDg78TBZVBVJ1ZwuV+LI 1NslTIGvjzD1g4bOZkZgYyHHcCFkKcmZBQEZrZoQlgNWoKvcxmlCpamMvmvhfhDu7R anHMvGKEgLdNgiiZKbo3IrRpdTxmwKJXKOts3V3N9ZEo3q6GsCUkKn+IXE+X/7evTA Ss+lqjZLADTkqBxNUCxVwSfYjBFivakUSTt8dQbdzPiKP/flSzZYAH4bY5O5mX5BP0 jaH3oyN5hODov9V7xlzqVqk0/5QVSivNRk9JGaEvs4q65NtvMYeOqRARIup06mF2Ua 6ohT5/T8ADkAg== Received: from kamal by ascalon with local (Exim 4.90_1) (envelope-from ) id 1mhdp9-0005Cl-2N for kernel-team@lists.ubuntu.com; Mon, 01 Nov 2021 13:22:31 -0700 From: Kamal Mostafa To: kernel-team@lists.ubuntu.com Subject: [SRU][Hirsute][PULL] Hirsute upstream stable patchset 2021-11-01 Date: Mon, 1 Nov 2021 13:22:28 -0700 Message-Id: <20211101202228.19903-1-kamal@canonical.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-BeenThere: kernel-team@lists.ubuntu.com X-Mailman-Version: 2.1.20 Precedence: list List-Id: Kernel team discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kernel-team-bounces@lists.ubuntu.com Sender: "kernel-team" This pull request (74 commits) includes the following Hirsute stable patchsets: Hirsute upstream stable patchset 2021-11-01 Ported from the following upstream stable releases: v5.10.69, v5.14.8 https://bugs.launchpad.net/bugs/1949397 Note also that the 'stable-next' branch head contains this and all prior pending upstream stable releases, rebased to master-next: git://kernel.ubuntu.com/ubuntu-stable/ubuntu-stable-hirsute.git stable-next -Kamal ----- The following changes since commit 27ff72e8b6e78310acc97ab0317da8944a9e9369: UBUNTU: upstream stable to v5.10.68, v5.14.7 (2021-10-27 16:53:06 -0600) are available in the Git repository at: git://kernel.ubuntu.com/ubuntu-stable/ubuntu-stable-hirsute.git tags/hirsute-stable-2021-11-01 for you to fetch changes up to 30caa8285e146875932ccfacfc4ac016e608c2db: UBUNTU: upstream stable to v5.10.69, v5.14.8 (2021-11-01 13:19:17 -0700) ---------------------------------------------------------------- Alex Sverdlin (4): ARM: 9077/1: PLT: Move struct plt_entries definition to header ARM: 9078/1: Add warn suppress parameter to arm_gen_branch_link() ARM: 9079/1: ftrace: Add MODULE_PLTS support ARM: 9098/1: ftrace: MODULE_PLT: Fix build problem without DYNAMIC_FTRACE Anand Jain (1): btrfs: fix lockdep warning while mounting sprout fs Andy Shevchenko (1): dmaengine: acpi: Avoid comparison GSI with Linux vIRQ Ard Biesheuvel (1): arm64: mm: limit linear region to 51 bits for KVM in nVHE mode Arnd Bergmann (1): thermal/core: Fix thermal_cooling_device_register() prototype Cyrill Gorcunov (1): prctl: allow to setup brk for et_dyn executables Dan Carpenter (1): thermal/drivers/exynos: Fix an error code in exynos_tmu_probe() Dave Jiang (3): dmaengine: idxd: fix wq slot allocation index check dmaengine: idxd: have command status always set dmaengine: idxd: clear block on fault flag when clear wq Fabio Aiuto (1): staging: rtl8723bs: fix wpa_set_auth_algs() function Florian Fainelli (1): ARM: Qualify enabling of swiotlb_init() Geert Uytterhoeven (1): dma-buf: DMABUF_MOVE_NOTIFY should depend on DMA_SHARED_BUFFER Guenter Roeck (2): parisc: Move pci_dev_is_behind_card_dino to where it is used drm/nouveau/nvkm: Replace -ENOSYS with -ENODEV Gwendal Grignou (2): platform/chrome: sensorhub: Add trace events for sample platform/chrome: cros_ec_trace: Fix format warnings Hao Xu (1): io_uring: fix off-by-one in BUILD_BUG_ON check of __REQ_F_LAST_BIT Jeff Layton (5): ceph: allow ceph_put_mds_session to take NULL or ERR_PTR ceph: cancel delayed work instead of flushing on mdsc teardown ceph: request Fw caps before updating the mtime in ceph_write_iter ceph: lockdep annotations for try_nonblocking_invalidate ceph: fix memory leak on decode error in ceph_handle_caps Johannes Berg (3): um: virtio_uml: fix memory leak on init failures dmaengine: idxd: depends on !UML dmaengine: ioat: depends on !UML Josef Bacik (2): btrfs: update the bdev time directly when closing btrfs: delay blkdev_put until after the device remove Kamal Mostafa (1): UBUNTU: upstream stable to v5.10.69, v5.14.8 Koba Ko (1): drm/amdgpu: Disable PCIE_DPM on Intel RKL Platform Li Jinlin (1): blk-throttle: fix UAF by deleteing timer in blk_throtl_exit() Lukas Bulwahn (1): Kconfig.debug: drop selecting non-existing HARDLOCKUP_DETECTOR_ARCH Marcelo Ricardo Leitner (2): sctp: validate chunk size in __rcv_asconf_lookup sctp: add param size validation for SCTP_PARAM_SET_PRIMARY Masami Hiramatsu (1): tools/bootconfig: Fix tracing_on option checking in ftrace2bconf.sh Michael Petlan (1): perf test: Fix bpf test sample mismatch reporting Namhyung Kim (1): perf tools: Allow build-id with trailing zeros Nanyong Sun (6): nilfs2: fix memory leak in nilfs_sysfs_create_device_group nilfs2: fix NULL pointer in nilfs_##name##_attr_release nilfs2: fix memory leak in nilfs_sysfs_create_##name##_group nilfs2: fix memory leak in nilfs_sysfs_delete_##name##_group nilfs2: fix memory leak in nilfs_sysfs_create_snapshot_group nilfs2: fix memory leak in nilfs_sysfs_delete_snapshot_group Nathan Chancellor (1): staging: rtl8192u: Fix bitwise vs logical operator in TranslateRxSignalStuff819xUsb() Niklas Schnelle (1): RDMA/mlx5: Fix xlt_chunk_align calculation Niklas Söderlund (1): thermal/drivers/rcar_gen3_thermal: Store TSC id as unsigned int Ofir Bitton (1): habanalabs: add validity check for event ID received from F/W Pali Rohár (2): PCI: pci-bridge-emul: Add PCIe Root Capabilities Register PCI: aardvark: Fix reporting CRS value Pavel Skripkin (1): profiling: fix shift-out-of-bounds bugs Prasad Sodagudi (1): PM: sleep: core: Avoid setting power.must_resume to false QiuXi (1): coredump: fix memleak in dump_vma_snapshot() Radhey Shyam Pandey (1): dmaengine: xilinx_dma: Set DMA mask for coherent APIs Sebastian Andrzej Siewior (1): sched/idle: Make the idle timer expire in hard interrupt context Song Liu (1): blk-mq: allow 4x BLK_MAX_REQUEST_COUNT at blk_plug for multiple_queues Sven Schnelle (1): s390: add kmemleak annotation in stack_alloc() Tetsuo Handa (1): block: genhd: don't call blkdev_show() with major_names_lock held Thomas Gleixner (1): drivers: base: cacheinfo: Get rid of DEFINE_SMP_CALL_CACHE_FUNCTION() Tomer Tayar (1): habanalabs: fix nullifying of destroyed mmu pgt pool Uwe Kleine-König (5): pwm: lpc32xx: Don't modify HW state in .probe() after the PWM chip was registered pwm: mxs: Don't modify HW state in .probe() after the PWM chip was registered pwm: img: Don't modify HW state in .remove() callback pwm: rockchip: Don't modify HW state in .remove() callback pwm: stm32-lp: Don't modify HW state in .remove() callback Wei Huang (1): iommu/amd: Relocate GAMSup check to early_enable_iommus Xie Yongji (1): 9p/trans_virtio: Remove sysfs file on probe failure Xiubo Li (1): ceph: remove the capsnaps when removing caps Yu-Tung Chang (1): rtc: rx8010: select REGMAP_I2C Zhen Lei (1): nilfs2: use refcount_dec_and_lock() to fix potential UAF Zou Wei (1): dmaengine: sprd: Add missing MODULE_DEVICE_TABLE nick black (1): console: consume APC, DM, DCS arch/arm/include/asm/ftrace.h | 3 + arch/arm/include/asm/insn.h | 8 +- arch/arm/include/asm/module.h | 10 +++ arch/arm/kernel/ftrace.c | 46 +++++++++-- arch/arm/kernel/insn.c | 19 ++--- arch/arm/kernel/module-plts.c | 49 ++++++++--- arch/arm/mm/init.c | 6 +- arch/arm64/kernel/cacheinfo.c | 7 +- arch/arm64/mm/init.c | 16 +++- arch/mips/kernel/cacheinfo.c | 7 +- arch/riscv/kernel/cacheinfo.c | 7 +- arch/s390/kernel/setup.c | 10 ++- arch/um/drivers/virtio_uml.c | 4 +- arch/x86/kernel/cpu/cacheinfo.c | 7 +- block/blk-mq.c | 14 +++- block/blk-throttle.c | 1 + block/genhd.c | 9 ++- debian.master/upstream-stable | 4 +- drivers/base/power/main.c | 2 +- drivers/dma-buf/Kconfig | 1 + drivers/dma/Kconfig | 4 +- drivers/dma/acpi-dma.c | 10 ++- drivers/dma/idxd/device.c | 10 ++- drivers/dma/idxd/submit.c | 2 +- drivers/dma/sprd-dma.c | 1 + drivers/dma/xilinx/xilinx_dma.c | 2 +- .../gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c | 17 +++- drivers/gpu/drm/nouveau/nvkm/engine/device/ctrl.c | 2 +- drivers/infiniband/hw/mlx5/mr.c | 2 +- drivers/iommu/amd/init.c | 31 +++++-- drivers/misc/habanalabs/common/mmu_v1.c | 12 +-- drivers/misc/habanalabs/gaudi/gaudi.c | 6 ++ drivers/misc/habanalabs/goya/goya.c | 6 ++ drivers/parisc/dino.c | 18 ++--- drivers/pci/controller/pci-aardvark.c | 67 ++++++++++++++- drivers/pci/pci-bridge-emul.h | 2 +- drivers/platform/chrome/Makefile | 2 +- drivers/platform/chrome/cros_ec_sensorhub_ring.c | 14 ++++ drivers/platform/chrome/cros_ec_trace.h | 94 ++++++++++++++++++++++ drivers/pwm/pwm-img.c | 16 ---- drivers/pwm/pwm-lpc32xx.c | 10 +-- drivers/pwm/pwm-mxs.c | 13 ++- drivers/pwm/pwm-rockchip.c | 14 ---- drivers/pwm/pwm-stm32-lp.c | 2 - drivers/rtc/Kconfig | 1 + drivers/staging/rtl8192u/r8192U_core.c | 2 +- drivers/staging/rtl8723bs/os_dep/ioctl_linux.c | 6 +- drivers/thermal/rcar_gen3_thermal.c | 7 +- drivers/thermal/samsung/exynos_tmu.c | 1 + drivers/tty/vt/vt.c | 31 ++++++- fs/btrfs/ioctl.c | 15 +++- fs/btrfs/volumes.c | 48 +++++++---- fs/btrfs/volumes.h | 3 +- fs/ceph/caps.c | 75 ++++++++++++----- fs/ceph/dir.c | 3 +- fs/ceph/file.c | 32 ++++---- fs/ceph/inode.c | 6 +- fs/ceph/mds_client.c | 38 ++++++++- fs/ceph/metric.c | 7 +- fs/ceph/super.h | 6 ++ fs/coredump.c | 4 +- fs/io_uring.c | 2 +- fs/nilfs2/sysfs.c | 26 +++--- fs/nilfs2/the_nilfs.c | 9 +-- include/linux/cacheinfo.h | 18 ----- include/linux/thermal.h | 5 +- kernel/profile.c | 21 ++--- kernel/sched/idle.c | 4 +- kernel/sys.c | 7 -- lib/Kconfig.debug | 1 - net/9p/trans_virtio.c | 4 +- net/sctp/input.c | 3 + net/sctp/sm_make_chunk.c | 13 ++- tools/bootconfig/scripts/ftrace2bconf.sh | 4 +- tools/perf/tests/bpf.c | 2 +- tools/perf/util/dso.c | 10 +++ 76 files changed, 700 insertions(+), 301 deletions(-)