Merge tag 'android12-5.4.289_r00' into android12-5.4

This merges the android12-5.4.289_r00 tag into the android12-5.4 branch,
catching it up with the latest LTS releases.

It contains the following commits:

* f642df305db8 Revert "netfilter: Replace zero-length array with flexible-array member"
* 29e7ab154a50 Revert "tracing: Constify string literal data member in struct trace_event_call"
* 9837adaf7c9d Revert "skb_expand_head() adjust skb->truesize incorrectly"
*   4ca8db05df1f Merge 5.4.289 into android12-5.4-lts
|\
| * 7f0e075be121 Linux 5.4.289
| * 177516053eae ftrace: use preempt_enable/disable notrace macros to avoid double fault
| * 66cd37660ec3 mm: vmscan: account for free pages to prevent infinite Loop in throttle_direct_reclaim()
| * bad27f62d8f7 drm: adv7511: Drop dsi single lane support
| * 94b7ed0a4896 net/sctp: Prevent autoclose integer overflow in sctp_association_init()
| * 9efc2a85ed4f sky2: Add device ID 11ab:4373 for Marvell 88E8075
| * 788d9e9a41b8 pinctrl: mcp23s08: Fix sleeping in atomic context due to regmap locking
| * c57721b24bd8 RDMA/uverbs: Prevent integer overflow issue
| * 213305a1cbe9 modpost: fix the missed iteration for the max bit in do_input()
| * f072e436970f modpost: fix input MODULE_DEVICE_TABLE() built for 64-bit on 32-bit host
| * 61034786290f ARC: build: Try to guess GCC variant of cross compiler
| * 512929f11509 irqchip/gic: Correct declaration of *percpu_base pointer in union gic_base
| * 520e02b7fe5d net: usb: qmi_wwan: add Telit FE910C04 compositions
| * f960a6b5d9bc bpf: fix potential error return
| * 892949259442 sound: usb: format: don't warn that raw DSD is unsupported
| * 155f6a7e0a13 wifi: mac80211: wake the queues in case of failure in resume
| * 1638f430f890 ila: serialize calls to nf_register_net_hooks()
| * 560cbdd26b51 af_packet: fix vlan_get_protocol_dgram() vs MSG_PEEK
| * 66ffb0cf2125 af_packet: fix vlan_get_tci() vs MSG_PEEK
| * 7b91cd2a43de ALSA: usb-audio: US16x08: Initialize array before use
| * 6889d622b193 net: llc: reset skb->transport_header
| * 352f8eaaabd0 netfilter: nft_set_hash: unaligned atomic read on struct nft_set_ext
| * 9857e028d420 netfilter: Replace zero-length array with flexible-array member
| * 64e9f54a14f2 netrom: check buffer length before accessing it
| * 53425075fb1e drm/bridge: adv7511_audio: Update Audio InfoFrame properly
| * 6ffd9a346fcd drm: bridge: adv7511: Enable SPDIF DAI
| * eea3fbfcbd27 RDMA/bnxt_re: Fix max_qp_wrs reported
| * cddb0c59fc82 RDMA/bnxt_re: Fix reporting hw_ver in query_device
| * 1dcf5cb17db9 RDMA/bnxt_re: Add check for path mtu in modify_qp
| * 4e726e6b5f62 RDMA/mlx5: Enforce same type port association for multiport RoCE
| * 63e7bc726190 net/mlx5: Make API mlx5_core_is_ecpf accept const pointer
| * bb92b36156a5 IB/mlx5: Introduce and use mlx5_core_is_vf()
| * f091a224a2c8 Drivers: hv: util: Avoid accessing a ringbuffer not initialized yet
| * f45a77dd24ae selinux: ignore unknown extended permissions
| * b3a3d5333c13 ipv6: prevent possible UAF in ip6_xmit()
| * 43e7958cf7c1 skb_expand_head() adjust skb->truesize incorrectly
| * 3d770d44dd5c btrfs: avoid monopolizing a core when activating a swap file
| * 30080cdde63e tracing: Constify string literal data member in struct trace_event_call
| * 078f7e152144 bpf: fix recursive lock when verdict program return SK_PASS
| * ae8512e93f4c ipv6: fix possible UAF in ip6_finish_output2()
| * 81d626b00bdb ipv6: use skb_expand_head in ip6_xmit
| * 1598154fd28f ipv6: use skb_expand_head in ip6_finish_output2
| * 7e13e59bf64f skbuff: introduce skb_expand_head()
| * 0d1a6cd2d73f MIPS: Probe toolchain support of -msym32
| * 59a9c2a351c9 epoll: Add synchronous wakeup support for ep_poll_callback
| * d738f3215bb4 virtio-blk: don't keep queue frozen during system suspend
| * 4ed6d56e8592 scsi: mpt3sas: Diag-Reset when Doorbell-In-Use bit is set during driver load time
| * 436df0cfe819 platform/x86: asus-nb-wmi: Ignore unknown event 0xCF
| * c2dae50ddb0e regmap: Use correct format specifier for logging range errors
| * 78afb9bfad00 scsi: megaraid_sas: Fix for a potential deadlock
| * de349d23828e scsi: qla1280: Fix hw revision numbering for ISP1020/1040
| * 0146a07f95a2 tracing/kprobe: Make trace_kprobe's module callback called after jump_label update
| * ca9818554b0f mtd: rawnand: fix double free in atmel_pmecc_create_user()
| * 3d229600c54e dmaengine: at_xdmac: avoid null_prt_deref in at_xdmac_prep_dma_memset
| * 3e351d02799b dmaengine: mv_xor: fix child node refcount handling in early exit
| * 677e77d2b5c7 phy: core: Fix that API devm_phy_destroy() fails to destroy the phy
| * ce14e466d54c phy: core: Fix that API devm_phy_put() fails to release the phy
| * 696bb5ec8e46 phy: core: Fix an OF node refcount leakage in of_phy_provider_lookup()
| * 99ac4a47a064 phy: core: Fix an OF node refcount leakage in _of_phy_get()
| * 63055e47cf16 mtd: diskonchip: Cast an operand to prevent potential overflow
| * aa577b51d593 nfsd: restore callback functionality for NFSv4.0
| * 06f6b1717c02 bpf: Check negative offsets in __bpf_skb_min_len()
| * 035772fcd631 media: dvb-frontends: dib3000mb: fix uninit-value in dib3000_write_reg
| * f15dec32fbdf of: Fix refcount leakage for OF node returned by __of_get_dma_parent()
| * 24937f999b03 of: Fix error path in of_parse_phandle_with_args_map()
| * cb70f37c103d udmabuf: also check for F_SEAL_FUTURE_WRITE
| * 55e4baa0d32f nilfs2: prevent use of deleted inode
| * 353e49dd5d7f of/irq: Fix using uninitialized variable @addr_len in API of_irq_parse_one()
| * 40c6a6b6bd60 NFS/pnfs: Fix a live lock between recalled layouts and layoutget
| * 703388839b42 btrfs: tree-checker: reject inline extent items with 0 ref count
| * 9202cc7852e5 zram: refuse to use zero sized block device as backing device
| * fa6f0fbb1c77 sh: clk: Fix clk_enable() to return 0 on NULL clk
| * a36572118c77 USB: serial: option: add Telit FE910C04 rmnet compositions
| * dfe21fb44e8b USB: serial: option: add MediaTek T7XX compositions
| * e3374308d2fa USB: serial: option: add Netprisma LCUK54 modules for WWAN Ready
| * dafbc0d826a5 USB: serial: option: add MeiG Smart SLM770A
| * a678147a6b5f USB: serial: option: add TCL IK512 MBIM & ECM
| * dbb8df1d30b5 efivarfs: Fix error on non-existent file
| * e0620214411a i2c: riic: Always round-up when calculating bus period
| * 8e9f1f405a25 chelsio/chtls: prevent potential integer overflow on 32bit
| * 4b794b6e593d mmc: sdhci-tegra: Remove SDHCI_QUIRK_BROKEN_ADMA_ZEROLEN_DESC quirk
| * f89fae2cd20c netfilter: ipset: Fix for recursive locking warning
| * cb743fe15991 net: ethernet: bgmac-platform: fix an OF node reference leak
| * 5fcc7e6643c3 net: hinic: Fix cleanup in create_rxqs/txqs()
| * fe65c3e36a81 ionic: use ee->offset when returning sprom data
| * c9d5f2776cfb net/smc: check sndbuf_space again after NOSPACE flag is set in smc_poll
| * 70a727901d82 erofs: fix incorrect symlink detection in fast symlink
| * 17a0cdbd7b0c erofs: fix order >= MAX_ORDER warning due to crafted negative i_size
| * 0430f13291f7 drm/i915: Fix memory leak by correcting cache object name in error handler
| * e00e6283e98e i2c: pnx: Fix timeout in wait functions
| * 7d7fed7f2a57 PCI: Add ACS quirk for Broadcom BCM5760X NIC
| * 8f9e9c8d08cc ALSA: usb: Fix UBSAN warning in parse_audio_unit()
| * d41fcaa12a5d PCI/AER: Disable AER service on suspend
| * f413230a1ff1 usb: dwc2: gadget: Don't write invalid mapped sg entries into dma_desc with iommu enabled
| * 44782565e1e6 net: sched: fix ordering of qlen adjustment
* | 09ca9ec4235b Merge 5.4.288 into android12-5.4-lts
|\|
| * e0646975af89 Linux 5.4.288
| * 1102fb2aa465 ALSA: usb-audio: Fix a DMA to stack memory bug
| * 20f7f0cf7af5 xen/netfront: fix crash when removing device
| * 20df02cb9865 tracing/kprobes: Skip symbol counting logic for module symbols in create_local_trace_kprobe()
| * fb5b4d675d54 KVM: arm64: Ignore PMCNTENSET_EL0 while checking for overflow status
| * 2870cd0286ec blk-iocost: Avoid using clamp() on inuse in __propagate_weights()
| * a3b64f8ac1f9 blk-iocost: fix weight updates of inner active iocgs
| * 24075e3895ff blk-iocost: clamp inuse and skip noops in __propagate_weights()
| * 8c29e7ece60f ACPICA: events/evxfregn: don't release the ContextMutex that was never acquired
| * 83c6ab12f08d net/sched: netem: account for backlog updates from child qdisc
| * 26a5f515efbf qca_spi: Make driver probing reliable
| * f07818a854ee qca_spi: Fix clock speed for multiple QCA7000
| * 0e7585572a09 ACPI: resource: Fix memory resource type union access
| * 3aa2ef7ffd04 net: lapb: increase LAPB_HEADER_LEN
| * d1d4dfb189a1 tipc: fix NULL deref in cleanup_bearer()
| * 89d94cf7a77b batman-adv: Do not let TT changes list grows indefinitely
| * 0d2fbae5f57e batman-adv: Remove uninitialized data in full table TT response
| * 860e7339820e batman-adv: Do not send uninitialized TT changes
| * 1b0d7e51ac67 bpf, sockmap: Fix update element with same
| * 05204831779e xfs: don't drop errno values when we fail to ficlone the entire range
| * 4efdfdc32d8d usb: gadget: u_serial: Fix the issue that gs_start_io crashed due to accessing null pointer
| * 357219c16f52 usb: ehci-hcd: fix call balance of clocks handling routines
| * 2da6e4d35dff usb: dwc2: hcd: Fix GetPortStatus & SetPortFeature
| * efd985332eb7 ata: sata_highbank: fix OF node reference leak in highbank_initialize_phys()
| * d4b2afe2fa68 usb: host: max3421-hcd: Correctly abort a USB request.
* | 3303ebcca6e1 Revert "cgroup: Make operations on the cgroup root_list RCU safe"
* | 90730ca4547a Revert "cgroup: Move rcu_head up near the top of cgroup_root"
* | fa8ad93e6baa Merge 5.4.287 into android12-5.4-lts
|/
* 6708005a36cf Linux 5.4.287
* 7eb794e1a978 bpf, xdp: Update devmap comments to reflect napi/rcu usage
* a632bdcb359f ALSA: usb-audio: Fix out of bounds reads when finding clock sources
* 4fed24bf454c PCI: rockchip-ep: Fix address translation unit programming
* e0e1cde240f1 Revert "drm/amdgpu: add missing size check in amdgpu_debugfs_gprwave_read()"
* 42c5ed52525b modpost: Add .irqentry.text to OTHER_SECTIONS
* 89236868a13c ocfs2: Revert "ocfs2: fix the la space leak when unmounting an ocfs2 volume"
* 54832216f179 jffs2: Fix rtime decompressor
* 421f9e9f0fae jffs2: Prevent rtime decompress memory corruption
* 4098c940972a KVM: arm64: vgic-its: Clear ITE when DISCARD frees an ITE
* 0ba044be2bb9 KVM: arm64: vgic-its: Clear DTE when MAPD unmaps a device
* 3c6c631f28b8 KVM: arm64: vgic-its: Add a data length check in vgic_its_save_*
* c0978ecb2883 perf/x86/intel/pt: Fix buffer full but size is 0 case
* 119f470a311e Revert "unicode: Don't special case ignorable code points"
* 0f170e91d306 bpf: fix OOB devmap writes when deleting elements
* 8b69c887f141 xdp: Simplify devmap cleanup
* 9ab3a1aaa545 misc: eeprom: eeprom_93cx6: Add quirk for extra read clock cycle
* 0b94d838018f powerpc/prom_init: Fixup missing powermac #size-cells
* e99a36ed0ccf usb: chipidea: udc: handle USB Error Interrupt if IOC not set
* 9a2173660ee5 i3c: Use i3cdev->desc->info instead of calling i3c_device_get_info() to avoid deadlock
* 44c73d8f4f76 PCI: Add ACS quirk for Wangxun FF5xxx NICs
* 88da5d46b60d PCI: Add 'reset_subordinate' to reset hierarchy below bridge
* ac8aaf78bd03 f2fs: fix f2fs_bug_on when uninstalling filesystem call f2fs_evict_inode.
* 77ae53c49084 nvdimm: rectify the illogical code within nd_dax_probe()
* 61b32d4af763 pinctrl: qcom-pmic-gpio: add support for PM8937
* 631c1e6b685b scsi: st: Add MTIOCGET and MTLOAD to ioctls allowed after device reset
* e6e6045f86b5 scsi: st: Don't modify unknown block number in MTIOCGET
* 84b42d5b5fcd leds: class: Protect brightness_show() with led_cdev->led_access mutex
* c67aeff2894c tracing: Use atomic64_inc_return() in trace_clock_counter()
* 383833f04cb9 netpoll: Use rcu_access_pointer() in __netpoll_setup
* 6978e400bf90 net/neighbor: clear error in case strict check is not set
* cf0d36cf0058 rocker: fix link status detection in rocker_carrier_init()
* 97ecf3dbdd5b ASoC: hdmi-codec: reorder channel allocation list
* 802216bc7b93 Bluetooth: btusb: Add RTL8852BE device 0489:e123 to device tables
* 342f87d26346 wifi: brcmfmac: Fix oops due to NULL pointer dereference in brcmf_sdiod_sglist_rw()
* d336bf86802e wifi: ipw2x00: libipw_rx_any(): fix bad alignment
* b5807a08954f drm/amdgpu: set the right AMDGPU sg segment limitation
* b15000bcbecf jfs: add a check to prevent array-index-out-of-bounds in dbAdjTree
* b62f41aeec9d jfs: fix array-index-out-of-bounds in jfs_readdir
* bbb24ce7f06e jfs: fix shift-out-of-bounds in dbSplit
* 25f1e673ef61 jfs: array-index-out-of-bounds fix in dtReadFirst
* 685ee05004a5 wifi: ath5k: add PCI ID for Arcadyan devices
* b10be8427268 wifi: ath5k: add PCI ID for SX76X
* f2709d1271cf net: inet6: do not leave a dangling sk pointer in inet6_create()
* f8a3f255f750 net: inet: do not leave a dangling sk pointer in inet_create()
* 1d5fe782c0ff net: ieee802154: do not leave a dangling sk pointer in ieee802154_create()
* 884ae8bcee74 net: af_can: do not leave a dangling sk pointer in can_create()
* f6ad641646b6 Bluetooth: L2CAP: do not leave dangling sk pointer on error in l2cap_sock_create()
* 71b22837a5e5 af_packet: avoid erroring out after sock_init_data() in packet_create()
* 4803d81373ae net/sched: cbs: Fix integer overflow in cbs_set_port_rate()
* fb5b3a35c6cb net: ethernet: fs_enet: Use %pa to format resource_size_t
* e0e2dabcf05e net: fec_mpc52xx_phy: Use %pa to format resource_size_t
* c2c01ee592f7 samples/bpf: Fix a resource leak
* cb8ae56d73f2 drm/radeon/r600_cs: Fix possible int overflow in r600_packet3_check()
* 4c245d6d19f9 drm/mcde: Enable module autoloading
* 920c9149bde1 drm: panel-orientation-quirks: Add quirk for AYA NEO 2 model
* 30af4d984552 media: cx231xx: Add support for Dexatek USB Video Grabber 1d19:6108
* a6ba781b0bbf media: uvcvideo: Add a quirk for the Kaiweets KTI-W02 infrared camera
* 238e3af849df s390/cpum_sf: Handle CPU hotplug remove during sampling
* 4eb49404de26 mmc: core: Further prevent card detect during shutdown
* f44895aa1131 regmap: detach regmap from dev on regmap_exit
* 83df6a591a55 dma-buf: fix dma_fence_array_signaled v4
* 4379c5828492 bcache: revert replacing IS_ERR_OR_NULL with IS_ERR again
* 09d6d05579fd nilfs2: fix potential out-of-bounds memory access in nilfs_find_entry()
* 0bdf3905cda7 scsi: qla2xxx: Remove check req_sg_cnt should be equal to rsp_sg_cnt
* ad7556f1b8a7 scsi: qla2xxx: Supported speed displayed incorrectly for VPorts
* 541236f95aef scsi: qla2xxx: Fix NVMe and NPIV connect issue
* 4f394bf4990d ocfs2: update seq_file index in ocfs2_dlm_seq_next
* a1c78bcc7037 tracing: Fix cmp_entries_dup() to respect sort() comparison rules
* d031eef3cc2e HID: wacom: fix when get product name maybe null pointer
* f247471e3a59 bpf: Fix exact match conditions in trie_get_next_key()
* 50e06cbb6025 bpf: Handle BPF_EXIST and BPF_NOEXIST for LPM trie
* 911fcc95b530 ocfs2: free inode when ocfs2_get_init_inode() fails
* d0cde3911cf2 spi: mpc52xx: Add cancel_work_sync before module remove
* 905d82e6e77d tcp_bpf: Fix the sk_mem_uncharge logic in tcp_bpf_sendmsg
* 079484a92812 drm/sti: Add __iomem for mixer_dbg_mxn's parameter
* 53ff0caa6ad5 gpio: grgpio: Add NULL check in grgpio_probe
* c2d1bc416343 gpio: grgpio: use a helper variable to store the address of ofdev->dev
* eb30e6b51a4f crypto: x86/aegis128 - access 32-bit arguments as 32-bit
* 7475e4720062 x86/asm: Reorder early variables
* 87106169b4ce xen: Fix the issue of resource not being properly released in xenbus_dev_probe()
* 1c264dd64302 xen/xenbus: fix locking
* 7c138d1284d8 xenbus/backend: Protect xenbus callback with lock
* bae18180aad2 xenbus/backend: Add memory pressure handler callback
* 892ad83f205f xen/xenbus: reference count registered modules
* 98d62cf0e263 netfilter: nft_set_hash: skip duplicated elements pending gc run
* e5e2d3024753 netfilter: ipset: Hold module reference while requesting a module
* 4458046617df igb: Fix potential invalid memory access in igb_init_module()
* 5cabe42eadab net/qed: allow old cards not supporting "num_images" to work
* 4e69457f9dfa tipc: Fix use-after-free of kernel socket in cleanup_bearer().
* bd09e2482d37 tipc: add new AEAD key structure for user API
* 0b8f0026bbd4 tipc: enable creating a "preliminary" node
* 6b7fbc30ec69 tipc: add reference counter to bearer
* 623be080ab3c dccp: Fix memory leak in dccp_feat_change_recv
* a95808252e8a net/ipv6: release expired exception dst cached in socket
* 224e606a8d8e can: j1939: j1939_session_new(): fix skb reference counting
* dfc2e5802842 net/sched: tbf: correct backlog statistic for GSO packets
* 147a42bb02de netfilter: x_tables: fix LED ID check in led_tg_check()
* 31d1ddc1ce8e ipvs: fix UB due to uninitialized stack access in ip_vs_protocol_init()
* 9c6c2d0d4368 can: sun4i_can: sun4i_can_err(): fix {rx,tx}_errors statistics
* f8138cba7bf7 can: sun4i_can: sun4i_can_err(): call can_change_state() even if cf is NULL
* 5ba0a19a6fe1 watchdog: mediatek: Make sure system reset gets asserted in mtk_wdt_restart()
* b46708705330 iTCO_wdt: mask NMI_NOW bit for update_no_reboot_bit() call
* f145c9924c8a drm/etnaviv: flush shader L1 cache after user commandstream
* a85364f0d30d nfsd: fix nfs4_openowner leak when concurrent nfsd4_open occur
* e2fa0d0e3272 nfsd: make sure exp active before svc_export_show
* c470d6194f94 dm thin: Add missing destroy_work_on_stack()
* c2f0ce241154 i3c: master: Fix miss free init_dyn_addr at i3c_master_put_i3c_addrs()
* 7cd787499d4a util_macros.h: fix/rework find_closest() macros
* 18fb33df1de8 ad7780: fix division by zero in ad7780_write_raw()
* a42d050d07b8 clk: qcom: gcc-qcs404: fix initial rate of GPLL3
* 43ca32ce1288 ftrace: Fix regression with module command in stack_trace_filter
* f9248e2f73fb ovl: Filter invalid inodes with missing lookup function
* cf642904be39 media: platform: allegro-dvt: Fix possible memory leak in allocate_buffers_internal()
* 6ef14ba50a17 media: gspca: ov534-ov772x: Fix off-by-one error in set_frame_rate()
* 214db0ab9689 media: venus: Fix pm_runtime_set_suspended() with runtime pm enabled
* ced1c04e82e3 media: ts2020: fix null-ptr-deref in ts2020_probe()
* 13193a97ddd5 media: i2c: tc358743: Fix crash in the probe error path when using polling
* dfb9fe7de61f btrfs: ref-verify: fix use-after-free after invalid ref action
* a5abba5e0e58 quota: flush quota_release_work upon quota writeback
* 21fd6b2f0e74 ASoC: fsl_micfil: fix the naming style for mask definition
* d8de818df12d sh: intc: Fix use-after-free bug in register_intc_controller()
* cc91d59d34ff sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reset transport
* e89ac7036166 SUNRPC: Replace internal use of SOCKWQ_ASYNC_NOSPACE
* 768df674c529 SUNRPC: correct error code comment in xs_tcp_setup_socket()
* 3c5c4d121641 modpost: remove incorrect code in do_eisa_entry()
* 4c54ffc23bce rtc: ab-eoz9: don't fail temperature reads on undervoltage notification
* d74b4b297097 9p/xen: fix release of IRQ
* be216f99df82 9p/xen: fix init sequence
* 847d94e60e3c block: return unsigned int from bdev_io_min
* f4f31bd51ec8 jffs2: fix use of uninitialized variable
* daac4aa1825d ubifs: authentication: Fix use-after-free in ubifs_tnc_end_commit
* 871c148f8e0c ubi: fastmap: Fix duplicate slab cache names while attaching
* f1f685b3ddb7 ubifs: Correct the total block count by deducting journal reservation
* 44b3257ff705 rtc: check if __rtc_read_time was successful in rtc_timer_do_work()
* 1a7d4c093bcf rtc: abx80x: Fix WDT bit position of the status register
* 0bce88e06564 rtc: st-lpc: Use IRQF_NO_AUTOEN flag in request_irq()
* 7bf6bf130af8 NFSv4.0: Fix a use-after-free problem in the asynchronous open()
* 9e497ef3a6cf um: Always dump trace for specified task in show_stack
* 115e3e51b14a um: Clean up stacktrace dump
* abf08999d994 um: add show_stack_loglvl()
* 3103837c507e um/sysrq: remove needless variable sp
* ea8b2f3718db um: Fix the return value of elf_core_copy_task_fpregs
* 5c710f45811e um: Fix potential integer overflow during physmem setup
* 5398de330ca4 rpmsg: glink: Propagate TX failures in intentless mode as well
* e9be26735d05 SUNRPC: make sure cache entry active before cache_show
* 90adbae9dd15 NFSD: Prevent a potential integer overflow
* af1db93c9481 lib: string_helpers: silence snprintf() output truncation warning
* a70316b52ee6 usb: dwc3: gadget: Fix checking for number of TRBs left
* 2a9cbaeb4ca2 ALSA: hda/realtek: Apply quirk for Medion E15433
* 7f57353abcbb ALSA: hda/realtek: Fix Internal Speaker and Mic boost of Infinix Y4 Max
* 937a94c97797 ALSA: hda/realtek: Set PCBeep to default value for ALC274
* 2be4e4fe8841 ALSA: hda/realtek: Update ALC225 depop procedure
* 3c818ad07e96 media: wl128x: Fix atomicity violation in fmc_send_cmd()
* c8e5e170d97a HID: wacom: Interpret tilt data from Intuos Pro BT as signed values
* 383455a9aa8b block: fix ordering between checking BLK_MQ_S_STOPPED request adding
* 25ace006e994 arm64: tls: Fix context-switching of tpidrro_el0 when kpti is enabled
* f8f26cf69003 sh: cpuinfo: Fix a warning for CONFIG_CPUMASK_OFFSTACK
* 376c7f0beb8f um: vector: Do not use drvdata in release
* 7b5e40abd1ba serial: 8250: omap: Move pm_runtime_get_sync
* 8d9d174d3f55 um: net: Do not use drvdata in release
* 300e277e463e um: ubd: Do not use drvdata in release
* 7cf819ea3774 ubi: wl: Put source PEB into correct list if trying locking LEB failed
* 2afe950e498e spi: Fix acpi deferred irq probe
* 78b0f2028f10 netfilter: ipset: add missing range check in bitmap_ip_uadt
* 2d64a005baa7 Revert "serial: sh-sci: Clean sci_ports[0] after at earlycon exit"
* 0fd14b63fad1 serial: sh-sci: Clean sci_ports[0] after at earlycon exit
* eff104b29c08 Revert "usb: gadget: composite: fix OS descriptors w_value logic"
* 37fb0fd3fbef Bluetooth: Fix type of len in rfcomm_sock_getsockopt{,_old}()
* 1ebbcaf0d512 tty: ldsic: fix tty_ldisc_autoload sysctl's proc_handler
* 57f048c2d205 comedi: Flush partial mappings in error case
* d0ddd2c92b75 PCI: Fix use-after-free of slot->bus on hot remove
* 02ca7b602784 ASoC: codecs: Fix atomicity violation in snd_soc_component_get_drvdata()
* 6e39b681d1eb jfs: xattr: check invalid xattr size more strictly
* dc331ed4ccea ext4: fix FS_IOC_GETFSMAP handling
* 56b8416193f3 ext4: supress data-race warnings in ext4_free_inodes_{count,set}()
* 9b8460a2a7ce ALSA: usb-audio: Fix potential out-of-bound accesses for Extigy and Mbox devices
* f7b0952a700a soc: qcom: socinfo: fix revision check in qcom_socinfo_probe()
* 047f0ee8b572 cgroup: Move rcu_head up near the top of cgroup_root
* 92f6ebead85f cgroup: Make operations on the cgroup root_list RCU safe
* a35767ab8098 usb: ehci-spear: fix call balance of sehci clk handling routines
* 2c312ab8f2ea apparmor: fix 'Do simple duplicate message elimination'
* d6de1aaa0fb9 staging: greybus: uart: clean up TIOCGSERIAL
* aabb00874ac8 misc: apds990x: Fix missing pm_runtime_disable()
* 7aacc236082f USB: chaoskey: Fix possible deadlock chaoskey_list_lock
* a6b88ed51e4e USB: chaoskey: fail open after removal
* bcb28ed2e1bd usb: yurex: make waiting on yurex_write interruptible
* 516e667442ed usb: using mutex lock and supporting O_NONBLOCK flag in iowarrior_read()
* b4ccc582ef95 ipmr: fix tables suspicious RCU usage
* 59be0c8afc48 ipmr: convert /proc handlers to rcu_read_lock()
* 5743a2db4665 net: stmmac: dwmac-socfpga: Set RX watchdog interrupt as broken
* 9be33a1eb05a marvell: pxa168_eth: fix call balance of pep->clk handling routines
* d720e8ccc2ef net: usb: lan78xx: Fix refcounting and autosuspend on invalid WoL configuration
* 1604c6d4408e tg3: Set coherent DMA mask bits to 31 for BCM57766 chipsets
* 7b99620a9f7e net: usb: lan78xx: Fix memory leak on device unplug by freeing PHY device
* c423afa17003 power: supply: core: Remove might_sleep() from power_supply_put()
* 7d121f66b679 vfio/pci: Properly hide first-in-list PCIe extended capability
* d68d5f63b62c NFSD: Fix nfsd4_shutdown_copy()
* c6dc01d04c3b NFSD: Cap the number of bytes copied by nfs4_reset_recoverydir()
* cac1405e3ff6 NFSD: Prevent NULL dereference in nfsd4_process_cb_update()
* 68c3b7cdefa6 rpmsg: glink: use only lower 16-bits of param2 for CMD_OPEN name length
* 83f8eb328047 rpmsg: glink: Fix GLINK command prefix
* 6094d8c3d27e rpmsg: glink: Send READ_NOTIFY command in FIFO full case
* 4e318b935d2f rpmsg: glink: Add TX_DATA_CONT command while sending
* 82137bab8017 perf trace: Avoid garbage when not printing a syscall's arguments
* e2956feece2c perf trace: Do not lose last events in a race
* 7a78e2865a59 m68k: coldfire/device.c: only build FEC when HW macros are defined
* 32d587a5389c m68k: mcfgpio: Fix incorrect register offset for CONFIG_M5441x
* 5ad6ca7662ea PCI: cpqphp: Fix PCIBIOS_* return value confusion
* d8392686adac PCI: cpqphp: Use PCI_POSSIBLE_ERROR() to check config reads
* 25b338db0c2b perf probe: Correct demangled symbols in C++ program
* 1ed167325c32 perf cs-etm: Don't flush when packet_queue fills up
* b106f718fc59 clk: clk-axi-clkgen: make sure to enable the AXI bus clock
* 31fe8bc84bf2 clk: axi-clkgen: use devm_platform_ioremap_resource() short-hand
* 17aad93e2bea dt-bindings: clock: axi-clkgen: include AXI clk
* 80d2319709eb dt-bindings: clock: adi,axi-clkgen: convert old binding to yaml format
* d48cbfa90dce fbdev: sh7760fb: Fix a possible memory leak in sh7760fb_alloc_mem()
* dd3a6d5441c6 fbdev/sh7760fb: Alloc DMA memory from hardware device
* 1403e7b10c21 powerpc/sstep: make emulate_vsx_load and emulate_vsx_store static
* f4078ef38d31 ocfs2: fix uninitialized value in ocfs2_file_read_iter()
* eaf92fad1f21 scsi: qedi: Fix a possible memory leak in qedi_alloc_and_init_sb()
* 97384449ddfc scsi: qedf: Fix a possible memory leak in qedf_alloc_and_init_sb()
* c7da99b2d472 scsi: fusion: Remove unused variable 'rc'
* 3932c753f805 scsi: bfa: Fix use-after-free in bfad_im_module_exit()
* 5ea4b832b53b mfd: rt5033: Fix missing regmap_del_irq_chip()
* 171bb5aefce5 RDMA/bnxt_re: Check cqe flags to know imm_data vs inv_irkey
* 22fbbc37edb8 mtd: rawnand: atmel: Fix possible memory leak
* b3617ac6aa9a cpufreq: loongson2: Unregister platform_driver on failure
* 6ea17c03edc7 mfd: intel_soc_pmic_bxtwc: Use IRQ domain for PMIC devices
* b7c7c400de85 mfd: intel_soc_pmic_bxtwc: Use IRQ domain for TMU device
* 0997e77c5133 mfd: intel_soc_pmic_bxtwc: Use IRQ domain for USB Type-C device
* 851f94e403ee mfd: intel_soc_pmic_bxtwc: Use dev_err_probe()
* a4eb13644d52 mfd: da9052-spi: Change read-mask to write-mask
* 321d24f9a53b mfd: tps65010: Use IRQF_NO_AUTOEN flag in request_irq() to fix race
* 7022d187cb03 powerpc/vdso: Flag VDSO64 entry points as functions
* 598b15672220 trace/trace_event_perf: remove duplicate samples on the first tracepoint event
* 85cf038c396d netpoll: Use rcu_access_pointer() in netpoll_poll_lock
* 273eec23467d ALSA: 6fire: Release resources at card release
* ebad462eec93 ALSA: caiaq: Use snd_card_free_when_closed() at disconnection
* 75f418b249d8 ALSA: us122l: Use snd_card_free_when_closed() at disconnection
* 71d55e19fe54 net: rfkill: gpio: Add check for clk_enable()
* cb158d79b19c selftests: net: really check for bg process completion
* 3d106b2f9f32 bpf, sockmap: Fix sk_msg_reset_curr
* d3f5763b3062 bpf, sockmap: Several fixes to bpf_msg_pop_data
* 962932ee621a bpf, sockmap: Several fixes to bpf_msg_push_data
* 2cc97daab5be drm/etnaviv: hold GPU lock across perfmon sampling
* b8132704a6fc drm/etnaviv: fix power register offset on GC300
* b8777d076ee4 drm/etnaviv: dump: fix sparse warnings
* 41c7200d6642 drm/msm/adreno: Use IRQF_NO_AUTOEN flag in request_irq()
* 8b49ea3418a6 drm/panfrost: Remove unused id_mask from struct panfrost_model
* 1de0ca1d7320 wifi: mwifiex: Fix memcpy() field-spanning write warning in mwifiex_config_scan()
* de94dc8a1f47 bpf: Fix the xdp_adjust_tail sample prog issue
* 7913bf6f8c85 ASoC: fsl_micfil: fix regmap_write_bits usage
* c5cde6821549 ASoC: fsl_micfil: use GENMASK to define register bit fields
* d7b49f67c790 ASoC: fsl_micfil: do not define SHIFT/MASK for single bits
* f8fe5b13ab2e ASoC: fsl_micfil: Drop unnecessary register read
* 50383e18bf4d dt-bindings: vendor-prefixes: Add NeoFidelity, Inc
* 22e700ee0939 drm/imx/ipuv3: Use IRQF_NO_AUTOEN flag in request_irq()
* d766e4dfae31 wifi: mwifiex: Use IRQF_NO_AUTOEN flag in request_irq()
* 0e720766e07e wifi: p54: Use IRQF_NO_AUTOEN flag in request_irq()
* 6dfbea145ae1 drm/omap: Fix locking in omap_gem_new_dmabuf()
* cb480ae80fd4 wifi: ath9k: add range check for conn_rsp_epid in htc_connect_service()
* 5665bb43719e drm/mm: Mark drm_mm_interval_tree*() functions with __maybe_unused
* 8be4e51f3ecf firmware: arm_scpi: Check the DVFS OPP count returned by the firmware
* 349140440529 regmap: irq: Set lockdep class for hierarchical IRQ domains
* a6e1387e9f54 ARM: dts: cubieboard4: Fix DCDC5 regulator constraints
* 6f0093c15f0b tpm: fix signed/unsigned bug when checking event logs
* 2fc27a7fc5ba efi/tpm: Pass correct address to memblock_reserve
* 5ad7dc974815 mmc: mmc_spi: drop buggy snprintf()
* 7a3465b79ef0 soc: qcom: geni-se: fix array underflow in geni_se_clk_tbl_get()
* 6ebcbacbcf79 soc: ti: smartreflex: Use IRQF_NO_AUTOEN flag in request_irq()
* 054de36e9106 time: Fix references to _msecs_to_jiffies() handling of values
* 3428cc5047ca crypto: cavium - Fix an error handling path in cpt_ucode_load_fw()
* 75e1e38e5d80 crypto: bcm - add error check in the ahash_hmac_init function
* 2d721b961d68 crypto: cavium - Fix the if condition to exit loop after timeout
* fca8aed12218 crypto: pcrypt - Call crypto layer directly when padata_do_parallel() return -EBUSY
* adadb7167a7f EDAC/fsl_ddr: Fix bad bit shift operations
* 8cc31cfa36ff EDAC/bluefield: Fix potential integer overflow
* de5d5b84a657 firmware: google: Unregister driver_info on failure
* 659e78fe618c firmware: google: Unregister driver_info on failure and exit in gsmi
* f57725bcc581 hfsplus: don't query the device logical block size multiple times
* b76579701b17 s390/syscalls: Avoid creation of arch/arch/ directory
* 52a1c2242e29 acpi/arm64: Adjust error handling procedure in gtdt_parse_timer_block()
* b3b283842645 m68k: mvme147: Reinstate early console
* 83ba8219bfb6 m68k: mvme16x: Add and use "mvme16x.h"
* f1441a0dce6a m68k: mvme147: Fix SCSI controller IRQ numbers
* ac22240540e0 nvme-pci: fix freeing of the HMB descriptor table
* c509b1acbd86 initramfs: avoid filename buffer overrun
* 30608827e812 mips: asm: fix warning when disabling MIPS_FP_SUPPORT
* b214a6dd488a x86/xen/pvh: Annotate indirect branch as safe
* 7f591ed125fc nvme: fix metadata handling in nvme-passthrough
* ab6480904993 NFSD: Force all NFSv4.2 COPY requests to be synchronous
* 7b222d6cb870 cifs: Fix buffer overflow when parsing NFS reparse points
* bdd8bfe75dab ipmr: Fix access to mfc_cache_list without lock held
* bff0f725c7b7 proc/softirqs: replace seq_printf with seq_put_decimal_ull_width
* 1c3c3d8177fc ASoC: stm: Prevent potential division by zero in stm32_sai_get_clk_div()
* 05fc0c3d6f40 ASoC: stm: Prevent potential division by zero in stm32_sai_mclk_round_rate()
* 43cec71ce275 regulator: rk808: Add apply_bit for BUCK3 on RK809
* e5137997b849 soc: qcom: Add check devm_kasprintf() returned value
* 3b084fe40c88 net: usb: qmi_wwan: add Quectel RG650V
* ffa5b6230a95 x86/amd_nb: Fix compile-testing without CONFIG_AMD_NB
* cb3309b9ae84 ALSA: hda/realtek: Add subwoofer quirk for Infinix ZERO BOOK 13
* 50c946b263e6 selftests/watchdog-test: Fix system accidentally reset after watchdog-test
* a862a826cbb8 mac80211: fix user-power when emulating chanctx
* ab38b9267fc0 ASoC: Intel: bytcr_rt5640: Add DMI quirk for Vexia Edu Atla 10 tablet
* a3c65022d89d mm: revert "mm: shmem: fix data-race in shmem_getattr()"
* b8a78600ce14 kbuild: Use uname for LINUX_COMPILE_HOST detection
* e3439cc5736e media: dvbdev: fix the logic when DVB_DYNAMIC_MINORS is not set
* 47693ba35bcc Revert "mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K"
* 0ce59fb1c73f nilfs2: fix null-ptr-deref in block_dirty_buffer tracepoint
* a3abb9783052 ocfs2: fix UBSAN warning in ocfs2_verify_volume()
* 6438f3f42cda nilfs2: fix null-ptr-deref in block_touch_buffer tracepoint
* c3742319d021 KVM: VMX: Bury Intel PT virtualization (guest/host mode) behind CONFIG_BROKEN
* 5ae8cc0b0c02 ocfs2: uncache inode which has failed entering the group
* a0ddb20a748b net/mlx5e: kTLS, Fix incorrect page refcounting
* 0d568258f99f net/mlx5: fs, lock FTE when checking if active
* 598c956b6269 netlink: terminate outstanding dump on socket close

Change-Id: Ic4b26c769148ec3721ef1de35f25760ae954b9c2
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
tree: 975dd193f97f5c0b6d3a9c2d6b887110a8ee9f2e
  1. android/
  2. arch/
  3. block/
  4. certs/
  5. crypto/
  6. Documentation/
  7. drivers/
  8. fs/
  9. include/
  10. init/
  11. ipc/
  12. kernel/
  13. lib/
  14. LICENSES/
  15. mm/
  16. net/
  17. samples/
  18. scripts/
  19. security/
  20. sound/
  21. tools/
  22. usr/
  23. virt/
  24. .clang-format
  25. .cocciconfig
  26. .get_maintainer.ignore
  27. .gitattributes
  28. .gitignore
  29. .mailmap
  30. build.config.aarch64
  31. build.config.allmodconfig
  32. build.config.allmodconfig.aarch64
  33. build.config.allmodconfig.arm
  34. build.config.allmodconfig.x86_64
  35. build.config.arm
  36. build.config.common
  37. build.config.db845c
  38. build.config.gki
  39. build.config.gki-debug.aarch64
  40. build.config.gki-debug.x86_64
  41. build.config.gki.aarch64
  42. build.config.gki.x86_64
  43. build.config.gki_kasan
  44. build.config.gki_kasan.aarch64
  45. build.config.gki_kasan.x86_64
  46. build.config.gki_kprobes
  47. build.config.gki_kprobes.aarch64
  48. build.config.gki_kprobes.x86_64
  49. build.config.hikey960
  50. build.config.x86_64
  51. COPYING
  52. CREDITS
  53. Kbuild
  54. Kconfig
  55. MAINTAINERS
  56. Makefile
  57. OWNERS
  58. README
  59. README.md
README.md

How do I submit patches to Android Common Kernels

  1. BEST: Make all of your changes to upstream Linux. If appropriate, backport to the stable releases. These patches will be merged automatically in the corresponding common kernels. If the patch is already in upstream Linux, post a backport of the patch that conforms to the patch requirements below.

  2. LESS GOOD: Develop your patches out-of-tree (from an upstream Linux point-of-view). Unless these are fixing an Android-specific bug, these are very unlikely to be accepted unless they have been coordinated with kernel-team@android.com. If you want to proceed, post a patch that conforms to the patch requirements below.

Common Kernel patch requirements

  • All patches must conform to the Linux kernel coding standards and pass script/checkpatch.pl
  • Patches shall not break gki_defconfig or allmodconfig builds for arm, arm64, x86, x86_64 architectures (see https://source.android.com/setup/build/building-kernels)
  • If the patch is not merged from an upstream branch, the subject must be tagged with the type of patch: UPSTREAM:, BACKPORT:, FROMGIT:, FROMLIST:, or ANDROID:.
  • All patches must have a Change-Id: tag (see https://gerrit-review.googlesource.com/Documentation/user-changeid.html)
  • If an Android bug has been assigned, there must be a Bug: tag.
  • All patches must have a Signed-off-by: tag by the author and the submitter

Additional requirements are listed below based on patch type

Requirements for backports from mainline Linux: UPSTREAM:, BACKPORT:

  • If the patch is a cherry-pick from Linux mainline with no changes at all
    • tag the patch subject with UPSTREAM:.
    • add upstream commit information with a (cherry-picked from ...) line
    • Example:
      • if the upstream commit message is
        important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>
    - then Joe Smith would upload the patch for the common kernel as
        UPSTREAM: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        (cherry-picked from c31e73121f4c1ec41143423ac6ce3ce6dafdcec1)
        Signed-off-by: Joe Smith <joe.smith@foo.org>
  • If the patch requires any changes from the upstream version, tag the patch with BACKPORT: instead of UPSTREAM:.
    • use the same tags as UPSTREAM:
    • add comments about the changes under the (cherry-picked from ...) line
    • Example:
        BACKPORT: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        (cherry-picked from c31e73121f4c1ec41143423ac6ce3ce6dafdcec1)
        [ Resolved minor conflict in drivers/foo/bar.c ]
        Signed-off-by: Joe Smith <joe.smith@foo.org>

Requirements for other backports: FROMGIT:, FROMLIST:,

  • If the patch has been merged into an upstream maintainer tree, but has not yet been merged into Linux mainline
    • tag the patch subject with FROMGIT:
    • add info on where the patch came from as (cherry picked from commit <sha1> <repo> <branch>). This must be a stable maintainer branch (not rebased, so don't use linux-next for example).
    • if changes were required, use BACKPORT: FROMGIT:
    • Example:
      • if the commit message in the maintainer tree is
        important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>
    - then Joe Smith would upload the patch for the common kernel as
        FROMGIT: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        (cherry picked from commit 878a2fd9de10b03d11d2f622250285c7e63deace
         https://git.kernel.org/pub/scm/linux/kernel/git/foo/bar.git test-branch)
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        Signed-off-by: Joe Smith <joe.smith@foo.org>
  • If the patch has been submitted to LKML, but not accepted into any maintainer tree
    • tag the patch subject with FROMLIST:
    • add a Link: tag with a link to the submittal on lore.kernel.org
    • if changes were required, use BACKPORT: FROMLIST:
    • Example:
        FROMLIST: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        Link: https://lore.kernel.org/lkml/20190619171517.GA17557@someone.com/
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        Signed-off-by: Joe Smith <joe.smith@foo.org>

Requirements for Android-specific patches: ANDROID:

  • If the patch is fixing a bug to Android-specific code
    • tag the patch subject with ANDROID:
    • add a Fixes: tag that cites the patch with the bug
    • Example:
        ANDROID: fix android-specific bug in foobar.c

        This is the detailed description of the important fix

        Fixes: 1234abcd2468 ("foobar: add cool feature")
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        Signed-off-by: Joe Smith <joe.smith@foo.org>
  • If the patch is a new feature
    • tag the patch subject with ANDROID:
    • add a Bug: tag with the Android bug (required for android-specific features)