mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
cda81835edbe17fe5ad4836624a43a11d1d0793d
319eb6144e ("ANDROID: abi preservation for fscrypt change in 5.10.154") into android13-5.10
This is the merge of the upstream LTS release of 5.10.154 into the android13-5.10 branch. It contains the following commits:319eb6144eANDROID: abi preservation for fscrypt change in 5.10.154c007a0aa82Revert "serial: 8250: Let drivers request full 16550A feature probing"ae6c45a1deMerge 5.10.154 into android13-5.10-ltsf5b40c0eb9Linux 5.10.154bf506e366dipc: remove memcg accounting for sops objects in do_semtimedop()c6678c8f4fwifi: brcmfmac: Fix potential buffer overflow in brcmf_fweh_event_worker()a6c57adec5drm/i915/sdvo: Setup DDC fully before output initb86830cc95drm/i915/sdvo: Filter out invalid outputs more sensibly9f3b867808drm/rockchip: dsi: Force synchronous probe23f1fc7ce5ext4,f2fs: fix readahead of verity datae5cef906cbKVM: x86: emulator: update the emulation mode after CR0 writece9261acccKVM: x86: emulator: introduce emulator_recalc_and_set_modec8a2fd7a71KVM: x86: emulator: em_sysexit should update ctxt->modee0c7410378KVM: x86: Mask off reserved bits in CPUID.80000001H9302ebc1c2KVM: x86: Mask off reserved bits in CPUID.80000008Hcc40c5f3e9KVM: x86: Mask off reserved bits in CPUID.8000001AHbd64a88f36KVM: x86: Mask off reserved bits in CPUID.80000006H156451a67bext4: fix BUG_ON() when directory entry has invalid rec_len5370b965b7ext4: fix warning in 'ext4_da_release_space'c9598cf629parisc: Avoid printing the hardware path twice98f836e80dparisc: Export iosapic_serial_irq() symbol for serial port driver814af9a32bparisc: Make 8250_gsc driver dependend on CONFIG_PARISC29d106d086perf/x86/intel: Add Cooper Lake stepping to isolation_ucodes[]98f6e7c337perf/x86/intel: Fix pebs event constraints for ICL3be2d66822efi: random: Use 'ACPI reclaim' memory for random seed83294f7c77efi: random: reduce seed size to 32 bytesf8e8cda869fuse: add file_modified() to fallocatecdf01c807ecapabilities: fix potential memleak on error path from vfs_getxattr_alloc()ff32d8a099tracing/histogram: Update document for KEYS_MAX size533bfacbactools/nolibc/string: Fix memcmp() implementationf100a02748kprobe: reverse kp->flags when arm_kprobe failedbef08acbe5tracing: kprobe: Fix memory leak in test_gen_kprobe/kretprobe_cmd()2bf33b5ea4tcp/udp: Make early_demux back namespacified.ea5f2fd464ftrace: Fix use-after-free for dynamic ftrace_ops06de93a47cbtrfs: fix type of parameter generation in btrfs_get_dentrye33ce54cefcoresight: cti: Fix hang in cti_disable_hw()015ac18be7binder: fix UAF of alloc->vma in race with munmap()836686e1a0memcg: enable accounting of ipc resourcese4e4b24b42mtd: rawnand: gpmi: Set WAIT_FOR_READY timeout based on program/erase times818c36b988tcp/udp: Fix memory leak in ipv6_renew_options().29997a6fa6fscrypt: fix keyring memory leak on mount failure391cceee6dfscrypt: stop using keyrings subsystem for fscrypt_master_key092401142bfscrypt: simplify master key locking54c13d3520ALSA: usb-audio: Add quirks for MacroSilicon MS2100/MS2106 devicesa0e2577cf3block, bfq: protect 'bfqd->queued' by 'bfqd->lock'26ca2ac091Bluetooth: L2CAP: Fix attempting to access uninitialized memory6b6f94fb9aBluetooth: L2CAP: Fix accepting connection request for invalid SPSMbfd5e62f9ai2c: piix4: Fix adapter not be removed in piix4_remove()fc3e2fa0a5arm64: dts: juno: Add thermal critical trip pointsb743ecf29cfirmware: arm_scmi: Make Rx chan_setup fail on memory errors29e8e9bfc2firmware: arm_scmi: Suppress the driver's bind attributesd7b1e2cbe0ARM: dts: imx6qdl-gw59{10,13}: fix user pushbutton GPIO offset160d8904b2efi/tpm: Pass correct address to memblock_reservec40b4d604bi2c: xiic: Add platform module alias5bf8c7798bdrm/amdgpu: set vm_update_mode=0 as default for Sienna Cichlid in SRIOV case496eb203d0HID: saitek: add madcatz variant of MMO7 mouse device IDff06067b70scsi: core: Restrict legal sdev_state transitions via sysfs9edf20e5a1ACPI: APEI: Fix integer overflow in ghes_estatus_pool_init()be6e22f546media: meson: vdec: fix possible refcount leak in vdec_probe()c5fd54a65cmedia: dvb-frontends/drxk: initialize err to 07fdc58d8c2media: cros-ec-cec: limit msg.len to CEC_MAX_MSG_SIZE1609231f86media: s5p_cec: limit msg.len to CEC_MAX_MSG_SIZEc46759e370media: rkisp1: Zero v4l2_subdev_format fields in when validating links3144ce5574media: rkisp1: Initialize color space on resizer sink and source pads6b24d9c2acs390/boot: add secure boot trailerefc6420d65xhci-pci: Set runtime PM as default policy on all xHC 1.2 or later devices37bb57908dmtd: parsers: bcm47xxpart: Fix halfblock reads85e458369cmtd: parsers: bcm47xxpart: print correct offset on read errorec54104febfbdev: stifb: Fall back to cfb_fillrect() on 32-bit HCRX cardsf8c86d7829video/fbdev/stifb: Implement the stifb_fillrect() functione975d7aecammc: sdhci-pci-core: Disable ES for ASUS BIOS on Jasper Lakeafeae13b8ammc: sdhci-pci: Avoid comma separated statementsa06721767cmmc: sdhci-esdhc-imx: Propagate ESDHC_FLAG_HS400* only on 8bit bus59400c9b0ddrm/msm/hdmi: fix IRQ lifetime8225bdaec5drm/msm/hdmi: Remove spurious IRQF_ONESHOT flag5dbb47ee89ipv6: fix WARNING in ip6_route_net_exit_late()1c89642e7fnet, neigh: Fix null-ptr-deref in neigh_table_clear()634f066d02net: mdio: fix undefined behavior in bit shift for __mdiobus_registerd9ec6e2fbdBluetooth: L2CAP: fix use-after-free in l2cap_conn_del()cb1c012099Bluetooth: L2CAP: Fix use-after-free caused by l2cap_reassemble_sdu0a0dead4adbtrfs: fix ulist leaks in error paths of qgroup self tests61e0612811btrfs: fix inode list leak during backref walking at find_parent_nodes()a52e24c7fcbtrfs: fix inode list leak during backref walking at resolve_indirect_refs()81204283eaisdn: mISDN: netjet: fix wrong check of device registratione77d213843mISDN: fix possible memory leak in mISDN_register_device()f06186e527rose: Fix NULL pointer dereference in rose_send_frame()2c8d81bdb2ipvs: fix WARNING in ip_vs_app_net_cleanup()931f56d59cipvs: fix WARNING in __ip_vs_cleanup_batch()d69328cdb9ipvs: use explicitly signed charsb2d7a92affnetfilter: nf_tables: release flow rule object from commit path3583826b44net: tun: fix bugs for oversize packet when napi frags enabled5960b9081bnet: sched: Fix use after free in red_enqueue()24f9c41435ata: pata_legacy: fix pdc20230_set_piomode()c85ee1c3cbnet: fec: fix improper use of NETDEV_TX_BUSY52438e734cnfc: nfcmrvl: Fix potential memory leak in nfcmrvl_i2c_nci_send()0acfcd2aednfc: s3fwrn5: Fix potential memory leak in s3fwrn5_nci_send()9ae2c9a91fnfc: nxp-nci: Fix potential memory leak in nxp_nci_send()eecea068bfNFC: nxp-nci: remove unnecessary labelse8c11ee2d0nfc: fdp: Fix potential memory leak in fdp_nci_send()31b83d6990nfc: fdp: drop ftrace-like debugging messages4e1e4485b2RDMA/qedr: clean up work queue on failure in qedr_alloc_resources()d360e875c0RDMA/core: Fix null-ptr-deref in ib_core_cleanup()37a098fc9bnet: dsa: Fix possible memory leaks in dsa_loop_init()45aea4fbf6nfs4: Fix kmemleak when allocate slot failedf0f1c74fa6NFSv4.1: We must always send RECLAIM_COMPLETE after a reboot10c554d722NFSv4.1: Handle RECLAIM_COMPLETE trunking errors4813dd737dNFSv4: Fix a potential state reclaim deadlock7c4260f8f1IB/hfi1: Correctly move list in sc_disable()87ac93c8ddRDMA/cma: Use output interface for net_dev check4dbb739eb2KVM: x86: Add compat handler for KVM_X86_SET_MSR_FILTERbb584caee8KVM: x86: Copy filter arg outside kvm_vm_ioctl_set_msr_filter()9faacf442dKVM: x86: Protect the unused bits in MSR exiting flags5bdbccc79cx86/topology: Fix duplicated core ID within a package6c31fc028ax86/topology: Fix multiple packages shown on a single-package systemf5ad52da14x86/topology: Set cpu_die_id only if DIE_TYPE found570fa3bcd2KVM: x86: Treat #DBs from the emulator as fault-like (code and DR7.GD=1)e5d7c6786bKVM: x86: Trace re-injected exceptions8364786152KVM: nVMX: Don't propagate vmcs12's PERF_GLOBAL_CTRL settings to vmcs02523e1dd9f8KVM: nVMX: Pull KVM L0's desired controls directly from vmcs01028fcabd8aserial: ar933x: Deassert Transmit Enable on ->rs485_config()e6da7808c9serial: 8250: Let drivers request full 16550A feature probing And the following needed .xml update that came from the -lts branch: type 'struct super_block' changed member changed from 'struct key * s_master_keys' to 'struct fscrypt_keyring * s_master_keys' type changed from 'struct key *' to 'struct fscrypt_keyring *' pointed-to type changed from 'struct key' to 'struct fscrypt_keyring' Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: Ife5a25b768426b97f62f37af2306dbe4a0280017
Merge commit
319eb6144e ("ANDROID: abi preservation for fscrypt change in 5.10.154") into android13-5.10
Merge commit
319eb6144e ("ANDROID: abi preservation for fscrypt change in 5.10.154") into android13-5.10
Merge commit
319eb6144e ("ANDROID: abi preservation for fscrypt change in 5.10.154") into android13-5.10
Merge commit
319eb6144e ("ANDROID: abi preservation for fscrypt change in 5.10.154") into android13-5.10
Merge commit
319eb6144e ("ANDROID: abi preservation for fscrypt change in 5.10.154") into android13-5.10
Merge commit
319eb6144e ("ANDROID: abi preservation for fscrypt change in 5.10.154") into android13-5.10
Merge commit
319eb6144e ("ANDROID: abi preservation for fscrypt change in 5.10.154") into android13-5.10
Merge commit
319eb6144e ("ANDROID: abi preservation for fscrypt change in 5.10.154") into android13-5.10
Merge commit
319eb6144e ("ANDROID: abi preservation for fscrypt change in 5.10.154") into android13-5.10
Merge commit
319eb6144e ("ANDROID: abi preservation for fscrypt change in 5.10.154") into android13-5.10
Merge commit
319eb6144e ("ANDROID: abi preservation for fscrypt change in 5.10.154") into android13-5.10
Merge commit
319eb6144e ("ANDROID: abi preservation for fscrypt change in 5.10.154") into android13-5.10
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
script/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%