2f77dca33dd16df391c7ebbf558cc2d4ce86d6f6
Leaf changes summary: 132 artifacts changed (1 filtered out) Changed leaf types summary: 0 (1 filtered out) leaf type changed Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 132 Added functions Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable 132 Added functions: [A] 'function int __traceiter_android_rvh_account_irq(void*, task_struct*, int, s64)' [A] 'function int __traceiter_android_rvh_build_perf_domains(void*, bool*)' [A] 'function int __traceiter_android_rvh_can_migrate_task(void*, task_struct*, int, int*)' [A] 'function int __traceiter_android_rvh_check_preempt_wakeup(void*, rq*, task_struct*, bool*, bool*, int, sched_entity*, sched_entity*, int, unsigned int)' [A] 'function int __traceiter_android_rvh_cpu_cgroup_attach(void*, cgroup_taskset*)' [A] 'function int __traceiter_android_rvh_cpu_cgroup_can_attach(void*, cgroup_taskset*, int*)' [A] 'function int __traceiter_android_rvh_cpu_cgroup_online(void*, cgroup_subsys_state*)' [A] 'function int __traceiter_android_rvh_cpu_overutilized(void*, int, int*)' [A] 'function int __traceiter_android_rvh_cpufreq_transition(void*, cpufreq_policy*)' [A] 'function int __traceiter_android_rvh_dequeue_task(void*, rq*, task_struct*, int)' [A] 'function int __traceiter_android_rvh_enqueue_task(void*, rq*, task_struct*, int)' [A] 'function int __traceiter_android_rvh_find_busiest_queue(void*, int, sched_group*, cpumask*, rq**, int*)' [A] 'function int __traceiter_android_rvh_find_energy_efficient_cpu(void*, task_struct*, int, int, int*)' [A] 'function int __traceiter_android_rvh_find_lowest_rq(void*, task_struct*, cpumask*, int, int*)' [A] 'function int __traceiter_android_rvh_flush_task(void*, task_struct*)' [A] 'function int __traceiter_android_rvh_irqs_disable(void*, unsigned long int, unsigned long int)' [A] 'function int __traceiter_android_rvh_irqs_enable(void*, unsigned long int, unsigned long int)' [A] 'function int __traceiter_android_rvh_migrate_queued_task(void*, rq*, rq_flags*, task_struct*, int, int*)' [A] 'function int __traceiter_android_rvh_new_task_stats(void*, task_struct*)' [A] 'function int __traceiter_android_rvh_pick_next_entity(void*, cfs_rq*, sched_entity*, sched_entity**)' [A] 'function int __traceiter_android_rvh_place_entity(void*, cfs_rq*, sched_entity*, int, u64)' [A] 'function int __traceiter_android_rvh_preempt_disable(void*, unsigned long int, unsigned long int)' [A] 'function int __traceiter_android_rvh_preempt_enable(void*, unsigned long int, unsigned long int)' [A] 'function int __traceiter_android_rvh_replace_next_task_fair(void*, rq*, task_struct**, sched_entity**, bool*, bool, task_struct*)' [A] 'function int __traceiter_android_rvh_resume_cpus(void*, cpumask*, int*)' [A] 'function int __traceiter_android_rvh_sched_balance_rt(void*, rq*, task_struct*, int*)' [A] 'function int __traceiter_android_rvh_sched_cpu_dying(void*, int)' [A] 'function int __traceiter_android_rvh_sched_cpu_starting(void*, int)' [A] 'function int __traceiter_android_rvh_sched_exec(void*, bool*)' [A] 'function int __traceiter_android_rvh_sched_fork(void*, task_struct*)' [A] 'function int __traceiter_android_rvh_sched_fork_init(void*, task_struct*)' [A] 'function int __traceiter_android_rvh_sched_newidle_balance(void*, rq*, rq_flags*, int*, int*)' [A] 'function int __traceiter_android_rvh_sched_nohz_balancer_kick(void*, rq*, unsigned int*, int*)' [A] 'function int __traceiter_android_rvh_sched_rebalance_domains(void*, rq*, int*)' [A] 'function int __traceiter_android_rvh_sched_setaffinity(void*, task_struct*, const cpumask*, int*)' [A] 'function int __traceiter_android_rvh_schedule(void*, task_struct*, task_struct*, rq*)' [A] 'function int __traceiter_android_rvh_schedule_bug(void*, task_struct*)' [A] 'function int __traceiter_android_rvh_select_fallback_rq(void*, int, task_struct*, int*)' [A] 'function int __traceiter_android_rvh_select_task_rq_fair(void*, task_struct*, int, int, int, int*)' [A] 'function int __traceiter_android_rvh_select_task_rq_rt(void*, task_struct*, int, int, int, int*)' [A] 'function int __traceiter_android_rvh_set_gfp_zone_flags(void*, gfp_t*)' [A] 'function int __traceiter_android_rvh_set_iowait(void*, task_struct*, int*)' [A] 'function int __traceiter_android_rvh_set_readahead_gfp_mask(void*, gfp_t*)' [A] 'function int __traceiter_android_rvh_set_skip_swapcache_flags(void*, gfp_t*)' [A] 'function int __traceiter_android_rvh_set_task_cpu(void*, task_struct*, unsigned int)' [A] 'function int __traceiter_android_rvh_tick_entry(void*, rq*)' [A] 'function int __traceiter_android_rvh_try_to_wake_up(void*, task_struct*)' [A] 'function int __traceiter_android_rvh_try_to_wake_up_success(void*, task_struct*)' [A] 'function int __traceiter_android_rvh_ttwu_cond(void*, bool*)' [A] 'function int __traceiter_android_rvh_typec_tcpci_chk_contaminant(void*, tcpci*, tcpci_data*, int*)' [A] 'function int __traceiter_android_rvh_typec_tcpci_get_vbus(void*, tcpci*, tcpci_data*, int*, int*)' [A] 'function int __traceiter_android_rvh_uclamp_eff_get(void*, task_struct*, uclamp_id, uclamp_se*, uclamp_se*, int*)' [A] 'function int __traceiter_android_rvh_update_cpu_capacity(void*, int, unsigned long int*)' [A] 'function int __traceiter_android_rvh_update_cpus_allowed(void*, task_struct*, cpumask*, const cpumask*, int*)' [A] 'function int __traceiter_android_rvh_update_misfit_status(void*, task_struct*, rq*, bool*)' [A] 'function int __traceiter_android_rvh_util_est_update(void*, cfs_rq*, task_struct*, bool, int*)' [A] 'function int __traceiter_android_rvh_wake_up_new_task(void*, task_struct*)' [A] 'function int __traceiter_android_vh_allow_domain_state(void*, generic_pm_domain*, uint32_t, bool*)' [A] 'function int __traceiter_android_vh_arch_set_freq_scale(void*, const cpumask*, unsigned long int, unsigned long int, unsigned long int*)' [A] 'function int __traceiter_android_vh_binder_restore_priority(void*, binder_transaction*, task_struct*)' [A] 'function int __traceiter_android_vh_binder_set_priority(void*, binder_transaction*, task_struct*)' [A] 'function int __traceiter_android_vh_binder_transaction_init(void*, binder_transaction*)' [A] 'function int __traceiter_android_vh_binder_wakeup_ilocked(void*, task_struct*, bool, binder_proc*)' [A] 'function int __traceiter_android_vh_cma_alloc_finish(void*, cma*, page*, unsigned long int, unsigned int, gfp_t, s64)' [A] 'function int __traceiter_android_vh_cma_alloc_start(void*, s64*)' [A] 'function int __traceiter_android_vh_cpu_idle_enter(void*, int*, cpuidle_device*)' [A] 'function int __traceiter_android_vh_cpu_idle_exit(void*, int, cpuidle_device*)' [A] 'function int __traceiter_android_vh_dump_throttled_rt_tasks(void*, int, u64, ktime_t, u64, s64)' [A] 'function int __traceiter_android_vh_enable_thermal_genl_check(void*, int, int, int*)' [A] 'function int __traceiter_android_vh_ep_create_wakeup_source(void*, char*, int)' [A] 'function int __traceiter_android_vh_freq_table_limits(void*, cpufreq_policy*, unsigned int, unsigned int)' [A] 'function int __traceiter_android_vh_ftrace_dump_buffer(void*, trace_seq*, bool*)' [A] 'function int __traceiter_android_vh_ftrace_format_check(void*, bool*)' [A] 'function int __traceiter_android_vh_ftrace_oops_enter(void*, bool*)' [A] 'function int __traceiter_android_vh_ftrace_oops_exit(void*, bool*)' [A] 'function int __traceiter_android_vh_ftrace_size_check(void*, unsigned long int, bool*)' [A] 'function int __traceiter_android_vh_gic_v3_set_affinity(void*, irq_data*, const cpumask*, u64*, bool, void*)' [A] 'function int __traceiter_android_vh_gpio_block_read(void*, gpio_device*, bool*)' [A] 'function int __traceiter_android_vh_iommu_setup_dma_ops(void*, device*, u64, u64)' [A] 'function int __traceiter_android_vh_ipi_stop(void*, pt_regs*)' [A] 'function int __traceiter_android_vh_jiffies_update(void*, void*)' [A] 'function int __traceiter_android_vh_logbuf(void*, printk_ringbuffer*, printk_record*)' [A] 'function int __traceiter_android_vh_pagecache_get_page(void*, address_space*, unsigned long int, int, gfp_t, page*)' [A] 'function int __traceiter_android_vh_printk_hotplug(void*, int*)' [A] 'function int __traceiter_android_vh_rmqueue(void*, zone*, zone*, unsigned int, gfp_t, unsigned int, int)' [A] 'function int __traceiter_android_vh_scheduler_tick(void*, rq*)' [A] 'function int __traceiter_android_vh_show_max_freq(void*, cpufreq_policy*, unsigned int*)' [A] 'function int __traceiter_android_vh_show_resume_epoch_val(void*, u64)' [A] 'function int __traceiter_android_vh_show_suspend_epoch_val(void*, u64, u64)' [A] 'function int __traceiter_android_vh_timer_calc_index(void*, unsigned int, unsigned long int*)' [A] 'function int __traceiter_android_vh_timerfd_create(void*, char*, int)' [A] 'function int __traceiter_android_vh_typec_store_partner_src_caps(void*, tcpm_port*, unsigned int*, u32[7]*)' [A] 'function int __traceiter_android_vh_typec_tcpci_override_toggling(void*, tcpci*, tcpci_data*, int*)' [A] 'function int __traceiter_android_vh_typec_tcpm_adj_current_limit(void*, const char*, u32, u32, bool, u32*, bool*)' [A] 'function int __traceiter_android_vh_typec_tcpm_get_timer(void*, const char*, typec_timer, unsigned int*)' [A] 'function int __traceiter_android_vh_ufs_check_int_errors(void*, ufs_hba*, bool)' [A] 'function int __traceiter_android_vh_ufs_compl_command(void*, ufs_hba*, ufshcd_lrb*)' [A] 'function int __traceiter_android_vh_ufs_fill_prdt(void*, ufs_hba*, ufshcd_lrb*, unsigned int, int*)' [A] 'function int __traceiter_android_vh_ufs_prepare_command(void*, ufs_hba*, request*, ufshcd_lrb*, int*)' [A] 'function int __traceiter_android_vh_ufs_send_command(void*, ufs_hba*, ufshcd_lrb*)' [A] 'function int __traceiter_android_vh_ufs_send_tm_command(void*, ufs_hba*, int, const char*)' [A] 'function int __traceiter_android_vh_ufs_send_uic_command(void*, ufs_hba*, uic_command*, const char*)' [A] 'function int __traceiter_android_vh_ufs_update_sysfs(void*, ufs_hba*)' [A] 'function int __traceiter_binder_transaction_received(void*, binder_transaction*)' [A] 'function int __traceiter_cpu_frequency_limits(void*, cpufreq_policy*)' [A] 'function int __traceiter_cpu_idle(void*, unsigned int, unsigned int)' [A] 'function int __traceiter_device_pm_callback_end(void*, device*, int)' [A] 'function int __traceiter_device_pm_callback_start(void*, device*, const char*, int)' [A] 'function int __traceiter_hrtimer_expire_entry(void*, hrtimer*, ktime_t*)' [A] 'function int __traceiter_hrtimer_expire_exit(void*, hrtimer*)' [A] 'function int __traceiter_ipi_entry(void*, const char*)' [A] 'function int __traceiter_ipi_exit(void*, const char*)' [A] 'function int __traceiter_ipi_raise(void*, const cpumask*, const char*)' [A] 'function int __traceiter_irq_handler_entry(void*, int, irqaction*)' [A] 'function int __traceiter_irq_handler_exit(void*, int, irqaction*, int)' [A] 'function int __traceiter_pelt_cfs_tp(void*, cfs_rq*)' [A] 'function int __traceiter_pelt_dl_tp(void*, rq*)' [A] 'function int __traceiter_pelt_irq_tp(void*, rq*)' [A] 'function int __traceiter_pelt_rt_tp(void*, rq*)' [A] 'function int __traceiter_pelt_se_tp(void*, sched_entity*)' [A] 'function int __traceiter_rwmmio_post_read(void*, unsigned long int, u64, u8, const volatile void*)' [A] 'function int __traceiter_rwmmio_read(void*, unsigned long int, u8, const volatile void*)' [A] 'function int __traceiter_rwmmio_write(void*, unsigned long int, u64, u8, volatile void*)' [A] 'function int __traceiter_sched_cpu_capacity_tp(void*, rq*)' [A] 'function int __traceiter_sched_overutilized_tp(void*, root_domain*, bool)' [A] 'function int __traceiter_sched_switch(void*, bool, task_struct*, task_struct*)' [A] 'function int __traceiter_sched_util_est_cfs_tp(void*, cfs_rq*)' [A] 'function int __traceiter_suspend_resume(void*, const char*, int, bool)' [A] 'function int __traceiter_workqueue_execute_end(void*, work_struct*, work_func_t)' [A] 'function int __traceiter_workqueue_execute_start(void*, work_struct*)' [A] 'function void mmc_crypto_prepare_req(mmc_queue_req*)' [A] 'function void mmc_crypto_setup_queue(request_queue*, mmc_host*)' Bug: 185777726 Signed-off-by: Quentin Perret <qperret@google.com> Change-Id: If5fc3c6ebffa6c326d1b8f227ce4f6ec016e32aa
…
…
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.2%
Shell
0.4%
Makefile
0.3%
Python
0.2%
Other
0.1%