Linux kernel source tree
Go to file
jianzhou a30b06d13a Merge keystone/mirror-android-mainline into keystone/android-mainline-keystone-qcom-dev
* keystone/mirror-android-mainline:
  Revert "net: set proper memcg for net_init hooks allocations"
  ANDROID: dma/debug: fix warning of check_sync
  mmc: hsq: Fix data stomping during mmc recovery
  ARM: dts: integrator: Fix DMA ranges
  x86/uaccess: avoid check_object_size() in copy_from_user_nmi()
  mm/page_isolation: fix isolate_single_pageblock() isolation behavior
  mm,hwpoison: check mm when killing accessing process
  mm/hugetlb: correct demote page offset logic
  mm: prevent page_frag_alloc() from corrupting the memory
  mm: bring back update_mmu_cache() to finish_fault()
  frontswap: don't call ->init if no ops are registered
  mm/huge_memory: use pfn_to_online_page() in split_huge_pages_all()
  mm: fix madivse_pageout mishandling on non-LRU page
  powerpc/64s/radix: don't need to broadcast IPI for radix pmd collapse flush
  mm: gup: fix the fast GUP race against THP collapse
  ext4: fixup possible uninitialized variable access in ext4_mb_choose_next_group_cr1()
  Linux 6.0-rc7
  devdax: Fix soft-reservation memory description
  Makefile.debug: re-enable debug info for .S files
  Makefile.debug: set -g unconditional on CONFIG_DEBUG_INFO_SPLIT
  io_uring: ensure that cached task references are always put on exit
  ACPI: processor idle: Practically limit "Dummy wait" workaround to old Intel systems
  ANDROID: GKI: Build-in REGMAP_SPMI
  certs: make system keyring depend on built-in x509 parser
  Kconfig: remove unused function 'menu_get_root_menu'
  scripts/clang-tools: remove unused module
  ANDROID: GKI: x86: Enable CONFIG_SPMI
  cgroup: cgroup_get_from_id() must check the looked-up kn is a directory
  ARM: dts: integrator: Tag PCI host with device_type
  vmlinux.lds.h: CFI: Reduce alignment of jump-table to function alignment
  ARM: sunplus: fix serial console kconfig and build problems
  Revert "firmware: arm_scmi: Add clock management to the SCMI power domain"
  MAINTAINERS: switch graphics to airlied other addresses
  KVM: x86: Inject #UD on emulated XSETBV if XSAVES isn't enabled
  KVM: x86: Always enable legacy FP/SSE in allowed user XFEATURES
  KVM: x86: Reinstate kvm_vcpu_arch.guest_supported_xcr0
  KVM: x86/mmu: add missing update to max_mmu_rmap_size
  selftests: kvm: Fix a compile error in selftests/kvm/rseq_test.c
  mm: slub: fix flush_cpu_slab()/__free_slab() invocations in task context.
  reset: npcm: fix iprst2 and iprst4 setting
  ext4: limit the number of retries after discarding preallocations blocks
  ext4: fix bug in extents parsing when eh_entries == 0 and eh_depth > 0
  serial: sifive: enable clocks for UART when probed
  serial: 8250: omap: Use serial8250_em485_supported
  serial: fsl_lpuart: Reset prior to registration
  selftests: forwarding: add shebang for sch_red.sh
  bnxt: prevent skb UAF after handing over to PTP worker
  net: marvell: Fix refcounting bugs in prestera_port_sfp_bind()
  net: sched: fix possible refcount leak in tc_new_tfilter()
  net: sunhme: Fix packet reception for len < RX_COPY_THRESHOLD
  udp: Use WARN_ON_ONCE() in udp_read_skb()
  selftests: bonding: cause oops in bond_rr_gen_slave_id
  bonding: fix NULL deref in bond_rr_gen_slave_id
  net: phy: micrel: fix shared interrupt on LAN8814
  perf/arm-cmn: Add more bits to child node address offset field
  usb: typec: anx7411: Fix build error without CONFIG_POWER_SUPPLY
  ANDROID: Enable BUILD_GKI_CERTIFICATION_TOOLS for x86_64 GKI
  counter: 104-quad-8: Fix skipped IRQ lines during events configuration
  arm64: topology: fix possible overflow in amu_fie_setup()
  arm64: mm: don't acquire mutex when rewriting swapper
  ALSA: hda: intel-dsp-config: add missing RaptorLake PCI IDs
  drivers/base: Fix unsigned comparison to -1 in CPUMAP_FILE_MAX_BYTES
  net/smc: Stop the CLC flow if no link to map buffers on
  media: flexcop-usb: fix endpoint type check
  efi: libstub: check Shim mode using MokSBStateRT
  efi: x86: Wipe setup_data on pure EFI boot
  ext4: use buckets for cr 1 block scan instead of rbtree
  ext4: use locality group preallocation for small closed files
  ext4: make directory inode spreading reflect flexbg size
  ext4: avoid unnecessary spreading of allocations among groups
  ext4: make mballoc try target group first even with mb_optimize_scan
  ice: Fix ice_xdp_xmit() when XDP TX queue number is not sufficient
  drm/mediatek: dsi: Move mtk_dsi_stop() call back to mtk_dsi_poweroff()
  drm/amd/display: Reduce number of arguments of dml314's CalculateFlipSchedule()
  drm/amd/display: Reduce number of arguments of dml314's CalculateWatermarksAndDRAMSpeedChangeSupport()
  drm/amdgpu: don't register a dirty callback for non-atomic
  drm/amd/pm: drop the pptable related workarounds for SMU 13.0.0
  drm/amd/pm: add support for 3794 pptable for SMU13.0.0
  drm/amd/display: correct num_dsc based on HW cap
  drm/amd/display: Disable OTG WA for the plane_state NULL case on DCN314
  drm/amd/display: Add shift and mask for ICH_RESET_AT_END_OF_LINE
  drm/amd/display: increase dcn315 pstate change latency
  drm/amd/display: Fix DP MST timeslot issue when fallback happened
  drm/amd/display: Display distortion after hotplug 5K tiled display
  drm/amd/display: Update dummy P-state search to use DCN32 DML
  drm/amd/display: skip audio setup when audio stream is enabled
  drm/amd/display: update gamut remap if plane has changed
  drm/amd/display: Assume an LTTPR is always present on fixed_vs links
  drm/amd/display: fix dcn315 memory channel count and width read
  drm/amd/display: Fix double cursor on non-video RGB MPO
  drm/amd/display: Only consider pixle rate div policy for DCN32+
  drm/amd/display: Port DCN30 420 logic to DCN32
  drm/amdgpu: Update PTE flags with TF enabled
  s390/vfio-ap: bypass unnecessary processing of AP resources
  i2c: mux: harden i2c_mux_alloc() against integer overflows
  ANDROID: selftests: incfs: Increase timeout in concurrent_reads_and_writes_test
  i2c: mlxbf: Fix frequency calculation
  perf tools: Honor namespace when synthesizing build-ids
  tools headers cpufeatures: Sync with the kernel sources
  perf kcore_copy: Do not check /proc/modules is unchanged
  libperf evlist: Fix polling of system-wide events
  perf record: Fix cpu mask bit setting for mixed mmaps
  perf test: Skip wp modify test on old kernels
  KVM: s390: pci: register pci hooks without interpretation
  KVM: s390: pci: fix GAIT physical vs virtual pointers usage
  KVM: s390: Pass initialized arg even if unused
  KVM: s390: pci: fix plain integer as NULL pointer warnings
  perf jit: Include program header in ELF files
  perf test: Add a new test for perf stat cgroup BPF counter
  perf stat: Use evsel->core.cpus to iterate cpus in BPF cgroup counters
  perf stat: Fix cpu map index in bperf cgroup code
  perf stat: Fix BPF program section name
  mmc: core: Terminate infinite loop in SD-UHS voltage switch
  net: atlantic: fix potential memory leak in aq_ndev_close()
  iommu/vt-d: Check correct capability for sagaw determination
  Revert "iommu/vt-d: Fix possible recursive locking in intel_iommu_init()"
  can: gs_usb: gs_usb_set_phys_id(): return with error if identify is not supported
  can: gs_usb: gs_can_open(): fix race dev->can.state condition
  can: flexcan: flexcan_mailbox_read() fix return value for drop = true
  gpiolib: cdev: Set lineevent_state::irq after IRQ register successfully
  gpio: tqmx86: fix uninitialized variable girq
  arch: um: Mark the stack non-executable to fix a binutils warning
  ANDROID: [GKI] Include ioremap_guard in cmdline arg
  ANDROID: [GKI] Include bootconfig in CONFIG_CMDLINE
  ANDROID: incfs: Add check for ATTR_KILL_SUID and ATTR_MODE in incfs_setattr
  ANDROID: GKI: vendor code needs __balance_callbacks access
  ANDROID: topology: Add a flag to indicate topology has been updated
  ANDROID: arch_topology: Add vendor hook
  ANDROID: Sched: Add vendor hooks in scheduler
  ANDROID: arm64: Export system_32bit_el0_cpumask symbol
  ANDROID: arch_topology: Export thermal pressure symbol
  ANDROID: sched: add hook point in do_sched_yield()
  ANDROID: sched: Add flags parameter to enq/deq after tracehooks
  ANDROID: sched: vendor hook for sched_getaffinity
  ANDROID: sched: core: hook for get_nohz_timer_target
  ANDROID: kernel: sched: tracehook for is_cpu_allowed
  ANDROID: sched: add hook to rto_next_cpu
  ANDROID: sched: allow access to critical common code for CPU Pause
  ANDROID: sched: support pick_migrate_task in common kernel
  ANDROID: Sched: Add restricted vendor hooks for scheduler
  net: sh_eth: Fix PHY state warning splat during system resume
  net: ravb: Fix PHY state warning splat during system resume
  netfilter: nf_ct_ftp: fix deadlock when nat rewrite is needed
  netfilter: ebtables: fix memory leak when blob is malformed
  netfilter: nf_tables: fix percpu memory leak at nf_tables_addchain()
  netfilter: nf_tables: fix nft_counters_enabled underflow at nf_tables_addchain()
  netfilter: conntrack: remove nf_conntrack_helper documentation
  MAINTAINERS: Add myself as a reviewer for Qualcomm ETHQOS Ethernet driver
  ice: Fix interface being down after reset with link-down-on-close flag on
  ice: config netdev tc before setting queues number
  net/sched: taprio: make qdisc_leaf() see the per-netdev-queue pfifo child qdiscs
  net/sched: taprio: avoid disabling offload when it was never enabled
  ipv6: Fix crash when IPv6 is administratively disabled
  net: enetc: deny offload of tc-based TSN features on VF interfaces
  net: enetc: move enetc_set_psfp() out of the common enetc_set_features()
  wireguard: netlink: avoid variable-sized memcpy on sockaddr
  wireguard: selftests: do not install headers on UML
  wireguard: ratelimiter: disable timings test by default
  sfc/siena: fix null pointer dereference in efx_hard_start_xmit
  sfc/siena: fix TX channel offset when using legacy interrupts
  efi: efibc: Guard against allocation failure
  net: clear msg_get_inq in __get_compat_msghdr()
  selftests: forwarding: Add test cases for unresolved multicast routes
  ipmr: Always call ip{,6}_mr_forward() from RCU read-side critical section
  net: ipa: properly limit modem routing table use
  of: mdio: Add of_node_put() when breaking out of for_each_xx
  drm/i915/gem: Really move i915_gem_context.link under ref protection
  drm/i915/gem: Flush contexts on driver release
  Revert "block: freeze the queue earlier in del_gendisk"
  gpio: ftgpio010: Make irqchip immutable
  gpio: mockup: Fix potential resource leakage when register a chip
  gpio: mockup: fix NULL pointer dereference when removing debugfs
  tcp: read multiple skbs in tcp_read_skb()
  Revert "ALSA: usb-audio: Split endpoint setups for hw_params and prepare"
  Revert "net: fec: Use a spinlock to guard `fep->ptp_clk_on`"
  Revert "fec: Restart PPS after link state change"
  net: dsa: microchip: lan937x: fix maximum frame length check
  open: always initialize ownership fields
  drm/hisilicon: Add depends on MMU
  drm/mgag200: Force 32 bpp on the console
  gve: Fix GFP flags when allocing pages
  bnxt_en: fix flags to check for supported fw version
  sfc: fix null pointer dereference in efx_hard_start_xmit
  sfc: fix TX channel offset when using legacy interrupts
  net: ethernet: mtk_eth_soc: enable XDP support just for MT7986 SoC
  net: mana: Add rmb after checking owner bits
  MAINTAINERS: gve: update developers
  netdevsim: Fix hwstats debugfs file permissions
  i40e: Fix set max_tx_rate when it is lower than 1 Mbps
  i40e: Fix VF set max MTU size
  iavf: Fix set max MTU size with port VLAN and jumbo frames
  mlxbf_gige: clear MDIO gateway lock after read
  iavf: Fix bad page state
  um: Prevent KASAN splats in dump_stack()
  um: fix default console kernel parameter
  um: Cleanup compiler warning in arch/x86/um/tls_32.c
  um: Cleanup syscall_handler_t cast in syscalls_32.h
  ASoC: tas2770: Reinit regcache on reset
  ASoC: nau8824: Fix semaphore is released unexpectedly
  KVM: arm64: Use kmemleak_free_part_phys() to unregister hyp_mem_base
  s390/dasd: fix Oops in dasd_alias_get_start_dev due to missing pavgroup
  ASoC: Intel: sof_sdw: add support for Dell SKU 0AFF
  MIPS: Loongson32: Fix PHY-mode being left unspecified
  MIPS: lantiq: export clk_get_io() for lantiq_wdt.ko
  mm/slab_common: fix possible double free of kmem_cache
  ALSA: core: Fix double-free at snd_card_new()
  ALSA: hda/realtek: Add a quirk for HP OMEN 16 (8902) mute LED
  fpga: m10bmc-sec: Fix possible memory leak of flash_buf
  drm/panel: simple: Fix innolux_g121i1_l01 bus_format
  Linux 6.0-rc6
  io_uring/opdef: rename SENDZC_NOTIF to SEND_ZC
  io_uring/net: fix zc fixed buf lifetime
  i2c: mlxbf: prevent stack overflow in mlxbf_i2c_smbus_start_transaction()
  i2c: mlxbf: incorrect base address passed during io write
  RISC-V: Avoid coupling the T-Head CMOs and Zicbom
  riscv: fix a nasty sigreturn bug...
  riscv: make t-head erratas depend on MMU
  riscv: fix RISCV_ISA_SVPBMT kconfig dependency warning
  kasan: call kasan_malloc() from __kmalloc_*track_caller()
  Documentation: i2c: fix references to other documents
  MAINTAINERS: remove Nehal Shah from AMD MP2 I2C DRIVER
  i2c: imx: If pm_runtime_get_sync() returned 1 device access is possible
  arm64: dts: qcom: sm8350: fix UFS PHY serdes size
  tcp: Use WARN_ON_ONCE() in tcp_read_skb()
  ALSA: hda/hdmi: Fix the converter reuse for the silent stream
  net: Add tests for bonding and team address list management
  net: team: Unsync device addresses on ndo_stop
  net: bonding: Unsync device addresses on ndo_stop
  net: bonding: Share lacpdu_mcast_addr definition
  net: marvell: prestera: add support for for Aldrin2
  net/ieee802154: fix uninit value bug in dgram_sendmsg
  irqchip/loongson-pch-lpc: Add dependence on LoongArch
  xen/xenbus: fix xenbus_setup_ring()
  scsi: mpt3sas: Fix return value check of dma_get_required_mask()
  scsi: qla2xxx: Fix memory leak in __qlt_24xx_handle_abts()
  scsi: qedf: Fix a UAF bug in __qedf_probe()
  soc: bcm: brcmstb: biuctrl: Avoid double of_node_put()
  io_uring/msg_ring: check file type before putting
  ALSA: hda/realtek: Add quirk for ASUS GA503R laptop
  ALSA: hda/realtek: Add pincfg for ASUS G533Z HP jack
  ALSA: hda/realtek: Add pincfg for ASUS G513 HP jack
  ALSA: hda/realtek: Re-arrange quirk table entries
  ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5530 laptop
  Revert "driver core: Set fw_devlink.strict=1 by default"
  blk-lib: fix blkdev_issue_secure_erase
  parisc: Allow CONFIG_64BIT with ARCH=parisc
  parisc: remove obsolete manual allocation aligning in iosapic
  drm/amdgpu/mes: zero the sdma_hqd_mask of 2nd SDMA engine for SDMA 6.0.1
  drm/amdgpu: make sure to init common IP before gmc
  drm/amdgpu: move nbio sdma_doorbell_range() into sdma code for vega
  drm/amdgpu: move nbio ih_doorbell_range() into ih code for vega
  arm64: dts: qcom: sc8280xp-x13s: Update firmware location
  selftests/landlock: Fix out-of-tree builds
  pinctrl: ocelot: Fix interrupt controller
  gpio: mt7621: Make the irqchip immutable
  mmc: moxart: fix 4-bit bus width and remove 8-bit bus width
  mmc: sdhci: Fix host->cmd is null
  ALSA: hda/realtek: Enable 4-speaker output Dell Precision 5570 laptop
  cifs: update internal module number
  cifs: add missing spinlock around tcon refcount
  drm/rockchip: Fix return type of cdn_dp_connector_mode_valid
  cifs: always initialize struct msghdr smb_msg completely
  cifs: don't send down the destination address to sendmsg for a SOCK_STREAM
  arm64: dts: imx8mp-venice-gw74xx: fix port/phy validation
  block: blk_queue_enter() / __bio_queue_enter() must return -EAGAIN for nowait
  drm/amd/display: Mark dml30's UseMinimumDCFCLK() as noinline for stack usage
  drm/amd/display: Reduce number of arguments of dml31's CalculateFlipSchedule()
  drm/amd/display: Reduce number of arguments of dml31's CalculateWatermarksAndDRAMSpeedChangeSupport()
  drm/amd/display: Reduce number of arguments of dml32_CalculatePrefetchSchedule()
  drm/amd/display: Reduce number of arguments of dml32_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport()
  drm/amd/display: Refactor SubVP calculation to remove FPU
  drm/amd/display: Limit user regamma to a valid value
  drm/amd/display: add workaround for subvp cursor corruption for DCN32/321
  drm/amd/display: SW cursor fallback for SubVP
  drm/amd/display: Round cursor width up for MALL allocation
  drm/amd/display: Correct dram channel width for dcn314
  drm/amd/display: Relax swizzle checks for video non-RGB formats on DCN314
  drm/amd/display: Hook up DCN314 specific dml implementation
  drm/amd/display: Enable dlg and vba compilation for dcn314
  drm/amd/display: Fix compilation errors on DCN314
  drm/amd/display: Fix divide by zero in DML
  drm/amd/display: Fixing DIG FIFO Error
  drm/amd/display: Update MBLK calculation for SubVP
  drm/amd/display: Revert "Fallback to SW cursor if SubVP + cursor too big"
  drm/amdgpu: Skip reset error status for psp v13_0_0
  drm/amdgpu: add HDP remap functionality to nbio 7.7
  drm/amdgpu: change the alignment size of TMR BO to 1M
  drm/amdgpu: Enable full reset when RAS is supported on gc v11_0_0
  drm/amdgpu: use dirty framebuffer helper
  drm/amdgpu: Don't enable LTR if not supported
  drm/amd/pm: disable BACO entry/exit completely on several sienna cichlid cards
  Revert "fs/exec: allow to unshare a time namespace on vfork+exec"
  Revert "selftests/timens: add a test for vfork+exit"
  dt-bindings: pinctrl: qcom: drop non-working codeaurora.org emails
  dt-bindings: power: qcom,rpmpd: drop non-working codeaurora.org emails
  gpio: ixp4xx: Make irqchip immutable
  MAINTAINERS: Update HiSilicon GPIO Driver maintainer
  io_uring/rw: fix error'ed retry return values
  dt-bindings: apple,aic: Fix required item "apple,fiq-index" in affinity description
  USB: serial: option: add Quectel RM520N
  USB: serial: option: add Quectel BG95 0x0203 composition
  btrfs: zoned: wait for extent buffer IOs before finishing a zone
  btrfs: fix hang during unmount when stopping a space reclaim worker
  btrfs: fix hang during unmount when stopping block group reclaim worker
  tools/include/uapi: Fix <asm/errno.h> for parisc and xtensa
  Input: hp_sdc: fix spelling typo in comment
  ASoC: imx-card: Fix refcount issue with of_node_put
  RISC-V: Clean up the Zicbom block size probing
  Documentation: mptcp: fix pm_type formatting
  mptcp: fix fwd memory accounting on coalesce
  net: phy: aquantia: wait for the suspend/resume operations to finish
  ALSA: hda: Fix Nvidia dp infoframe
  ARM: dts: lan966x: Fix the interrupt number for internal PHYs
  parisc: ccio-dma: Add missing iounmap in error path in ccio_probe()
  ALSA: hda/realtek: Add quirk for Huawei WRT-WX9
  ALSA: hda/tegra: set depop delay for tegra
  ALSA: hda: add Intel 5 Series / 3400 PCI DID
  nfsd_splice_actor(): handle compound pages
  arm64: dts: imx8mp-venice-gw74xx: fix ksz9477 cpu port
  arm64: dts: imx8mp-venice-gw74xx: fix CAN STBY polarity
  drm/mediatek: Fix wrong dither settings
  cifs: revalidate mapping when doing direct writes
  irqchip: Select downstream irqchip drivers for LoongArch CPU
  irqchip/gic-v3-its: Remove cpumask_var_t allocation
  irqchip/stm32-exti: Remove check on always false condition
  dt-bindings: memory-controllers: fsl,imx8m-ddrc: drop Leonard Crestez
  Revert "drm/i915/display: Re-add check for low voltage sku for max dp source rate"
  drm/i915/gt: Fix perf limit reasons bit positions
  drm/i915/guc: Cancel GuC engine busyness worker synchronously
  drm/i915: Set correct domains values at _i915_vma_move_to_active
  drm/i915/vdsc: Set VDSC PIC_HEIGHT before using for DP DSC
  arm64: dts: tqma8mqml: Include phy-imx8-pcie.h header
  wifi: mt76: fix 5 GHz connection regression on mt76x0/mt76x2
  wifi: mt76: fix reading current per-tid starting sequence number for aggregation
  wifi: iwlwifi: Mark IWLMEI as broken
  arm64: defconfig: enable ARCH_NXP
  arm64: dts: imx8mp-tqma8mpql-mba8mpxl: add missing pinctrl for RTC alarm
  ASoC: rt5640: Fix the issue of the abnormal JD2 status
  mm: fix dereferencing possible ERR_PTR
  vmscan: check folio_test_private(), not folio_get_private()
  mm: fix VM_BUG_ON in __delete_from_swap_cache()
  tools: fix compilation after gfp_types.h split
  mm/damon/dbgfs: fix memory leak when using debugfs_lookup()
  mm/migrate_device.c: copy pte dirty bit to page
  mm/migrate_device.c: add missing flush_cache_page()
  mm/migrate_device.c: flush TLB while holding PTL
  x86/mm: disable instrumentations of mm/pgprot.c
  mm/memory-failure: fall back to vma_address() when ->notify_failure() fails
  mm/memory-failure: fix detection of memory_failure() handlers
  xfs: fix SB_BORN check in xfs_dax_notify_failure()
  xfs: quiet notify_failure EOPNOTSUPP cases
  mm/page_alloc: fix race condition between build_all_zonelists and page allocation
  ntfs: fix BUG_ON in ntfs_lookup_inode_by_name()
  Linux 6.0-rc5
  iommu: Fix false ownership failure on AMD systems with PASID activated
  iommu/vt-d: Fix possible recursive locking in intel_iommu_init()
  ALSA: hda: Fix hang at HD-audio codec unbinding due to refcount saturation
  arm64: mm: fix resume for 52-bit enabled builds
  mksysmap: Fix the mismatch of 'L0' symbols in System.map
  Bluetooth: Fix HCIGETDEVINFO regression
  hwmon: (asus-ec-sensors) autoload module via DMI data
  mips: Select SPARSEMEM_EXTREME
  io_uring/rw: fix short rw error handling
  drm/rockchip: vop2: Fix eDP/HDMI sync polarities
  drm/gma500: Fix (vblank) IRQs not working after suspend/resume
  drm/gma500: Fix WARN_ON(lock->magic != lock) error
  drm/gma500: Fix BUG: sleeping function called from invalid context errors
  block: add missing request flags to debugfs code
  net: core: fix flow symmetric hash
  ipvlan: Fix out-of-bound bugs caused by unset skb->mac_header
  drm/meson: Fix OSD1 RGB to YCbCr coefficient
  drm/meson: Correct OSD1 global alpha value
  thunderbolt: Add support for Intel Maple Ridge single port controller
  NFSD: fix regression with setting ACLs.
  mm/slub: fix to return errno if kmalloc() fails
  tracefs: Only clobber mode/uid/gid on remount if asked
  kprobes: Prohibit probes in gate area
  perf: RISC-V: fix access beyond allocated array
  soc: sunxi: sram: Fix debugfs info for A64 SRAM C
  x86/sgx: Handle VA page allocation failure for EAUG on PF.
  soc: sunxi: sram: Fix probe function ordering issues
  x86/sgx: Do not fail on incomplete sanitization on premature stop of ksgxd
  soc: sunxi: sram: Prevent the driver from being unbound
  soc: sunxi: sram: Actually claim SRAM regions
  iavf: Fix cached head and tail value for iavf_get_tx_pending
  iavf: Fix change VF's mac address
  ice: Fix crash by keep old cfg when update TCs more than queues
  perf record: Fix synthesis failure warnings
  hwmon: (mr75203) enable polling for all VM channels
  hwmon: (mr75203) fix multi-channel voltage reading
  perf tools: Don't install data files with x permissions
  hwmon: (mr75203) fix voltage equation for negative source input
  hwmon: (mr75203) update pvt->v_num and vm_num to the actual number of used sensors
  hwmon: (mr75203) fix VM sensor allocation when "intel,vm-map" not defined
  dt-bindings: hwmon: (mr75203) fix "intel,vm-map" property to be optional
  perf script: Fix Cannot print 'iregs' field for hybrid systems
  perf lock: Remove redundant word 'contention' in help message
  ice: Don't double unplug aux on peer initiated reset
  drm/panel-edp: Fix delays for Innolux N116BCA-EA1
  perf dlfilter dlfilter-show-cycles: Fix types for print format
  libperf evlist: Fix per-thread mmaps for multi-threaded targets
  Revert "SUNRPC: Remove unreachable error condition"
  NFSv4.2: Update mode bits after ALLOCATE and DEALLOCATE
  io_uring/net: copy addr for zc on POLL_FIRST
  ARM: dts: fix Moxa SDIO 'compatible', remove 'sdhci' misnomer
  arm64/ptrace: Don't clear calling process' TIF_SME on OOM
  fs: only do a memory barrier for the first set_buffer_uptodate()
  drm/panfrost: devfreq: set opp to the recommended one to configure regulator
  sch_sfb: Also store skb len before calling child enqueue
  net: phy: lan87xx: change interrupt src of link_up to comm_ready
  drm/ttm: cleanup the resource of ghost objects after locking them
  drm/amdgpu: prevent toc firmware memory leak
  drm/amdgpu: correct doorbell range/size value for CSDMA_DOORBELL_RANGE
  drm/amdkfd: print address in hex format rather than decimal
  drm/amd/display: fix memory leak when using debugfs_lookup()
  drm/amd/pm: add missing SetMGpuFanBoostLimitRpm mapping for SMU 13.0.7
  drm/amd/amdgpu: add rlc_firmware_header_v2_4 to amdgpu_firmware_header
  powerpc/pseries: Fix plpks crash on non-pseries
  tools: Add new "test" taint to kernel-chktaint
  io_uring: recycle kbuf recycle on tw requeue
  io_uring/kbuf: fix not advancing READV kbuf ring
  efi: capsule-loader: Fix use-after-free in efi_capsule_write
  arch_topology: Make cluster topology span at least SMT CPUs
  dt-bindings: interconnect: fsl,imx8m-noc: drop Leonard Crestez
  net/smc: Fix possible access to freed memory in link clear
  serial: tegra-tcu: Use uart_xmit_advance(), fixes icount.tx accounting
  serial: tegra: Use uart_xmit_advance(), fixes icount.tx accounting
  serial: Create uart_xmit_advance()
  usb: dwc3: core: leave default DMA if the controller does not support 64-bit DMA
  net: ethernet: mtk_eth_soc: check max allowed hash in mtk_ppe_check_skb
  net: skb: export skb drop reaons to user by TRACE_DEFINE_ENUM
  net: ethernet: mtk_eth_soc: fix typo in __mtk_foe_entry_clear
  netfilter: nfnetlink_osf: fix possible bogus match in nf_osf_find()
  netfilter: nf_conntrack_irc: Tighten matching on DCC message
  iommu/virtio: Fix interaction with VFIO
  iommu/vt-d: Fix lockdep splat due to klist iteration in atomic context
  iommu/vt-d: Fix recursive lock issue in iommu_flush_dev_iotlb()
  iommu/vt-d: Correctly calculate sagaw value of IOMMU
  iommu/vt-d: Fix kdump kernels boot failure with scalable mode
  MIPS: OCTEON: irq: Fix octeon_irq_force_ciu_mapping()
  selftests: nft_concat_range: add socat support
  netfilter: nf_conntrack_sip: fix ct_sip_walk_headers
  MIPS: octeon: Get rid of preprocessor directives around RESERVE32
  net: dsa: felix: access QSYS_TAG_CONFIG under tas_lock in vsc9959_sched_speed_set
  net: dsa: felix: disable cut-through forwarding for frames oversized for tc-taprio
  net: dsa: felix: tc-taprio intervals smaller than MTU should send at least one packet
  s390/smp: enforce lowcore protection on CPU restart
  s390/boot: fix absolute zero lowcore corruption on boot
  gpio: mpc8xxx: Fix support for IRQ_TYPE_LEVEL_LOW flow_type in mpc85xx
  ALSA: usb-audio: Clear fixed clock rate at closing EP
  iommu/amd: use full 64-bit value in build_completion_wait()
  dma-mapping: mark dma_supported static
  swiotlb: fix a typo
  swiotlb: avoid potential left shift overflow
  dma-debug: improve search for partial syncs
  Revert "swiotlb: panic if nslabs is too small"
  RDMA/irdma: Report RNR NAK generation in device caps
  RDMA/irdma: Use s/g array in post send only when its valid
  RDMA/irdma: Return correct WC error for bind operation failure
  RDMA/irdma: Return error on MR deregister CQP failure
  RDMA/irdma: Report the correct max cqes from query device
  wifi: iwlwifi: don't spam logs with NSS>2 messages
  efi/x86: libstub: remove unused variable
  nvme: requeue aen after firmware activation
  nvmet: fix mar and mor off-by-one errors
  ALSA: emu10k1: Fix out of bounds access in snd_emu10k1_pcm_channel_alloc()
  scsi: mpt3sas: Fix use-after-free warning
  rv/reactor: add __init/__exit annotations to module init/exit funcs
  tracing: Fix to check event_mutex is held while accessing trigger list
  tracing: hold caller_addr to hardirq_{enable,disable}_ip
  tracepoint: Allow trace events in modules with TAINT_TEST
  MAINTAINERS: add scripts/tracing/ to TRACING
  MAINTAINERS: Add Runtime Verification (RV) entry
  rv/monitors: Make monitor's automata definition static
  drm/i915: consider HAS_FLAT_CCS() in needs_ccs_pages
  drm/i915: Implement WaEdpLinkRateDataReload
  drm/i915/slpc: Let's fix the PCODE min freq table setup for SLPC
  drm/i915/bios: Copy the whole MIPI sequence block
  cpuset: Add Waiman Long as a cpuset maintainer
  btrfs: fix the max chunk size and stripe length calculation
  perf c2c: Prevent potential memory leak in c2c_he_zalloc()
  perf genelf: Switch deprecated openssl MD5_* functions to new EVP API
  tools/perf: Fix out of bound access to cpu mask array
  perf affinity: Fix out of bound access to "sched_cpus" mask
  net: usb: qmi_wwan: add Quectel RM520N
  drm/ttm: update bulk move object of ghost BO
  net: dsa: qca8k: fix NULL pointer dereference for of_device_get_match_data
  tcp: fix early ETIMEDOUT after spurious non-SACK RTO
  ALSA: hda: Once again fix regression of page allocations with IOMMU
  arm64/bti: Disable in kernel BTI when cross section thunks are broken
  ARM: dts: am5748: keep usb4_tm disabled
  ALSA: usb-audio: Fix an out-of-bounds bug in __snd_usb_parse_audio_interface()
  ALSA: hda/tegra: Align BDL entry to 4KB boundary
  nvme-tcp: fix regression that causes sporadic requests to time out
  nvme-tcp: fix UAF when detecting digest errors
  arm64: dts: imx8mm-verdin: extend pmic voltages
  hwmon: (tps23861) fix byte order in resistance register
  io_uring/notif: Remove the unused function io_notif_complete()
  Drivers: hv: Never allocate anything besides framebuffer from framebuffer memory region
  Drivers: hv: Always reserve framebuffer region for Gen1 VMs
  PCI: Move PCI_VENDOR_ID_MICROSOFT/PCI_DEVICE_ID_HYPERV_VIDEO definitions to pci_ids.h
  tools: hv: kvp: remove unnecessary (void*) conversions
  Drivers: hv: remove duplicate word in a comment
  asm-generic: Conditionally enable do_softirq_own_stack() via Kconfig.
  btrfs: zoned: fix mounting with conventional zones
  btrfs: zoned: set pseudo max append zone limit in zone emulation mode
  btrfs: zoned: fix API misuse of zone finish waiting
  stmmac: intel: Simplify intel_eth_pci_remove()
  net: mvpp2: debugfs: fix memory leak when using debugfs_lookup()
  ALSA: hda/sigmatel: Fix unused variable warning for beep power change
  nvmet: fix a use-after-free
  ALSA: pcm: oss: Fix race at SNDCTL_DSP_SYNC
  MAINTAINERS: Update maintainers of HiSilicon RoCE
  RDMA/mlx5: Fix UMR cleanup on error flow of driver init
  RDMA/mlx5: Set local port to one when accessing counters
  RDMA/mlx5: Rely on RoCE fw cap instead of devlink when setting profile
  IB/core: Fix a nested dead lock as part of ODP flow
  USB: core: Fix RST error in hub.c
  sched/debug: fix dentry leak in update_sched_domain_debugfs
  debugfs: add debugfs_lookup_and_remove()
  driver core: fix driver_set_override() issue with empty strings
  arm64: dts: rockchip: Remove 'enable-active-low' from rk3566-quartz64-a
  arm64: dts: rockchip: Remove 'enable-active-low' from rk3399-puma
  arm64: dts: rockchip: fix property for usb2 phy supply on rk3568-evb1-v10
  arm64: dts: rockchip: fix property for usb2 phy supply on rock-3a
  ipv6: sr: fix out-of-bounds read when setting HMAC data.
  bonding: accept unsolicited NA message
  bonding: add all node mcast address when slave up
  bonding: use unspecified address if no available link local address
  dmaengine: zynqmp_dma: Typecast with enum to fix the coverity warning
  dmaengine: ti: k3-udma-private: Fix refcount leak bug in of_xudma_dev_get()
  arm64: dts: imx8ulp: add #reset-cells for pcc
  arm64: dts: tqma8mpxl-ba8mpxl: Fix button GPIOs
  arm64: dts: imx8mn: remove GPU power domain reset
  dmaengine: xilinx_dma: Report error in case of dma_set_mask_and_coherent API failure
  dmaengine: xilinx_dma: cleanup for fetching xlnx,num-fstores property
  dmaengine: xilinx_dma: Fix devm_platform_ioremap_resource error handling
  arm64: dts: rockchip: Set RK3399-Gru PCLK_EDP to 24 MHz
  arm64: dts: imx8mm: Reverse CPLD_Dn GPIO label mapping on MX8Menlo
  ALSA: hda/sigmatel: Keep power up while beep is enabled
  RDMA/siw: Pass a pointer to virt_to_page()
  exfat: fix overflow for large capacity partition
  block: don't add partitions if GD_SUPPRESS_PART_SCAN is set
  wifi: use struct_group to copy addresses
  wifi: mac80211_hwsim: check length for virtio packets
  wifi: mac80211: fix locking in auth/assoc timeout
  wifi: mac80211: mlme: release deflink channel in error case
  wifi: mac80211: fix link warning in RX agg timer expiry
  net: dsa: microchip: fix kernel oops on ksz8 switches
  xen-netback: only remove 'hotplug-status' when the vif is actually destroyed
  Revert "arch_topology: Make cluster topology span at least SMT CPUs"
  net: fec: Use a spinlock to guard `fep->ptp_clk_on`
  net: fec: add pm_qos support on imx6q platform
  Bluetooth: hci_sync: Fix hci_read_buffer_size_sync
  iavf: Detach device during reset task
  i40e: Fix kernel crash during module removal
  i40e: Fix ADQ rate limiting for PF
  perf stat: Fix L2 Topdown metrics disappear for raw events
  ice: use bitmap_free instead of devm_kfree
  ice: Fix DMA mappings leak
  drm/edid: Handle EDID 1.4 range descriptor h/vfreq offsets
  spi: spi: Fix queue hang if previous transfer failed
  spi: mux: Fix mux interaction with fast path optimisations
  tcp: TX zerocopy should not sense pfmemalloc status
  tipc: fix shift wrapping bug in map_get()
  sch_sfb: Don't assume the skb is still around after enqueueing to child
  ALSA: aloop: Fix random zeros in capture data when using jiffies timer
  Revert "net: phy: meson-gxl: improve link-up behavior"
  kunit: fix Kconfig for build-in tests USB4 and Nitro Enclaves
  kunit: fix assert_type for comparison macros
  arch_topology: Make cluster topology span at least SMT CPUs
  kbuild: disable header exports for UML in a straightforward way
  NFSv4: Turn off open-by-filehandle and NFS re-export for NFSv4.0
  SUNRPC: Fix call completion races with call_decode()
  ALSA: usb-audio: Split endpoint setups for hw_params and prepare
  rxrpc: Remove rxrpc_get_reply_time() which is no longer used
  afs: Use the operation issue time instead of the reply time for callbacks
  rxrpc: Fix calc of resend age
  rxrpc: Fix local destruction being repeated
  rxrpc: Fix an insufficiently large sglist in rxkad_verify_packet_2()
  rxrpc: Fix ICMP/ICMP6 error handling
  ALSA: usb-audio: Register card again for iface over delayed_register option
  ALSA: usb-audio: Inform the delayed registration more properly
  RDMA/srp: Set scmnd->result only when scmnd is not NULL
  scsi: core: Fix a use-after-free
  scsi: core: Revert "Make sure that targets outlive devices"
  scsi: core: Revert "Make sure that hosts outlive targets"
  scsi: core: Revert "Simplify LLD module reference counting"
  scsi: core: Revert "Call blk_mq_free_tag_set() earlier"
  scsi: lpfc: Add missing destroy_workqueue() in error path
  scsi: lpfc: Return DID_TRANSPORT_DISRUPTED instead of DID_REQUEUE
  netfilter: nf_conntrack_irc: Fix forged IP logic
  x86/cpu: Add CPU model numbers for Meteor Lake
  perf script: Skip dummy event attr check
  riscv: dts: microchip: use an mpfs specific l2 compatible
  dt-bindings: riscv: sifive-l2: add a PolarFire SoC compatible
  vfio/type1: Unpin zero pages
  perf metric: Return early if no CPU PMU table exists
  netfilter: nf_tables: clean up hook list when offload flags check fails
  regulator: Fix qcom,spmi-regulator schema
  netfilter: br_netfilter: Drop dst references before setting.
  netfilter: remove nf_conntrack_helper sysctl and modparam toggles
  wifi: iwlegacy: 4965: corrected fix for potential off-by-one overflow in il4965_rs_fill_link_cmd()
  wifi: wilc1000: fix DMA on stack objects
  reset: microchip-sparx5: issue a reset on startup
  reset: imx7: Fix the iMX8MP PCIe PHY PERST support
  dt-bindings: i2c: renesas,riic: Fix 'unevaluatedProperties' warnings
  RDMA/hns: Remove the num_qpc_timer variable
  RDMA/hns: Fix wrong fixed value of qp->rq.wqe_shift
  RDMA/hns: Fix supported page size
  phy: marvell: phy-mvebu-a3700-comphy: Remove broken reset support
  MAINTAINERS: Update Bjorn's email address
  arm64: dts: qcom: sc7280: move USB wakeup-source property
  arm64: dts: qcom: thinkpad-x13s: Fix firmware location
  arm64: dts: qcom: sm8150: Fix fastrpc iommu values
  docs: i2c: piix4: Fix typos, add markup, drop link
  MIPS: loongson32: ls1c: Fix hang during startup
  docs: i2c: i2c-topology: reorder sections more logically
  docs: i2c: i2c-topology: fix incorrect heading
  docs: i2c: i2c-topology: fix typo
  RDMA/cma: Fix arguments order in net device validation
  scripts/extract-ikconfig: add zstd compression support
  scripts: remove obsolete gcc-ld script
  RDMA/irdma: Fix drain SQ hang with no completion
  wifi: mt76: mt7921e: fix crash in chip reset fail
  pinctrl: sunxi: Fix name for A100 R_PIO
  of/device: Fix up of_dma_configure_id() stub
  drm/mediatek: dsi: Add atomic {destroy,duplicate}_state, reset callbacks
  ASoC: fsl_aud2htx: Add error handler for pm_runtime_enable
  ASoC: fsl_aud2htx: register platform component before registering cpu dai
  pinctrl: rockchip: Enhance support for IRQ_TYPE_EDGE_BOTH
  regulator: pfuze100: Fix the global-out-of-bounds access in pfuze100_regulator_probe()
  efi: libstub: Disable struct randomization
  dt-bindings: opp: Add missing (unevaluated|additional)Properties on child nodes
  ASoC: SOF: ipc4-topology: fix alh_group_ida max value
  ASoC: mchp-spdiftx: Fix clang -Wbitfield-constant-conversion
  ASoC: SOF: Kconfig: Make IPC_MESSAGE_INJECTOR depend on SND_SOC_SOF
  ASoC: SOF: Kconfig: Make IPC_FLOOD_TEST depend on SND_SOC_SOF
  arm64: dts: rockchip: fix upper usb port on BPI-R2-Pro
  arm64: dts: rockchip: Fix typo in lisense text for PX30.Core
  arm64: dts: rockchip: Pull up wlan wake# on Gru-Bob
  arm64: dts: rockchip: Lower sd speed on quartz64-b
  ASoC: fsl_mqs: Fix supported clock DAI format
  ASoC: nau8540: Implement hw constraint for rates
  ASoC: nau8825: Implement hw constraint for rates
  ASoC: nau8824: Implement hw constraint for rates
  ASoC: nau8824: Fix semaphore unbalance at error paths
  ASoC: nau8821: Implement hw constraint for rates
  firmware: arm_scmi: Harmonize SCMI tracing message format
  firmware: arm_scmi: Add SCMI PM driver remove routine
  firmware: arm_scmi: Fix the asynchronous reset requests
  firmware: arm_scmi: Harden accesses to the reset domains
  firmware: arm_scmi: Harden accesses to the sensor domains
  firmware: arm_scmi: Improve checks in the info_get operations
  firmware: arm_scmi: Fix missing kernel-doc in optee
  spi: cadence-quadspi: Disable irqs during indirect reads
  regulator: core: Clean up on enable failure
  ASoC: mediatek: mt8186: fix DMIC record noise
  pinctrl: qcom: sc8180x: Fix wrong pin numbers
  pinctrl: qcom: sc8180x: Fix gpio_wakeirq_map
  RDMA/rtrs-srv: Pass the correct number of entries for dma mapped SGL
  RDMA/rtrs-clt: Use the right sg_cnt after ib_dma_map_sg
  batman-adv: Fix hang up with small MTU hard-interface
  MAINTAINERS: Update email of Neil Armstrong
  regmap: spi: Reserve space for register address/padding
  ASoC: SOF: ipc4-topology: fix wrong use of sizeof in sof_ipc4_widget_setup_comp_src()
  ASoC: qcom: sm8250: add missing module owner
  of: fdt: fix off-by-one error in unflatten_dt_nodes()
  workqueue: don't skip lockdep work dependency in cancel_work_sync()
  ASoC: fsl_sai: fix incorrect mclk number in error message
  OPP: Fix an un-initialized variable usage
  tools: hv: Remove an extraneous "the"
  drm/hyperv: Fix an error handling path in hyperv_vmbus_probe()
  ASoC: cs42l42: Only report button state if there was a button interrupt
  spi: bitbang: Fix lsb-first Rx
  fsdax: Fix infinite loop in dax_iomap_rw()
  nvdimm/namespace: drop nested variable in create_namespace_pmem()
  ndtest: Cleanup all of blk namespace specific code
  pmem: fix a name collision
  ARM: dts: am33xx: Fix MMCHS0 dma properties

Bug: 175847109
Bug: 187234873
Bug: 200103201
Bug: 205164003
Bug: 205804537
Bug: 222550772
Bug: 226570047
Bug: 228392842
Bug: 229133948
Bug: 234483895
Bug: 236343688
Bug: 241223356
Bug: 241497048
Bug: 243394930
Bug: 243793188
Bug: 244323113
Bug: 247548654
Bug: 247813394
Bug: 248081692
Bug: 248307451
Bug: https://bugzilla.kernel.org/show_bug.cgi?id=216412
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=2121844
Change-Id: Ief63fd814458113e503ce8ebfbb077f5769540cb
Signed-off-by: jianzhou <quic_jianzhou@quicinc.com>
2022-09-30 00:43:11 -07:00
android Revert "Revert "Revert "Revert "ANDROID: GKI: Add module load time protected symbol lookup"""" 2022-06-28 12:55:56 +02:00
arch Merge keystone/mirror-android-mainline into keystone/android-mainline-keystone-qcom-dev 2022-09-30 00:43:11 -07:00
block Merge 105a36f369 ("Merge tag 'kbuild-fixes-v6.0-3' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild") into android-mainline 2022-09-25 13:23:30 +02:00
certs Merge 105a36f369 ("Merge tag 'kbuild-fixes-v6.0-3' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild") into android-mainline 2022-09-25 13:23:30 +02:00
crypto Merge tag 'v6.0-rc1' into android-mainline 2022-08-25 12:19:15 +02:00
Documentation Linux 6.0-rc7 2022-09-26 09:17:24 +02:00
drivers Merge keystone/mirror-android-mainline into keystone/android-mainline-keystone-qcom-dev 2022-09-30 00:43:11 -07:00
fs Merge a1375562c0 ("Merge tag 'x86_urgent_for_v6.0-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-mainline 2022-09-28 09:30:02 +02:00
include Merge keystone/mirror-android-mainline into keystone/android-mainline-keystone-qcom-dev 2022-09-30 00:43:11 -07:00
init Merge keystone/mirror-android-mainline into keystone/android-mainline-keystone-qcom-dev 2022-09-30 00:43:11 -07:00
io_uring io_uring-6.0-2022-09-23 2022-09-24 08:27:08 -07:00
ipc Updates to various subsystems which I help look after. lib, ocfs2, 2022-08-07 10:03:24 -07:00
kernel Merge keystone/mirror-android-mainline into keystone/android-mainline-keystone-qcom-dev 2022-09-30 00:43:11 -07:00
lib Makefile.debug: re-enable debug info for .S files 2022-09-24 11:19:19 +09: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-09-30 00:43:11 -07:00
net Merge c3e0e1e23c ("Merge tag 'irq_urgent_for_v6.0' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-mainline 2022-09-29 14:59:36 +02:00
samples Tracing updates for 5.20 / 6.0 2022-08-05 09:41:12 -07:00
scripts Merge 105a36f369 ("Merge tag 'kbuild-fixes-v6.0-3' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild") into android-mainline 2022-09-25 13:23:30 +02:00
security Merge d895ec7938 ("Merge tag 'block-6.0-2022-09-02' of git://git.kernel.dk/linux-block") into android-mainline 2022-09-03 12:19:57 +02:00
sound Merge 49c13ed031 ("Merge tag 'soc-fixes-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc") into android-mainline 2022-09-28 10:59:58 +02:00
tools Merge a1375562c0 ("Merge tag 'x86_urgent_for_v6.0-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip") into android-mainline 2022-09-28 09:30:02 +02:00
usr Not a lot of material this cycle. Many singleton patches against various 2022-05-27 11:22:03 -07:00
virt KVM: Drop unnecessary initialization of "ops" in kvm_ioctl_create_device() 2022-08-19 04:05:43 -04:00
.clang-format PCI/DOE: Add DOE mailbox support functions 2022-07-19 15:38:04 -07:00
.cocciconfig
.get_maintainer.ignore get_maintainer: add Alan to .get_maintainer.ignore 2022-08-20 15:17:44 -07:00
.gitattributes
.gitignore kbuild: split the second line of *.mod into *.usyms 2022-05-08 03:16:59 +09:00
.mailmap Qualcomm ARM64 DTS fixes for 6.0 2022-09-23 16:44:37 +02:00
BUILD.bazel ANDROID: GKI: Build-in REGMAP_SPMI 2022-09-23 12:39:42 -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
build.config.allmodconfig.arm
build.config.allmodconfig.x86_64
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 15.0.1 2022-09-07 15:50:48 +00:00
build.config.db845c ANDROID: Convert db845c to a mixed build. 2022-09-06 23:21:51 +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
build.config.gki_kasan.x86_64
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
build.config.gki-debug.x86_64
build.config.gki.aarch64 ANDROID: Adding Image.gz and boot-gz.img 2022-06-13 10:00:31 +00:00
build.config.gki.x86_64 ANDROID: Enable BUILD_GKI_CERTIFICATION_TOOLS for x86_64 GKI 2022-09-22 13:17:50 +00: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
CREDITS drm for 5.20/6.0 2022-08-03 19:52:08 -07:00
Kbuild
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 Merge 49c13ed031 ("Merge tag 'soc-fixes-6.0-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc") into android-mainline 2022-09-28 10:59:58 +02:00
Makefile Linux 6.0-rc7 2022-09-26 09:17:24 +02:00
OWNERS ANDROID: add smuckle to OWNERS 2022-06-18 10:41:40 -07:00
OWNERS_DrNo ANDROID: Updating OWNERS_DrNo 2022-08-22 16:34:52 +00:00
README
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)