mbox series

[00/75] backports: Update to kernel 6.1.95

Message ID 20240627234808.1253337-1-hauke@hauke-m.de (mailing list archive)
Headers show
Series backports: Update to kernel 6.1.95 | expand

Message

Hauke Mehrtens June 27, 2024, 11:46 p.m. UTC
I took many patches from Johannes, Felix, Gregory and Luca and added 
some own patches on top. This brings backports to version 6.1. I will 
look into the patches needed for kernel 6.9 from Johannes next. This 
only got very little testing till now. 

This also removes the verification subsystem and some other left overs.

This code is also available in my github repository:
https://github.com/hauke/backports/tree/testing-6.1-rebase

Felix Fietkau (11):
  headers: backport napi add functions
  headers: backport usb_maxpacket api change
  headers: add txq_trans_cond_update
  headers: add __vstring and __assign_vstr
  headers: backport mmc_sw_reset and mmc_hw_reset API changes
  headers: add DEFINE_SIMPLE_DEV_PM_OPS
  headers: backport device_get_mac_address api change
  headers: add skb_tcp_all_headers
  headers: backport get_random_u16, get_random_u8
  headers: backport hwrng_msleep
  headers: backport napi_build_skb

Gregory Greenman (3):
  backport: update 0099-netlink-range patch to apply on v5.18-rc1
  backports: define __is_constexpr() for older kernels
  backports: update mac80211-status.patch to v6.0-rc1

Hauke Mehrtens (39):
  backports: Remove no-pointer-sign option
  backports: Remove BPAUTO_REFCOUNT
  backports: Remove verification backport
  backports: Remove compat/memneq.c
  backports: Remove mpls.h
  backports: Remove driver headers
  Makefile: Generate new CPTCFG_KERNEL_
  patches: Refresh on 6.1.95
  headers: Add linux/soc/mediatek/mtk_wed.h
  header: Add linux/platform_data/brcmnand.h
  patches: Handle changed spi_driver->remove signature
  headers: Handle skb_recv_datagram() signature change.
  dependencies: Make MHI_BUS_EP depend on 5.19
  headere: add netif_napi_add_weight()
  backports: Use compile using GNU11
  patches: Remove genl_family.resv_start_op
  patches: Adapt struct msi_desc reorganization
  patch: Adapt struct pcpu_sw_netstats change to u64_stats_t
  patch: bcma: Fill of_node instead of fwnode on older kernel
  header: Add dev_addr_mod()
  backports: Add devm_bitmap_zalloc()
  headr: Add empty dev_set_threaded()
  header: Add empty request_partial_firmware_into_buf()
  header: Add DEVICE_ATTR_ADMIN_RO
  backports: Add sysfs_emit_at()
  dependencies: Make CONFIG_R8188EU depend on 5.10
  header: Add linux/minmax.h
  header: Add pm_runtime_resume_and_get
  header: Add module.h include to firmware.h
  header Add SENSOR_DEVICE_ATTR_RO
  backports Add bitmap_alloc and bitmap_alloc
  dependencies: Deactivate mt76 driver on kernel < 4.19
  dependencies: MAC80211_HWSIM depends on 4.19
  patches: Remove additional DMI match in brcmfmac
  backports: Move  usb_check_bulk_endpoints to 6.4
  backports: Add usb_check_int_endpoints()
  github: Use kernel 6.1 in github action
  headers: Add timer_delete_sync()
  CI: Add gcc-12 to devcontainer

Johannes Berg (20):
  gentree: fix python quoting errors
  backports: bpgit: handle copied files properly in status()
  backports: add kthread.h
  backports: stub structs but remove ndo_fill_forward_path
  backports: add memset_after/memset_startat
  patches: add spatch to adjust to changed ethtool ringparam API
  backports: add linux/efi.h
  backports: add eth_hw_addr_set()
  backports: add module namespace support
  backports: add lockdep_is_held() when needed
  backports: add netif_rx()
  backports: add rfkill_soft_blocked()
  backports: add skb_list_del_init()
  backports: add skb_get_dsfield()
  backports: add NLA_POLICY_MIN_LEN()
  backports: add netlink length validation for 13
  backports: add mul_u64_u64_div_u64()
  backports: add thermal_zone_device_enable()
  backports: add virtio_reset_device
  patches: add build system workaround for pre 5.17

Luca Coelho (2):
  backport: implement NLA_POLICY_RANGE for NLA_BINARY
  backport: add dev_sw_netstats_tx/rx_add() functions

 .devcontainer/Dockerfile                      |    2 +-
 .github/workflows/create.yml                  |   12 +-
 backport/Makefile                             |    7 +-
 backport/Makefile.kernel                      |    5 +-
 .../backport-include/keys/asymmetric-type.h   |   35 -
 .../backport-include/keys/system_keyring.h    |   10 -
 backport/backport-include/linux/bitmap.h      |   28 +
 backport/backport-include/linux/device.h      |    5 +
 backport/backport-include/linux/efi.h         |   13 +
 backport/backport-include/linux/etherdevice.h |   35 +
 backport/backport-include/linux/export.h      |   12 +
 backport/backport-include/linux/firmware.h    |   16 +
 backport/backport-include/linux/hw_random.h   |   18 +
 backport/backport-include/linux/hwmon-sysfs.h |   15 +
 backport/backport-include/linux/kernel.h      |   18 +
 backport/backport-include/linux/key.h         |   66 -
 backport/backport-include/linux/kthread.h     |   13 +
 backport/backport-include/linux/lockdep.h     |    7 +
 backport/backport-include/linux/math64.h      |   11 +
 backport/backport-include/linux/minmax.h      |    7 +
 backport/backport-include/linux/mmc/core.h    |   26 +
 backport/backport-include/linux/module.h      |    4 +
 backport/backport-include/linux/netdevice.h   |  155 ++
 .../linux/platform_data/brcmnand.h            |    9 +
 backport/backport-include/linux/pm.h          |   30 +
 backport/backport-include/linux/pm_runtime.h  |   31 +
 backport/backport-include/linux/random.h      |   18 +
 backport/backport-include/linux/rfkill.h      |    9 +
 backport/backport-include/linux/skbuff.h      |   22 +-
 .../linux/soc/mediatek/mtk_wed.h              |   58 +
 backport/backport-include/linux/string.h      |   25 +
 backport/backport-include/linux/sysfs.h       |    9 +
 backport/backport-include/linux/tcp.h         |   14 +
 backport/backport-include/linux/thermal.h     |   12 +
 backport/backport-include/linux/timer.h       |   12 +
 backport/backport-include/linux/usb.h         |   16 +-
 .../backport-include/linux/verification.h     |   29 -
 backport/backport-include/linux/virtio.h      |   13 +
 backport/backport-include/net/inet_ecn.h      |   66 +
 backport/backport-include/net/netlink.h       |   34 +-
 .../backport-include/trace/trace_events.h     |   16 +
 backport/compat/Kconfig                       |   33 -
 backport/compat/Makefile                      |   31 +-
 backport/compat/backport-4.19.c               |   21 +
 backport/compat/backport-5.10.c               |   28 +
 backport/compat/backport-5.13.c               |   34 +
 backport/compat/backport-5.15.c               |   52 -
 backport/compat/backport-5.9.c                |   45 +
 backport/compat/backport-6.4.c                |   87 +
 backport/compat/verification/asn1parse.c      |  393 ---
 backport/compat/verification/bignum.c         | 2458 -----------------
 backport/compat/verification/key.c            |  172 --
 backport/compat/verification/mbedtls/asn1.h   |  342 ---
 backport/compat/verification/mbedtls/bignum.h |  760 -----
 backport/compat/verification/mbedtls/bn_mul.h |  887 ------
 backport/compat/verification/mbedtls/config.h |   15 -
 backport/compat/verification/mbedtls/md.h     |  354 ---
 .../compat/verification/mbedtls/md_internal.h |  116 -
 backport/compat/verification/mbedtls/oid.h    |  570 ----
 backport/compat/verification/mbedtls/pk.h     |  618 -----
 .../compat/verification/mbedtls/platform.h    |   12 -
 backport/compat/verification/mbedtls/rsa.h    |  672 -----
 backport/compat/verification/mbedtls/sha1.h   |  135 -
 backport/compat/verification/mbedtls/sha256.h |  140 -
 backport/compat/verification/md.c             |  471 ----
 backport/compat/verification/md_wrap.c        |  577 ----
 backport/compat/verification/oid.c            |  709 -----
 backport/compat/verification/pkcs7.asn1.c     |  355 ---
 backport/compat/verification/pkcs7.asn1.h     |   27 -
 backport/compat/verification/public_key.c     |  131 -
 backport/compat/verification/rsa.c            | 1872 -------------
 backport/compat/verification/rsapubkey.asn1.c |   38 -
 backport/compat/verification/rsapubkey.asn1.h |   15 -
 backport/compat/verification/sha256.c         |  458 ---
 backport/compat/verification/verify.c         |   65 -
 backport/compat/verification/x509.asn1.c      |  185 --
 backport/compat/verification/x509.asn1.h      |   23 -
 backport/compat/verification/x509_akid.asn1.c |  144 -
 backport/compat/verification/x509_akid.asn1.h |   15 -
 copy-list                                     |   27 -
 copy-list.hwsim                               |   27 -
 dependencies                                  |   23 +
 gentree.py                                    |   24 +-
 lib/bpgit.py                                  |    4 +-
 .../include_net_cfg80211.patch                |    2 +-
 .../net_wireless_core.patch                   |    2 +-
 .../net_wireless_core.patch                   |    4 +-
 patches/0013-fix-makefile-includes/mt76.patch |   10 -
 .../0013-fix-makefile-includes/rtw88.patch    |   22 -
 patches/0028-select_queue/mac80211.patch      |    4 +-
 patches/0028-select_queue/mwifiex.patch       |    2 +-
 patches/0028-select_queue/r8188eu.patch       |    2 +-
 patches/0089-unknown-dmi/brcmfmac.patch       |   16 +-
 patches/0089-unknown-dmi/mwifiex.patch        |    4 +-
 patches/0094-ndo-tx-timeout/usbnet.patch      |    2 +-
 patches/0095-spi-delay/wilc1000.patch         |    6 +-
 patches/0097-nla_policy_binary_range.cocci    |    5 +
 patches/0097-skb-list/mac80211-rx.patch       |   20 +-
 patches/0097-skb-list/mac80211-status.patch   |   14 +-
 patches/0097-skb-list/mt76.patch              |  150 -
 patches/0099-netlink-range/mac80211.patch     |   22 +-
 patches/0100-revert-small_ops/mac80211.patch  |    8 +-
 .../mac80211_hwsim.patch                      |    6 +-
 patches/0101-net_device-threaded/mt76.patch   |    6 +-
 patches/0104-mhi-reg-len.patch                |    2 +-
 ...05-remove-const-from-rchan_callbacks.patch |    2 +-
 patches/0106-ethtool-ringparam.cocci          |   45 +
 patches/0107-net-forward-path.cocci           |   19 +
 patches/0108-spi-probe.cocci                  |   27 +
 patches/0109-resv_start_op.cocci              |   10 +
 patches/0110-msi-pci.patch                    |   14 +
 patches/0111-pcpu_sw_netstats.patch           |   30 +
 patches/0111-wireless-build-unquote.patch     |   17 +
 patches/0112-gpio-fwnode.patch                |   14 +
 patches/lib-refcount.patch                    |    2 -
 patches/verify.patch                          |  101 -
 116 files changed, 1281 insertions(+), 13417 deletions(-)
 delete mode 100644 backport/backport-include/keys/asymmetric-type.h
 delete mode 100644 backport/backport-include/keys/system_keyring.h
 create mode 100644 backport/backport-include/linux/bitmap.h
 create mode 100644 backport/backport-include/linux/efi.h
 create mode 100644 backport/backport-include/linux/etherdevice.h
 create mode 100644 backport/backport-include/linux/export.h
 create mode 100644 backport/backport-include/linux/hw_random.h
 create mode 100644 backport/backport-include/linux/hwmon-sysfs.h
 create mode 100644 backport/backport-include/linux/kernel.h
 delete mode 100644 backport/backport-include/linux/key.h
 create mode 100644 backport/backport-include/linux/kthread.h
 create mode 100644 backport/backport-include/linux/math64.h
 create mode 100644 backport/backport-include/linux/minmax.h
 create mode 100644 backport/backport-include/linux/mmc/core.h
 create mode 100644 backport/backport-include/linux/platform_data/brcmnand.h
 create mode 100644 backport/backport-include/linux/pm_runtime.h
 create mode 100644 backport/backport-include/linux/random.h
 create mode 100644 backport/backport-include/linux/soc/mediatek/mtk_wed.h
 create mode 100644 backport/backport-include/linux/string.h
 create mode 100644 backport/backport-include/linux/tcp.h
 delete mode 100644 backport/backport-include/linux/verification.h
 create mode 100644 backport/backport-include/linux/virtio.h
 create mode 100644 backport/backport-include/net/inet_ecn.h
 create mode 100644 backport/backport-include/trace/trace_events.h
 create mode 100644 backport/compat/backport-4.19.c
 create mode 100644 backport/compat/backport-5.9.c
 create mode 100644 backport/compat/backport-6.4.c
 delete mode 100644 backport/compat/verification/asn1parse.c
 delete mode 100644 backport/compat/verification/bignum.c
 delete mode 100644 backport/compat/verification/key.c
 delete mode 100644 backport/compat/verification/mbedtls/asn1.h
 delete mode 100644 backport/compat/verification/mbedtls/bignum.h
 delete mode 100644 backport/compat/verification/mbedtls/bn_mul.h
 delete mode 100644 backport/compat/verification/mbedtls/config.h
 delete mode 100644 backport/compat/verification/mbedtls/md.h
 delete mode 100644 backport/compat/verification/mbedtls/md_internal.h
 delete mode 100644 backport/compat/verification/mbedtls/oid.h
 delete mode 100644 backport/compat/verification/mbedtls/pk.h
 delete mode 100644 backport/compat/verification/mbedtls/platform.h
 delete mode 100644 backport/compat/verification/mbedtls/rsa.h
 delete mode 100644 backport/compat/verification/mbedtls/sha1.h
 delete mode 100644 backport/compat/verification/mbedtls/sha256.h
 delete mode 100644 backport/compat/verification/md.c
 delete mode 100644 backport/compat/verification/md_wrap.c
 delete mode 100644 backport/compat/verification/oid.c
 delete mode 100644 backport/compat/verification/pkcs7.asn1.c
 delete mode 100644 backport/compat/verification/pkcs7.asn1.h
 delete mode 100644 backport/compat/verification/public_key.c
 delete mode 100644 backport/compat/verification/rsa.c
 delete mode 100644 backport/compat/verification/rsapubkey.asn1.c
 delete mode 100644 backport/compat/verification/rsapubkey.asn1.h
 delete mode 100644 backport/compat/verification/sha256.c
 delete mode 100644 backport/compat/verification/verify.c
 delete mode 100644 backport/compat/verification/x509.asn1.c
 delete mode 100644 backport/compat/verification/x509.asn1.h
 delete mode 100644 backport/compat/verification/x509_akid.asn1.c
 delete mode 100644 backport/compat/verification/x509_akid.asn1.h
 delete mode 100644 patches/0013-fix-makefile-includes/rtw88.patch
 create mode 100644 patches/0097-nla_policy_binary_range.cocci
 delete mode 100644 patches/0097-skb-list/mt76.patch
 create mode 100644 patches/0106-ethtool-ringparam.cocci
 create mode 100644 patches/0107-net-forward-path.cocci
 create mode 100644 patches/0108-spi-probe.cocci
 create mode 100644 patches/0109-resv_start_op.cocci
 create mode 100644 patches/0110-msi-pci.patch
 create mode 100644 patches/0111-pcpu_sw_netstats.patch
 create mode 100644 patches/0111-wireless-build-unquote.patch
 create mode 100644 patches/0112-gpio-fwnode.patch
 delete mode 100644 patches/verify.patch