Linux kernel source tree
Go to file
Blagovest Kolenichev 538219bfff Merge keystone/mirror-android-mainline into keystone/android-mainline-keystone-qcom-dev
* keystone/mirror-android-mainline:
  ANDROID: kleaf: db845c drop ax88179_178a.ko.
  ANDROID: GKI: Enable CONFIG_NULL_TTY by default
  ANDROID: gki - set CONFIG_USB_NET_AX88179_178A=y (usb gbit ethernet dongle)
  ANDROID: clang: update to 14.0.7
  Linux 5.18-rc5
  Revert "arm: dts: at91: Fix boolean properties with values"
  KVM: x86: work around QEMU issue with synthetic CPUID leaves
  ANDROID: fix KCFLAGS override by __ANDROID_COMMON_KERNEL__
  Revert "x86/mm: Introduce lookup_address_in_mm()"
  KVM: x86/mmu: fix potential races when walking host page table
  KVM: fix bad user ABI for KVM_EXIT_SYSTEM_EVENT
  KVM: x86/mmu: Do not create SPTEs for GFNs that exceed host.MAXPHYADDR
  io_uring: check that data field is 0 in ringfd unregister
  bfq: Fix warning in bfqq_request_over_limit()
  x86/pci/xen: Disable PCI/MSI[-X] masking for XEN_HVM guests
  ANDROID: Add flag to indicate compiling against ACK
  io_uring: fix uninitialized field in rw io_kiocb
  ANDROID: sched/rt: Add support for rt sync wakeups
  tcp: fix F-RTO may not work correctly when receiving DSACK
  Revert "ibmvnic: Add ethtool private flag for driver-defined queue limits"
  net: enetc: allow tc-etf offload even with NETIF_F_CSUM_MASK
  ixgbe: ensure IPsec VF<->PF compatibility
  MAINTAINERS: Update BNXT entry with firmware files
  netfilter: nft_socket: only do sk lookups when indev is available
  perf symbol: Remove arch__symbols__fixup_end()
  perf symbol: Update symbols__fixup_end()
  perf symbol: Pass is_kallsyms to symbols__fixup_end()
  perf test: Add perf_event_attr test for Arm SPE
  perf arm-spe: Fix SPE events with phys addresses
  perf arm-spe: Fix addresses of synthesized SPE events
  perf intel-pt: Fix timeless decoding with perf.data directory
  gfs2: No short reads or writes upon glock contention
  elf: Fix the arm64 MTE ELF segment name and value
  ANDROID: add gki_module headers to .gitignore file
  scsi: target: pscsi: Set SCF_TREAT_READ_AS_NORMAL flag only if there is valid data
  net: fec: add missing of_node_put() in fec_enet_init_stop_mode()
  bnx2x: fix napi API usage sequence
  ANDROID: gic-v3: Update vendor hook to set affinity in GIC v3
  tls: Skip tls_append_frag on zero copy size
  KVM: arm64: Inject exception on out-of-IPA-range translation fault
  drm/amdgpu: keep mmhub clock gating being enabled during s2idle suspend
  drm/amd/pm: fix the deadlock issue observed on SI
  drm/amd/display: Fix memory leak in dcn21_clock_source_create
  drm/amdgpu: don't runtime suspend if there are displays attached (v3)
  drm/amdkfd: CRIU add support for GWS queues
  drm/amdkfd: Fix GWS queue count
  KVM/arm64: Don't emulate a PMU for 32-bit guests if feature not set
  KVM: arm64: Handle host stage-2 faults from 32-bit EL0
  docs: vm/page_owner: use literal blocks for param description
  kasan: prevent cpu_quarantine corruption when CPU offline and cache shrink occur at same time
  Revert "block: inherit request start time from bio for BLK_CGROUP"
  intel_idle: Fix SPR C6 optimization
  intel_idle: Fix the 'preferred_cstates' module parameter
  hex2bin: fix access beyond string end
  hex2bin: make the function hex_to_bin constant-time
  bus: fsl-mc-msi: Fix MSI descriptor mutex lock for msi_first_desc()
  kernfs: fix NULL dereferencing in kernfs_remove
  Add Eric Dumazet to networking maintainers
  floppy: disable FDRAWCMD by default
  ANDROID: GKI: enable macsec
  platform/x86/intel: pmc/core: change pmc_lpm_modes to static
  platform/x86/intel/sdsi: Fix bug in multi packet reads
  platform/x86/intel/sdsi: Poll on ready bit for writes
  platform/x86/intel/sdsi: Handle leaky bucket
  platform/x86: intel-uncore-freq: Prevent driver loading in guests
  platform/x86: gigabyte-wmi: added support for B660 GAMING X DDR4 motherboard
  platform/x86: dell-laptop: Add quirk entry for Latitude 7520
  platform/x86: asus-wmi: Fix driver not binding when fan curve control probe fails
  platform/x86: asus-wmi: Potential buffer overflow in asus_wmi_evaluate_method_buf()
  iocost: don't reset the inuse weight of under-weighted debtors
  netfilter: conntrack: fix udp offload timeout sysctl
  netfilter: nf_conntrack_tcp: re-init for syn packets only
  io_uring: check reserved fields for recv/recvmsg
  io_uring: check reserved fields for send/sendmsg
  net: dsa: lantiq_gswip: Don't set GSWIP_MII_CFG_RMII_CLK
  net: Use this_cpu_inc() to increment net->core_stats
  ANDROID: enable db845c kleaf build.
  Bluetooth: hci_sync: Cleanup hci_conn if it cannot be aborted
  Bluetooth: hci_event: Fix creating hci_conn object on error status
  Bluetooth: hci_event: Fix checking for invalid handle on error status
  ice: fix use-after-free when deinitializing mailbox snapshot
  ice: wait 5 s for EMP reset after firmware flash
  ice: Protect vf_state check by cfg_lock in ice_vc_process_vf_msg()
  ice: Fix incorrect locking in ice_vc_process_vf_msg()
  RISC-V: configs: Configs that had RPMSG_CHAR now get RPMSG_CTRL
  xsk: Fix possible crash when multiple sockets are created
  kprobes: Fix KRETPROBES when CONFIG_KRETPROBE_ON_RETHOOK is set
  gfs2: Don't re-check for write past EOF unnecessarily
  drm/sun4i: Remove obsolete references to PHYS_OFFSET
  usb: phy: generic: Get the vbus supply
  usb: dwc3: gadget: Return proper request status
  usb: dwc3: pci: add support for the Intel Meteor Lake-P
  virtio_net: fix wrong buf address calculation when using xdp
  net: dsa: mv88e6xxx: Fix port_hidden_wait to account for port_base_addr
  net: phy: marvell10g: fix return value on error
  bug: Have __warn() prototype defined unconditionally
  net: bcmgenet: hide status block before TX timestamping
  mctp: defer the kfree of object mdev->addrs
  drm/i915/fbc: Consult hw.crtc instead of uapi.crtc
  drm/i915: Fix SEL_FETCH_PLANE_*(PIPE_B+) register addresses
  cpufreq: qcom-cpufreq-hw: Clear dcvs interrupts
  tty: n_gsm: fix sometimes uninitialized warning in gsm_dlci_modem_output()
  video: fbdev: clps711x-fb: Use syscon_regmap_lookup_by_phandle
  net/smc: Fix slab-out-of-bounds issue in fallback
  net/smc: Only save the original clcsock callback functions
  clk: sunxi: sun9i-mmc: check return value after calling platform_get_resource()
  bus: sunxi-rsb: Fix the return value of sunxi_rsb_device_create()
  no-MMU: expose vmalloc_huge() for alloc_large_system_hash()
  Documentation: siphash: disambiguate HalfSipHash algorithm from hsiphash functions
  Documentation: siphash: enclose HalfSipHash usage example in the literal block
  Documentation: siphash: convert danger note to warning for HalfSipHash
  random: document crng_fast_key_erasure() destination possibility
  Revert "arm64: dts: tegra: Fix boolean properties with values"
  tcp: make sure treq->af_specific is initialized
  tcp: fix potential xmit stalls caused by TCP_NOTSENT_LOWAT
  net: mscc: ocelot: don't add VID 0 to ocelot->vlans when leaving VLAN-aware bridge
  net: mscc: ocelot: ignore VID 0 added by 8021q module
  net: dsa: flood multicast to CPU when slave has IFF_PROMISC
  ip_gre, ip6_gre: Fix race condition on o_seqno in collect_md mode
  ip6_gre: Make o_seqno start from 0 in native mode
  ip_gre: Make o_seqno start from 0 in native mode
  net: lan966x: fix a couple off by one bugs
  net/smc: sync err code when tcp connection was refused
  net: hns: Add missing fwnode_handle_put in hns_mac_init
  net: hns3: add return value for mailbox handling in PF
  net: hns3: add validity check for message data length
  net: hns3: modify the return code of hclge_get_ring_chain_from_mbx
  net: hns3: fix error log of tx/rx tqps stats
  net: hns3: align the debugfs output to the left
  net: hns3: clear inited state and stop client after failed to register netdev
  netfilter: Update ip6_route_me_harder to consider L3 domain
  ceph: fix possible NULL pointer dereference for req->r_session
  ceph: remove incorrect session state check
  ceph: get snap_rwsem read lock in handle_cap_export for ceph_add_cap
  libceph: disambiguate cluster/pool full log message
  netfilter: flowtable: Remove the empty file
  cpufreq: fix memory leak in sun50i_cpufreq_nvmem_probe
  drm/i915: Check EDID for HDR static metadata when choosing blc
  drm/i915: Fix DISP_POS_Y and DISP_HEIGHT defines
  Linux 5.18-rc4
  clk: sunxi-ng: sun6i-rtc: Mark rtc-32k as critical
  kvmalloc: use vmalloc_huge for vmalloc allocations
  page_alloc: use vmalloc_huge for large system hash
  eeprom: at25: Use DMA safe buffers
  pinctrl: pistachio: fix use of irq_of_parse_and_map()
  arm64: dts: imx8mn-ddr4-evk: Describe the 32.768 kHz PMIC clock
  ARM: dts: imx6ull-colibri: fix vqmmc regulator
  sctp: check asoc strreset_chunk in sctp_generate_reconf_event
  sparc: cacheflush_32.h needs struct page
  topology: Fix up build warning in topology_is_visible()
  riscv: dts: microchip: reparent mpfs clocks
  clk: microchip: mpfs: add RTCREF clock control
  clk: microchip: mpfs: re-parent the configurable clocks
  dt-bindings: rtc: add refclk to mpfs-rtc
  dt-bindings: clk: mpfs: add defines for two new clocks
  dt-bindings: clk: mpfs document msspll dri registers
  riscv: dts: microchip: fix usage of fic clocks on mpfs
  clk: microchip: mpfs: mark CLK_ATHENA as critical
  clk: microchip: mpfs: fix parents for FIC clocks
  net: ethernet: stmmac: fix write to sgmii_adapter_base
  wireguard: device: check for metadata_dst with skb_valid_dst()
  wireguard: selftests: enable ACPI for SMP
  tcp: ensure to use the most recently sent skb when filling the rate sample
  net: dsa: realtek: remove realtek,rtl8367s string
  dt-bindings: net: dsa: realtek: cleanup compatible strings
  net: bridge: switchdev: check br_vlan_group() return value
  pinctrl: stm32: Keep pinctrl block clock enabled when LEVEL IRQ requested
  tcp: md5: incorrect tcp_header_len for incoming connections
  perf test: Fix error message for test case 71 on s390, where it is not supported
  perf report: Set PERF_SAMPLE_DATA_SRC bit for Arm SPE event
  perf script: Always allow field 'data_src' for auxtrace
  perf clang: Fix header include for LLVM >= 14
  pinctrl: rockchip: sort the rk3308_mux_recalced_data entries
  pinctrl: rockchip: fix RK3308 pinmux bits
  gpio: Request interrupts after IRQ is initialized
  arm/xen: Fix some refcount leaks
  XArray: Disallow sibling entries of nodes
  tools: Add kmem_cache_alloc_lru()
  mm/vmalloc: huge vmalloc backing pages should be split rather than compound
  bpf, lwt: Fix crash when using bpf_skb_set_tunnel_key() from bpf_xmit lwt hook
  riscv: patch_text: Fixup last cpu should be master
  binder: Gracefully handle BINDER_TYPE_FDA objects with num_fds=0
  binder: Address corner cases in deferred copy and fixup
  thermal/governor: Remove deprecated information
  Revert "thermal/core: Deprecate changing cooling device state from userspace"
  serial: 8250: Correct the clock for EndRun PTP/1588 PCIe device
  serial: 8250: Also set sticky MCR bits in console restoration
  tty: n_gsm: fix software flow control handling
  tty: n_gsm: fix invalid use of MSC in advanced option
  tty: n_gsm: fix broken virtual tty handling
  Revert "serial: sc16is7xx: Clear RS485 bits in the shutdown"
  netfilter: nft_set_rbtree: overlap detection with element re-addition after deletion
  usb: dwc3: core: Only handle soft-reset in DCTL
  net: dsa: Add missing of_node_put() in dsa_port_link_register_of
  regulator: dt-bindings: Revise the rt5190a buck/ldo description
  arm64: mm: fix p?d_leaf()
  objtool: Fix code relocs vs weak symbols
  objtool: Fix type of reloc::addend
  net: cosa: fix error check return value of register_chrdev()
  mm/mmu_notifier.c: fix race in mmu_interval_notifier_remove()
  kcov: don't generate a warning on vm_insert_page()'s failure
  MAINTAINERS: add Vincenzo Frascino to KASAN reviewers
  oom_kill.c: futex: delay the OOM reaper to allow time for proper futex cleanup
  selftest/vm: add skip support to mremap_test
  selftest/vm: support xfail in mremap_test
  selftest/vm: verify remap destination address in mremap_test
  selftest/vm: verify mmap addr in mremap_test
  mm, hugetlb: allow for "high" userspace addresses
  userfaultfd: mark uffd_wp regardless of VM_WRITE flag
  memcg: sync flush only if periodic flush is delayed
  mm/memory-failure.c: skip huge_zero_page in memory_failure()
  mm/hwpoison: fix race between hugetlb free/demotion and memory_failure_hugetlb()
  clk: qcom: clk-rcg2: fix gfx3d frequency calculation
  clk: microchip: mpfs: don't reset disabled peripherals
  f2fs: should not truncate blocks during roll-forward recovery
  ata: pata_marvell: Check the 'bmdma_addr' beforing reading
  ANDROID: mm: remove hridya@ from OWNERS file
  RISC-V: cpuidle: fix Kconfig select for RISCV_SBI_CPUIDLE
  RISC-V: mm: Fix set_satp_mode() for platform not having Sv57
  kvm: selftests: introduce and use more page size-related constants
  kvm: selftests: do not use bitfields larger than 32-bits for PTEs
  KVM: SEV: add cache flush to solve SEV cache incoherency issues
  ALSA: hda/realtek: Add quirk for Clevo NP70PNP
  ALSA: hda: intel-dsp-config: Add RaptorLake PCI IDs
  jbd2: fix a potential race while discarding reserved buffers after an abort
  thermal: int340x: Fix attr.show callback prototype
  Revert "ACPI: processor: idle: fix lockup regression on 32-bit ThinkPad T40"
  ACPI: processor: idle: Avoid falling back to C3 type C-states
  Revert "Revert "ANDROID: media: increase video max frame number""
  usb: gadget: configfs: clear deactivation flag in configfs_composite_unbind()
  usb: misc: eud: Fix an error handling path in eud_probe()
  usb: core: Don't hold the device lock while sleeping in do_proc_control()
  KVM: SVM: Flush when freeing encrypted pages even on SME_COHERENT CPUs
  KVM: SVM: Simplify and harden helper to flush SEV guest page(s)
  KVM: selftests: Silence compiler warning in the kvm_page_table_test
  KVM: x86/pmu: Update AMD PMC sample period to fix guest NMI-watchdog
  x86/kvm: Preserve BSP MSR_KVM_POLL_CONTROL across suspend/resume
  KVM: SPDX style and spelling fixes
  KVM: x86: Skip KVM_GUESTDBG_BLOCKIRQ APICv update if APICv is disabled
  KVM: x86: Pend KVM_REQ_APICV_UPDATE during vCPU creation to fix a race
  KVM: nVMX: Defer APICv updates while L2 is active until L1 is active
  KVM: x86: Tag APICv DISABLE inhibit, not ABSENT, if APICv is disabled
  KVM: Initialize debugfs_dentry when a VM is created to avoid NULL deref
  KVM: Add helpers to wrap vcpu->srcu_idx and yell if it's abused
  KVM: RISC-V: Use kvm_vcpu.srcu_idx, drop RISC-V's unnecessary copy
  KVM: x86: Don't re-acquire SRCU lock in complete_emulated_io()
  usb: dwc3: Try usb-role-switch first in dwc3_drd_init
  usb: dwc3: core: Fix tx/rx threshold settings
  usb: mtu3: fix USB 3.0 dual-role-switch from device to host
  xhci: Enable runtime PM on second Alderlake controller
  usb: dwc3: fix backwards compat with rockchip devices
  dt-bindings: usb: samsung,exynos-usb2: add missing required reg
  usb: misc: fix improper handling of refcount in uss720_probe()
  USB: Fix ehci infinite suspend-resume loop issue in zhaoxin
  usb: typec: tcpm: Fix undefined behavior due to shift overflowing the constant
  usb: typec: rt1719: Fix build error without CONFIG_POWER_SUPPLY
  usb: typec: ucsi: Fix role swapping
  usb: typec: ucsi: Fix reuse of completion structure
  usb: xhci: tegra:Fix PM usage reference leak of tegra_xusb_unpowergate_partitions
  fs: unset MNT_WRITE_HOLD on failure
  MAINTAINERS: add Bug entry for Samsung and memory controller drivers
  memory: renesas-rpc-if: Fix HF/OSPI data transfer in Manual Mode
  pinctrl: stm32: Do not call stm32_gpio_get() for edge triggered IRQs in EOI
  pinctrl: Fix an error in pin-function table of SP7021
  btrfs: zoned: use dedicated lock for data relocation
  btrfs: fix assertion failure during scrub due to block group reallocation
  powerpc/perf: Fix 32bit compile
  powerpc/perf: Fix power10 event alternatives
  powerpc/perf: Fix power9 event alternatives
  drm/amdgpu: partial revert "remove ctx->lock" v2
  drivers: net: hippi: Fix deadlock in rr_close()
  USB: serial: whiteheat: fix heap overflow in WHITEHEAT_GET_DTR_RTS
  ALSA: hda/realtek: Enable mute/micmute LEDs and limit mic boost on EliteBook 845/865 G9
  mtd: rawnand: qcom: fix memory corruption that causes panic
  mtd: fix 'part' field data corruption in mtd_info
  mtd: rawnand: Fix return value check of wait_for_completion_timeout
  Revert "drm: of: Lookup if child node has panel or bridge"
  Revert "drm: of: Properly try all possible cases for bridge/panel detection"
  drm/vc4: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
  KVM: PPC: Fix TCE handling for VFIO
  pinctrl: samsung: fix missing GPIOLIB on ARM64 Exynos config
  powerpc/time: Always set decrementer in timer_interrupt()
  cifs: destage any unwritten data to the server before calling copychunk_write
  cifs: use correct lock type in cifs_reconnect()
  cifs: fix NULL ptr dereference in refresh_mounts()
  drm/vmwgfx: Fix gem refcounting and memory evictions
  zonefs: Fix management of open zones
  zonefs: Clear inode information flags on inode creation
  pinctrl: mediatek: moore: Fix build error
  xfs: reorder iunlink remove operation in xfs_ifree
  MAINTAINERS: update IOMAP FILESYSTEM LIBRARY and XFS FILESYSTEM
  xfs: convert buffer flags to unsigned.
  xen: Convert kmap() to kmap_local_page()
  Revert "fs/pipe: use kvcalloc to allocate a pipe_buffer array"
  x86: __memcpy_flushcache: fix wrong alignment if size > 2^32
  f2fs: fix wrong condition check when failing metapage read
  f2fs: keep io_flags to avoid IO split due to different op_flags in two fio holders
  f2fs: remove obsolete whint_mode
  arch_topology: Do not set llc_sibling if llc_id is invalid
  topology: make core_mask include at least cluster_siblings
  topology/sysfs: Hide PPIN on systems that do not support it.
  tty: n_gsm: fix missing update of modem controls after DLCI open
  selftests: mlxsw: vxlan_flooding_ipv6: Prevent flooding of unwanted packets
  selftests: mlxsw: vxlan_flooding: Prevent flooding of unwanted packets
  ALSA: usb-audio: Clear MIDI port active flag after draining
  dt-bindings: dmaengine: qcom: gpi: Add minItems for interrupts
  ANDROID: GKI: Enable CONFIG_USB_EHCI_ROOT_HUB_TT
  nfc: MAINTAINERS: add Bug entry
  dmaengine: idxd: skip clearing device context when device is read-only
  dmaengine: idxd: add RO check for wq max_transfer_size write
  dmaengine: idxd: add RO check for wq max_batch_size write
  dmaengine: idxd: fix retry value to be constant for duration of function call
  dmaengine: idxd: match type for retries var in idxd_enqcmds()
  dmaengine: dw-edma: Fix inconsistent indenting
  net: stmmac: Use readl_poll_timeout_atomic() in atomic state
  doc/ip-sysctl: add bc_forwarding
  phy: amlogic: fix error path in phy_g12a_usb3_pcie_probe()
  RISC-V: KVM: Restrict the extensions that can be disabled
  drm/vc4: Fix build error when CONFIG_DRM_VC4=y && CONFIG_RASPBERRYPI_FIRMWARE=m
  drm/panel/raspberrypi-touchscreen: Initialise the bridge in prepare
  drm/panel/raspberrypi-touchscreen: Avoid NULL deref if not initialised
  RISC-V: KVM: Remove 's' & 'u' as valid ISA extension
  USB: serial: cp210x: add PIDs for Kamstrup USB Meter Reader
  USB: serial: option: add support for Cinterion MV32-WA/MV32-WB
  ANDROID: gki_defconfig: enable CONFIG_SPI_MEM
  drm/i915/display/psr: Unset enable_psr2_sel_fetch if other checks in intel_psr2_config_valid() fails
  cpuidle: riscv: support non-SMP config
  ANDROID: GKI: Enable CRYPTO_DES
  objtool: Fix function fallthrough detection for vmlinux
  objtool: Fix sibling call detection in alternatives
  objtool: Don't set 'jump_dest' for sibling calls
  x86/uaccess: Don't jump between functions
  x86/Kconfig: fix the spelling of 'becoming' in X86_KERNEL_IBT config
  objtool: Use offstr() to print address of missing ENDBR
  objtool: Print data address for "!ENDBR" data warnings
  x86/xen: Add ANNOTATE_NOENDBR to startup_xen()
  x86/uaccess: Add ENDBR to __put_user_nocheck*()
  x86/retpoline: Add ANNOTATE_NOENDBR for retpolines
  x86/static_call: Add ANNOTATE_NOENDBR to static call trampoline
  objtool: Enable unreachable warnings for CLANG LTO
  x86,objtool: Explicitly mark idtentry_body()s tail REACHABLE
  x86,objtool: Mark cpu_startup_entry() __noreturn
  x86,xen,objtool: Add UNWIND hint
  lib/strn*,objtool: Enforce user_access_begin() rules
  MAINTAINERS: Add x86 unwinding entry
  x86/unwind/orc: Recheck address range after stack info was updated
  perf/x86/cstate: Add SAPPHIRERAPIDS_X CPU support
  perf/core: Fix perf_mmap fail when CONFIG_PERF_USE_VMALLOC enabled
  sched/pelt: Fix attach_entity_load_avg() corner case
  vmalloc: replace VM_NO_HUGE_VMAP with VM_ALLOW_HUGE_VMAP
  x86/cpu: Load microcode during restore_processor_state()
  drm/msm: Revert "drm/msm: Stop using iommu_present()"
  bcache: fix wrong bdev parameter when calling bio_alloc_clone() in do_bio_hook()
  bcache: put bch_bio_map() back to correct location in journal_write_unlocked()
  fs: fix acl translation
  usb: gadget: uvc: Fix crash when encoding data for usb request
  btrfs: fix direct I/O writes for split bios on zoned devices
  btrfs: fix direct I/O read repair for split bios
  btrfs: fix and document the zoned device choice in alloc_new_bio
  btrfs: fix leaked plug after failure syncing log on zoned filesystems
  netlink: reset network and mac headers in netlink_dump()
  x86/cpu: Add new Alderlake and Raptorlake CPU model numbers
  ipvs: correctly print the memory size of ip_vs_conn_tab
  net: mscc: ocelot: fix broken IP multicast flooding
  net: dsa: hellcreek: Calculate checksums in tagger
  drm/i915/display/vrr: Reset VRR capable property on a long hpd
  ALSA: usb-audio: add mapping for MSI MAG X570S Torpedo MAX.
  ALSA: hda/i915: Fix one too many pci_dev_put()
  scsi: sr: Do not leak information in ioctl
  ARC: remove redundant READ_ONCE() in cmpxchg loop
  ARC: atomic: cleanup atomic-llsc definitions
  arc: drop definitions of pgd_index() and pgd_offset{, _k}() entirely
  ARC: dts: align SPI NOR node name with dtschema
  ARC: Remove a redundant memset()
  ARC: fix typos in comments
  ARC: entry: fix syscall_trace_exit argument
  ANDROID: Incremental fs: Mark merkle tree pages uptodate
  Revert "ANDROID: GKI: CONFIG_FORTIFY is broken in clang, so it has been disabled"
  cifs: Use kzalloc instead of kmalloc/memset
  net: atlantic: invert deep par in pm functions, preventing null derefs
  pinctrl: qcom: sm6350: fix order of UFS & SDC pins
  Linux 5.18-rc3
  Input: add Marine Navigation Keycodes
  Input: omap4-keypad - fix pm_runtime_get_sync() error checking
  can: isotp: stop timeout monitoring when no first frame was sent
  io_uring: fix leaks on IOPOLL and CQE_SKIP
  bonding: do not discard lowest hash bit for non layer3+4 hashing
  io_uring: free iovec if file assignment fails
  iio: imu: inv_icm42600: Fix I2C init possible nack
  iio: dac: ltc2688: fix voltage scale read
  random: use memmove instead of memcpy for remaining 32 bytes
  xtensa: fix a7 clobbering in coprocessor context load/store
  mm: kmemleak: take a full lowmem check in kmemleak_*_phys()
  mm/vmalloc: fix spinning drain_vmap_work after reading from /proc/vmcore
  revert "fs/binfmt_elf: use PT_LOAD p_align values for static PIE"
  revert "fs/binfmt_elf: fix PT_LOAD p_align values for loaders"
  hugetlb: do not demote poisoned hugetlb pages
  mm: compaction: fix compiler warning when CONFIG_COMPACTION=n
  mm: fix unexpected zeroed page mapping with zram swap
  mm, page_alloc: fix build_zonerefs_node()
  mm, kfence: support kmem_dump_obj() for KFENCE objects
  kasan: fix hw tags enablement when KUNIT tests are disabled
  irq_work: use kasan_record_aux_stack_noalloc() record callstack
  mm/secretmem: fix panic when growing a memfd_secret
  tmpfs: fix regressions from wider use of ZERO_PAGE
  MAINTAINERS: Broadcom internal lists aren't maintainers
  i2c: ismt: Fix undefined behavior due to shift overflowing the constant
  i2c: dev: Force case user pointers in compat_i2cdev_ioctl()
  net: lan966x: Make sure to release ptp interrupt
  ipv6: make ip6_rt_gc_expire an atomic_t
  net: Handle l3mdev in ip_tunnel_init_flow
  l3mdev: l3mdev_master_upper_ifindex_by_index_rcu should be using netdev_master_upper_dev_get_rcu
  net/sched: cls_u32: fix possible leak in u32_init_knode()
  net/sched: cls_u32: fix netns refcount changes in u32_change()
  i2c: dev: check return value when calling dev_set_name()
  i2c: qcom-geni: Use dev_err_probe() for GPI DMA error
  i2c: imx: Implement errata ERR007805 or e7805 bus frequency limit
  i2c: pasemi: Wait for write xfers to finish
  dm: fix bio length of empty flush
  Documentation/ABI: sysfs-fs-erofs: Fix Sphinx errors
  erofs: fix use-after-free of on-stack io[]
  block: don't print I/O error warning for dead disks
  block/compat_ioctl: fix range check in BLKGETSIZE
  powerpc: Update MAINTAINERS for ibmvnic and VAS
  net: restore alpha order to Ethernet devices in config
  openvswitch: fix OOB access in reserve_sfa_size()
  ip6_gre: Fix skb_under_panic in __gre6_xmit()
  ip6_gre: Avoid updating tunnel->tun_hlen in __gre6_xmit()
  net/packet: fix packet_sock xmit return value checking
  net/smc: Fix sock leak when release after smc_shutdown()
  rxrpc: Restore removed timer deletion
  net: phy: LAN937x: added PHY_POLL_CABLE_TEST flag
  serial: 8250: Fix runtime PM for start_tx() for empty buffer
  serial: imx: fix overrun interrupts in DMA mode
  serial: amba-pl011: do not time out prematurely when draining tx fifo
  ALSA: hda/hdmi: add HDMI codec VID for Raptorlake-P
  ALSA: hda/hdmi: fix warning about PCM count when used with SOF
  sound/oss/dmasound: fix 'dmasound_setup' defined but not used
  tty: n_gsm: fix incorrect UA handling
  tty: n_gsm: fix reset fifo race condition
  tty: n_gsm: fix missing tty wakeup in convergence layer type 2
  tty: n_gsm: fix wrong signal octets encoding in MSC
  tty: n_gsm: fix wrong command frame length field encoding
  tty: n_gsm: fix wrong command retry handling
  tty: n_gsm: fix missing explicit ldisc flush
  tty: n_gsm: fix wrong DLCI release order
  tty: n_gsm: fix insufficient txframe size
  tty: n_gsm: fix malformed counter for out of frame data
  tty: n_gsm: fix frame reception handling
  tty: n_gsm: fix wrong signal octet encoding in convergence layer type 2
  tty: n_gsm: fix mux cleanup after unregister tty device
  tty: n_gsm: fix decoupled mux resource
  tty: n_gsm: fix restart handling via CLD command
  tty: n_gsm: fix missing mux reset on config change at responder
  nvme-pci: disable namespace identifiers for Qemu controllers
  nvme-pci: disable namespace identifiers for the MAXIO MAP1002/1202
  nvme: add a quirk to disable namespace identifiers
  nvme: don't print verbose errors for internal passthrough requests
  ext4: update the cached overhead value in the superblock
  io_uring: abort file assignment prior to assigning creds
  ext4: force overhead calculation if the s_overhead_cluster makes no sense
  ksmbd: set fixed sector size to FS_SECTOR_SIZE_INFORMATION
  ksmbd: increment reference count of parent fp
  ksmbd: remove filename in ksmbd_file
  ext4: fix overhead calculation to account for the reserved gdt blocks
  dm: allow dm_accept_partial_bio() for dm_io without duplicate bios
  dt-bindings: display: panel-timing: Define a single type for properties
  ARM: config: Update Gemini defconfig
  arm64: dts: qcom/sdm845-shift-axolotl: Fix boolean properties with values
  ARM: dts: align SPI NOR node name with dtschema
  ARM: dts: Fix more boolean properties with values
  dt-bindings: Fix array constraints on scalar properties
  block: null_blk: end timed out poll request
  block: fix offset/size check in bio_trim()
  USB: quirks: add STRING quirk for VCOM device
  USB: quirks: add a Realtek card reader
  ice: Fix memory leak in ice_get_orom_civd_data()
  ice: fix crash in switchdev mode
  ice: allow creating VFs for !CONFIG_NET_SWITCHDEV
  ice: xsk: check if Rx ring was filled up to the end
  EDAC/synopsys: Read the error count from the correct register
  perf bench: Fix numa bench to fix usage of affinity for machines with #CPUs > 1K
  perf bench: Fix numa testcase to check if CPU used to bind task is online
  perf record: Fix per-thread option
  arm64: fix typos in comments
  arm64: Improve HAVE_DYNAMIC_FTRACE_WITH_REGS selection for clang
  ARM: dts: logicpd-som-lv: Fix wrong pinmuxing on OMAP35
  ARM: dts: am3517-evm: Fix misc pinmuxing
  ARM: dts: am33xx-l4: Add missing touchscreen clock properties
  ARM: dts: Fix mmc order for omap3-gta04
  gpio: sim: fix setting and getting multiple lines
  interconnect: qcom: sdx55: Drop IP0 interconnects
  interconnect: qcom: sc7180: Drop IP0 interconnects
  phy: ti: Add missing pm_runtime_disable() in serdes_am654_probe
  phy: mapphone-mdm6600: Fix PM error handling in phy_mdm6600_probe
  dma-direct: avoid redundant memory sync for swiotlb
  perf tools: Fix segfault accessing sample_id xyarray
  perf stat: Fix error check return value of hashmap__new(), must use IS_ERR()
  cpu/hotplug: Remove the 'cpu' member of cpuhp_cpu_state
  dm zone: fix NULL pointer dereference in dm_zone_map_bio
  dm mpath: only use ktime_get_ns() in historical selector
  ARM: dts: at91: fix pinctrl phandles
  ARM: dts: at91: sama5d4_xplained: fix pinctrl phandle name
  smp: Fix offline cpu check in flush_smp_call_function_queue()
  ARM: dts: at91: Describe regulators on at91sam9g20ek
  ARM: dts: at91: Map MCLK for wm8731 on at91sam9g20ek
  ARM: dts: at91: Fix boolean properties with values
  ARM: dts: at91: use generic node name for dataflash
  ARM: dts: at91: align SPI NOR node name with dtschema
  ARM: dts: at91: sama7g5ek: Align the impedance of the QSPI0's HSIO and PCB lines
  ARM: dts: at91: sama7g5ek: enable pull-up on flexcom3 console lines
  dm integrity: fix memory corruption when tag_size is less than digest size
  ARM: dts: at91: sama7g5: Swap `rx` and `tx` for `i2c` nodes
  io_uring: fix poll error reporting
  io_uring: fix poll file assign deadlock
  io_uring: use right issue_flags for splice/tee
  e1000e: Fix possible overflow in LTR decoding
  igc: Fix suspending when PTM is active
  spi: atmel-quadspi: Fix the buswidth adjustment between spi-mem and controller
  igc: Fix BUG: scheduling while atomic
  igc: Fix infinite loop in release_swfw_sync
  spi: cadence-quadspi: fix incorrect supports_op() return value
  dma-buf-map: remove renamed header file
  spi: intel: Add support for Raptor Lake-S SPI serial flash
  random: make random_get_entropy() return an unsigned long
  random: allow partial reads if later user copies fail
  tools/power/x86/intel-speed-select: fix build failure when using -Wl,--as-needed
  arm_pmu: Validate single/group leader events
  arch: xtensa: platforms: Fix deadlock in rs_close()
  xtensa: patch_text: Fixup last cpu should be master
  power: supply: Reset err after not finding static battery
  power: supply: samsung-sdi-battery: Add missing charge restart voltages
  perf tools: Fix misleading add event PMU debug message
  phy: ti: omap-usb2: Fix error handling in omap_usb2_enable_clocks
  drm/radeon: fix logic inversion in radeon_sync_resv
  esp: limit skb_page_frag_refill use to a single page
  bus: mhi: host: pci_generic: Flush recovery worker during freeze
  bus: mhi: host: pci_generic: Add missing poweroff() PM callback
  ext4, doc: fix incorrect h_reserved size
  ext4: limit length to bitmap_maxbytes - blocksize in punch_hole
  ext4: fix use-after-free in ext4_search_dir
  ext4: fix bug_on in start_this_handle during umount filesystem
  ext4: fix symlink file size not match to file content
  ext4: fix fallocate to use file_modified to update permissions consistently
  asm-generic: fix __get_unaligned_be48() on 32 bit platforms
  video: fbdev: mmp: replace usage of found with dedicated list iterator variable
  testing/selftests/mqueue: Fix mq_perf_tests to free the allocated cpu set
  firmware: cs_dsp: Fix overrun of unterminated control name string
  io_uring: verify pad field is 0 in io_get_ext_arg
  io_uring: verify resv is 0 in ringfd register/unregister
  io_uring: verify that resv2 is 0 in io_uring_rsrc_update2
  io_uring: move io_uring_rsrc_update2 validation
  spi: spi-mtk-nor: initialize spi controller after resume
  io_uring: fix assign file locking issue
  dmaengine: dw-edma: Fix unaligned 64bit access
  dmaengine: mediatek:Fix PM usage reference leak of mtk_uart_apdma_alloc_chan_resources
  ARM: dts: dra7: Fix suspend warning for vpe powerdomain
  bus: ti-sysc: Make omap3 gpt12 quirk handling SoC specific
  ARM: OMAP2+: Fix refcount leak in omap_gic_of_init
  video: fbdev: sh_mobile_lcdcfb: Remove sh_mobile_lcdc_check_var() declaration
  scsi: iscsi: MAINTAINERS: Add Mike Christie as co-maintainer
  scsi: qedi: Fix failed disconnect handling
  scsi: iscsi: Fix NOP handling during conn recovery
  scsi: iscsi: Merge suspend fields
  scsi: iscsi: Fix unbound endpoint error handling
  scsi: iscsi: Fix conn cleanup and stop race during iscsid restart
  scsi: iscsi: Fix endpoint reuse regression
  scsi: iscsi: Release endpoint ID when its freed
  scsi: iscsi: Fix offload conn cleanup when iscsid restarts
  scsi: iscsi: Move iscsi_ep_disconnect()
  scsi: pm80xx: Enable upper inbound, outbound queues
  scsi: pm80xx: Mask and unmask upper interrupt vectors 32-63
  Revert "scsi: scsi_debug: Address races following module load"
  block: move lower_48_bits() to block
  io_uring: stop using io_wq_work as an fd placeholder
  io_uring: move apoll->events cache
  io_uring: io_kiocb_update_pos() should not touch file for non -1 offset
  phy: ti: tusb1210: Fix an error handling path in tusb1210_probe()
  phy: samsung: exynos5250-sata: fix missing device put in probe error paths
  phy: samsung: Fix missing of_node_put() in exynos_sata_phy_probe
  phy: ti: Fix missing of_node_put in ti_pipe3_get_sysctrl()
  arm64: dts: meson-sm1-bananapi-m5: fix wrong GPIO pin labeling for CON1
  bpf: Fix release of page_pool in BPF_PROG_RUN in test runner
  phy: ti: tusb1210: Make tusb1210_chg_det_states static
  dmaengine: imx-sdma: Fix error checking in sdma_event_remap
  dma: at_xdmac: fix a missing check on list iterator
  dmaengine: imx-sdma: fix init of uart scripts
  bus: imx-weim: make symbol 'weim_of_notifier' static
  USB: serial: option: add Telit 0x1057, 0x1058, 0x1075 compositions
  x86/tsx: Disable TSX development mode at boot
  genirq/affinity: Consider that CPUs on nodes can be unbalanced
  x86/tsx: Use MSR_TSX_CTRL to clear CPUID bits
  video: fbdev: i740fb: Error out if 'pixclock' equals zero
  video: fbdev: i740fb: use memset_io() to clear screen
  video: fbdev: s3fb: Error out if 'pixclock' equals zero
  video: fbdev: arkfb: Error out if 'pixclock' equals zero
  video: fbdev: tridentfb: Error out if 'pixclock' equals zero
  video: fbdev: vt8623fb: Error out if 'pixclock' equals zero
  video: fbdev: kyro: Error out if 'lineclock' equals zero
  video: fbdev: neofb: Fix the check of 'var->pixclock'
  arm64: dts: imx: Fix imx8*-var-som touchscreen property sizes
  ARM: dts: imx: Fix boolean properties with values
  ARM: dts: imx8mm-venice-gw{71xx,72xx,73xx}: fix OTG controller OC mode
  arm64: dts: imx8mn: Fix SAI nodes
  io_uring: flag the fact that linked file assignment is sane
  arm64: dts: imx8mq-tqma8mq: change the spi-nor tx
  iio:dac:ad3552r: Fix an IS_ERR() vs NULL check
  iio: sx9324: Fix default precharge internal resistance register
  iio: dac: ad5446: Fix read_raw not returning set value
  iio: magnetometer: ak8975: Fix the error handling in ak8975_power_on()
  tick/sched: Fix non-kernel-doc comment
  tick/nohz: Use WARN_ON_ONCE() to prevent console saturation
  ARM: dts: imx6qdl-apalis: Fix sgtl5000 detection issue
  soc: imx: imx8m-blk-ctrl: Fix IMX8MN_DISPBLK_PD_ISI hang
  timers: Fix warning condition in __run_timers()
  usb: cdns3: Fix issue for clear halt endpoint
  xhci: increase usb U3 -> U0 link resume timeout from 100ms to 500ms
  xhci: stop polling roothubs after shutdown
  USB: Fix xhci event ring dequeue pointer ERDP update issue
  arm64: dts: imx8qm: Correct SCU clock controller's compatible property
  Input: cypress-sf - register a callback to disable the regulators
  dmaengine: idxd: fix device cleanup on disable
  ASoC: codecs: Fix an error handling path in (rx|tx|va)_macro_probe()
  gpiolib: acpi: Convert type for pin to be unsigned
  gpiolib: acpi: use correct format characters
  arm64: dts: remove cpu compatible "arm,armv8" for s4
  xsk: Fix l2fwd for copy mode + busy poll combo
  xen/balloon: don't use PV mode extra memory for zone device allocations
  video: fbdev: imxfb: Fix missing of_node_put in imxfb_probe
  ASoC: Intel: sof_es8336: Add a quirk for Huawei Matebook D15
  ASoC: Intel: sof_es8336: add a quirk for headset at mic1 port
  ASoC: Intel: sof_es8336: support a separate gpio to control headphone
  ASoC: Intel: sof_es8336: simplify speaker gpio naming
  ASoC: wm8731: Disable the regulator when probing fails
  ASoC: Intel: soc-acpi: correct device endpoints for max98373
  ASoC: codecs: wcd934x: do not switch off SIDO Buck when codec is in use
  ASoC: SOF: topology: Fix memory leak in sof_control_load()
  ASoC: SOF: topology: cleanup dailinks on widget unload
  ASoC: rt711/5682: check if bus is active before deferred jack detection
  arm/arm64: dts: qcom: Fix boolean properties with values
  arm64: dts: imx: Fix imx8*-var-som touchscreen property sizes
  arm: dts: imx: Fix boolean properties with values
  arm64: dts: tegra: Fix boolean properties with values
  arm: dts: at91: Fix boolean properties with values
  arm: configs: imote2: Drop defconfig as board support dropped.
  ep93xx: clock: Don't use plain integer as NULL pointer
  ep93xx: clock: Fix UAF in ep93xx_clk_register_gate()
  ARM: vexpress/spc: Fix all the kernel-doc build warnings
  ARM: vexpress/spc: Fix kernel-doc build warning for ve_spc_cpu_in_wfi
  dt-bindings: gpu: mali-bifrost: Document RZ/V2L SoC
  clk: sunxi-ng: fix not NULL terminated coccicheck error
  dt-bindings: net: snps: remove duplicate name
  ARM: config: multi v7: Enable NVIDIA Tegra video decoder driver
  ARM: tegra_defconfig: Update CONFIG_TEGRA_VDE option
  ASoC: Intel: sof_rt5682: Add support for max98360a speaker amp on SSP2
  ASoC: fsl_sai: fix 1:1 bclk:mclk ratio support
  ASoC: simple-card-utils: Avoid NULL deref in asoc_simple_set_tdm()
  arm64: dts: imx8mm-venice: fix spi2 pin configuration
  bus: imx-weim: fix NULL but dereferenced coccicheck error
  ARM: config: u8500: Re-enable AB8500 battery charging
  pinctrl: alderlake: Fix register offsets for ADL-N variant
  ARM: config: u8500: Add some common hardware
  memory: fsl_ifc: populate child nodes of buses and mfd devices
  ARM: config: Refresh U8500 defconfig
  ASoC: meson: aiu: fix duplicate debugfs directory error
  ASoC: soc-core: add debugfs_prefix member to snd_soc_component_driver
  ASoC: msm8916-wcd-digital: Check failure for devm_snd_soc_register_component
  ASoC: rk817: Use devm_clk_get() in rk817_platform_probe
  ASoC: cs35l41: Fix a shift-out-of-bounds warning found by UBSAN
  ASoC: cs35l41: Add one more variable in the debug log
  ASoC: rt5682: fix an incorrect NULL check on list iterator
  ASoC: soc-dapm: fix two incorrect uses of list iterator
  tee: optee: add missing mutext_destroy in optee_ffa_probe
  firmware: arm_scmi: Fix sparse warnings in OPTEE transport driver
  firmware: arm_scmi: Replace zero-length array with flexible-array member
  firmware: arm_scmi: Fix sorting of retrieved clock rates
  dt-bindings: Fix 'enum' lists with duplicate entries
  dt-bindings: irqchip: mrvl,intc: refresh maintainers
  dt-bindings: Fix incomplete if/then/else schemas
  dt-bindings: power: renesas,apmu: Fix cpus property limits
  dt-bindings: extcon: maxim,max77843: fix ports type
  pinctrl: samsung: staticize fsd_pin_ctrl
  dt-bindings: memory: snps,ddrc-3.80a compatible also need interrupts
  memory: atmel-ebi: Fix missing of_node_put in atmel_ebi_probe
  memory: renesas-rpc-if: fix platform-device leak in error path
  ARM: iop32x: include iop3xx.h header where needed
  ARM: davinci: da850-evm: Avoid NULL pointer dereference
  MAINTAINERS: update Krzysztof Kozlowski's email to Linaro
  dt-bindings: update Krzysztof Kozlowski's email
  ASoC: soc-pcm: use GFP_KERNEL when the code is sleepable
  ASoC: SOF: topology: Fix memory leak of scontrol->name
  codecs: rt5682s: fix an incorrect NULL check on list iterator
  ASoC: topology: Correct error handling in soc_tplg_dapm_widget_create()
  ASoC: atmel: Remove system clock tree configuration for at91sam9g20ek
  xfrm: Pass flowi_oif or l3mdev as oif to xfrm_dst_lookup
  dt-bindings: reset: Add parent "resets" property as optional
  reset: tegra-bpmp: Restore Handle errors in BPMP response
  reset: renesas: Check return value of reset_control_deassert()
  dt-bindings: reset: document deprecated HiSilicon property
  mtd: rawnand: fix ecc parameters for mt7622
  iio:proximity:sx9324: Fix hardware gain read/write
  iio:proximity:sx_common: Fix device property parsing on DT systems
  iio: adc: ad7280a: Fix wrong variable used when setting thresholds.
  iio:filter:admv8818: select REGMAP_SPI for ADMV8818
  iio: dac: ad5592r: Fix the missing return value.
  iio: dac: dac5571: Fix chip id detection for OF devices
  iio:imu:bmi160: disable regulator in error path
  iio: scd4x: check return of scd4x_write_and_fetch
  iio: dac: ad3552r: fix signedness bug in ad3552r_reset()
  arm64: dts: meson: remove CPU opps below 1GHz for SM1 boards
  arm64: dts: meson: remove CPU opps below 1GHz for G12B boards
  ARM: vexpress/spc: Avoid negative array index when !SMP
  firmware: arm_scmi: Remove clear channel call on the TX channel
  video: fbdev: omap: Make it CCF clk API compatible
  video: fbdev: aty/matrox/...: Prepare cleanup of powerpc's asm/prom.h
  video: fbdev: pm2fb: Fix a kernel-doc formatting issue
  linux/fb.h: Spelling s/palette/palette/
  video: fbdev: sis: fix potential NULL dereference in sisfb_post_sis300()
  video: fbdev: pxafb: use if else instead
  video: fbdev: udlfb: properly check endpoint type
  video: fbdev: of: display_timing: Remove a redundant zeroing of memory
  cpufreq: qcom-cpufreq-hw: Fix throttle frequency value on EPSS platforms
  cpufreq: qcom-hw: provide online/offline operations
  cpufreq: qcom-hw: fix the opp entries refcounting
  cpufreq: qcom-hw: fix the race between LMH worker and cpuhp
  cpufreq: qcom-hw: drop affinity hint before freeing the IRQ

Bug: 143356419
Bug: 157906395
Bug: 180471389
Bug: 194108974
Bug: 197663427
Bug: 200082547
Bug: 200269356
Bug: 207737303
Bug: 219872481
Bug: 223797063
Bug: 224999021
Bug: 228783882
Bug: 228970051
Bug: 229913034
Bug: 229953929
Bug: 230818006
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1970
Change-Id: Id434465142f1b9d4d50017ff75f887c39b27068b
Signed-off-by: jianzhou <quic_jianzhou@quicinc.com>
Signed-off-by: Blagovest Kolenichev <quic_c_bkolen@quicinc.com>
2022-05-09 07:35:04 -07:00
android Revert "ANDROID: GKI: enable test_stackinit kernel module" 2022-02-01 20:33:22 +00:00
arch Merge keystone/mirror-android-mainline into keystone/android-mainline-keystone-qcom-dev 2022-05-09 07:35:04 -07:00
block Merge 8013d1d3d2 ("Merge tag 'soc-fixes-5.18-3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc") into android-mainline 2022-05-01 13:47:51 +02:00
certs Merge d0d642a5d3 ("Merge tag 'sound-fix-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound") into android-mainline 2022-04-14 10:22:52 +02:00
crypto Merge 5627ecb837 ("Merge branch 'i2c/for-mergewindow' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux") into android-mainline 2022-04-12 17:02:17 +02:00
Documentation Linux 5.18-rc5 2022-05-02 14:08:34 +02:00
drivers Merge keystone/mirror-android-mainline into keystone/android-mainline-keystone-qcom-dev 2022-05-09 07:35:04 -07:00
fs Merge 57ae8a4921 ("Merge tag 'driver-core-5.18-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core") into android-mainline 2022-05-01 17:24:58 +02:00
include Linux 5.18-rc5 2022-05-02 14:08:34 +02:00
init Merge keystone/mirror-android-mainline into keystone/android-mainline-keystone-qcom-dev 2022-04-18 03:18:43 -07:00
ipc fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
kernel Merge keystone/mirror-android-mainline into keystone/android-mainline-keystone-qcom-dev 2022-05-09 07:35:04 -07:00
lib - A fix to disable PCI/MSI[-X] masking for XEN_HVM guests as that is 2022-05-01 10:03:36 -07:00
LICENSES LICENSES/LGPL-2.1: Add LGPL-2.1-or-later as valid identifiers 2021-12-16 14:33:10 +01:00
mm Merge keystone/mirror-android-mainline into keystone/android-mainline-keystone-qcom-dev 2022-05-09 07:35:04 -07:00
net Merge 8013d1d3d2 ("Merge tag 'soc-fixes-5.18-3' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc") into android-mainline 2022-05-01 13:47:51 +02:00
samples dma-mapping updates for Linux 5.18 2022-03-29 08:50:14 -07:00
scripts Linux 5.18-rc5 2022-05-02 14:08:34 +02:00
security Merge d0d642a5d3 ("Merge tag 'sound-fix-5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound") into android-mainline 2022-04-14 10:22:52 +02:00
sound Merge 5.18-rc4 into android-mainline 2022-04-27 09:04:30 +02:00
tools Linux 5.18-rc5 2022-05-02 14:08:34 +02:00
usr FROMGIT: kbuild: add --target to correctly cross-compile UAPI headers with Clang 2022-04-05 14:09:03 -07:00
virt Merge branch 'kvm-fixes-for-5.18-rc5' into HEAD 2022-04-29 12:39:34 -04:00
.clang-format genirq/msi: Make interrupt allocation less convoluted 2021-12-16 22:22:20 +01:00
.cocciconfig
.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 .gitignore: ignore only top-level modules.builtin 2021-05-02 00:43:35 +09:00
.mailmap mailmap: update Vasily Averin's email address 2022-04-08 14:20:36 -10:00
BUILD.bazel ANDROID: kleaf: db845c drop ax88179_178a.ko. 2022-05-03 13:21:09 -07:00
build.config.aarch64 ANDROID: build.config: set NDK_TRIPLE 2022-04-05 14:09:03 -07:00
build.config.allmodconfig Revert "ANDROID: disable PINCTRL_THUNDERBAY from allmodconfig builds" 2022-04-07 15:46:34 +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-11 12:23:26 +00:00
build.config.arm ANDROID: build.config: set NDK_TRIPLE 2022-04-05 14:09:03 -07:00
build.config.common ANDROID: fix KCFLAGS override by __ANDROID_COMMON_KERNEL__ 2022-04-29 17:50:28 +00:00
build.config.constants ANDROID: clang: update to 14.0.7 2022-05-02 19:41:28 +00:00
build.config.db845c ANDROID: Add RB5 support in db845c build and config fragment 2021-08-17 15:28:30 +00:00
build.config.gki ANDROID: GKI: Add support for a GKI_BUILD_CONFIG_FRAGMENT 2021-06-24 00:26:54 +00:00
build.config.gki_consolidate.aarch64 ANDROID: qki: Add consolidate config 2021-06-21 15:04:54 -07:00
build.config.gki_kasan ANDROID: build.config: re-disable LTO properly for KASAN 2022-03-24 12:41:35 -07: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.configs: migrate away from CC_LD_ARG 2021-07-02 09:49:23 +00:00
build.config.gki_kprobes.aarch64 ANDROID: Adding kprobes build configs for Cuttlefish 2021-03-01 15:29:45 +00:00
build.config.gki_kprobes.x86_64 ANDROID: Adding kprobes build configs for Cuttlefish 2021-03-01 15:29:45 +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: GKI: Enable BUILD_GKI_CERTIFICATION_TOOLS 2022-03-25 22:25:34 +08:00
build.config.gki.x86_64 ANDROID: GKI: Enable BUILD_GKI_CERTIFICATION_TOOLS 2022-03-25 22:25:34 +08:00
build.config.khwasan ANDROID: Add a build config fragment for KHWASan. 2021-10-13 19:44:44 +00:00
build.config.rockpi4 ANDROID: rockpi4: Use new DTS_EXT_DIR feature 2021-12-13 21:27:46 +00:00
build.config.x86_64 ANDROID: build.config: set NDK_TRIPLE 2022-04-05 14:09:03 -07:00
COPYING COPYING: state that all contributions really are covered by this file 2020-02-10 13:32:20 -08:00
CREDITS MAINTAINERS: replace a Microchip AT91 maintainer 2022-02-09 11:30:01 +01:00
Kbuild kbuild: rename hostprogs-y/always to hostprogs/always-y 2020-02-04 01:53:07 +09:00
Kconfig ANDROID: kbuild: add Kconfig support for external modules 2021-12-13 18:33:18 +00:00
Kconfig.ext ANDROID: kbuild: add Kconfig support for external modules 2021-12-13 18:33:18 +00:00
MAINTAINERS Linux 5.18-rc5 2022-05-02 14:08:34 +02:00
Makefile Linux 5.18-rc5 2022-05-02 14:08:34 +02:00
OWNERS ANDROID: add initial set of OWNERS 2021-02-25 13:58:58 +00:00
OWNERS_DrNo Revert "ANDROID: pause DrNo for maennich@ due to OOO" 2021-10-04 08:21:36 +00:00
README Drop all 00-INDEX files from Documentation/ 2018-09-09 15:08:58 -06:00
README.md ANDROID: README.md: fix checkpatch.pl path typo 2021-04-07 23:16:50 +00: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 scripts/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)