Greg Kroah-Hartman fe72cb35dd Merge branch 'android14-6.1' into android14-6.1-lts
This catches the -lts branch up with a lot of abi updates and resolves a
merge conflict in f2fs.  Changes in here include:

* 976b055754 UPSTREAM: HID: Use kvzalloc instead of kzalloc in hid_register_field()
* fadb08b366 FROMGIT: xhci: Fix Link TRB DMA in command ring stopped completion event
* 19b68814b1 Merge tag 'android14-6.1.112_r00' into android14-6.1
* 29d66b3902 UPSTREAM: exit: Sleep at TASK_IDLE when waiting for application core dump
* 179ccc9377 UPSTREAM: spi: spi-geni-qcom: Rename the label unmap_if_dma
* 9a072aa707 UPSTREAM: spi: spi-geni-qcom: Add SPI Device mode support for GENI based QuPv3
* 759bab9407 ANDROID: GKI: update symbol list for honor
* f949397a1b ANDROID: GKI: net: add vendor hooks for link data path
* 3165cd1163 ANDROID: ABI: Update symbol list for spi-geni-qcom updates
* 3b727b0154 UPSTREAM: spi: spi-geni-qcom: Do not do DMA map/unmap inside driver, use framework instead
* a874ed06eb UPSTREAM: Revert "tty: serial: simplify qcom_geni_serial_send_chunk_fifo()"
* e9c03c47d6 UPSTREAM: serial: qcom-geni: Don't cancel/abort if we can't get the port lock
* 2c16ff3847 UPSTREAM: serial: qcom_geni: Convert to platform remove callback returning void
* 7161dbc311 UPSTREAM: serial: qcom-geni: Use port lock wrappers
* cd5bd514c0 UPSTREAM: tty: serial: qcom-geni-serial: Poll primary sequencer irq status after cancel_tx
* 5722a4dd8b UPSTREAM: serial: qcom-geni: clean up clock-rate debug printk
* d5e0fbcd4a UPSTREAM: serial: qcom-geni: use icc tag defines
* 5bdef2817a ANDROID: ABI: update gki symbol list
* a03d1670d2 ANDROID: Add vendor hook for cma adjusting
* e02772c76d BACKPORT: firmware: arm_scmi: Queue in scmi layer for mailbox implementation
* 4dc2498506 UPSTREAM: tty: serial: simplify qcom_geni_serial_send_chunk_fifo()
* 719b876f95 UPSTREAM: tty: serial: qcom-geni-serial: Add a poll_init() function
* d15f99d2b5 UPSTREAM: serial: qcom-geni: drop bogus uart_write_wakeup()
* 3991e7fcc9 UPSTREAM: serial: qcom-geni: fix mapping of empty DMA buffer
* 64bccf317e UPSTREAM: serial: qcom-geni: fix DMA mapping leak on shutdown
* 4c3917c600 UPSTREAM: serial: qcom-geni: fix console shutdown hang
* 8bbc5694db UPSTREAM: serial: qcom_geni: Fix variable naming
* 53be6ca12d BACKPORT: tty: serial: qcom-geni-serial: add support for serial engine DMA
* 3321cd20f3 BACKPORT: soc: qcom-geni-se: add more symbol definitions
* 61df751af7 BACKPORT: tty: serial: qcom-geni-serial: use of_device_id data
* 3ebd383e35 BACKPORT: tty: serial: qcom-geni-serial: drop the return value from handle_rx
* a88673be7e UPSTREAM: tty: serial: qcom-geni-serial: refactor qcom_geni_serial_send_chunk_fifo()
* 94076b81a1 UPSTREAM: soc: qcom: geni-se: add GP_LENGTH/IRQ_EN_SET/IRQ_EN_CLEAR registers
* a137aa79a6 UPSTREAM: soc: qcom: geni-se: Add M_TX_FIFO_NOT_EMPTY bit definition
* 1790581f0a FROMLIST: ufs: core: requeue aborted request
* 51903b71f0 FROMLIST: ufs: core: fix the issue of ICU failure
* 00f19bd9ed ANDROID: GKI: Add symbol for rockchip pci remove
* 5e1f4bb11f ANDROID: abi_gki_aarch64_qcom: Add pci_ecam_map_bus and pci_host_common_probe
* 72f51dd698 ANDROID: abi_gki_aarch64_honor: whitelist symbols added for skip memcg reclaim by priority
* f2b3f5888f ANDROID: mm: add vendor hook to skip memcg reclaim by priority
* add3d68602 ANDROID: KVM: arm64: Don't run a protected VCPU if it isn't runnable
* 1fe91f863a ANDROID: usb: Optimization the transfer rate of accessory mode in USB3.2 mode
* 299cc91948 UPSTREAM: spi: spi-geni-qcom: Select FIFO mode for chip select
* b490c66749 ANDROID: KVM: arm64: Don't skip accounting when memcache top-up fails
* 1181501872 ANDROID: KVM: arm64: Fix accounting when VM creation fails
* 8baadbac00 UPSTREAM: spi: geni-qcom: Convert to platform remove callback returning void
* 5ab05b86ef UPSTREAM: spi: spi-geni-qcom: Add support for SE DMA mode
* 271bd223dd UPSTREAM: soc: qcom: geni-se: Add SPI Device mode support for GENI based QuPv3
* 27021bed80 UPSTREAM: tty: serial: qcom-geni-serial: split out the FIFO tx code
* ad717604be UPSTREAM: tty: serial: qcom-geni-serial: remove unneeded tabs
* ad37632534 UPSTREAM: tty: serial: qcom-geni-serial: refactor qcom_geni_serial_isr()
* 1f0775355f UPSTREAM: tty: serial: qcom-geni-serial: remove stray newlines
* 59cbbd0b09 UPSTREAM: tty: serial: qcom-geni-serial: improve the to_dev_port() macro
* f4eec633c0 UPSTREAM: tty: serial: qcom-geni-serial: align #define values
* b92a6c8545 UPSTREAM: tty: serial: qcom-geni-serial: remove unused symbols
* 6e6cda8f06 UPSTREAM: tty: serial: qcom-geni-serial: drop unneeded forward definitions
* d75a50763e UPSTREAM: tty: serial: qcom-geni-serial: stop operations in progress at shutdown
* 481220c5b9 ANDROID: abi_gki_aarch64_qcom: whitelist mm symbols
* e697302b05 ANDROID: mm: export lru_gen_caps
* 1a3bbc1910 ANDROID: mm: export unpack_shadow
* a6266110c1 UPSTREAM: i2c: qcom-geni: Use IRQF_NO_AUTOEN flag in request_irq()
* c24feb930a UPSTREAM: i2c: qcom-geni: Use goto for clearer exit path
* 80c036f7f2 UPSTREAM: i2c: qcom-geni: Add missing geni_icc_disable in geni_i2c_runtime_resume
* 688cbb4cee UPSTREAM: i2c: qcom-geni: Add missing geni_icc_disable in geni_i2c_runtime_resume
* aff2261bb1 UPSTREAM: i2c: qcom-geni: Add missing clk_disable_unprepare in geni_i2c_runtime_resume
* 371a327f3d UPSTREAM: i2c: qcom-geni: use 'time_left' variable with wait_for_completion_timeout()
* c756c6b094 UPSTREAM: i2c: qcom-geni: remove printout on handled timeouts
* fa329140c1 UPSTREAM: i2c: qcom-geni: fix missing clk_disable_unprepare() and geni_se_resources_off()
* 8fd3f0784d UPSTREAM: i2c: qcom-geni: Convert to devm_platform_ioremap_resource()
* 02b20eb4bc UPSTREAM: i2c: Convert to platform remove callback returning void
* a650b9fb29 UPSTREAM: i2c: qcom-geni: change i2c_master_hub to static
* aa4151b832 UPSTREAM: i2c: qcom-geni: add support for I2C Master Hub variant
* 47d1f8edd6 UPSTREAM: i2c: qcom-geni: add desc struct to prepare support for I2C Master Hub variant
* 752034bc87 UPSTREAM: wifi: cfg80211: fix reporting failed MLO links status with cfg80211_connect_done
* 40c204b003 UPSTREAM: scsi: ufs: core: Do not set link to OFF state while waking up from hibernation
* 2589c7fa08 UPSTREAM: mm/mglru: fix overshooting shrinker memory
* 4d8187d2c8 UPSTREAM: gso: fix udp gso fraglist segmentation after pull from frag_list
* b11f74b6c1 UPSTREAM: soc: qcom: geni-se: Do not bother about enable/disable of interrupts in secondary sequencer
* f9d2a8a3bf UPSTREAM: soc: qcom: geni-se: Add interfaces geni_se_tx_init_dma() and geni_se_rx_init_dma()
* 8097478ae8 UPSTREAM: unicode: Don't special case ignorable code points
* d41d398db6 BACKPORT: f2fs: fix to handle segment allocation failure correctly
* 751a02f798 UPSTREAM: f2fs: stop checkpoint when get a out-of-bounds segment
* acc7335e1f BACKPORT: f2fs: kill heap-based allocation
* 19e119d2d0 Reapply "io_uring: drop any code related to SCM_RIGHTS"
* 80e851bf0d FROMGIT: scsi: ufs: core: Support Updating UIC Command Timeout
* 0d60f50b9d ANDROID: GKI: Update symbol list for mtk
* 0ff444ed0b UPSTREAM: Revert "usb: typec: tcpm: clear pd_event queue in PORT_RESET"
* 311457e823 ANDROID: GKI: update symbol list for transsion
* 8d29837471 UPSTREAM: firmware_loader: Abort all upcoming firmware load request once reboot triggered
* a9d791a2b2 UPSTREAM: firmware_loader: Refactor kill_pending_fw_fallback_reqs()
* 0e8b65e41f ANDROID: sched: Make uclamp changes depend on CAP_SYS_NICE
* d4dab27b9d UPSTREAM: f2fs: fix to update i_ctime in __f2fs_setxattr()
* d645f73da1 UPSTREAM: f2fs: atomic: fix to truncate pagecache before on-disk metadata truncation
* 693980c220 BACKPORT: f2fs: Create COW inode from parent dentry for atomic write
* e35539a5ac BACKPORT: f2fs: atomic: fix to avoid racing w/ GC
* 9de4353ca0 UPSTREAM: f2fs: use meta inode for GC of COW file
* 9b5ee2f2b1 BACKPORT: f2fs: use meta inode for GC of atomic file
* 30f8a76da5 ANDROID: abi_gki_aarch64_qcom: Add missing symbol to QCOM list
* 6f2e0215d7 ANDROID: GKI: Add KMI symbols for virtio-audio
* ba06e1f121 ANDROID: fix up ABI with change to private struct geni_wrapper
* e0de5c9e33 UPSTREAM: soc: qcom: geni-se: add desc struct to specify clocks from device match data
* 1cdc168f1e ANDROID: GKI: Update symbol list for mtk
* 7c49c3acea UPSTREAM: arm64: cputype: Add Neoverse-V3 definitions
* 53769a60e3 UPSTREAM: arm64: cputype: Add Cortex-X4 definitions
* ecc82c7e71 UPSTREAM: arm64: barrier: Restore spec_bar() macro
* bd3cc5c733 UPSTREAM: KVM: arm64: Add memory length checks and remove inline in do_ffa_mem_xfer
* a43e7c2c12 ANDROID: GKI: Update symbol list for BCMSTB
* 5162f9a67b UPSTREAM: arm64: Add Neoverse-V2 part
* 1105954181 UPSTREAM: usb: dwc3: core: update LC timer as per USB Spec V3.2
* cc274231f6 ANDROID: GKI: Add symbol for pci power limit

Change-Id: Ie47fa8a9c5b1da4140b099de4d9d6647089c6e18
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-11-07 15:36:01 +00:00
2024-10-01 11:35:58 +00:00
2024-10-02 15:11:38 +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%