mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-04 18:19:28 +09:00
f4843e14bf2c34e130d74bc1b81e410a6cf3d3db
Changes in 6.1.140 binfmt: Fix whitespace issues binfmt_elf: Support segments with 0 filesz and misaligned starts binfmt_elf: elf_bss no longer used by load_elf_binary() selftests/exec: load_address: conform test to TAP format output binfmt_elf: Leave a gap between .bss and brk selftests/exec: Build both static and non-static load_address tests binfmt_elf: Calculate total_size earlier binfmt_elf: Honor PT_LOAD alignment for static PIE binfmt_elf: Move brk for static PIE even if ASLR disabled platform/x86: asus-wmi: Fix wlan_ctrl_by_user detection tracing: probes: Fix a possible race in trace_probe_log APIs tpm: tis: Double the timeout B to 4s iio: adc: ad7266: Fix potential timestamp alignment issue. drm/amd: Stop evicting resources on APUs in suspend drm/amdgpu: Fix the runtime resume failure issue drm/amdgpu: trigger flr_work if reading pf2vf data failed drm/amd: Add Suspend/Hibernate notification callback support Revert "drm/amd: Stop evicting resources on APUs in suspend" iio: adc: ad7768-1: Fix insufficient alignment of timestamp. iio: chemical: sps30: use aligned_s64 for timestamp clocksource/i8253: Use raw_spinlock_irqsave() in clockevent_i8253_disable() RDMA/rxe: Fix slab-use-after-free Read in rxe_queue_cleanup bug HID: thrustmaster: fix memory leak in thrustmaster_interrupts() HID: uclogic: Add NULL check in uclogic_input_configured() nfs: handle failure of nfs_get_lock_context in unlock path spi: loopback-test: Do not split 1024-byte hexdumps net_sched: Flush gso_skb list too during ->change() net: mctp: Ensure keys maintain only one ref to corresponding dev net: cadence: macb: Fix a possible deadlock in macb_halt_tx. net: dsa: sja1105: discard incoming frames in BR_STATE_LISTENING nvme-pci: make nvme_pci_npages_prp() __always_inline nvme-pci: acquire cq_poll_lock in nvme_poll_irqdisable ALSA: sh: SND_AICA should depend on SH_DMA_API net/mlx5e: Disable MACsec offload for uplink representor profile qlcnic: fix memory leak in qlcnic_sriov_channel_cfg_cmd() regulator: max20086: fix invalid memory access octeontx2-pf: macsec: Fix incorrect max transmit size in TX secy net/tls: fix kernel panic when alloc_page failed NFSv4/pnfs: Reset the layout state after a layoutreturn dmaengine: Revert "dmaengine: dmatest: Fix dmatest waiting less when interrupted" LoongArch: Fix MAX_REG_OFFSET calculation btrfs: fix discard worker infinite loop after disabling discard drm/amd/display: Correct the reply value when AUX write incomplete drm/amd/display: Avoid flooding unnecessary info messages ACPI: PPTT: Fix processor subtable walk ALSA: es1968: Add error handling for snd_pcm_hw_constraint_pow2() ALSA: usb-audio: Add sample rate quirk for Audioengine D1 ALSA: usb-audio: Add sample rate quirk for Microdia JP001 USB Camera dma-buf: insert memory barrier before updating num_fences hv_netvsc: Use vmbus_sendpacket_mpb_desc() to send VMBus messages hv_netvsc: Preserve contiguous PFN grouping in the page buffer array hv_netvsc: Remove rmsg_pgcnt Drivers: hv: Allow vmbus_sendpacket_mpb_desc() to create multiple ranges Drivers: hv: vmbus: Remove vmbus_sendpacket_pagebuffer() ftrace: Fix preemption accounting for stacktrace trigger command ftrace: Fix preemption accounting for stacktrace filter command tracing: samples: Initialize trace_array_printk() with the correct function phy: Fix error handling in tegra_xusb_port_init phy: renesas: rcar-gen3-usb2: Fix role detection on unbind/bind phy: renesas: rcar-gen3-usb2: Set timing registers only once scsi: sd_zbc: block: Respect bio vector limits for REPORT ZONES buffer smb: client: fix memory leak during error handling for POSIX mkdir wifi: mt76: disable napi on driver removal net: qede: Initialize qede_ll_ops with designated initializer dmaengine: ti: k3-udma: Add missing locking dmaengine: ti: k3-udma: Use cap_mask directly from dma_device structure instead of a local copy dmaengine: idxd: fix memory leak in error handling path of idxd_setup_wqs dmaengine: idxd: fix memory leak in error handling path of idxd_setup_engines dmaengine: idxd: fix memory leak in error handling path of idxd_setup_groups dmaengine: idxd: Add missing cleanup for early error out in idxd_setup_internals dmaengine: idxd: Add missing cleanups in cleanup internals dmaengine: idxd: Add missing idxd cleanup to fix memory leak in remove call dmaengine: idxd: fix memory leak in error handling path of idxd_alloc dmaengine: idxd: fix memory leak in error handling path of idxd_pci_probe usb: typec: ucsi: displayport: Fix deadlock usb: typec: altmodes/displayport: create sysfs nodes as driver's default device attribute group usb: typec: fix potential array underflow in ucsi_ccg_sync_control() usb: typec: fix pm usage counter imbalance in ucsi_ccg_sync_control() selftests/mm: compaction_test: support platform with huge mount of memory mm/vmscan: fix a bug calling wakeup_kswapd() with a wrong zone index riscv: mm: Fix the out of bound issue of vmemmap address bpf, arm64: Fix trampoline for BPF_TRAMP_F_CALL_ORIG bpf, arm64: Fix address emission with tag-based KASAN enabled LoongArch: Explicitly specify code model in Makefile hwpoison, memory_hotplug: lock folio before unmap hwpoisoned folio sctp: add mutual exclusion in proc_sctp_do_udp_port() btrfs: don't BUG_ON() when 0 reference count at btrfs_lookup_extent_info() netfilter: nf_tables: pass nft_chain to destroy function, not nft_ctx netfilter: nf_tables: wait for rcu grace period on net_device removal netfilter: nf_tables: do not defer rule destruction via call_rcu arm64/sme: Always exit sme_alloc() early with existing storage platform/x86/amd/pmc: Only disable IRQ1 wakeup where i8042 actually enabled it bnxt_en: Fix receive ring space parameters when XDP is active ipv6: Fix potential uninit-value access in __ip6_make_skb() ipv4: Fix uninit-value access in __ip_make_skb() spi: cadence-qspi: fix pointer reference in runtime PM hooks drm/amdgpu: fix pm notifier handling x86/modules: Set VM_FLUSH_RESET_PERMS in module_alloc() Linux 6.1.140 Change-Id: Ieb4e51eea0bf366d869913439bc2a4c35d77334c Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Merge
749a916a9c ("usb: dwc3: ep0: Don't clear ep0 DWC3_EP_TRANSFER_STARTED") into android14-6.1-lts
Merge
bdefb8ce7c ("tty: rp2: Fix reset with non forgiving PCIe host bridges") into android14-6.1-lts
Merge tag 'mm-hotfixes-stable-2022-12-10-1' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
…
…
How do I submit patches to Android Common Kernels
-
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.
- Do not send patches upstream that contain only symbol exports. To be considered for upstream Linux,
additions of
-
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:, orANDROID:. - 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
- tag the patch subject with
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 ofUPSTREAM:.- use the same tags as
UPSTREAM: - add comments about the changes under the
(cherry picked from commit ...)line - Example:
- use the same tags as
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 uselinux-nextfor example). - if changes were required, use
BACKPORT: FROMGIT: - Example:
- if the commit message in the maintainer tree is
- tag the patch subject with
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:
- tag the patch subject with
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:
- tag the patch subject with
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)
- tag the patch subject with
Description
Languages
C
97.7%
Assembly
1.6%
Makefile
0.3%
Perl
0.1%