ANDROID: GKI: Add unisoc modules symbols

77 function symbol(s) added
  'struct regmap* __regmap_init_i2c(struct i2c_client*, const struct regmap_config*, struct lock_class_key*, const char*)'
  'void __sdhci_read_caps(struct sdhci_host*, const u16*, const u32*, const u32*)'
  'void __show_mem(unsigned int, nodemask_t*, int)'
  'int __traceiter_android_rvh_ctl_dirty_rate(void*, struct inode*)'
  'int __traceiter_android_rvh_sched_balance_find_src_group(void*, struct sched_group*, struct rq*, int*)'
  'int __traceiter_android_vh_kmalloc_large_alloced(void*, struct folio*, unsigned int, gfp_t)'
  'int __traceiter_android_vh_printk_ext_header(void*, char*, size_t, u32, int*)'
  'int __traceiter_android_vh_regmap_update(void*, const struct regmap_config*, struct regmap*)'
  'int __traceiter_android_vh_slab_folio_alloced(void*, unsigned int, gfp_t)'
  'ktime_t alarm_expires_remaining(const struct alarm*)'
  'u64 alarm_forward(struct alarm*, ktime_t, ktime_t)'
  'void blk_mq_run_hw_queues(struct request_queue*, bool)'
  'struct thermal_cooling_device* devfreq_cooling_em_register(struct devfreq*, struct devfreq_cooling_power*)'
  'int devfreq_update_status(struct devfreq*, unsigned long)'
  'struct bio* dm_bio_from_per_bio_data(void*, size_t)'
  'void* dm_bufio_read(struct dm_bufio_client*, sector_t, struct dm_buffer**)'
  'long drm_ioctl_kernel(struct file*, drm_ioctl_t*, void*, u32)'
  'void drm_send_event_timestamp_locked(struct drm_device*, struct drm_pending_event*, ktime_t)'
  'void icmp6_send(struct sk_buff*, u8, u8, __u32, const struct in6_addr*, const struct inet6_skb_parm*)'
  'irqreturn_t iio_pollfunc_store_time(int, void*)'
  'int iio_read_channel_raw(struct iio_channel*, int*)'
  '__be32 inet_select_addr(const struct net_device*, __be32, int)'
  'int ip6_find_1stfragopt(struct sk_buff*, u8**)'
  'struct dst_entry* ip6_route_output_flags(struct net*, const struct sock*, struct flowi6*, int)'
  'int ipv6_dev_get_saddr(struct net*, const struct net_device*, const struct in6_addr*, unsigned int, struct in6_addr*)'
  '__be32 ipv6_select_ident(struct net*, const struct in6_addr*, const struct in6_addr*)'
  'void ksys_sync_helper()'
  'ssize_t mipi_dsi_generic_read(struct mipi_dsi_device*, const void*, size_t, void*, size_t)'
  'int mipi_dsi_set_maximum_return_packet_size(struct mipi_dsi_device*, u16)'
  'void mmc_cqe_post_req(struct mmc_host*, struct mmc_request*)'
  'void mmc_regulator_disable_vqmmc(struct mmc_host*)'
  'int mmc_regulator_enable_vqmmc(struct mmc_host*)'
  'int mmc_send_status(struct mmc_card*, u32*)'
  'struct nf_conntrack_tuple_hash* nf_conntrack_find_get(struct net*, const struct nf_conntrack_zone*, const struct nf_conntrack_tuple*)'
  'void nf_ct_destroy(struct nf_conntrack*)'
  'bool nf_ct_get_tuplepr(const struct sk_buff*, unsigned int, u_int16_t, struct net*, struct nf_conntrack_tuple*)'
  'bool nf_ct_invert_tuple(struct nf_conntrack_tuple*, const struct nf_conntrack_tuple*)'
  'int nvmem_cell_read_u16(struct device*, const char*, u16*)'
  'unsigned int of_clk_get_parent_count(const struct device_node*)'
  'struct dma_chan* of_dma_simple_xlate(struct of_phandle_args*, struct of_dma*)'
  'int of_get_drm_display_mode(struct device_node*, struct drm_display_mode*, u32*, int)'
  'int pinconf_generic_parse_dt_config(struct device_node*, struct pinctrl_dev*, unsigned long**, unsigned int*)'
  'struct pinctrl_dev* pinctrl_register(struct pinctrl_desc*, struct device*, void*)'
  'int pinctrl_utils_add_map_configs(struct pinctrl_dev*, struct pinctrl_map**, unsigned int*, unsigned int*, const char*, unsigned long*, unsigned int, enum pinctrl_map_type)'
  'int pinctrl_utils_add_map_mux(struct pinctrl_dev*, struct pinctrl_map**, unsigned int*, unsigned int*, const char*, const char*)'
  'int pinctrl_utils_reserve_map(struct pinctrl_dev*, struct pinctrl_map**, unsigned int*, unsigned int*, unsigned int)'
  'int pskb_trim_rcsum_slow(struct sk_buff*, unsigned int)'
  'int pvclock_gtod_register_notifier(struct notifier_block*)'
  'void refresh_frequency_limits(struct cpufreq_policy*)'
  'struct regulator_dev* regulator_register(struct device*, const struct regulator_desc*, const struct regulator_config*)'
  'struct rt6_info* rt6_lookup(struct net*, const struct in6_addr*, const struct in6_addr*, int, const struct sk_buff*, int)'
  'int scsi_test_unit_ready(struct scsi_device*, int, int, struct scsi_sense_hdr*)'
  'void sdhci_enable_v4_mode(struct sdhci_host*)'
  'void sdhci_request(struct mmc_host*, struct mmc_request*)'
  'int sdhci_request_atomic(struct mmc_host*, struct mmc_request*)'
  'unsigned int snd_pcm_rate_bit_to_rate(unsigned int)'
  'void thermal_zone_device_critical(struct thermal_zone_device*)'
  'unsigned long tick_nohz_get_idle_calls_cpu(int)'
  'int typec_altmode_attention(struct typec_altmode*, u32)'
  'int typec_altmode_notify(struct typec_altmode*, unsigned long, void*)'
  'void typec_altmode_update_active(struct typec_altmode*, bool)'
  'int typec_altmode_vdm(struct typec_altmode*, u32, const u32*, int)'
  'int typec_find_port_data_role(const char*)'
  'int typec_find_port_power_role(const char*)'
  'int typec_find_power_role(const char*)'
  'struct typec_altmode* typec_match_altmode(struct typec_altmode**, size_t, u16, u8)'
  'struct typec_altmode* typec_partner_register_altmode(struct typec_partner*, const struct typec_altmode_desc*)'
  'int typec_partner_set_identity(struct typec_partner*)'
  'void typec_partner_set_svdm_version(struct typec_partner*, enum usb_pd_svdm_ver)'
  'struct typec_altmode* typec_port_register_altmode(struct typec_port*, const struct typec_altmode_desc*)'
  'int typec_set_mode(struct typec_port*, int)'
  'void typec_set_vconn_role(struct typec_port*, enum typec_role)'
  'void typec_unregister_altmode(struct typec_altmode*)'
  'int ufshcd_link_recovery(struct ufs_hba*)'
  'struct usb_role_switch* usb_role_switch_get(struct device*)'
  'unsigned long vm_memory_committed()'
  'struct xfrm_state_afinfo* xfrm_state_afinfo_get_rcu(unsigned int)'

7 variable symbol(s) added
  'struct tracepoint __tracepoint_android_rvh_ctl_dirty_rate'
  'struct tracepoint __tracepoint_android_rvh_sched_balance_find_src_group'
  'struct tracepoint __tracepoint_android_vh_kmalloc_large_alloced'
  'struct tracepoint __tracepoint_android_vh_printk_ext_header'
  'struct tracepoint __tracepoint_android_vh_regmap_update'
  'struct tracepoint __tracepoint_android_vh_slab_folio_alloced'
  'nodemask_t node_states[6]'

Bug: 409896179
Change-Id: Ieda6556b122e4580bd374df92785844ecce5b156
Signed-off-by: Cixi Geng <cixi.geng1@unisoc.com>
2 files changed
tree: 9ca66c7fc5a6eb701e39b78315dc02dfb84f2a5f
  1. arch/
  2. block/
  3. certs/
  4. crypto/
  5. Documentation/
  6. drivers/
  7. fs/
  8. gki/
  9. include/
  10. init/
  11. io_uring/
  12. ipc/
  13. kernel/
  14. lib/
  15. LICENSES/
  16. mm/
  17. net/
  18. rust/
  19. samples/
  20. scripts/
  21. security/
  22. sound/
  23. tools/
  24. usr/
  25. virt/
  26. .bazelignore
  27. .clang-format
  28. .clippy.toml
  29. .cocciconfig
  30. .editorconfig
  31. .get_maintainer.ignore
  32. .gitattributes
  33. .gitignore
  34. .mailmap
  35. .rustfmt.toml
  36. abi.bzl
  37. BUILD.bazel
  38. build.config.aarch64
  39. build.config.arm
  40. build.config.common
  41. build.config.constants
  42. build.config.db845c
  43. build.config.gki
  44. build.config.gki.aarch64
  45. build.config.gki.x86_64
  46. build.config.rockpi4
  47. build.config.x86_64
  48. COPYING
  49. CREDITS
  50. Kbuild
  51. Kconfig
  52. Kconfig.ext
  53. MAINTAINERS
  54. Makefile
  55. modules.bzl
  56. OWNERS
  57. OWNERS_DrNo
  58. README
  59. 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 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>
  • If a patch has been submitted to the community, but rejected, do NOT use the FROMLIST: tag to try to hide this fact. Use the ANDROID: tag as described below as this must be considered as an Android-specific submission, not an upstream submission as the community will not accept these changes as-is.

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)