erinwang 270b27a648 ANDROID: ABI: Update lenovo symbol list
64 function symbol(s) added
  'struct rq* __task_rq_lock(struct task_struct*, struct rq_flags*)'
  'int __traceiter_android_rvh_account_irq(void*, struct task_struct*, int, s64)'
  'int __traceiter_android_rvh_build_perf_domains(void*, bool*)'
  'int __traceiter_android_rvh_cpu_cgroup_attach(void*, struct cgroup_taskset*)'
  'int __traceiter_android_rvh_effective_cpu_util(void*, int, unsigned long, unsigned long, int, struct task_struct*, unsigned long*)'
  'int __traceiter_android_rvh_find_busiest_queue(void*, int, struct sched_group*, struct cpumask*, struct rq**, int*)'
  'int __traceiter_android_rvh_migrate_queued_task(void*, struct rq*, struct rq_flags*, struct task_struct*, int, int*)'
  'int __traceiter_android_rvh_new_task_stats(void*, struct task_struct*)'
  'int __traceiter_android_rvh_sched_cpu_dying(void*, int)'
  'int __traceiter_android_rvh_sched_cpu_starting(void*, int)'
  'int __traceiter_android_rvh_sched_exec(void*, bool*)'
  'int __traceiter_android_rvh_sched_setaffinity(void*, struct task_struct*, const struct cpumask*, int*)'
  'int __traceiter_android_rvh_tick_entry(void*, struct rq*)'
  'int __traceiter_android_rvh_try_to_wake_up_success(void*, struct task_struct*)'
  'int __traceiter_android_rvh_ttwu_cond(void*, int, bool*)'
  'int __traceiter_android_rvh_update_cpu_capacity(void*, int, unsigned long*)'
  'int __traceiter_android_rvh_update_cpus_allowed(void*, struct task_struct*, struct cpumask*, const struct cpumask*, int*)'
  'int __traceiter_android_rvh_wake_up_new_task(void*, struct task_struct*)'
  'int __traceiter_android_vh_binder_wakeup_ilocked(void*, struct task_struct*, bool, struct binder_proc*)'
  'int __traceiter_android_vh_update_topology_flags_workfn(void*, void*)'
  'int __traceiter_binder_transaction_received(void*, struct binder_transaction*)'
  'struct cgroup_subsys_state* css_next_child(struct cgroup_subsys_state*, struct cgroup_subsys_state*)'
  'struct gpio_desc* devm_fwnode_gpiod_get_index(struct device*, struct fwnode_handle*, const char*, int, enum gpiod_flags, const char*)'
  'int drm_panel_of_backlight(struct drm_panel*)'
  'int em_dev_register_perf_domain(struct device*, unsigned int, struct em_data_callback*, cpumask_t*, bool)'
  'struct irq_desc** ipi_desc_get()'
  'int match_string(const char* const*, size_t, const char*)'
  'void mfd_remove_devices_late(struct device*)'
  'ssize_t mipi_dsi_generic_write(struct mipi_dsi_device*, const void*, size_t)'
  'struct device_node* of_find_all_nodes(struct device_node*)'
  'int of_get_drm_display_mode(struct device_node*, struct drm_display_mode*, u32*, int)'
  'int pinctrl_register_mappings(const struct pinctrl_map*, unsigned int)'
  'void pinctrl_unregister_mappings(const struct pinctrl_map*)'
  'struct regmap* rdev_get_regmap(struct regulator_dev*)'
  'int regmap_add_irq_chip(struct regmap*, int, int, int, const struct regmap_irq_chip*, struct regmap_irq_chip_data**)'
  'void regmap_del_irq_chip(int, struct regmap_irq_chip_data*)'
  'int regulator_allow_bypass(struct regulator*, bool)'
  'int regulator_get_bypass_regmap(struct regulator_dev*, bool*)'
  'int regulator_set_bypass_regmap(struct regulator_dev*, bool)'
  'unsigned int sdhci_pltfm_clk_get_max_clock(struct sdhci_host*)'
  'int sdhci_pltfm_suspend(struct device*)'
  'int sdhci_pltfm_unregister(struct platform_device*)'
  'int snd_card_rw_proc_new(struct snd_card*, const char*, void*, void(*)(struct snd_info_entry*, struct snd_info_buffer*), void(*)(struct snd_info_entry*, struct snd_info_buffer*))'
  'int snd_devm_card_new(struct device*, int, const char*, struct module*, size_t, struct snd_card**)'
  'int snd_info_get_line(struct snd_info_buffer*, char*, int)'
  'int snd_interval_refine(struct snd_interval*, const struct snd_interval*)'
  'int snd_pcm_format_set_silence(snd_pcm_format_t, void*, unsigned int)'
  'int snd_pcm_hw_rule_add(struct snd_pcm_runtime*, unsigned int, int, snd_pcm_hw_rule_func_t, void*, int, ...)'
  'int snd_soc_bytes_get(struct snd_kcontrol*, struct snd_ctl_elem_value*)'
  'int snd_soc_bytes_info(struct snd_kcontrol*, struct snd_ctl_elem_info*)'
  'int snd_soc_bytes_put(struct snd_kcontrol*, struct snd_ctl_elem_value*)'
  'int snd_soc_component_enable_pin(struct snd_soc_component*, const char*)'
  'int snd_soc_component_get_pin_status(struct snd_soc_component*, const char*)'
  'int snd_soc_component_test_bits(struct snd_soc_component*, unsigned int, unsigned int, unsigned int)'
  'int snd_soc_dai_active(struct snd_soc_dai*)'
  'int snd_soc_dapm_del_routes(struct snd_soc_dapm_context*, const struct snd_soc_dapm_route*, int)'
  'void snd_timer_close(struct snd_timer_instance*)'
  'void snd_timer_instance_free(struct snd_timer_instance*)'
  'struct snd_timer_instance* snd_timer_instance_new(const char*)'
  'int snd_timer_open(struct snd_timer_instance*, struct snd_timer_id*, unsigned int)'
  'int snd_timer_start(struct snd_timer_instance*, unsigned int)'
  'int snd_timer_stop(struct snd_timer_instance*)'
  'struct regmap* syscon_regmap_lookup_by_compatible(const char*)'
  'void wake_up_if_idle(int)'

27 variable symbol(s) added
  'struct tracepoint __tracepoint_android_rvh_account_irq'
  'struct tracepoint __tracepoint_android_rvh_build_perf_domains'
  'struct tracepoint __tracepoint_android_rvh_cpu_cgroup_attach'
  'struct tracepoint __tracepoint_android_rvh_effective_cpu_util'
  'struct tracepoint __tracepoint_android_rvh_find_busiest_queue'
  'struct tracepoint __tracepoint_android_rvh_migrate_queued_task'
  'struct tracepoint __tracepoint_android_rvh_new_task_stats'
  'struct tracepoint __tracepoint_android_rvh_sched_cpu_dying'
  'struct tracepoint __tracepoint_android_rvh_sched_cpu_starting'
  'struct tracepoint __tracepoint_android_rvh_sched_exec'
  'struct tracepoint __tracepoint_android_rvh_sched_setaffinity'
  'struct tracepoint __tracepoint_android_rvh_tick_entry'
  'struct tracepoint __tracepoint_android_rvh_try_to_wake_up_success'
  'struct tracepoint __tracepoint_android_rvh_ttwu_cond'
  'struct tracepoint __tracepoint_android_rvh_update_cpu_capacity'
  'struct tracepoint __tracepoint_android_rvh_update_cpus_allowed'
  'struct tracepoint __tracepoint_android_rvh_wake_up_new_task'
  'struct tracepoint __tracepoint_android_vh_binder_wakeup_ilocked'
  'struct tracepoint __tracepoint_android_vh_update_topology_flags_workfn'
  'struct tracepoint __tracepoint_binder_transaction_received'
  'struct irqtime cpu_irqtime'
  'struct task_struct* ksoftirqd'
  'nodemask_t node_states[6]'
  'const char* const sched_feat_names[26]'
  'const struct dev_pm_ops sdhci_pltfm_pmops'
  'int snd_ecards_limit'
  'bool topology_update_done'

Bug: 287417029
Change-Id: I83591a216a30c3b3d9d7b4d631370870003da465
Signed-off-by: erinwang <erinwang2@lenovo.com>
2023-06-19 15:50:12 +00:00
2023-02-25 15:44:31 +00:00
2023-03-17 13:35:31 +00:00
2023-01-18 12:52:16 +00:00
2023-03-23 12:10:59 +00:00
2021-10-18 20:22:03 -10:00
2023-04-25 16:02:54 +00:00
2023-06-15 09:54:56 +01: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%