[SRU][Hirsute][PULL] Hirsute upstream stable patchset 2021-07-19

Kamal Mostafa kamal at canonical.com
Mon Jul 19 19:54:39 UTC 2021


This pull request (104 commits) includes the following Hirsute stable
patchsets:

	Hirsute upstream stable patchset 2021-07-19
		Ported from the following upstream stable releases:
			v5.10.47, v5.12.14
	https://bugs.launchpad.net/bugs/1936863

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 4edd878a5b411ec81d69f67ef17678a5e0632ee5:

  UBUNTU: upstream stable to v5.10.46, v5.12.13 (2021-07-16 11:25:55 -0700)

are available in the Git repository at:

  git://kernel.ubuntu.com/ubuntu-stable/ubuntu-stable-hirsute.git tags/hirsute-stable-2021-07-19

for you to fetch changes up to c2663238b6cd1f18ff7ee95139baa104b985be2b:

  UBUNTU: upstream stable to v5.10.47, v5.12.14 (2021-07-19 12:32:10 -0700)

----------------------------------------------------------------
Alper Gun (1):
      KVM: SVM: Call SEV Guest Decommission if ASID binding fails

Andy Shevchenko (1):
      pinctrl: microchip-sgpio: Put fwnode in error case during ->probe()

Arnd Bergmann (1):
      ARM: 9081/1: fix gcc-10 thumb2-kernel regression

Austin Kim (1):
      net: ethtool: clear heap allocations for ethtool function

Bumyong Lee (1):
      swiotlb: manipulate orig_addr when tlb_addr has offset

Christian K├Ânig (3):
      drm/nouveau: wait for moving fence after pinning v2
      drm/radeon: wait for moving fence after pinning
      drm/amdgpu: wait for moving fence after pinning

Christoph Hellwig (1):
      scsi: sd: Call sd_revalidate_disk() for ioctl(BLKRRPART)

Daniel Vetter (1):
      Revert "drm: add a locked version of drm_is_current_master"

Desmond Cheong Zhi Xi (1):
      drm: add a locked version of drm_is_current_master

Du Cheng (1):
      cfg80211: call cfg80211_leave_ocb when switching away from OCB

Eric Dumazet (6):
      inet: annotate data race in inet_send_prepare() and inet_dgram_connect()
      net: annotate data race in sock_error()
      inet: annotate date races around sk->sk_txhash
      net/packet: annotate data race in packet_sendmsg()
      net/packet: annotate accesses to po->bind
      net/packet: annotate accesses to po->ifindex

Eric Snowberg (4):
      certs: Add EFI_CERT_X509_GUID support for dbx entries
      certs: Move load_system_certificate_list to a common function
      certs: Add ability to preload revocation certs
      integrity: Load mokx variables into the blacklist keyring

Esben Haabendal (2):
      net: ll_temac: Add memory-barriers for TX BD access
      net: ll_temac: Avoid ndo_start_xmit returning NETDEV_TX_BUSY

Fabien Dessenne (1):
      pinctrl: stm32: fix the reported number of GPIO lines per bank

Fuad Tabba (1):
      KVM: selftests: Fix kvm_check_cap() assertion

Gabriel Knezek (1):
      gpiolib: cdev: zero padding during conversion to gpioline_info_changed

Guillaume Ranquet (3):
      dmaengine: mediatek: free the proper desc in desc_free handler
      dmaengine: mediatek: do not issue a new desc if one is still current
      dmaengine: mediatek: use GFP_NOWAIT instead of GFP_ATOMIC in prep_dma

Haibo Chen (1):
      spi: spi-nxp-fspi: move the register operation after the clock enable

Heiko Carstens (1):
      s390/stack: fix possible register corruption with stack switch helper

Heiner Kallweit (1):
      i2c: i801: Ensure that SMBHSTSTS_INUSE_STS is cleared when leaving i801_access

Hugh Dickins (16):
      mm/thp: fix __split_huge_pmd_locked() on shmem migration entry
      mm/thp: make is_huge_zero_pmd() safe and quicker
      mm/thp: try_to_unmap() use TTU_SYNC for safe splitting
      mm/thp: fix vma_address() if virtual address below file offset
      mm/thp: unmap_mapping_page() to fix THP truncate_cleanup_page()
      mm: page_vma_mapped_walk(): use page for pvmw->page
      mm: page_vma_mapped_walk(): settle PageHuge on entry
      mm: page_vma_mapped_walk(): use pmde for *pvmw->pmd
      mm: page_vma_mapped_walk(): prettify PVMW_MIGRATION block
      mm: page_vma_mapped_walk(): crossing page table boundary
      mm: page_vma_mapped_walk(): add a level of indentation
      mm: page_vma_mapped_walk(): use goto instead of while (1)
      mm: page_vma_mapped_walk(): get vma_address_end() earlier
      mm/thp: fix page_vma_mapped_walk() if THP mapped by ptes
      mm/thp: another PVMW_SYNC fix in page_vma_mapped_walk()
      mm, futex: fix shared futex pgoff on shmem huge page

Jeff Layton (2):
      ceph: must hold snap_rwsem when filling inode for async create
      netfs: fix test for whether we can skip read when writing beyond EOF

Jiapeng Chong (1):
      dmaengine: idxd: Fix missing error code in idxd_cdev_open()

Johan Hovold (1):
      i2c: robotfuzz-osif: fix control-request directions

Johannes Berg (5):
      mac80211: remove warning in ieee80211_get_sband()
      mac80211_hwsim: drop pending frames on stop
      mac80211: drop multicast fragments
      mac80211: reset profile_periodicity/ema_ap
      mac80211: handle various extensible elements correctly

Jue Wang (1):
      mm/thp: fix page_address_in_vma() on file THP tails

Juergen Gross (1):
      xen/events: reset active flag for lateeoi events later

Kamal Mostafa (4):
      UBUNTU: [Config] update annotations for XILINX_ZYNQMP_DPDMA
      UBUNTU: [Config] enable CONFIG_SYSTEM_REVOCATION_LIST
      UBUNTU: [Config] updateconfigs for SYSTEM_REVOCATION_KEYS
      UBUNTU: upstream stable to v5.10.47, v5.12.14

Kan Liang (1):
      perf/x86: Track pmu in per-CPU cpu_hw_events

Kees Cook (4):
      r8152: Avoid memcpy() over-reading of ETH_SS_STATS
      sh_eth: Avoid memcpy() over-reading of ETH_SS_STATS
      r8169: Avoid memcpy() over-reading of ETH_SS_STATS
      net: qed: Fix memcpy() overflow of qed_dcbx_params()

Khem Raj (1):
      riscv32: Use medany C model for modules

Laurent Pinchart (2):
      dmaengine: xilinx: dpdma: Add missing dependencies to Kconfig
      dmaengine: xilinx: dpdma: Limit descriptor IDs to 16 bits

Like Xu (1):
      perf/x86/lbr: Remove cpuc->lbr_xsave allocation from atomic context

Maxime Ripard (2):
      drm/vc4: hdmi: Move the HSM clock enable to runtime_pm
      drm/vc4: hdmi: Make sure the controller is powered in detect

Miaohe Lin (2):
      mm/rmap: remove unneeded semicolon in page_not_mapped()
      mm/rmap: use page_not_mapped in try_to_unmap()

Mikel Rychliski (1):
      PCI: Add AMD RS690 quirk to enable 64-bit DMA

Mimi Zohar (1):
      module: limit enabling module.sig_enforce

Neil Armstrong (1):
      mmc: meson-gx: use memcpy_to/fromio for dram-access-quirk

Nicholas Piggin (1):
      KVM: do not allow mapping valid but non-reference-counted pages

Pavel Skripkin (2):
      net: caif: fix memory leak in ldisc_open
      nilfs2: fix memory leak in nilfs_sysfs_delete_device_group

Peter Zijlstra (4):
      x86/entry: Fix noinstr fail in __do_fast_syscall_32()
      x86/xen: Fix noinstr fail in exc_xen_unknown_trap()
      locking/lockdep: Improve noinstr vs errors
      recordmcount: Correct st_shndx handling

Petr Mladek (2):
      kthread_worker: split code for canceling the delayed work timer
      kthread: prevent deadlock when kthread_mod_delayed_work() races with kthread_cancel_delayed_work_sync()

Praneeth Bajjuri (1):
      net: phy: dp83867: perform soft reset and retain established link

Rafael J. Wysocki (1):
      Revert "PCI: PM: Do not read power state in pci_enable_device_flags()"

Rikard Falkeborn (1):
      linux/bits.h: fix compilation error with GENMASK

Thomas Gleixner (3):
      perf/x86/intel/lbr: Zero the xstate buffer on allocation
      x86/fpu: Preserve supervisor states in sanitize_restored_user_xstate()
      x86/fpu: Make init_fpstate correct with optimized XSAVE

Tony Luck (1):
      mm/memory-failure: use a mutex to avoid memory_failure() races

Xu Yu (1):
      mm, thp: use head page in __migration_entry_wait()

Yang Shi (1):
      mm: thp: replace DEBUG_VM BUG with VM_WARN when unmap fails for split

Yu Kuai (2):
      dmaengine: zynqmp_dma: Fix PM reference leak in zynqmp_dma_alloc_chan_resourc()
      dmaengine: stm32-mdma: fix PM reference leak in stm32_mdma_alloc_chan_resourc()

Zhen Lei (1):
      drm/kmb: Fix error return code in kmb_hw_init()

Zheng Yongjun (2):
      net: ipv4: Remove unneed BUG() function
      ping: Check return value of function 'ping_queue_rcv_skb'

Zou Wei (1):
      dmaengine: rcar-dmac: Fix PM reference leak in rcar_dmac_probe()

 arch/arm/kernel/setup.c                            |  16 ++-
 arch/riscv/Makefile                                |   2 +-
 arch/s390/include/asm/stacktrace.h                 |  18 ++-
 arch/x86/entry/common.c                            |   2 +-
 arch/x86/events/core.c                             |  23 ++-
 arch/x86/events/intel/core.c                       |   2 +-
 arch/x86/events/intel/ds.c                         |   4 +-
 arch/x86/events/intel/lbr.c                        |  36 +++--
 arch/x86/events/perf_event.h                       |  10 +-
 arch/x86/include/asm/fpu/internal.h                |  30 ++--
 arch/x86/kernel/fpu/signal.c                       |  26 ++--
 arch/x86/kernel/fpu/xstate.c                       |  41 +++++-
 arch/x86/kvm/svm/sev.c                             |  32 +++--
 arch/x86/pci/fixup.c                               |  44 ++++++
 arch/x86/xen/enlighten_pv.c                        |   2 +
 certs/Kconfig                                      |  17 +++
 certs/Makefile                                     |  21 ++-
 certs/blacklist.c                                  |  64 +++++++++
 certs/blacklist.h                                  |   2 +
 certs/common.c                                     |  57 ++++++++
 certs/common.h                                     |   9 ++
 certs/revocation_certificates.S                    |  21 +++
 certs/system_keyring.c                             |  56 ++------
 .../abi/5.11.0-23.24/amd64/generic.modules         |   1 -
 .../abi/5.11.0-23.24/amd64/lowlatency.modules      |   1 -
 debian.master/config/annotations                   |   2 +-
 debian.master/config/config.common.ubuntu          |   2 +
 debian.master/upstream-stable                      |   4 +-
 drivers/dma/Kconfig                                |   1 +
 drivers/dma/idxd/cdev.c                            |   1 +
 drivers/dma/mediatek/mtk-uart-apdma.c              |  27 ++--
 drivers/dma/sh/rcar-dmac.c                         |   2 +-
 drivers/dma/stm32-mdma.c                           |   4 +-
 drivers/dma/xilinx/xilinx_dpdma.c                  |   7 +-
 drivers/dma/xilinx/zynqmp_dma.c                    |   2 +-
 drivers/gpio/gpiolib-cdev.c                        |   1 +
 drivers/gpu/drm/amd/amdgpu/amdgpu_dma_buf.c        |  14 +-
 drivers/gpu/drm/kmb/kmb_drv.c                      |   1 +
 drivers/gpu/drm/nouveau/nouveau_prime.c            |  17 ++-
 drivers/gpu/drm/radeon/radeon_prime.c              |  16 ++-
 drivers/gpu/drm/vc4/vc4_hdmi.c                     |  44 ++++--
 drivers/i2c/busses/i2c-i801.c                      |   3 +
 drivers/i2c/busses/i2c-robotfuzz-osif.c            |   4 +-
 drivers/mmc/host/meson-gx-mmc.c                    |  50 ++++++-
 drivers/net/caif/caif_serial.c                     |   1 +
 drivers/net/ethernet/qlogic/qed/qed_dcbx.c         |   4 +-
 drivers/net/ethernet/realtek/r8169_main.c          |   2 +-
 drivers/net/ethernet/renesas/sh_eth.c              |   2 +-
 drivers/net/ethernet/xilinx/ll_temac_main.c        |  19 ++-
 drivers/net/phy/dp83867.c                          |   6 +-
 drivers/net/usb/r8152.c                            |   2 +-
 drivers/net/wireless/mac80211_hwsim.c              |   5 +
 drivers/pci/pci.c                                  |  16 ++-
 drivers/pinctrl/pinctrl-microchip-sgpio.c          |   4 +-
 drivers/pinctrl/stm32/pinctrl-stm32.c              |   9 +-
 drivers/scsi/sd.c                                  |  22 ++-
 drivers/spi/spi-nxp-fspi.c                         |  11 +-
 drivers/xen/events/events_base.c                   |  11 +-
 fs/ceph/addr.c                                     |  54 +++++--
 fs/ceph/file.c                                     |   3 +
 fs/ceph/inode.c                                    |   2 +
 fs/nilfs2/sysfs.c                                  |   1 +
 include/keys/system_keyring.h                      |  15 ++
 include/linux/bits.h                               |   2 +-
 include/linux/const.h                              |   8 ++
 include/linux/debug_locks.h                        |   2 +
 include/linux/huge_mm.h                            |   8 +-
 include/linux/hugetlb.h                            |  16 ---
 include/linux/minmax.h                             |  10 +-
 include/linux/mm.h                                 |   3 +
 include/linux/pagemap.h                            |  13 +-
 include/linux/rmap.h                               |   1 +
 include/net/sock.h                                 |  17 ++-
 kernel/dma/swiotlb.c                               |   3 +
 kernel/futex.c                                     |   3 +-
 kernel/kthread.c                                   |  77 ++++++----
 kernel/locking/lockdep.c                           |   4 +-
 kernel/module.c                                    |  14 +-
 lib/debug_locks.c                                  |   2 +-
 mm/huge_memory.c                                   |  56 ++++----
 mm/hugetlb.c                                       |   5 +-
 mm/internal.h                                      |  53 +++++--
 mm/memory-failure.c                                |  36 +++--
 mm/memory.c                                        |  41 ++++++
 mm/migrate.c                                       |   1 +
 mm/page_vma_mapped.c                               | 160 +++++++++++++--------
 mm/pgtable-generic.c                               |   4 +-
 mm/rmap.c                                          |  50 ++++---
 mm/truncate.c                                      |  43 +++---
 net/ethtool/ioctl.c                                |  10 +-
 net/ipv4/af_inet.c                                 |   4 +-
 net/ipv4/devinet.c                                 |   2 +-
 net/ipv4/ping.c                                    |  12 +-
 net/ipv6/addrconf.c                                |   2 +-
 net/mac80211/ieee80211_i.h                         |   2 +-
 net/mac80211/mlme.c                                |   8 ++
 net/mac80211/rx.c                                  |   9 +-
 net/mac80211/util.c                                |  22 +--
 net/packet/af_packet.c                             |  41 +++---
 net/wireless/util.c                                |   3 +
 scripts/Makefile                                   |   1 +
 scripts/recordmcount.h                             |  15 +-
 .../integrity/platform_certs/keyring_handler.c     |  11 ++
 security/integrity/platform_certs/load_uefi.c      |  20 ++-
 tools/include/linux/bits.h                         |   2 +-
 tools/include/linux/const.h                        |   8 ++
 tools/testing/selftests/kvm/lib/kvm_util.c         |   2 +-
 virt/kvm/kvm_main.c                                |  19 ++-
 108 files changed, 1230 insertions(+), 523 deletions(-)
 create mode 100644 certs/common.c
 create mode 100644 certs/common.h
 create mode 100644 certs/revocation_certificates.S



More information about the kernel-team mailing list