Greg Kroah-Hartman b6c9bd5fa6 Merge 6.1.26 into android14-6.1-lts
Changes in 6.1.26
	ARM: dts: rockchip: fix a typo error for rk3288 spdif node
	arm64: dts: rockchip: Lower sd speed on rk3566-soquartz
	arm64: dts: qcom: ipq8074-hk01: enable QMP device, not the PHY node
	arm64: dts: qcom: hk10: use "okay" instead of "ok"
	arm64: dts: qcom: ipq8074-hk10: enable QMP device, not the PHY node
	arm64: dts: meson-g12-common: specify full DMC range
	arm64: dts: qcom: sc8280xp-pmics: fix pon compatible and registers
	arm64: dts: imx8mm-evk: correct pmic clock source
	arm64: dts: imx8mm-verdin: correct off-on-delay
	arm64: dts: imx8mp-verdin: correct off-on-delay
	netfilter: br_netfilter: fix recent physdev match breakage
	netfilter: nf_tables: Modify nla_memdup's flag to GFP_KERNEL_ACCOUNT
	rust: str: fix requierments->requirements typo
	regulator: fan53555: Explicitly include bits header
	regulator: fan53555: Fix wrong TCS_SLEW_MASK
	net: sched: sch_qfq: prevent slab-out-of-bounds in qfq_activate_agg
	virtio_net: bugfix overflow inside xdp_linearize_page()
	sfc: Fix use-after-free due to selftest_work
	netfilter: nf_tables: fix ifdef to also consider nf_tables=m
	i40e: fix accessing vsi->active_filters without holding lock
	i40e: fix i40e_setup_misc_vector() error handling
	netfilter: nf_tables: validate catch-all set elements
	netfilter: nf_tables: tighten netlink attribute requirements for catch-all elements
	bnxt_en: Do not initialize PTP on older P3/P4 chips
	mlxfw: fix null-ptr-deref in mlxfw_mfa2_tlv_next()
	bonding: Fix memory leak when changing bond type to Ethernet
	net: rpl: fix rpl header size calculation
	mlxsw: pci: Fix possible crash during initialization
	spi: spi-rockchip: Fix missing unwind goto in rockchip_sfc_probe()
	bpf: Fix incorrect verifier pruning due to missing register precision taints
	e1000e: Disable TSO on i219-LM card to increase speed
	net: bridge: switchdev: don't notify FDB entries with "master dynamic"
	f2fs: Fix f2fs_truncate_partial_nodes ftrace event
	platform/x86/intel: vsec: Fix a memory leak in intel_vsec_add_aux
	platform/x86 (gigabyte-wmi): Add support for A320M-S2H V2
	selftests: sigaltstack: fix -Wuninitialized
	scsi: megaraid_sas: Fix fw_crash_buffer_show()
	scsi: core: Improve scsi_vpd_inquiry() checks
	net: dsa: b53: mmap: add phy ops
	platform/x86: gigabyte-wmi: add support for B650 AORUS ELITE AX
	s390/ptrace: fix PTRACE_GET_LAST_BREAK error handling
	drm: buddy_allocator: Fix buddy allocator init on 32-bit systems
	drm: test: Fix 32-bit issue in drm_buddy_test
	nvme-tcp: fix a possible UAF when failing to allocate an io queue
	xen/netback: use same error messages for same errors
	platform/x86: gigabyte-wmi: add support for X570S AORUS ELITE
	platform/x86: asus-nb-wmi: Add quirk_asus_tablet_mode to other ROG Flow X13 models
	mtd: spi-nor: fix memory leak when using debugfs_lookup()
	Revert "userfaultfd: don't fail on unrecognized features"
	drm/amdgpu/vcn: Disable indirect SRAM on Vangogh broken BIOSes
	iio: dac: ad5755: Add missing fwnode_handle_put()
	iio: light: tsl2772: fix reading proximity-diodes from device tree
	ALSA: hda/realtek: fix mute/micmute LEDs for a HP ProBook
	btrfs: get the next extent map during fiemap/lseek more efficiently
	rust: kernel: Mark rust_fmt_argument as extern "C"
	LoongArch: Fix probing of the CRC32 feature
	LoongArch: Mark 3 symbol exports as non-GPL
	maple_tree: make maple state reusable after mas_empty_area_rev()
	maple_tree: fix mas_empty_area() search
	maple_tree: fix a potential memory leak, OOB access, or other unpredictable bug
	nilfs2: initialize unused bytes in segment summary blocks
	tools/mm/page_owner_sort.c: fix TGID output when cull=tg is used
	memstick: fix memory leak if card device is never registered
	kernel/sys.c: fix and improve control flow in __sys_setres[ug]id()
	writeback, cgroup: fix null-ptr-deref write in bdi_split_work_to_wbs
	mmc: sdhci_am654: Set HIGH_SPEED_ENA for SDR12 and SDR25
	drm/i915: Fix fast wake AUX sync len
	drm/amdgpu: Fix desktop freezed after gpu-reset
	drm/amd/display: set dcn315 lb bpp to 48
	drm/rockchip: vop2: fix suspend/resume
	drm/rockchip: vop2: Use regcache_sync() to fix suspend/resume
	mm/userfaultfd: fix uffd-wp handling for THP migration entries
	mm/khugepaged: check again on anon uffd-wp during isolation
	mm/huge_memory.c: warn with pr_warn_ratelimited instead of VM_WARN_ON_ONCE_FOLIO
	mm: kmsan: handle alloc failures in kmsan_ioremap_page_range()
	mm: kmsan: handle alloc failures in kmsan_vmap_pages_range_noflush()
	mm: page_alloc: skip regions with hugetlbfs pages when allocating 1G pages
	mm/mmap: regression fix for unmapped_area{_topdown}
	sched/fair: Detect capacity inversion
	sched/fair: Consider capacity inversion in util_fits_cpu()
	sched/fair: Fixes for capacity inversion detection
	KVM: arm64: Make vcpu flag updates non-preemptible
	KVM: arm64: Fix buffer overflow in kvm_arm_set_fw_reg()
	MIPS: Define RUNTIME_DISCARD_EXIT in LD script
	fuse: always revalidate rename target dentry
	purgatory: fix disabling debug info
	inet6: Remove inet6_destroy_sock() in sk->sk_prot->destroy().
	dccp: Call inet6_destroy_sock() via sk->sk_destruct().
	sctp: Call inet6_destroy_sock() via sk->sk_destruct().
	gcc: disable '-Warray-bounds' for gcc-13 too
	Input: pegasus-notetaker - check pipe type when probing
	iio: adc: at91-sama5d2_adc: fix an error code in at91_adc_allocate_trigger()
	fpga: bridge: properly initialize bridge device before populating children
	mm/page_alloc: fix potential deadlock on zonelist_update_seq seqlock
	ASoC: SOF: pm: Tear down pipelines only if DSP was active
	ASoC: fsl_asrc_dma: fix potential null-ptr-deref
	ASoC: fsl_sai: Fix pins setting for i.MX8QM platform
	ASN.1: Fix check for strdup() success
	Linux 6.1.26

Note, some of the above patches were reverted in order to fix a test
problem, or for ABI issues, specifically:
	7e6631f782 ("mm/mmap: regression fix for unmapped_area{_topdown}")
	fe1c982958 ("sched/fair: Detect capacity inversion")
	799c7301de ("sched/fair: Consider capacity inversion in util_fits_cpu()")
	d362a03d92 ("sched/fair: Fixes for capacity inversion detection")

The ABI issue commits (the sched/fair ones) will be merged later to the
android14-6.1 branch at the next ABI break.  The mm/mmap: issue is
reverted in all Android branches at this point in time due to test
issues.

Change-Id: Ia6735206fa935b4d26ef103d4c7c9ca26d5545a7
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2023-05-31 16:38:29 +00:00
2023-02-09 13:29:55 +00:00
2023-04-26 13:13:19 +00:00
2023-03-31 08:15:39 +00:00
2022-09-28 09:02:20 +02:00
2022-09-28 09:02:20 +02:00
2023-05-31 16:38:29 +00:00
2022-06-18 10:41:40 -07:00
2022-08-22 16:34:52 +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)
Description
No description provided
Readme 7.9 GiB
Languages
C 97.7%
Assembly 1.6%
Makefile 0.3%
Perl 0.1%