mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 10:31:46 +09:00
879c789a5fb54adf0dca52b207b9796be3120ed5
Commits that modify files used by the GKI arm64 build:b30679daf9i2c: mark HostNotify target address as usedbfaf0990f1sched: Move psi_account_irqtime() out of update_rq_clock_task() hotpathbbac91d57abpf: Allow reads from uninit stacka8ba8f3468wireguard: send: annotate intentional data race in checking empty queue217978a29cwireguard: allowedips: avoid unaligned 64-bit memory accesses14875fd5f9Fix userfaultfd_api to return EINVAL as expected513789f255nvmem: core: only change name to fram for current attribute85ec2ee3bcxhci: always resume roothubs if xHC was reset during resume9edcf31762USB: core: Fix duplicate endpoint bug by clearing reserved bits in the descriptor2d16f63d80usb: gadget: configfs: Prevent OOB read/write in usb_string_copy()eb41091e24USB: Add USB_QUIRK_NO_SET_INTF quirk for START BP-850ke113cddefatcp: avoid too many retransmit packets6665b3d7abtcp: use signed arithmetic in tcp_rtx_probe0_timed_out()d467194018Revert "sched/fair: Make sure to try to detach at least one movable task"a6db0d3ea6udp: Set SOCK_RCU_FREE earlier in udp_lib_get_port().284f2f288fethtool: netlink: do not return SQI value if link is down3134bdf735ppp: reject claimed-as-LCP but actually malformed packets6c4fca7864bpf: fix order of args in call to bpf_map_kvcallocd71bed34bcbpf: Remove __bpf_local_storage_map_alloc902219ed3fbpf: use bpf_map_kvcalloc in bpf_local_storage56161b324bbpf: Reduce smap->elem_size3dbcc6f053bpf: Refactor some inode/task/sk storage functions for reuse7382fc5dd1net: fix rc7's __skb_datagram_iter()fb61d7b9fbskmsg: Skip zero length skb in sk_msg_recvmsg72d39b8879tcp: fix incorrect undo caused by DSACK of TLP retransmitf6f6fdcc31vfs: don't mod negative dentry count when on shrinker list4e910c6620fs/dcache: Re-use value stored to dentry->d_flags instead of re-reading5cb36e35bcfilelock: fix potential use-after-free in posix_lock_inode941e816185mm: prevent derefencing NULL ptr in pfn_section_valid()6ac66ef653Compiler Attributes: Add __uninitialized macro Changes in 6.1.100 Compiler Attributes: Add __uninitialized macro mm: prevent derefencing NULL ptr in pfn_section_valid() cachefiles: propagate errors from vfs_getxattr() to avoid infinite loop cachefiles: narrow the scope of triggering EPOLLIN events in ondemand mode cachefiles: stop sending new request when dropping object cachefiles: cancel all requests for the object that is being dropped cachefiles: wait for ondemand_object_worker to finish when dropping object cachefiles: cyclic allocation of msg_id to avoid reuse cachefiles: add missing lock protection when polling filelock: fix potential use-after-free in posix_lock_inode fs/dcache: Re-use value stored to dentry->d_flags instead of re-reading vfs: don't mod negative dentry count when on shrinker list tcp: fix incorrect undo caused by DSACK of TLP retransmit net: phy: microchip: lan87xx: reinit PHY after cable test skmsg: Skip zero length skb in sk_msg_recvmsg octeontx2-af: Fix incorrect value output on error path in rvu_check_rsrc_availability() net: fix rc7's __skb_datagram_iter() i40e: Fix XDP program unloading while removing the driver net: ethernet: lantiq_etop: fix double free in detach bpf: Refactor some inode/task/sk storage functions for reuse bpf: Reduce smap->elem_size bpf: use bpf_map_kvcalloc in bpf_local_storage bpf: Remove __bpf_local_storage_map_alloc bpf: fix order of args in call to bpf_map_kvcalloc net: ethernet: mtk-star-emac: set mac_managed_pm when probing ppp: reject claimed-as-LCP but actually malformed packets ethtool: netlink: do not return SQI value if link is down udp: Set SOCK_RCU_FREE earlier in udp_lib_get_port(). net/sched: Fix UAF when resolving a clash net, sunrpc: Remap EPERM in case of connection failure in xs_tcp_setup_socket s390: Mark psw in __load_psw_mask() as __unitialized firmware: cs_dsp: Fix overflow checking of wmfw header firmware: cs_dsp: Return error if block header overflows file firmware: cs_dsp: Validate payload length before processing block firmware: cs_dsp: Prevent buffer overrun when processing V2 alg headers firmware: cs_dsp: Use strnlen() on name fields in V1 wmfw files ARM: davinci: Convert comma to semicolon octeontx2-af: replace cpt slot with lf id on reg write octeontx2-af: update cpt lf alloc mailbox octeontx2-af: fix a issue with cpt_lf_alloc mailbox octeontx2-af: fix detection of IP layer octeontx2-af: extend RSS supported offload types octeontx2-af: fix issue with IPv6 ext match for RSS octeontx2-af: fix issue with IPv4 match for RSS cifs: fix setting SecurityFlags to true Revert "sched/fair: Make sure to try to detach at least one movable task" tcp: use signed arithmetic in tcp_rtx_probe0_timed_out() tcp: avoid too many retransmit packets net: ks8851: Fix deadlock with the SPI chip variant net: ks8851: Fix potential TX stall after interface reopen USB: serial: option: add Telit generic core-dump composition USB: serial: option: add Telit FN912 rmnet compositions USB: serial: option: add Fibocom FM350-GL USB: serial: option: add support for Foxconn T99W651 USB: serial: option: add Netprisma LCUK54 series modules USB: serial: option: add Rolling RW350-GL variants USB: serial: mos7840: fix crash on resume USB: Add USB_QUIRK_NO_SET_INTF quirk for START BP-850k usb: gadget: configfs: Prevent OOB read/write in usb_string_copy() USB: core: Fix duplicate endpoint bug by clearing reserved bits in the descriptor hpet: Support 32-bit userspace xhci: always resume roothubs if xHC was reset during resume ksmbd: discard write access to the directory open nvmem: rmem: Fix return value of rmem_read() nvmem: meson-efuse: Fix return value of nvmem callbacks nvmem: core: only change name to fram for current attribute platform/x86: toshiba_acpi: Fix array out-of-bounds access ALSA: hda/realtek: add quirk for Clevo V5[46]0TU ALSA: hda/realtek: Enable Mute LED on HP 250 G7 ALSA: hda/realtek: Limit mic boost on VAIO PRO PX Fix userfaultfd_api to return EINVAL as expected libceph: fix race between delayed_work() and ceph_monc_stop() ACPI: processor_idle: Fix invalid comparison with insertion sort for latency wireguard: selftests: use acpi=off instead of -no-acpi for recent QEMU wireguard: allowedips: avoid unaligned 64-bit memory accesses wireguard: queueing: annotate intentional data race in cpu round robin wireguard: send: annotate intentional data race in checking empty queue misc: fastrpc: Fix DSP capabilities request misc: fastrpc: Avoid updating PD type for capability request misc: fastrpc: Copy the complete capability structure to user x86/retpoline: Move a NOENDBR annotation to the SRSO dummy return thunk bpf: Allow reads from uninit stack nilfs2: fix kernel bug on rename operation of broken directory sched: Move psi_account_irqtime() out of update_rq_clock_task() hotpath i2c: rcar: bring hardware to known state when probing i2c: mark HostNotify target address as used i2c: rcar: reset controller is mandatory for Gen3+ i2c: rcar: introduce Gen4 devices i2c: rcar: ensure Gen3+ reset does not disturb local targets i2c: testunit: avoid re-issued work after read message i2c: rcar: clear NO_RXDMA flag after resetting x86/entry/64: Remove obsolete comment on tracing vs. SYSRET x86/bhi: Avoid warning in #DB handler due to BHI mitigation kbuild: Make ld-version.sh more robust against version string changes i2c: rcar: fix error code in probe() Linux 6.1.100 Change-Id: I069ae851a3a4d2a511512551f39e1cd07291f3d1 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
…
…
…
…
…
…
…
…
…
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%