android13-5.15 June 2024 release 7

Artifacts:
  https://ci.android.com/builds/submitted/12319310/kernel_aarch64/latest
ANDROID: GKI: Update symbol list for Transsion

169 function symbol(s) added
  'bool __bio_try_merge_page(struct bio *, struct page *, unsigned int, unsigned int, bool *)'
  'int __invalidate_device(struct block_device *, bool)'
  'int __mmc_send_status(struct mmc_card *, u32 *, unsigned int)'
  'int __sbitmap_queue_get_shallow(struct sbitmap_queue *, unsigned int)'
  'struct scsi_device * __scsi_device_lookup(struct Scsi_Host *, uint, uint, u64)'
  'struct scsi_device * __scsi_device_lookup_by_target(struct scsi_target *, u64)'
  'size_t __scsi_format_command(char *, size_t, const unsigned char *, size_t)'
  'void __scsi_init_queue(struct Scsi_Host *, struct request_queue *)'
  'void __starget_for_each_device(struct scsi_target *, void *, void(*)(struct scsi_device *, void *))'
  'int __traceiter_android_vh_ufs_mcq_retry_complete(void *, struct ufs_hba *)'
  'int __traceiter_block_unplug(void *, struct request_queue *, unsigned int, bool)'
  'int _atomic_dec_and_lock_irqsave(atomic_t *, spinlock_t *, unsigned long int *)'
  'void add_disk_randomness(struct gendisk *)'
  'void bd_abort_claiming(struct block_device *, void *)'
  'int bd_prepare_to_claim(struct block_device *, void *)'
  'int bdev_disk_changed(struct gendisk *, bool)'
  'int bio_add_pc_page(struct request_queue *, struct bio *, struct page *, unsigned int, unsigned int)'
  'void bio_advance(struct bio *, unsigned int)'
  'struct bio * bio_alloc_kiocb(struct kiocb *, unsigned short int, struct bio_set *)'
  'const char * bio_devname(struct bio *, char *)'
  'void bio_free_pages(struct bio *)'
  'int bio_iov_iter_get_pages(struct bio *, struct iov_iter *)'
  'struct bio * bio_kmalloc(gfp_t, unsigned short int)'
  'void bio_release_pages(struct bio *, bool)'
  'void bio_uninit(struct bio *)'
  'struct blk_plug_cb * blk_check_plugged(blk_plug_cb_fn, void *, int)'
  'void blk_clear_pm_only(struct request_queue *)'
  'void blk_io_schedule()'
  'void blk_ksm_destroy(struct blk_keyslot_manager *)'
  'void blk_mq_delay_run_hw_queue(struct blk_mq_hw_ctx *, unsigned long int)'
  'void blk_mq_delay_run_hw_queues(struct request_queue *, unsigned long int)'
  'void blk_mq_kick_requeue_list(struct request_queue *)'
  'void blk_mq_quiesce_queue_nowait(struct request_queue *)'
  'int blk_poll(struct request_queue *, blk_qc_t, bool)'
  'void blk_post_runtime_resume(struct request_queue *)'
  'void blk_post_runtime_suspend(struct request_queue *, int)'
  'void blk_pre_runtime_resume(struct request_queue *)'
  'int blk_pre_runtime_suspend(struct request_queue *)'
  'bool blk_queue_can_use_dma_map_merging(struct request_queue *, struct device *)'
  'void blk_queue_segment_boundary(struct request_queue *, unsigned long int)'
  'void blk_queue_set_zoned(struct gendisk *, enum blk_zoned_model)'
  'int blk_rq_append_bio(struct request *, struct bio *)'
  'unsigned int blk_rq_err_bytes(const struct request *)'
  'void blk_rq_init(struct request_queue *, struct request *)'
  'void blk_set_default_limits(struct queue_limits *)'
  'void blk_set_pm_only(struct request_queue *)'
  'void blk_set_queue_depth(struct request_queue *, unsigned int)'
  'void blk_set_runtime_active(struct request_queue *)'
  'int blkdev_ioctl(struct block_device *, fmode_t, unsigned int, unsigned long int)'
  'struct bsg_device * bsg_register_queue(struct request_queue *, struct device *, const char *, bsg_sg_io_fn *)'
  'void bsg_unregister_queue(struct bsg_device *)'
  'void buffer_check_dirty_writeback(struct page *, bool *, bool *)'
  'void class_dev_iter_exit(struct class_dev_iter *)'
  'void class_dev_iter_init(struct class_dev_iter *, struct class *, struct device *, const struct device_type *)'
  'struct device * class_dev_iter_next(struct class_dev_iter *)'
  'int class_interface_register(struct class_interface *)'
  'unsigned long int clock_t_to_jiffies(unsigned long int)'
  'size_t copy_page_from_iter(struct page *, size_t, size_t, struct iov_iter *)'
  'size_t copy_page_to_iter(struct page *, size_t, size_t, struct iov_iter *)'
  'int devcgroup_check_permission(short int, u32, u32, short int)'
  'void disk_update_readahead(struct gendisk *)'
  'unsigned long int dma_get_merge_boundary(struct device *)'
  'blk_status_t errno_to_blk_status(int)'
  'errseq_t errseq_sample(errseq_t *)'
  'int execute_in_process_context(work_func_t, struct execute_work *)'
  'int filemap_fdatawait_keep_errors(struct address_space *)'
  'int generic_writepages(struct address_space *, struct writeback_control *)'
  'int import_single_range(int, void *, size_t, struct iovec *, struct iov_iter *)'
  'unsigned long int iov_iter_gap_alignment(const struct iov_iter *)'
  'int iov_iter_npages(const struct iov_iter *, int)'
  'int kblockd_mod_delayed_work_on(int, struct delayed_work *, unsigned long int)'
  'int kblockd_schedule_work(struct work_struct *)'
  'struct kobject * kobject_get_unless_zero(struct kobject *)'
  'void kvfree_sensitive(void *, size_t)'
  'unsigned long int lcm_not_zero(unsigned long int, unsigned long int)'
  'size_t match_strlcpy(char *, const substring_t *, size_t)'
  'int match_u64(substring_t *, u64 *)'
  'void mempool_exit(mempool_t *)'
  'int mempool_init(mempool_t *, int, mempool_alloc_t *, mempool_free_t *, void *)'
  'int mmc_app_cmd(struct mmc_host *, struct mmc_card *)'
  'unsigned int mmc_calc_max_discard(struct mmc_card *)'
  'int mmc_can_erase(struct mmc_card *)'
  'int mmc_can_secure_erase_trim(struct mmc_card *)'
  'int mmc_can_trim(struct mmc_card *)'
  'int mmc_card_alternative_gpt_sector(struct mmc_card *, sector_t *)'
  'int mmc_cqe_recovery(struct mmc_host *)'
  'int mmc_cqe_start_req(struct mmc_host *, struct mmc_request *)'
  'void mmc_crypto_prepare_req(struct mmc_queue_req *)'
  'void mmc_crypto_setup_queue(struct request_queue *, struct mmc_host *)'
  'int mmc_detect_card_removed(struct mmc_host *)'
  'int mmc_erase(struct mmc_card *, unsigned int, unsigned int, unsigned int)'
  'int mmc_erase_group_aligned(struct mmc_card *, unsigned int, unsigned int)'
  'int mmc_poll_for_busy(struct mmc_card *, unsigned int, bool, enum mmc_busy_cmd)'
  'int mmc_register_driver(struct mmc_driver *)'
  'void mmc_retune_pause(struct mmc_host *)'
  'void mmc_retune_unpause(struct mmc_host *)'
  'void mmc_run_bkops(struct mmc_card *)'
  'int mmc_sanitize(struct mmc_card *, unsigned int)'
  'int mmc_start_request(struct mmc_host *, struct mmc_request *)'
  'void mmc_unregister_driver(struct mmc_driver *)'
  'void percpu_ref_kill_and_confirm(struct percpu_ref *, percpu_ref_func_t *)'
  'void percpu_ref_resurrect(struct percpu_ref *)'
  'void pm_runtime_set_memalloc_noio(struct device *, bool)'
  'void sbitmap_bitmap_show(struct sbitmap *, struct seq_file *)'
  'void sbitmap_finish_wait(struct sbitmap_queue *, struct sbq_wait_state *, struct sbq_wait *)'
  'int sbitmap_get(struct sbitmap *)'
  'void sbitmap_prepare_to_wait(struct sbitmap_queue *, struct sbq_wait_state *, struct sbq_wait *, int)'
  'void sbitmap_queue_wake_all(struct sbitmap_queue *)'
  'void sbitmap_queue_wake_up(struct sbitmap_queue *)'
  'void sbitmap_resize(struct sbitmap *, unsigned int)'
  'unsigned int sbitmap_weight(const struct sbitmap *)'
  'void scmd_printk(const char *, const struct scsi_cmnd *, const char *, ...)'
  'blk_status_t scsi_alloc_sgtables(struct scsi_cmnd *)'
  'unsigned char * scsi_bios_ptable(struct block_device *)'
  'void scsi_build_sense_buffer(int, u8 *, u8, u8, u8)'
  'enum scsi_disposition scsi_check_sense(struct scsi_cmnd *)'
  'bool scsi_command_normalize_sense(const struct scsi_cmnd *, struct scsi_sense_hdr *)'
  'int scsi_dev_info_add_list(enum scsi_devinfo_key, const char *)'
  'int scsi_dev_info_list_add_keyed(int, char *, char *, char *, blist_flags_t, enum scsi_devinfo_key)'
  'int scsi_dev_info_remove_list(enum scsi_devinfo_key)'
  'struct scsi_device * scsi_device_lookup_by_target(struct scsi_target *, u64)'
  'void scsi_device_resume(struct scsi_device *)'
  'int scsi_device_set_state(struct scsi_device *, enum scsi_device_state)'
  'const char * scsi_device_type(unsigned int)'
  'void scsi_eh_finish_cmd(struct scsi_cmnd *, struct list_head *)'
  'void scsi_eh_flush_done_q(struct list_head *)'
  'int scsi_eh_get_sense(struct list_head *, struct list_head *)'
  'void scsi_free_sgtables(struct scsi_cmnd *)'
  'blist_flags_t scsi_get_device_flags_keyed(struct scsi_device *, const unsigned char *, const unsigned char *, enum scsi_devinfo_key)'
  'bool scsi_get_sense_info_fld(const u8 *, int, u64 *)'
  'int scsi_get_vpd_page(struct scsi_device *, u8, unsigned char *, int)'
  'struct Scsi_Host * scsi_host_get(struct Scsi_Host *)'
  'int scsi_internal_device_block_nowait(struct scsi_device *)'
  'int scsi_internal_device_unblock_nowait(struct scsi_device *, enum scsi_device_state)'
  'int scsi_is_sdev_device(const struct device *)'
  'int scsi_is_target_device(const struct device *)'
  'int scsi_mode_select(struct scsi_device *, int, int, int, unsigned char *, int, int, int, struct scsi_mode_data *, struct scsi_sense_hdr *)'
  'int scsi_mode_sense(struct scsi_device *, int, int, unsigned char *, int, int, int, struct scsi_mode_data *, struct scsi_sense_hdr *)'
  'bool scsi_partsize(struct block_device *, sector_t, int *)'
  'void scsi_print_result(const struct scsi_cmnd *, const char *, int)'
  'void scsi_print_sense(const struct scsi_cmnd *)'
  'int scsi_report_opcode(struct scsi_device *, unsigned char *, unsigned int, unsigned char)'
  'void scsi_rescan_device(struct device *)'
  'void scsi_sanitize_inquiry_string(unsigned char *, int)'
  'int scsi_set_medium_removal(struct scsi_device *, char)'
  'int scsi_track_queue_full(struct scsi_device *, int)'
  'int scsi_vpd_lun_id(struct scsi_device *, char *, size_t)'
  'int scsicam_bios_param(struct block_device *, sector_t, int *)'
  'u64 scsilun_to_int(struct scsi_lun *)'
  'struct scsi_event * sdev_evt_alloc(enum scsi_device_event, gfp_t)'
  'void sdev_evt_send(struct scsi_device *, struct scsi_event *)'
  'void sdev_evt_send_simple(struct scsi_device *, enum scsi_device_event, gfp_t)'
  'void starget_for_each_device(struct scsi_target *, void *, void(*)(struct scsi_device *, void *))'
  'struct kernfs_node * sysfs_break_active_protection(struct kobject *, const struct attribute *)'
  'void sysfs_unbreak_active_protection(struct kernfs_node *)'
  'void trace_seq_puts(struct trace_seq *, const char *)'
  'int transport_add_device(struct device *)'
  'void transport_configure_device(struct device *)'
  'void transport_destroy_device(struct device *)'
  'void transport_remove_device(struct device *)'
  'void transport_setup_device(struct device *)'
  'void usb_deregister_device_driver(struct usb_device_driver *)'
  'void usb_enable_lpm(struct usb_device *)'
  'int usb_register_device_driver(struct usb_device_driver *, struct module *)'
  'int usb_set_configuration(struct usb_device *, int)'
  'int usbnet_cdc_bind(struct usbnet *, struct usb_interface *)'
  'void usbnet_cdc_status(struct usbnet *, struct urb *)'
  'int usbnet_manage_power(struct usbnet *, int)'
  'void zero_fill_bio(struct bio *)'

7 variable symbol(s) added
  'struct tracepoint __tracepoint_android_vh_ufs_mcq_retry_complete'
  'struct tracepoint __tracepoint_block_unplug'
  'unsigned long int empty_zero_page[512]'
  'struct cgroup_subsys io_cgrp_subsys'
  'int laptop_mode'
  'struct bus_type scsi_bus_type'
  'struct async_domain scsi_sd_pm_domain'

Bug: 362145409
Bug: 364471599

Change-Id: I3f9c37d3d02aa0ad0777a4cb8e0fd321327a6806
Signed-off-by: hao lv <hao.lv5@transsion.com>
(cherry picked from commit 7c77a5ba83990fa4739417f9c06afaed1cbc7299)
2 files changed
tree: af261db40d53932c25099c304d1bbdf8cdbb9816
  1. android/
  2. arch/
  3. block/
  4. certs/
  5. crypto/
  6. Documentation/
  7. drivers/
  8. fs/
  9. include/
  10. init/
  11. io_uring/
  12. ipc/
  13. kernel/
  14. lib/
  15. LICENSES/
  16. mm/
  17. net/
  18. samples/
  19. scripts/
  20. security/
  21. sound/
  22. tools/
  23. usr/
  24. virt/
  25. .clang-format
  26. .cocciconfig
  27. .get_maintainer.ignore
  28. .gitattributes
  29. .gitignore
  30. .mailmap
  31. BUILD.bazel
  32. build.config.aarch64
  33. build.config.allmodconfig
  34. build.config.allmodconfig.aarch64
  35. build.config.allmodconfig.arm
  36. build.config.allmodconfig.x86_64
  37. build.config.amlogic
  38. build.config.arm
  39. build.config.common
  40. build.config.constants
  41. build.config.db845c
  42. build.config.gce.x86_64
  43. build.config.gki
  44. build.config.gki-debug.aarch64
  45. build.config.gki-debug.x86_64
  46. build.config.gki.aarch64
  47. build.config.gki.aarch64.fips140
  48. build.config.gki.x86_64
  49. build.config.gki_kasan
  50. build.config.gki_kasan.aarch64
  51. build.config.gki_kasan.x86_64
  52. build.config.gki_kprobes
  53. build.config.gki_kprobes.aarch64
  54. build.config.gki_kprobes.x86_64
  55. build.config.khwasan
  56. build.config.rockpi4
  57. build.config.x86_64
  58. COPYING
  59. CREDITS
  60. Kbuild
  61. Kconfig
  62. Kconfig.ext
  63. MAINTAINERS
  64. Makefile
  65. OWNERS
  66. README
  67. README.md
README.md

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)