mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
d2841af63f07878fe8374dfed89a48440ca53d2a
Steps on the way to a final 6.1.124 lts merge into android14-6.1 Changes included in here are: *73b6ba5d32ANDROID: fix up crc problems 6.1.119 *b7dd20a030ANDROID: fix build breakage in virtio_transport_common.c *58f9413785Merge 6.1.119 into android14-6.1-lts *e4d90d63d3Linux 6.1.119 *a0b8fd37fdnet: Make copy_safe_from_sockptr() match documentation *9b242c4232char: xillybus: Fix trivial bug with mutex *00baca74fbparisc: fix a possible DMA corruption *777595da53null_blk: Fix return value of nullb_device_power_store() *1d4c8baef4null_blk: fix null-ptr-dereference while configuring 'power' and 'submit_queues' *af4040457dnull_blk: Remove usage of the deprecated ida_simple_xx() API *c2dcdaa27dchar: xillybus: Prevent use-after-free due to race condition *2f2d48b624drm/amd: check num of link levels when update pcie param *52c81fd0f5mm: resolve faulty mmap_region() error path behaviour *8fad7b004bmm: refactor arch_calc_vm_flag_bits() and arm64 MTE handling *77b50f617amm: unconditionally close VMAs on error *7443f3e112mm: avoid unsafe VMA hook invocation when error arises on mmap hook *5874c1150emm: revert "mm: shmem: fix data-race in shmem_getattr()" *e2348d8c61net: fec: remove .ndo_poll_controller to avoid deadlocks *34d83c3e6enet/sched: taprio: extend minimum interval restriction to entire cycle too *b2c664df3bipvs: properly dereference pe in ip_vs_add_service *18cf702635fs/9p: fix uninitialized values during inode evict *298609e706nfc: llcp: fix nfc_llcp_setsockopt() unsafe copies *8a015f9cabnet: add copy_safe_from_sockptr() helper *ad6480c9a5ksmbd: fix potencial out-of-bounds when buffer offset is invalid *d70c2e0904ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16() *5ecf539bc5mptcp: pm: use _rcu variant under rcu_read_lock *8e1c565eebmptcp: drop lookup_by_id in lookup_addr *33e1fc8d1bmptcp: hold pm lock when deleting entry *3095f4e8ccmptcp: update local address flags when setting it *199af46b93mptcp: add userspace_pm_lookup_addr_by_id helper *71603aa07amptcp: define more local variables sk *24995851d5mptcp: cope racing subflow creation in mptcp_rcv_space_adjust *949ee5d44dNFSD: Never decrement pending_async_copies on error *c3074003faNFSD: Initialize struct nfsd4_copy earlier *7ea9260874NFSD: Limit the number of concurrent async COPY operations *2fd3f2f253NFSD: Async COPY result needs to return a write verifier *a86db75c53NFSD: initialize copy->cp_clp early in nfsd4_copy for use by trace point *94180edc35media: dvbdev: fix the logic when DVB_DYNAMIC_MINORS is not set *769698a45fcxl/pci: fix error code in __cxl_hdm_decode_init() *c7fa16e41alib/buildid: Fix build ID parsing logic *cec736e60dBluetooth: ISO: Fix not validating setsockopt user input *d1ac7e2620fs/ntfs3: Additional check in ntfs_file_release *0708d3197fstaging: vchiq_arm: Use devm_kzalloc() for vchiq_arm_state allocation *c26cff4926staging: vchiq_arm: Get the rid off struct vchiq_2835_state *d61a1ccd79drm/amd: Fix initialization mistake for NBIO 7.7.0 *74d8e0efa0drm/bridge: tc358768: Fix DSI command tx *db6dfee39cmmc: sunxi-mmc: Fix A100 compatible description *8f9416147dRevert "mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K" *86b19031dbnilfs2: fix null-ptr-deref in block_dirty_buffer tracepoint *c5e0a6af5focfs2: fix UBSAN warning in ocfs2_verify_volume() *89f886a092ALSA: hda/realtek: fix mute/micmute LEDs for a HP EliteBook 645 G10 *7d4dea25ccALSA: hda/realtek - Fixed Clevo platform headset Mic issue *3b2a4fd9bbnilfs2: fix null-ptr-deref in block_touch_buffer tracepoint *e6716f4230KVM: VMX: Bury Intel PT virtualization (guest/host mode) behind CONFIG_BROKEN *14db62eb01KVM: x86: Unconditionally set irr_pending when updating APICv state *a221208263KVM: nVMX: Treat vpid01 as current if L2 is active, but with VPID disabled *e01aae58e8ima: fix buffer overrun in ima_eventdigest_init_common *870d68fe17vp_vdpa: fix id_table array not null terminated error *9012d29347vdpa/mlx5: Fix PA offset with unaligned starting iotlb map *620d225981ocfs2: uncache inode which has failed entering the group *6addb2d950mm: fix NULL pointer dereference in alloc_pages_bulk_noprof *69556613d9x86/mm: Fix a kdump kernel failure on SME system when CONFIG_IMA_KEXEC=y *609641e959ARM: 9419/1: mm: Fix kernel memory mapping for xip kernels *ae35fcddd3bonding: add ns target multicast address to slave device *1b13c1ca46samples: pktgen: correct dev to DEV *9b2c3184e1net: sched: cls_u32: Fix u32's systematic failure to free IDR entries for hnodes. *d848eb0b32net/sched: cls_u32: replace int refcounts with proper refcounts *dd60de7881Bluetooth: hci_core: Fix calling mgmt_device_connected *334e297d0aBluetooth: hci_event: Remove code to removed CONFIG_BT_HS *946c7600favirtio/vsock: Fix accept_queue memory leak *0c7c70ff8bnet/mlx5e: CT: Fix null-ptr-deref in add rule err flow *69fbd07f17net/mlx5e: kTLS, Fix incorrect page refcounting *bfba288f53net/mlx5: fs, lock FTE when checking if active *a749b23059mptcp: error out earlier on disconnect *656dbd1c21drm/rockchip: vop: Fix a dereferenced before check warning *cc673c7151net: vertexcom: mse102x: Fix tx_bytes calculation *4e87a52133netlink: terminate outstanding dump on socket close Change-Id: I59fd339fac6f283e6dbdc77d1e477e0640f9390a Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
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%