Go to file
Blagovest Kolenichev d82a67cbef Merge android12-5.10.21+ (8cf9478) into msm-5.10
* refs/heads/tmp-8cf9478:
  Revert "ANDROID: GKI: Enable bounds sanitizer"
  ANDROID: GKI: temporarily disable LTO/CFI
  ANDROID: Revert "f2fs: fix to tag FIEMAP_EXTENT_MERGED in f2fs_fiemap()"
  FROMLIST: KVM: arm64: Disable FWB in host stage-2
  FROMLIST: KVM: arm64: Introduce KVM_PGTABLE_S2_NOFWB Stage-2 flag
  FROMLIST: KVM: arm64: Protect the .hyp sections from the host
  FROMLIST: KVM: arm64: Disable PMU support in protected mode
  FROMLIST: KVM: arm64: Page-align the .hyp sections
  FROMLIST: KVM: arm64: Wrap the host with a stage 2
  FROMLIST: KVM: arm64: Provide sanitized mmfr* registers at EL2
  FROMLIST: KVM: arm64: Add kvm_pgtable_stage2_find_range()
  FROMLIST: KVM: arm64: Refactor the *_map_set_prot_attr() helpers
  FROMLIST: KVM: arm64: Use page-table to track page ownership
  FROMLIST: KVM: arm64: Always zero invalid PTEs
  FROMLIST: KVM: arm64: Sort the hypervisor memblocks
  FROMLIST: KVM: arm64: Reserve memory for host stage 2
  FROMLIST: KVM: arm64: Make memcache anonymous in pgtable allocator
  FROMLIST: KVM: arm64: Refactor __populate_fault_info()
  FROMLIST: KVM: arm64: Refactor __load_guest_stage2()
  FROMLIST: KVM: arm64: Refactor kvm_arm_setup_stage2()
  FROMLIST: KVM: arm64: Set host stage 2 using kvm_nvhe_init_params
  FROMLIST: KVM: arm64: Use kvm_arch in kvm_s2_mmu
  FROMLIST: KVM: arm64: Use kvm_arch for stage 2 pgtable
  FROMLIST: KVM: arm64: Elevate hypervisor mappings creation at EL2
  FROMLIST: KVM: arm64: Prepare the creation of s1 mappings at EL2
  FROMLIST: arm64: asm: Provide set_sctlr_el2 macro
  FROMLIST: KVM: arm64: Factor out vector address calculation
  FROMLIST: KVM: arm64: Provide __flush_dcache_area at EL2
  FROMLIST: KVM: arm64: Enable access to sanitized CPU features at EL2
  FROMLIST: KVM: arm64: Introduce a Hyp buddy page allocator
  FROMLIST: KVM: arm64: Stub CONFIG_DEBUG_LIST at Hyp
  FROMLIST: KVM: arm64: Introduce an early Hyp page allocator
  FROMLIST: KVM: arm64: Allow using kvm_nvhe_sym() in hyp code
  FROMLIST: KVM: arm64: Make kvm_call_hyp() a function call at Hyp
  FROMLIST: KVM: arm64: Introduce a BSS section for use at Hyp
  FROMLIST: KVM: arm64: Factor memory allocation out of pgtable.c
  FROMLIST: KVM: arm64: Avoid free_page() in page-table allocator
  FROMLIST: KVM: arm64: Initialize kvm_nvhe_init_params early
  FROMLIST: arm64: kvm: Add standalone ticket spinlock implementation for use at hyp
  FROMLIST: KVM: arm64: Link position-independent string routines into .hyp.text
  FROMLIST: arm64: lib: Annotate {clear, copy}_page() as position-independent
  Revert "ANDROID: sched: cpufreq_schedutil: add sugov tracepoints"
  ANDROID: Partial revert of 06881e01b5 ("ANDROID: sched: Add vendor hooks for override sugov behavior")
  Revert "ANDROID: sched: Add vendor hooks for skipping sugov update"
  Revert "ANDROID: sched: cpufreq_schedutil: move sugov traces to sched"
  ANDROID: thermal: Add logic for filter on-die tz genl event.
  ANDROID: mmc: support hardware that takes key directly
  UPSTREAM: zram: fix broken page writeback
  UPSTREAM: zram: fix return value on writeback_store
  ANDROID: sched: Add vendor hook for util_est_update
  ANDROID: GKI: Enable DTPM framework
  ANDROID: GKI: Add remoteproc framework symbols to symbol list
  ANDROID: vendor_hooks: Add hooks for scheduler
  FROMGIT: configfs: fix a use-after-free in __configfs_open_file
  ANDROID: lib/plist.c: Export plist-related APIs
  ANDROID: module: Add vendor hook
  ANDROID: bpf: Add vendor hook
  ANDROID: kernel: Add vendor hook in creds
  ANDROID: security: selinux: Add vendor hook in avc
  UPSTREAM: KVM: arm64: Fix exclusive limit for IPA size
  UPSTREAM: KVM: arm64: Reject VM creation when the default IPA size is unsupported
  ANDROID: GKI: add android_kabi.h
  UPSTREAM: MAINTAINERS: add entry for KFENCE
  ANDROID: Clang LTO: Comment on symbol visibility workaround
  FROMLIST: mm: fs: Invalidate BH LRU during page migration
  BACKPORT: FROMLIST: mm: disable LRU pagevec during the migration temporarily
  FROMLIST: mm: replace migrate_prep with lru_add_drain_all
  UPSTREAM: mm: migrate: initialize err in do_migrate_pages
  UPSTREAM: mm: migrate: clean up migrate_prep{_local}
  ANDROID: Clang LTO: Only set -fvisibility=hidden for x86
  UPSTREAM: usb: typec: tcpci: Refactor tcpc_presenting_cc1_rd macro
  ANDROID: mm: build alloc_contig_dump_pages in page_alloc.o
  FROMLIST: mm: page_alloc: dump migrate-failed pages
  ANDROID: sched: Add vendor hook for uclamp_eff_get
  ANDROID: cpu/hotplug: failure to offline 2nd to last cpu
  ANDROID: qcom: Add devm_blk_ksm_init to ABI
  ANDROID: arm64: add vendor hooks for unusal abort cases
  UPSTREAM: powercap/drivers/dtpm: Fix size of object being allocated
  UPSTREAM: powercap/drivers/dtpm: Fix an IS_ERR() vs NULL check
  UPSTREAM: powercap/drivers/dtpm: Fix some missing unlock bugs
  UPSTREAM: powercap/drivers/dtpm: Fix a double shift bug
  UPSTREAM: powercap/drivers/dtpm: Fix __udivdi3 and __aeabi_uldivmod unresolved symbols
  UPSTREAM: powercap/drivers/dtpm: Add CPU energy model based support
  UPSTREAM: powercap/drivers/dtpm: Add API for dynamic thermal power management
  UPSTREAM: units: Add Watt units
  UPSTREAM: Documentation/powercap/dtpm: Add documentation for dtpm
  UPSTREAM: xhci: Fix repeated xhci wake after suspend due to uncleared internal wake state
  UPSTREAM: usb: xhci: Fix ASMedia ASM1042A and ASM3242 DMA addressing
  UPSTREAM: xhci: Improve detection of device initiated wake signal.
  UPSTREAM: usb: xhci: do not perform Soft Retry for some xHCI hosts
  FROMGIT: rcu/tree: Add a trace event for RCU CPU stall warnings
  ANDROID: GKI: Update virtual_device symbol list
  ANDROID: usb: host: export additional xhci symbols for ring management
  ANDROID: GKI: add fields required to enable CONFIG_READ_ONLY_THP_FOR_FS
  ANDROID: vendor_hooks: Add hooks for rwsem and mutex
  BACKPORT: usb: dwc3: gadget: Allow runtime suspend if UDC unbinded
  FROMGIT: ASoC: codecs: wcd934x: add a sanity check in set channel map
  FROMGIT: ASoC: qcom: sdm845: Fix array out of range on rx slim channels
  FROMGIT: ASoC: qcom: sdm845: Fix array out of bounds access
  FROMGIT: arm64: mte: Map hotplugged memory as Normal Tagged
  ANDROID: KVM: arm64: Disable CFI only for nVHE hyp object
  FROMGIT: KVM: arm64: Ensure I-cache isolation between vcpus of a same VM
  FROMGIT: KVM: arm64: Don't use cbz/adr with external symbols
  FROMGIT: KVM: arm64: Fix range alignment when walking page tables
  BACKPORT: binder: move structs from core file to header file
  ANDROID: dma-buf: add get_each_dmabuf function
  FROMLIST: drivers: thermal: Add NULL pointer check before using cooling device stats
  ANDROID: GKI: Switch to LTO_FULL
  ANDROID: gki_defconfig: set CONFIG_STACK_HASH_ORDER to 12
  ANDROID: sched: move vendor hook to check scheduling nice value
  ANDROID: qcom: Add __cfi_slowpath
  FROMGIT: usb: dwc3: qcom: Honor wakeup enabled/disabled state
  FROMGIT: usb: typec: stusb160x: fix return value check in stusb160x_probe()
  FROMGIT: usb: typec: tps6598x: Fix return value check in tps6598x_probe()
  FROMGIT: usb: typec: tcpm: turn tcpm_ams_finish into void function
  FROMGIT: usb: typec: tcpci: Check ROLE_CONTROL while interpreting CC_STATUS
  ANDROID: GKI: Update abi_gki_aarch64_qcom for timer hook
  ANDROID: Add vendor hooks when syscall prctl finished
  ANDROID: cgroup: Add vendor hook to the cgroup
  FROMGIT: usb: common: move function's kerneldoc next to its definition
  FROMGIT: usb: xhci-mtk: print debug info of endpoint interval
  FROMGIT: usb: common: add function to get interval expressed in us unit
  FROMGIT: usb: xhci-mtk: support to build xhci-mtk-hcd.ko
  FROMGIT: usb: xhci-mtk: remove declaration of xhci_mtk_setup()
  FROMGIT: usb: xhci-mtk: add some schedule error number
  FROMGIT: usb: xhci-mtk: rebuild the way to get bandwidth domain
  FROMGIT: usb: xhci-mtk: use @tt_info to check the FS/LS device is under a HS hub
  FROMGIT: usb: xhci-mtk: add a member @speed in mu3h_sch_ep_info struct
  FROMGIT: usb: xhci-mtk: use clear type instead of void
  FROMGIT: usb: xhci-mtk: remove unnecessary members of mu3h_sch_tt struct
  FROMGIT: usb: xhci-mtk: add a function to get bandwidth boundary
  FROMGIT: usb: xhci-mtk: add a function to (un)load bandwidth info
  FROMGIT: usb: xhci-mtk: use @sch_tt to check whether need do TT schedule
  FROMGIT: usb: xhci-mtk: add only one extra CS for FS/LS INTR
  FROMGIT: usb: xhci-mtk: get the microframe boundary for ESIT
  FROMGIT: usb: xhci-mtk: improve bandwidth scheduling with TT
  FROMGIT: usb: xhci-mtk: remove or operator for setting schedule parameters
  ANDROID: abi_gki_aarch64_qcom: Add __tracepoint_cpu_frequency_limits
  ANDROID: cpufreq: Export cpu_frequency_limits tracepoint
  ANDROID: kbuild: Copy out-of-tree kernel headers to INSTALL_HDR_PATH
  ANDROID: build.config: Disable LTO for KASAN and Kprobes builds
  ANDROID: GKI: arm64: Enable LTO+CFI
  Linux 5.10.21
  net: sfp: add workaround for Realtek RTL8672 and RTL9601C chips
  net: sfp: VSOL V2801F / CarlitoxxPro CPGOS03-0490 v2.0 workaround
  ALSA: hda/realtek: Apply dual codec quirks for MSI Godlike X570 board
  ALSA: hda/realtek: Add quirk for Intel NUC 10
  ALSA: hda/realtek: Add quirk for Clevo NH55RZQ
  media: v4l: ioctl: Fix memory leak in video_usercopy
  tty: teach the n_tty ICANON case about the new "cookie continuations" too
  tty: teach n_tty line discipline about the new "cookie continuations"
  tty: clean up legacy leftovers from n_tty line discipline
  tty: fix up hung_up_tty_read() conversion
  tty: fix up iterate_tty_read() EOVERFLOW handling
  powerpc/sstep: Fix incorrect return from analyze_instr()
  powerpc/sstep: Check instruction validity against ISA version before emulation
  swap: fix swapfile read/write offset
  remoteproc/mediatek: Fix kernel test robot warning
  zsmalloc: account the number of compacted pages correctly
  xen: fix p2m size in dom0 for disabled memory hotplug case
  xen-netback: respect gnttab_map_refs()'s return value
  Xen/gnttab: handle p2m update errors on a per-slot basis
  scsi: iscsi: Verify lengths on passthrough PDUs
  scsi: iscsi: Ensure sysfs attributes are limited to PAGE_SIZE
  scsi: iscsi: Restrict sessions and handles to admin capabilities
  ASoC: Intel: bytcr_rt5640: Add quirk for the Acer One S1002 tablet
  ASoC: Intel: bytcr_rt5651: Add quirk for the Jumper EZpad 7 tablet
  ASoC: Intel: bytcr_rt5640: Add quirk for the Voyo Winpad A15 tablet
  ASoC: Intel: bytcr_rt5640: Add quirk for the Estar Beauty HD MID 7316R tablet
  sched/features: Fix hrtick reprogramming
  parisc: Bump 64-bit IRQ stack size to 64 KB
  ASoC: Intel: sof_sdw: detect DMIC number based on mach params
  ASoC: Intel: sof-sdw: indent and add quirks consistently
  perf/x86/kvm: Add Cascade Lake Xeon steppings to isolation_ucodes[]
  btrfs: fix error handling in commit_fs_roots
  ASoC: Intel: Add DMI quirk table to soc_intel_is_byt_cr()
  nvme-tcp: add clean action for failed reconnection
  nvme-rdma: add clean action for failed reconnection
  nvme-core: add cancel tagset helpers
  f2fs: fix to set/clear I_LINKABLE under i_lock
  f2fs: handle unallocated section and zone on pinned/atgc
  media: uvcvideo: Allow entities with no pads
  drm/amd/amdgpu: add error handling to amdgpu_virt_read_pf2vf_data
  drm/amd/display: Guard against NULL pointer deref when get_i2c_info fails
  ASoC: Intel: bytcr_rt5640: Add new BYT_RT5640_NO_SPEAKERS quirk-flag
  PCI: Add a REBAR size quirk for Sapphire RX 5600 XT Pulse
  drm/amdgpu: Add check to prevent IH overflow
  fs: make unlazy_walk() error handling consistent
  crypto: tcrypt - avoid signed overflow in byte count
  drm/hisilicon: Fix use-after-free
  brcmfmac: Add DMI nvram filename quirk for Voyo winpad A15 tablet
  brcmfmac: Add DMI nvram filename quirk for Predia Basic tablet
  staging: bcm2835-audio: Replace unsafe strcpy() with strscpy()
  staging: most: sound: add sanity check for function argument
  Bluetooth: Fix null pointer dereference in amp_read_loc_assoc_final_data
  Bluetooth: Add new HCI_QUIRK_NO_SUSPEND_NOTIFIER quirk
  net: sfp: add mode quirk for GPON module Ubiquiti U-Fiber Instant
  ath10k: fix wmi mgmt tx queue full due to race condition
  pktgen: fix misuse of BUG_ON() in pktgen_thread_worker()
  mt76: mt7615: reset token when mac_reset happens
  Bluetooth: btusb: fix memory leak on suspend and resume
  Bluetooth: hci_h5: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for btrtl
  wlcore: Fix command execute failure 19 for wl12xx
  vt/consolemap: do font sum unsigned
  x86/reboot: Add Zotac ZBOX CI327 nano PCI reboot quirk
  staging: fwserial: Fix error handling in fwserial_create
  EDAC/amd64: Do not load on family 0x15, model 0x13
  rsi: Move card interrupt handling to RX thread
  rsi: Fix TX EAPOL packet handling against iwlwifi AP
  ASoC: qcom: Remove useless debug print
  dt-bindings: net: btusb: DT fix s/interrupt-name/interrupt-names/
  dt-bindings: ethernet-controller: fix fixed-link specification
  net: fix dev_ifsioc_locked() race condition
  net: psample: Fix netlink skb length with tunnel info
  net: hsr: add support for EntryForgetTime
  net: ag71xx: remove unnecessary MTU reservation
  net: dsa: tag_rtl4_a: Support also egress tags
  net/sched: cls_flower: Reject invalid ct_state flags rules
  net: bridge: use switchdev for port flags set through sysfs too
  mptcp: do not wakeup listener for MPJ subflows
  tcp: fix tcp_rmem documentation
  RDMA/rtrs-srv: Do not signal REG_MR
  RDMA/rtrs-clt: Use bitmask to check sess->flags
  RDMA/rtrs: Do not signal for heatbeat
  mm/hugetlb.c: fix unnecessary address expansion of pmd sharing
  nbd: handle device refs for DESTROY_ON_DISCONNECT properly
  riscv: Get rid of MAX_EARLY_MAPPING_SIZE
  net: fix up truesize of cloned skb in skb_prepare_for_shift()
  tomoyo: ignore data race while checking quota
  smackfs: restrict bytes count in smackfs write functions
  net/af_iucv: remove WARN_ONCE on malformed RX packets
  xfs: Fix assert failure in xfs_setattr_size()
  media: v4l2-ctrls.c: fix shift-out-of-bounds in std_validate
  erofs: fix shift-out-of-bounds of blkszbits
  media: mceusb: sanity check for prescaler value
  udlfb: Fix memory leak in dlfb_usb_probe
  sched/core: Allow try_invoke_on_locked_down_task() with irqs disabled
  JFS: more checks for invalid superblock
  x86/build: Treat R_386_PLT32 relocation as R_386_PC32
  drm/virtio: use kvmalloc for large allocations
  Input: elan_i2c - add new trackpoint report type 0x5F
  Input: elantech - fix protocol errors for some trackpoints in SMBus mode
  net: usb: qmi_wwan: support ZTE P685M modem
  ANDROID: GKI: Enable bounds sanitizer
  ANDROID: Allow HAS_LTO_CLANG with KASAN_HW_TAGS
  ANDROID: abi_gki_aarch64_qcom: Add cpufreq related symbols
  ANDROID: cpufreq: Add a restricted vendor hook for freq transition
  ANDROID: scsi: ufs: add hooks to track ufs commands
  ANDROID: Fix compilation error when CPU_FREQ is disabled
  BACKPORT: kasan, arm64: allow using KUnit tests with HW_TAGS mode
  Revert "FROMGIT: kasan, arm64: allow using KUnit tests with HW_TAGS mode"
  Revert "BACKPORT: kasan: remove redundant config option"
  UPSTREAM: arm/kasan: fix the array size of kasan_early_shadow_pte[]
  FROMGIT: KVM: arm64: Workaround firmware wrongly advertising GICv2-on-v3 compatibility
  FROMGIT: KVM: arm64: Rename __vgic_v3_get_ich_vtr_el2() to __vgic_v3_get_gic_config()
  FROMGIT: KVM: arm64: Don't access PMSELR_EL0/PMUSERENR_EL0 when no PMU is available
  FROMGIT: KVM: arm64: Turn kvm_arm_support_pmu_v3() into a static key
  FROMGIT: KVM: arm64: Fix nVHE hyp panic host context restore
  FROMGIT: KVM: arm64: Avoid corrupting vCPU context register in guest exit
  FROMLIST: arm64: cpufeatures: Fix handling of CONFIG_CMDLINE for idreg overrides
  Linux 5.10.20
  ARM: dts: aspeed: Add LCLK to lpc-snoop
  net_sched: fix RTNL deadlock again caused by request_module()
  net: qrtr: Fix memory leak in qrtr_tun_open
  net: sched: fix police ext initialization
  wireguard: queueing: get rid of per-peer ring buffers
  wireguard: selftests: test multiple parallel streams
  net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sending
  ipv6: silence compilation warning for non-IPV6 builds
  kgdb: fix to kill breakpoints on initmem after boot
  drm/i915: Reject 446-480MHz HDMI clock on GLK
  dm era: only resize metadata in preresume
  dm era: Reinitialize bitset cache before digesting a new writeset
  dm era: Use correct value size in equality function of writeset tree
  dm era: Fix bitset memory leaks
  dm era: Verify the data block size hasn't changed
  dm era: Update in-core bitset after committing the metadata
  dm era: Recover committed writeset after crash
  dm writecache: fix writing beyond end of underlying device when shrinking
  dm writecache: return the exact table values that were set
  dm writecache: fix performance degradation in ssd mode
  dm table: fix zoned iterate_devices based device capability checks
  dm table: fix DAX iterate_devices based device capability checks
  dm table: fix iterate_devices based device capability checks
  dm: fix deadlock when swapping to encrypted device
  gfs2: Recursive gfs2_quota_hold in gfs2_iomap_end
  gfs2: Lock imbalance on error path in gfs2_recover_one
  gfs2: Don't skip dlm unlock if glock has an lvb
  gfs2: fix glock confusion in function signal_our_withdraw
  spi: spi-synquacer: fix set_cs handling
  spi: fsl: invert spisel_boot signal on MPC8309
  sparc32: fix a user-triggerable oops in clear_user()
  f2fs: flush data when enabling checkpoint back
  f2fs: enforce the immutable flag on open files
  f2fs: fix out-of-repair __setattr_copy()
  irqchip/loongson-pch-msi: Use bitmap_zalloc() to allocate bitmap
  um: defer killing userspace on page table update failures
  um: mm: check more comprehensively for stub changes
  virtio/s390: implement virtio-ccw revision 2 correctly
  s390/vtime: fix inline assembly clobber list
  proc: don't allow async path resolution of /proc/thread-self components
  cpufreq: intel_pstate: Get per-CPU max freq via MSR_HWP_CAPABILITIES if available
  cpufreq: intel_pstate: Change intel_pstate_get_hwp_max() argument
  cpufreq: qcom-hw: drop devm_xxx() calls from init/exit hooks
  thermal: cpufreq_cooling: freq_qos_update_request() returns < 0 on error
  kcmp: Support selection of SYS_kcmp without CHECKPOINT_RESTORE
  zonefs: Fix file size of zones in full condition
  exfat: fix shift-out-of-bounds in exfat_fill_super()
  printk: fix deadlock when kernel panic
  mfd: gateworks-gsc: Fix interrupt type
  gpio: pcf857x: Fix missing first interrupt
  mei: me: add adler lake point LP DID
  mei: me: add adler lake point S DID
  mei: me: emmitsburg workstation DID
  mei: fix transfer over dma with extended header
  spmi: spmi-pmic-arb: Fix hw_irq overflow
  powerpc/32s: Add missing call to kuep_lock on syscall entry
  powerpc/kexec_file: fix FDT size estimation for kdump kernel
  powerpc/32: Preserve cr1 in exception prolog stack check to fix build error
  mmc: sdhci-pci-o2micro: Bug fix for SDR104 HW tuning failure
  mmc: sdhci-esdhc-imx: fix kernel panic when remove module
  module: Ignore _GLOBAL_OFFSET_TABLE_ when warning for undefined symbols
  nvmem: qcom-spmi-sdam: Fix uninitialized pdev pointer
  KVM: nSVM: fix running nested guests when npt=0
  mm, compaction: make fast_isolate_freepages() stay within zone
  mm/vmscan: restore zone_reclaim_mode ABI
  hugetlb: fix copy_huge_page_from_user contig page struct assumption
  hugetlb: fix update_and_free_page contig page struct assumption
  mm: memcontrol: fix get_active_memcg return value
  mm: memcontrol: fix swap undercounting in cgroup2
  x86: fix seq_file iteration for pat/memtype.c
  seq_file: document how per-entry resources are managed.
  fs/affs: release old buffer head on error path
  mtd: spi-nor: hisi-sfc: Put child node np on error path
  mtd: spi-nor: core: Add erase size check for erase command initialization
  mtd: spi-nor: core: Fix erase type discovery for overlaid region
  mtd: spi-nor: sfdp: Fix wrong erase type bitmask for overlaid region
  mtd: spi-nor: sfdp: Fix last erase region marking
  coresight: etm4x: Handle accesses to TRCSTALLCTLR
  watchdog: mei_wdt: request stop on unregister
  watchdog: qcom: Remove incorrect usage of QCOM_WDT_ENABLE_IRQ
  riscv: Disable KSAN_SANITIZE for vDSO
  arm64: spectre: Prevent lockdep splat on v4 mitigation enable path
  arm64 module: set plt* section addresses to 0x0
  arm64: uprobe: Return EOPNOTSUPP for AARCH32 instruction probing
  arm64: kexec_file: fix memory leakage in create_dtb() when fdt_open_into() fails
  iommu/arm-smmu-qcom: Fix mask extraction for bootloader programmed SMRs
  arm64: Extend workaround for erratum 1024718 to all versions of Cortex-A55
  kprobes: Fix to delay the kprobes jump optimization
  rcu/nocb: Perform deferred wake up before last idle's need_resched() check
  rcu: Pull deferred rcuog wake up to rcu_eqs_enter() callers
  powerpc/prom: Fix "ibm,arch-vec-5-platform-support" scan
  x86/entry: Fix instrumentation annotation
  x86/fault: Fix AMD erratum #91 errata fixup for user code
  x86/reboot: Force all cpus to exit VMX root if VMX is supported
  x86/virt: Eat faults on VMXOFF in reboot flows
  media: smipcie: fix interrupt handling and IR timeout
  media: marvell-ccic: power up the device on mclk enable
  media: ipu3-cio2: Fix mbus_code processing in cio2_subdev_set_fmt()
  media: ir_toy: add another IR Droid device
  media: i2c: max9286: fix access to unallocated memory
  floppy: reintroduce O_NDELAY fix
  staging: rtl8188eu: Add Edimax EW-7811UN V2 to device table
  staging: gdm724x: Fix DMA from stack
  staging/mt7621-dma: mtk-hsdma.c->hsdma-mt7621.c
  arm64: dts: agilex: fix phy interface bit shift for gmac1 and gmac2
  dts64: mt7622: fix slow sd card access
  pstore: Fix typo in compression option name
  drivers/misc/vmw_vmci: restrict too big queue size in qp_host_alloc_queue
  misc: rtsx: init of rts522a add OCP power off when no card is present
  arm64: ptrace: Fix seccomp of traced syscall -1 (NO_SYSCALL)
  seccomp: Add missing return in non-void function
  soc: samsung: exynos-asv: handle reading revision register error
  soc: samsung: exynos-asv: don't defer early on not-supported SoCs
  crypto: sun4i-ss - initialize need_fallback
  crypto: sun4i-ss - handle BigEndian for cipher
  crypto: sun4i-ss - IV register does not work on A10 and A13
  crypto: sun4i-ss - checking sg length is not sufficient
  crypto: michael_mic - fix broken misalignment handling
  crypto: aesni - prevent misaligned buffers on the stack
  crypto: arm64/sha - add missing module aliases
  drm/i915/gt: Correct surface base address for renderclear
  drm/i915/gt: Flush before changing register state
  btrfs: fix extent buffer leak on failure to copy root
  btrfs: account for new extents being deleted in total_bytes_pinned
  btrfs: handle space_info::total_bytes_pinned inside the delayed ref itself
  btrfs: splice remaining dirty_bg's onto the transaction dirty bg list
  btrfs: fix reloc root leak with 0 ref reloc roots on recovery
  btrfs: abort the transaction if we fail to inc ref in btrfs_copy_root
  btrfs: add asserts for deleting backref cache nodes
  btrfs: do not warn if we can't find the reloc root when looking up backref
  btrfs: do not cleanup upper nodes in btrfs_backref_cleanup_node
  KEYS: trusted: Reserve TPM for seal and unseal operations
  KEYS: trusted: Fix migratable=1 failing
  KEYS: trusted: Fix incorrect handling of tpm_get_random()
  tpm_tis: Clean up locality release
  tpm_tis: Fix check_locality for correct locality acquisition
  erofs: initialized fields can only be observed after bit is set
  selinux: fix inconsistency between inode_getxattr and inode_listsecurity
  ASoC: siu: Fix build error by a wrong const prefix
  drm/rockchip: Require the YTR modifier for AFBC
  drm/panel: kd35t133: allow using non-continuous dsi clock
  drm/sched: Cancel and flush all outstanding jobs before finish.
  drm/modes: Switch to 64bit maths to avoid integer overflow
  drm/nouveau/kms: handle mDP connectors
  drm/amdgpu: Set reference clock to 100Mhz on Renoir (v2)
  drm/amdkfd: Fix recursive lock warnings
  drm/amd/display: Add vupdate_no_lock interrupts for DCN2.1
  drm/amd/display: Remove Assert from dcn10_get_dig_frontend
  drm/amd/display: Add FPU wrappers to dcn21_validate_bandwidth()
  Revert "drm/amd/display: Update NV1x SR latency values"
  bcache: Move journal work to new flush wq
  bcache: Give btree_io_wq correct semantics again
  Revert "bcache: Kill btree_io_wq"
  Revert "MIPS: Octeon: Remove special handling of CONFIG_MIPS_ELF_APPENDED_DTB=y"
  MIPS: VDSO: Use CLANG_FLAGS instead of filtering out '--target='
  MIPS: Support binutils configured with --enable-mips-fix-loongson3-llsc=yes
  MIPS: Ingenic: Disable HPTLB for D0 XBurst CPUs too
  ALSA: hda/realtek: Quirk for HP Spectre x360 14 amp setup
  ALSA: hda/realtek: modify EAPD in the ALC886
  ALSA: hda/hdmi: Drop bogus check at closing a stream
  ALSA: hda: Add another CometLake-H PCI ID
  ALSA: fireface: fix to parse sync status register of latter protocol
  phy: lantiq: rcu-usb2: wait after clock enable
  USB: serial: mos7720: fix error code in mos7720_write()
  USB: serial: mos7840: fix error code in mos7840_write()
  USB: serial: pl2303: fix line-speed handling on newer chips
  USB: serial: ftdi_sio: fix FTX sub-integer prescaler
  usb: dwc3: gadget: Fix dep->interval for fullspeed interrupt
  usb: dwc3: gadget: Fix setting of DEPCFG.bInterval_m1
  usb: musb: Fix runtime PM race in musb_queue_resume_work
  USB: serial: option: update interface mapping for ZTE P685M
  media: mceusb: Fix potential out-of-bounds shift
  Input: i8042 - add ASUS Zenbook Flip to noselftest list
  Input: joydev - prevent potential read overflow in ioctl
  Input: xpad - add support for PowerA Enhanced Wired Controller for Xbox Series X|S
  Input: raydium_ts_i2c - do not send zero length
  HID: wacom: Ignore attempts to overwrite the touch_max value from HID
  HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming
  cpufreq: ACPI: Set cpuinfo.max_freq directly if max boost is known
  ACPI: configfs: add missing check after configfs_register_default_group()
  ACPI: property: Fix fwnode string properties matching
  soundwire: intel: fix possible crash when no device is detected
  blk-settings: align max_sectors on "logical_block_size" boundary
  scsi: sd: Fix Opal support
  ide/falconide: Fix module unload
  block: reopen the device in blkdev_reread_part
  scsi: sd: sd_zbc: Don't pass GFP_NOIO to kvcalloc
  scsi: bnx2fc: Fix Kconfig warning & CNIC build errors
  csky: Fix a size determination in gpr_get()
  proc: use kvzalloc for our kernel buffer
  mm/rmap: fix potential pte_unmap on an not mapped pte
  mm: fix memory_failure() handling of dax-namespace metadata
  mm,thp,shmem: make khugepaged obey tmpfs mount flags
  i2c: exynos5: Preserve high speed master code
  i2c: brcmstb: Fix brcmstd_send_i2c_cmd condition
  arm64: Add missing ISB after invalidating TLB in __primary_switch
  KVM: x86/mmu: Expand collapsible SPTE zap for TDP MMU to ZONE_DEVICE and HugeTLB pages
  KVM: SVM: Intercept INVPCID when it's disabled to inject #UD
  NFSv4: Fixes for nfs4_bitmask_adjust()
  r8169: fix jumbo packet handling on RTL8168e
  mm/compaction: fix misbehaviors of fast_find_migrateblock()
  mm/hugetlb: suppress wrong warning info when alloc gigantic page
  mm/hugetlb: fix potential double free in hugetlb_register_node() error path
  mm/memory.c: fix potential pte_unmap_unlock pte error
  mm: memcontrol: fix slub memory accounting
  mm: memcontrol: fix NR_ANON_THPS accounting in charge moving
  ocfs2: fix a use after free on error
  wireguard: kconfig: use arm chacha even with no neon
  wireguard: device: do not generate ICMP for non-IP packets
  vxlan: move debug check after netdev unregister
  PCI: rockchip: Make 'ep-gpios' DT property optional
  net/mlx4_core: Add missed mlx4_free_cmd_mailbox()
  net: stmmac: fix CBS idleslope and sendslope calculation
  ice: update the number of available RSS queues
  ice: Fix state bits on LLDP mode switch
  ice: Account for port VLAN in VF max packet size calculation
  ice: report correct max number of TCs
  vfio/type1: Use follow_pte()
  pwm: iqs620a: Fix overflow and optimize calculations
  octeontx2-af: Fix an off by one in rvu_dbg_qsize_write()
  i40e: Fix add TC filter for IPv6
  nios2: fixed broken sys_clone syscall
  Take mmap lock in cacheflush syscall
  i40e: Fix VFs not created
  i40e: Fix addition of RX filters after enabling FW LLDP agent
  i40e: Fix overwriting flow control settings during driver loading
  i40e: Add zero-initialization of AQ command structures
  i40e: Fix flow for IPv6 next header (extension header)
  PCI: cadence: Fix DMA range mapping early return error
  PCI: pci-bridge-emul: Fix array overruns, improve safety
  device-dax: Fix default return code of range_parse()
  mailbox: sprd: correct definition of SPRD_OUTBOX_FIFO_FULL
  ext: EXT4_KUNIT_TESTS should depend on EXT4_FS instead of selecting it
  regmap: sdw: use _no_pm functions in regmap_read/write
  remoteproc/mediatek: acknowledge watchdog IRQ after handled
  misc: fastrpc: fix incorrect usage of dma_map_sgtable
  soundwire: bus: fix confusion on device used by pm_runtime
  soundwire: export sdw_write/read_no_pm functions
  soundwire: bus: use sdw_write_no_pm when setting the bus scale registers
  soundwire: bus: use sdw_update_no_pm when initializing a device
  nvmem: core: skip child nodes not matching binding
  nvmem: core: Fix a resource leak on error in nvmem_add_cells_from_of()
  coresight: etm4x: Skip accessing TRCPDCR in save/restore
  phy: USB_LGM_PHY should depend on X86
  ext4: fix potential htree index checksum corruption
  vfio-pci/zdev: fix possible segmentation fault issue
  vfio/iommu_type1: Fix some sanity checks in detach group
  vfio/iommu_type1: Populate full dirty when detach non-pinned group
  drm/msm/dp: trigger unplug event in msm_dp_display_disable
  drm/msm: Fix races managing the OOB state for timestamp vs timestamps.
  drm/msm: Fix race of GPU init vs timestamp power management.
  drm/msm/mdp5: Fix wait-for-commit for cmd panels
  drm/msm/dsi: Correct io_start for MSM8994 (20nm PHY)
  drm/msm: Fix MSM_INFO_GET_IOVA with carveout
  mei: hbm: call mei_set_devstate() on hbm stop response
  PCI: Align checking of syscall user config accessors
  VMCI: Use set_page_dirty_lock() when unregistering guest memory
  PCI: xilinx-cpm: Fix reference count leak on error path
  pwm: rockchip: Eliminate potential race condition when probing
  pwm: rockchip: rockchip_pwm_probe(): Remove superfluous clk_unprepare()
  pwm: rockchip: Enable APB clock during register access while probing
  soundwire: cadence: fix ACK/NAK handling
  PCI: rcar: Always allocate MSI addresses in 32bit space
  misc: eeprom_93xx46: Add module alias to avoid breaking support for non device tree users
  phy: cadence-torrent: Fix error code in cdns_torrent_phy_probe()
  phy: rockchip-emmc: emmc_phy_init() always return 0
  misc: eeprom_93xx46: Fix module alias to enable module autoprobe
  ARM: 9065/1: OABI compat: fix build when EPOLL is not enabled
  Input: zinitix - fix return type of zinitix_init_touch()
  sparc: fix led.c driver when PROC_FS is not enabled
  sparc64: only select COMPAT_BINFMT_ELF if BINFMT_ELF is set
  Input: elo - fix an error code in elo_connect()
  perf test: Fix unaligned access in sample parsing test
  perf intel-pt: Fix IPC with CYC threshold
  perf intel-pt: Fix premature IPC
  perf intel-pt: Fix missing CYC processing in PSB
  perf record: Fix continue profiling after draining the buffer
  Input: sur40 - fix an error code in sur40_probe()
  RDMA/rtrs-srv: Do not pass a valid pointer to PTR_ERR()
  RDMA/rtrs-srv-sysfs: fix missing put_device
  RDMA/rtrs-srv: fix memory leak by missing kobject free
  RDMA/rtrs: Only allow addition of path to an already established session
  RDMA/rtrs-srv: Fix stack-out-of-bounds
  RDMA/ucma: Fix use-after-free bug in ucma_create_uevent
  RDMA/hns: Fixes missing error code of CMDQ
  ceph: fix flush_snap logic after putting caps
  svcrdma: Hold private mutex while invoking rdma_accept()
  nfsd: register pernet ops last, unregister first
  perf symbols: Fix return value when loading PE DSO
  printk: avoid prb_first_valid_seq() where possible
  spi: Skip zero-length transfers in spi_transfer_one_message()
  spi: dw: Avoid stack content exposure
  regulator: bd718x7, bd71828, Fix dvs voltage levels
  perf symbols: Use (long) for iterator for bfd symbols
  selftests/ftrace: Update synthetic event syntax errors
  clk: aspeed: Fix APLL calculate formula from ast2600-A2
  regulator: qcom-rpmh: fix pm8009 ldo7
  powerpc/kuap: Restore AMR after replaying soft interrupts
  powerpc/uaccess: Avoid might_fault() when user access is enabled
  spi: pxa2xx: Fix the controller numbering for Wildcat Point
  clk: divider: fix initialization with parent_hw
  RDMA/hns: Disable RQ inline by default
  RDMA/hns: Fix type of sq_signal_bits
  RDMA/siw: Fix calculation of tx_valid_cpus size
  RDMA/hns: Fixed wrong judgments in the goto branch
  kselftests: dmabuf-heaps: Fix Makefile's inclusion of the kernel's usr/include dir
  kunit: tool: fix unit test cleanup handling
  clk: qcom: gcc-msm8998: Fix Alpha PLL type for all GPLLs
  powerpc/8xx: Fix software emulation interrupt
  powerpc/pseries/dlpar: handle ibm, configure-connector delay status
  mfd: wm831x-auxadc: Prevent use after free in wm831x_auxadc_read_irq()
  mfd: altera-sysmgr: Fix physical address storing more
  spi: stm32: properly handle 0 byte transfer
  RDMA/rxe: Correct skb on loopback path
  RDMA/rxe: Fix coding error in rxe_rcv_mcast_pkt
  RDMA/rxe: Fix coding error in rxe_recv.c
  perf vendor events arm64: Fix Ampere eMag event typo
  perf tools: Fix DSO filtering when not finding a map for a sampled address
  rtc: zynqmp: depend on HAS_IOMEM
  tracepoint: Do not fail unregistering a probe due to memory failure
  IB/cm: Avoid a loop when device has 255 ports
  IB/mlx5: Return appropriate error code instead of ENOMEM
  iommu: Properly pass gfp_t in _iommu_map() to avoid atomic sleeping
  iommu: Move iotlb_sync_map out from __iommu_map
  amba: Fix resource leak for drivers without .remove
  i2c: qcom-geni: Store DMA mapping data in geni_i2c_dev struct
  ARM: 9046/1: decompressor: Do not clear SCTLR.nTLSMD for ARMv7+ cores
  mmc: renesas_sdhi_internal_dmac: Fix DMA buffer alignment from 8 to 128-bytes
  mmc: usdhi6rol0: Fix a resource leak in the error handling path of the probe
  mmc: sdhci-sprd: Fix some resource leaks in the remove function
  mmc: owl-mmc: Fix a resource leak in an error handling path and in the remove function
  powerpc/time: Enable sched clock for irqtime
  powerpc/47x: Disable 256k page size
  KVM: PPC: Make the VMX instruction emulation routines static
  IB/umad: Return EPOLLERR in case of when device disassociated
  IB/umad: Return EIO in case of when device disassociated
  iommu: Switch gather->end to the inclusive end
  scsi: lpfc: Fix ancient double free
  objtool: Fix ".cold" section suffix check for newer versions of GCC
  objtool: Fix retpoline detection in asm code
  objtool: Fix error handling for STD/CLD warnings
  auxdisplay: ht16k33: Fix refresh rate handling
  watchdog: intel-mid_wdt: Postpone IRQ handler registration till SCU is ready
  isofs: release buffer head before return
  regulator: core: Avoid debugfs: Directory ... already present! error
  power: supply: smb347-charger: Fix interrupt usage if interrupt is unavailable
  power: supply: axp20x_usb_power: Init work before enabling IRQs
  regulator: s5m8767: Drop regulators OF node reference
  spi: atmel: Put allocated master before return
  regulator: s5m8767: Fix reference count leak
  certs: Fix blacklist flag type confusion
  watch_queue: Drop references to /dev/watch_queue
  regulator: axp20x: Fix reference cout leak
  platform/chrome: cros_ec_proto: Add LID and BATTERY to default mask
  platform/chrome: cros_ec_proto: Use EC_HOST_EVENT_MASK not BIT
  clk: sunxi-ng: h6: Fix clock divider range on some clocks
  IB/mlx5: Add mutex destroy call to cap_mask_mutex mutex
  RDMA/mlx5: Use the correct obj_id upon DEVX TIR creation
  spi: imx: Don't print error on -EPROBEDEFER
  clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined
  clocksource/drivers/ixp4xx: Select TIMER_OF when needed
  power: supply: fix sbs-charger build, needs REGMAP_I2C
  dmaengine: idxd: set DMA channel to be private
  rtc: s5m: select REGMAP_I2C
  power: reset: at91-sama5d2_shdwc: fix wkupdbc mask
  RDMA/rtrs-srv: Init wr_cnt as 1
  RDMA/rtrs-clt: Refactor the failure cases in alloc_clt
  RDMA/rtrs-srv: Fix missing wr_cqe
  RDMA/rtrs: Call kobject_put in the failure path
  RDMA/rtrs-clt: Set mininum limit when create QP
  RDMA/rtrs-srv: Use sysfs_remove_file_self for disconnect
  RDMA/rtrs-srv: Release lock before call into close_sess
  RDMA/rtrs: Extend ibtrs_cq_qp_create
  of/fdt: Make sure no-map does not remove already reserved regions
  fdt: Properly handle "no-map" field in the memory region
  power: supply: cpcap-charger: Fix power_supply_put on null battery pointer
  power: supply: cpcap-battery: Fix missing power_supply_put()
  power: supply: cpcap-charger: Fix missing power_supply_put()
  mfd: bd9571mwv: Use devm_mfd_add_devices()
  dmaengine: hsu: disable spurious interrupt
  dmaengine: owl-dma: Fix a resource leak in the remove function
  dmaengine: fsldma: Fix a resource leak in an error handling path of the probe function
  dmaengine: fsldma: Fix a resource leak in the remove function
  RDMA/siw: Fix handling of zero-sized Read and Receive Queues.
  HID: core: detect and skip invalid inputs to snto32()
  clk: renesas: r8a779a0: Fix parent of CBFUSA clock
  clk: renesas: r8a779a0: Remove non-existent S2 clock
  clk: sunxi-ng: h6: Fix CEC clock
  spi: cadence-quadspi: Abort read if dummy cycles required are too many
  i2c: iproc: handle master read request
  i2c: iproc: update slave isr mask (ISR_MASK_SLAVE)
  i2c: iproc: handle only slave interrupts which are enabled
  quota: Fix memory leak when handling corrupted quota file
  arm64: dts: qcom: qrb5165-rb5: fix pm8009 regulators
  regulator: qcom-rpmh-regulator: add pm8009-1 chip revision
  selftests/powerpc: Make the test check in eeh-basic.sh posix compliant
  clk: meson: clk-pll: propagate the error from meson_clk_pll_set_rate()
  clk: meson: clk-pll: make "ret" a signed integer
  clk: meson: clk-pll: fix initializing the old rate (fallback) for a PLL
  power: supply: cpcap: Add missing IRQF_ONESHOT to fix regression
  HSI: Fix PM usage counter unbalance in ssi_hw_init
  capabilities: Don't allow writing ambiguous v3 file capabilities
  drm/amdgpu/display: remove hdcp_srm sysfs on device removal
  smp: Process pending softirqs in flush_smp_call_function_from_idle()
  irqchip/imx: IMX_INTMUX should not default to y, unconditionally
  ubifs: Fix error return code in alloc_wbufs()
  ubifs: replay: Fix high stack usage, again
  ubifs: Fix memleak in ubifs_init_authentication
  jffs2: fix use after free in jffs2_sum_write_data()
  fs/jfs: fix potential integer overflow on shift of a int
  ASoC: simple-card-utils: Fix device module clock
  ima: Free IMA measurement buffer after kexec syscall
  ima: Free IMA measurement buffer on error
  ASoC: SOF: sof-pci-dev: add missing Up-Extreme quirk
  nvmet: set status to 0 in case for invalid nsid
  nvmet: remove extra variable in identify ns
  nvme-multipath: set nr_zones for zoned namespaces
  nvmet-tcp: fix potential race of tcp socket closing accept_work
  nvmet-tcp: fix receive data digest calculation for multiple h2cdata PDUs
  io_uring: fix possible deadlock in io_uring_poll
  crypto: ecdh_helper - Ensure 'len >= secret.len' in decode_key()
  hwrng: timeriomem - Fix cooldown period calculation
  drm/dp_mst: Don't cache EDIDs for physical ports
  drm/lima: fix reference leak in lima_pm_busy
  drm/vc4: hdmi: Update the CEC clock divider on HSM rate change
  drm/vc4: hdmi: Compute the CEC clock divider from the clock rate
  drm/vc4: hdmi: Restore cec physical address on reconnect
  drm/vc4: hdmi: Fix up CEC registers
  drm/vc4: hdmi: Fix register offset with longer CEC messages
  drm/vc4: hdmi: Move hdmi reset to bind
  s390/zcrypt: return EIO when msg retry limit reached
  KVM: x86: Restore all 64 bits of DR6 and DR7 during RSM on x86-64
  btrfs: fix double accounting of ordered extent for subpage case in btrfs_invalidapge
  btrfs: clarify error returns values in __load_free_space_cache
  ASoC: SOF: debug: Fix a potential issue on string buffer termination
  ASoC: rt5682: Fix panic in rt5682_jack_detect_handler happening during system shutdown
  ASoC: qcom: lpass: Fix i2s ctl register bit map
  locking/lockdep: Avoid unmatched unlock
  ASoC: Intel: sof_sdw: add missing TGL_HDMI quirk for Dell SKU 0A3E
  ASoC: Intel: sof_sdw: add missing TGL_HDMI quirk for Dell SKU 0A5E
  Drivers: hv: vmbus: Avoid use-after-free in vmbus_onoffer_rescind()
  drm/mediatek: Check if fb is null
  KVM: nSVM: Don't strip host's C-bit from guest's CR3 when reading PDPTRs
  ASoC: qcom: Fix typo error in HDMI regmap config callbacks
  f2fs: fix a wrong condition in __submit_bio
  drm/amdgpu: Prevent shift wrapping in amdgpu_read_mask()
  f2fs: fix to avoid inconsistent quota data
  mtd: parsers: afs: Fix freeing the part name memory in failure
  ASoC: codecs: add missing max_register in regmap config
  ASoC: cpcap: fix microphone timeslot mask
  ata: ahci_brcm: Add back regulators management
  mm: proc: Invalidate TLB after clearing soft-dirty page state
  drm/nouveau: bail out of nouveau_channel_new if channel init fails
  crypto: talitos - Fix ctr(aes) on SEC1
  crypto: talitos - Work around SEC6 ERRATA (AES-CTR mode data size error)
  mtd: parser: imagetag: fix error codes in bcm963xx_parse_imagetag_partitions()
  perf/arm-cmn: Move IRQs when migrating context
  perf/arm-cmn: Fix PMU instance naming
  ASoC: SOF: Intel: hda: cancel D0i3 work during runtime suspend
  ASoC: qcom: lpass-cpu: Remove bit clock state check
  f2fs: compress: fix potential deadlock
  sched/eas: Don't update misfit status if the task is pinned
  media: uvcvideo: Accept invalid bFormatIndex and bFrameIndex values
  media: pxa_camera: declare variable when DEBUG is defined
  media: mtk-vcodec: fix argument used when DEBUG is defined
  media: cx25821: Fix a bug when reallocating some dma memory
  media: qm1d1c0042: fix error return code in qm1d1c0042_init()
  media: atomisp: Fix a buffer overflow in debug code
  media: vidtv: psi: fix missing crc for PMT
  media: lmedm04: Fix misuse of comma
  media: software_node: Fix refcounts in software_node_get_next_child()
  drm/amd/display: Fix HDMI deep color output for DCE 6-11.
  drm/amd/display: Fix 10/12 bpc setup in DCE output bit depth reduction.
  macintosh/adb-iop: Use big-endian autopoll mask
  bsg: free the request before return error code
  drm/amdgpu: toggle on DF Cstate after finishing xgmi injection
  drm/tegra: Fix reference leak when pm_runtime_get_sync() fails
  MIPS: Compare __SYNC_loongson3_war against 0
  MIPS: properly stop .eh_frame generation
  media: ti-vpe: cal: fix write to unallocated memory
  media: imx7: csi: Fix pad link validation
  media: imx7: csi: Fix regression for parallel cameras on i.MX6UL
  drm/sun4i: tcon: fix inverted DCLK polarity
  sched/fair: Avoid stale CPU util_est value for schedutil in task dequeue
  crypto: bcm - Rename struct device_private to bcm_device_private
  evm: Fix memleak in init_desc
  ASoC: qcom: qdsp6: Move frontend AIFs to q6asm-dai
  ASoC: cs42l56: fix up error handling in probe
  media: aspeed: fix error return code in aspeed_video_setup_video()
  media: tm6000: Fix memleak in tm6000_start_stream
  media: media/pci: Fix memleak in empress_init
  media: em28xx: Fix use-after-free in em28xx_alloc_urbs
  media: vsp1: Fix an error handling path in the probe function
  media: camss: missing error code in msm_video_register()
  media: mtk-vcodec: fix error return code in vdec_vp9_decode()
  media: imx: Fix csc/scaler unregister
  media: imx: Unregister csc/scaler only if registered
  media: i2c: ov5670: Fix PIXEL_RATE minimum value
  media: ipu3-cio2: Build only for x86
  drm/fourcc: fix Amlogic format modifier masks
  drm/virtio: make sure context is created in gem open
  MIPS: lantiq: Explicitly compare LTQ_EBU_PCC_ISTAT against 0
  MIPS: c-r4k: Fix section mismatch for loongson2_sc_init
  drm/amdgpu: Fix macro name _AMDGPU_TRACE_H_ in preprocessor if condition
  drm: rcar-du: Fix the return check of of_parse_phandle and of_find_device_by_node
  drm: rcar-du: Fix crash when using LVDS1 clock for CRTC
  drm: rcar-du: Fix PM reference leak in rcar_cmm_enable()
  kcsan: Rewrite kcsan_prandom_u32_max() without prandom_u32_state()
  media: allegro: Fix use after free on error
  hwrng: ingenic - Fix a resource leak in an error handling path
  crypto: arm64/aes-ce - really hide slower algos when faster ones are enabled
  crypto: sun4i-ss - fix kmap usage
  crypto: sun4i-ss - linearize buffers content must be kept
  drm/vc4: hdmi: Take into account the clock doubling flag in atomic_check
  drm/panel: mantix: Tweak init sequence
  drm/fb-helper: Add missed unlocks in setcmap_legacy()
  gma500: clean up error handling in init
  drm/gma500: Fix error return code in psb_driver_load()
  fbdev: aty: SPARC64 requires FB_ATY_CT
  tty: implement read_iter
  tty: convert tty_ldisc_ops 'read()' function to take a kernel pointer
  net: enetc: fix destroyed phylink dereference during unbind
  net: mvneta: Remove per-cpu queue mapping for Armada 3700
  net: amd-xgbe: Fix network fluctuations when using 1G BELFUSE SFP
  net: amd-xgbe: Reset link when the link never comes back
  net: amd-xgbe: Fix NETDEV WATCHDOG transmit queue timeout warning
  net: amd-xgbe: Reset the PHY rx data path when mailbox command timeout
  net: phy: mscc: adding LCPLL reset to VSC8514
  net: dsa: felix: don't deinitialize unused ports
  net: dsa: felix: perform teardown in reverse order of setup
  ibmvnic: skip send_request_unmap for timeout reset
  ibmvnic: add memory barrier to protect long term buffer
  bpf: Clear subreg_def for global function return values
  b43: N-PHY: Fix the update of coef for the PHY revision >= 3case
  cxgb4/chtls/cxgbit: Keeping the max ofld immediate data size same in cxgb4 and ulds
  net: axienet: Handle deferred probe on clock properly
  tcp: fix SO_RCVLOWAT related hangs under mem pressure
  selftests: mptcp: fix ACKRX debug message
  bpf: Fix bpf_fib_lookup helper MTU check for SKB ctx
  bpf, devmap: Use GFP_KERNEL for xdp bulk queue allocation
  bpf: Fix an unitialized value in bpf_iter
  libbpf: Ignore non function pointer member in struct_ops
  mac80211: fix potential overflow when multiplying to u32 integers
  net/mlx5e: Check tunnel offload is required before setting SWP
  net/mlx5e: CT: manage the lifetime of the ct entry object
  net/mlx5: Disable devlink reload for lag devices
  net/mlx5: Disallow RoCE on lag device
  net/mlx5: Disallow RoCE on multi port slave device
  net/mlx5: Disable devlink reload for multi port slave device
  net/mlx5e: kTLS, Use refcounts to free kTLS RX priv context
  net/mlx5e: Replace synchronize_rcu with synchronize_net
  net/mlx5: Fix health error state handling
  net/mlx5e: Change interrupt moderation channel params also when channels are closed
  net/mlx5e: Don't change interrupt moderation params when DIM is enabled
  net: phy: consider that suspend2ram may cut off PHY power
  dpaa2-eth: fix memory leak in XDP_REDIRECT
  xen/netback: fix spurious event detection for common event case
  bnxt_en: Fix devlink info's stored fw.psid version format.
  bnxt_en: reverse order of TX disable and carrier off
  ibmvnic: Set to CLOSED state even on error
  selftests/bpf: Convert test_xdp_redirect.sh to bash
  ath9k: fix data bus crash when setting nf_override via debugfs
  iwlwifi: pnvm: increment the pointer before checking the TLV
  iwlwifi: pnvm: set the PNVM again if it was already loaded
  bpf_lru_list: Read double-checked variable once without lock
  iwlwifi: mvm: don't check if CSA event is running before removing
  iwlwifi: mvm: assign SAR table revision to the command later
  iwlwifi: mvm: send stored PPAG command instead of local
  iwlwifi: mvm: store PPAG enabled/disabled flag properly
  iwlwifi: mvm: fix the type we use in the PPAG table validity checks
  soc: aspeed: snoop: Add clock control logic
  ath11k: fix a locking bug in ath11k_mac_op_start()
  ath10k: Fix lockdep assertion warning in ath10k_sta_statistics
  ath10k: Fix suspicious RCU usage warning in ath10k_wmi_tlv_parse_peer_stats_info()
  ARM: at91: use proper asm syntax in pm_suspend
  staging: wfx: fix possible panic with re-queued frames
  optee: simplify i2c access
  ARM: s3c: fix fiq for clang IAS
  iwlwifi: mvm: set enabled in the PPAG command properly
  arm64: dts: meson: fix broken wifi node for Khadas VIM3L
  arm64: dts: msm8916: Fix reserved and rfsa nodes unit address
  soc: qcom: ocmem: don't return NULL in of_get_ocmem
  Bluetooth: btusb: Fix memory leak in btusb_mtk_wmt_recv
  opp: Correct debug message in _opp_add_static_v2()
  arm64: dts: armada-3720-turris-mox: rename u-boot mtd partition to a53-firmware
  ARM: dts: armada388-helios4: assign pinctrl to each fan
  ARM: dts: armada388-helios4: assign pinctrl to LEDs
  can: mcp251xfd: mcp251xfd_probe(): fix errata reference
  arm64: dts: renesas: beacon: Fix EEPROM compatible value
  x86/MSR: Filter MSR writes through X86_IOC_WRMSR_REGS ioctl too
  staging: rtl8723bs: wifi_regd.c: Fix incorrect number of regulatory rules
  usb: dwc2: Make "trimming xfer length" a debug message
  usb: dwc2: Abort transaction after errors with unknown reason
  usb: dwc2: Do not update data length if it is 0 on inbound transfers
  ARM: dts: Configure missing thermal interrupt for 4430
  memory: ti-aemif: Drop child node when jumping out loop
  Bluetooth: Put HCI device if inquiry procedure interrupts
  Bluetooth: drop HCI device reference before return
  staging: media: atomisp: Fix size_t format specifier in hmm_alloc() debug statemenet
  soc: ti: pm33xx: Fix some resource leak in the error handling paths of the probe function
  soc: qcom: socinfo: Fix an off by one in qcom_show_pmic_model()
  arm64: dts: qcom: sdm845-db845c: Fix reset-pin of ov8856 node
  usb: gadget: u_audio: Free requests only after callback
  ACPICA: Fix exception code class checks
  arm64: dts: rockchip: rk3328: Add clock_in_out property to gmac2phy node
  cpufreq: brcmstb-avs-cpufreq: Fix resource leaks in ->remove()
  cpufreq: brcmstb-avs-cpufreq: Free resources in error path
  arm64: dts: qcom: msm8916-samsung-a2015: Fix sensors
  arm64: dts: allwinner: A64: Limit MMC2 bus frequency to 150 MHz
  arm64: dts: allwinner: H6: Allow up to 150 MHz MMC bus frequency
  arm64: dts: allwinner: Drop non-removable from SoPine/LTS SD card
  arm64: dts: allwinner: H6: properly connect USB PHY to port 0
  arm64: dts: allwinner: A64: properly connect USB PHY to port 0
  firmware: arm_scmi: Fix call site of scmi_notification_exit
  bpf: Avoid warning when re-casting __bpf_call_base into __bpf_call_base_args
  bpf: Add bpf_patch_call_args prototype to include/linux/bpf.h
  net: stmmac: dwmac-meson8b: fix enabling the timing-adjustment clock
  arm64: dts: qcom: msm8916-samsung-a5u: Fix iris compatible
  staging: vchiq: Fix bulk transfers on 64-bit builds
  staging: vchiq: Fix bulk userdata handling
  Bluetooth: hci_qca: Fix memleak in qca_controller_memdump
  memory: mtk-smi: Fix PM usage counter unbalance in mtk_smi ops
  arm64: dts: exynos: correct PMIC interrupt trigger level on Espresso
  arm64: dts: exynos: correct PMIC interrupt trigger level on TM2
  ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid XU3 family
  ARM: dts: exynos: correct PMIC interrupt trigger level on Arndale Octa
  ARM: dts: exynos: correct PMIC interrupt trigger level on Spring
  ARM: dts: exynos: correct PMIC interrupt trigger level on Rinato
  ARM: dts: exynos: correct PMIC interrupt trigger level on Monk
  ARM: dts: exynos: correct PMIC interrupt trigger level on Artik 5
  arm64: dts: renesas: beacon: Fix audio-1.8V pin enable
  arm64: dts: renesas: beacon kit: Fix choppy Bluetooth Audio
  Bluetooth: Fix initializing response id after clearing struct
  Bluetooth: hci_uart: Fix a race for write_work scheduling
  Bluetooth: btqcomsmd: Fix a resource leak in error handling paths in the probe function
  ath10k: Fix error handling in case of CE pipe init failure
  drm/i915/gt: One more flush for Baytrail clear residuals
  ALSA: pcm: Don't call sync_stop if it hasn't been stopped
  ALSA: pcm: Assure sync with the pending stop operation at suspend
  ALSA: pcm: Call sync_stop at disconnection
  random: fix the RNDRESEEDCRNG ioctl
  vmlinux.lds.h: Define SANTIZER_DISCARDS with CONFIG_GCOV_KERNEL=y
  MIPS: vmlinux.lds.S: add missing PAGE_ALIGNED_DATA() section
  ALSA: usb-audio: Fix PCM buffer allocation in non-vmalloc mode
  bfq: Avoid false bfq queue merging
  virt: vbox: Do not use wait_event_interruptible when called from kernel context
  PCI: Decline to resize resources if boot config must be preserved
  PCI: qcom: Use PHY_REFCLK_USE_PAD only for ipq8064
  w1: w1_therm: Fix conversion result for negative temperatures
  kdb: Make memory allocations more robust
  scsi: qla2xxx: Fix mailbox Ch erroneous error
  scsi: libsas: docs: Remove notify_ha_event()
  debugfs: do not attempt to create a new file before the filesystem is initalized
  debugfs: be more robust at handling improper input in debugfs_lookup()
  vdpa/mlx5: fix param validation in mlx5_vdpa_get_config()
  vmlinux.lds.h: add DWARF v5 sections

 Conflicts:
	Documentation/devicetree/bindings
	Documentation/devicetree/bindings/net/btusb.txt
	Documentation/devicetree/bindings/net/ethernet-controller.yaml
	drivers/cpufreq/qcom-cpufreq-hw.c
	drivers/nvmem/qcom-spmi-sdam.c
	drivers/soc/qcom/socinfo.c
	drivers/spmi/spmi-pmic-arb.c
	net/qrtr/tun.c

Change-Id: I5a14e8d8d00a40af0a0e022ad85996f1351704f4
Signed-off-by: Ivaylo Georgiev <irgeorgiev@codeaurora.org>
Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
2021-03-18 02:00:06 -07:00
android Merge android12-5.10.21+ (8cf9478) into msm-5.10 2021-03-18 02:00:06 -07:00
arch Merge android12-5.10.21+ (8cf9478) into msm-5.10 2021-03-18 02:00:06 -07:00
block Merge 5.10.20 into android12-5.10 2021-03-07 12:33:33 +01:00
certs certs: Fix blacklist flag type confusion 2021-03-04 11:37:59 +01:00
crypto This is the 5.10.21 stable release 2021-03-07 12:53:30 +01:00
Documentation Merge android12-5.10.21+ (8cf9478) into msm-5.10 2021-03-18 02:00:06 -07:00
drivers Merge android12-5.10.21+ (8cf9478) into msm-5.10 2021-03-18 02:00:06 -07:00
fs Merge android12-5.10.21+ (8cf9478) into msm-5.10 2021-03-18 02:00:06 -07:00
include Merge android12-5.10.21+ (8cf9478) into msm-5.10 2021-03-18 02:00:06 -07:00
init Merge android12-5.10.21+ (8cf9478) into msm-5.10 2021-03-18 02:00:06 -07:00
ipc ipc: adjust proc_ipc_sem_dointvec definition to match prototype 2020-09-05 12:14:29 -07:00
kernel Merge android12-5.10.21+ (8cf9478) into msm-5.10 2021-03-18 02:00:06 -07:00
lib Merge android12-5.10.21+ (8cf9478) into msm-5.10 2021-03-18 02:00:06 -07:00
LICENSES LICENSES/deprecated: add Zlib license text 2020-09-16 14:33:49 +02:00
mm Merge android12-5.10.21+ (8cf9478) into msm-5.10 2021-03-18 02:00:06 -07:00
net Merge android12-5.10.21+ (8cf9478) into msm-5.10 2021-03-18 02:00:06 -07:00
samples watch_queue: Drop references to /dev/watch_queue 2021-03-04 11:37:59 +01:00
scripts Merge android12-5.10.21+ (8cf9478) into msm-5.10 2021-03-18 02:00:06 -07:00
security ANDROID: security: selinux: Add vendor hook in avc 2021-03-15 15:37:18 +00:00
sound Merge android12-5.10.21+ (8cf9478) into msm-5.10 2021-03-18 02:00:06 -07:00
techpack techpack: Replace xtype with type while searching for sub-dirs 2019-11-19 11:52:49 -08:00
tools Merge 5.10.20 into android12-5.10 2021-03-07 12:33:33 +01:00
usr Merge branch 'work.fdpic' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-08-07 13:29:39 -07:00
virt KVM: Use kvm_pfn_t for local PFN variable in hva_to_pfn_remapped() 2021-02-26 10:13:01 +01:00
.clang-format RDMA 5.10 pull request 2020-10-17 11:18:18 -07:00
.cocciconfig scripts: add Linux .cocciconfig for coccinelle 2016-07-22 12:13:39 +02:00
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl 2019-05-16 10:53:40 -07:00
.gitattributes .gitattributes: use 'dts' diff driver for dts files 2019-12-04 19:44:11 -08:00
.gitignore Merge android12-5.10.1+ (ec1fff1) into msm-5.10 2020-12-17 12:15:41 -08:00
.mailmap mailmap: add two more addresses of Uwe Kleine-König 2020-12-06 10:19:07 -08:00
Android.bp Android.bp: headers_install.sh: Use environment for unifdef tool 2021-02-18 09:36:58 -08:00
build.config.aarch64 ANDROID: enable LLVM_IAS=1 for clang's integrated assembler for aarch64 2020-11-10 12:14:17 -08:00
build.config.allmodconfig ANDROID: allmodconfig: drop openssl from ADDITIONAL_HOST_TOOLS 2021-03-04 20:48:17 +00:00
build.config.allmodconfig.aarch64 ANDROID: drop KERNEL_DIR setting in build.config.common 2020-08-31 15:20:37 +00:00
build.config.allmodconfig.arm ANDROID: drop KERNEL_DIR setting in build.config.common 2020-08-31 15:20:37 +00:00
build.config.allmodconfig.x86_64 ANDROID: drop KERNEL_DIR setting in build.config.common 2020-08-31 15:20:37 +00:00
build.config.amlogic ANDROID: GKI: amlogic: add DTB overlays 2021-02-12 10:08:04 +01:00
build.config.arm ANDROID: ARM: Use zImage instead of Image 2020-11-13 15:56:44 +00:00
build.config.common Merge android12-5.10.19+ (0fc8633) into msm-5.10 2021-03-04 02:07:48 -08:00
build.config.db845c ANDROID: db845c: Use FRAGMENT_CONFIG 2021-02-10 06:08:17 +00:00
build.config.gki ANDROID: gki: Removed cf modules from gki_defconfig 2020-02-01 00:27:50 +00:00
build.config.gki_kasan ANDROID: build.config: Disable LTO for KASAN and Kprobes builds 2021-03-08 00:31:49 +00:00
build.config.gki_kasan.aarch64 ANDROID: drop KERNEL_DIR setting in build.config.common 2020-08-31 15:20:37 +00:00
build.config.gki_kasan.x86_64 ANDROID: drop KERNEL_DIR setting in build.config.common 2020-08-31 15:20:37 +00:00
build.config.gki_kprobes ANDROID: build.config: Disable LTO for KASAN and Kprobes builds 2021-03-08 00:31:49 +00:00
build.config.gki_kprobes.aarch64 ANDROID: Adding kprobes build configs for Cuttlefish 2021-03-03 02:03:02 +00:00
build.config.gki_kprobes.x86_64 ANDROID: Adding kprobes build configs for Cuttlefish 2021-03-03 02:03:02 +00:00
build.config.gki-debug.aarch64 ANDROID: drop KERNEL_DIR setting in build.config.common 2020-08-31 15:20:37 +00:00
build.config.gki-debug.x86_64 ANDROID: drop KERNEL_DIR setting in build.config.common 2020-08-31 15:20:37 +00:00
build.config.gki.aarch64 ANDROID: Add hikey960 build infrastructure file 2021-02-18 23:59:34 +00:00
build.config.gki.x86_64 ANDROID: drop KERNEL_DIR setting in build.config.common 2020-08-31 15:20:37 +00:00
build.config.hikey960 ANDROID: Add hikey960 build infrastructure file 2021-02-18 23:59:34 +00:00
build.config.msm.common Merge "defconfig: consolidate: Enable PAGE_OWNER and pointer printing" 2021-03-04 22:36:46 -08:00
build.config.msm.gki build.config.msm.gki: Set KMI_ENFORCED=1 2021-02-27 09:09:55 -08:00
build.config.msm.lahaina build.config: Add support for KERNEL_CMDLINE_CONSOLE_AUTO 2020-11-13 10:50:58 -08:00
build.config.msm.vm build.config: add new build configs to compile vm 2020-12-10 11:08:49 -08:00
build.config.msm.waipio arm64: defconfig: Set MSM_GENI_CONSOLE_DEFAULT_ENABLED off on perf build 2021-03-05 17:53:46 -08:00
build.config.msm.waipio.tuivm build.config.msm.common: create vmbootsys image for VM for waipio 2021-01-12 21:24:25 -08:00
build.config.x86_64 ANDROID: x86: Add objtool to MAKE_GOALS 2021-01-28 22:19:23 +00:00
build.targets build.targets: Remove Lahaina target 2021-02-22 11:52:01 -08:00
COPYING COPYING: state that all contributions really are covered by this file 2020-02-10 13:32:20 -08:00
CREDITS MAINTAINERS: Move Jason Cooper to CREDITS 2020-11-30 10:20:34 +01:00
files_gki_aarch64.txt Merge android12-5.10.21+ (8cf9478) into msm-5.10 2021-03-18 02:00:06 -07:00
Kbuild kbuild: rename hostprogs-y/always to hostprogs/always-y 2020-02-04 01:53:07 +09:00
Kconfig sched/walt: Introduce WALT as a module 2021-01-20 14:18:55 -08:00
kernel_headers.py kernel_headers: Disable headers matching 2020-07-09 12:28:12 -07:00
MAINTAINERS UPSTREAM: MAINTAINERS: add entry for KFENCE 2021-03-14 08:17:04 +00:00
Makefile Merge android12-5.10.21+ (8cf9478) into msm-5.10 2021-03-18 02:00:06 -07:00
modules.list.msm.lahaina modules.list: Add mindump to module list 2021-02-26 07:48:01 -08:00
modules.list.msm.waipio diwali: Add pinctrl-diwali to modules.list.msm.waipio 2021-03-09 01:43:41 -08:00
modules.vendor_blocklist.msm.waipio Merge "modules.blocklist: Remove WLAN protocol driver from block list" 2021-02-17 17:52:44 -08:00
README Drop all 00-INDEX files from Documentation/ 2018-09-09 15:08:58 -06:00
README.md ANDROID: README: Add requirement for "Bug:" tag for FROMLIST 2020-05-01 15:36:12 -07:00

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.

    • Do not send patches upstream that contain only symbol exports. To be considered for upstream Linux, additions of EXPORT_SYMBOL_GPL() require an in-tree modular driver that uses the symbol -- so include the new driver or changes to an existing driver in the same patchset as the export.
    • When sending patches upstream, the commit message must contain a clear case for why the patch is needed and beneficial to the community. Enabling out-of-tree drivers or functionality is not not a persuasive case.
  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 commit ...) 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 commit 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 commit ...) 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 commit c31e73121f4c1ec41143423ac6ce3ce6dafdcec1)
        [joe: 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
    • add a Bug: tag with the Android bug (required for patches not accepted into a maintainer tree)
    • 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)