ANDROID: GKI: update .xml file with new symbols to track

After merging with android12-5.10, the .xml file needs to have more
symbols added to it to track them properly.

Functions changes summary: 0 Removed, 0 Changed (3770 filtered out), 154 Added functions
Variables changes summary: 0 Removed, 0 Changed (357 filtered out), 33 Added variables

154 Added functions:

  [A] 'function int __hid_register_driver(hid_driver*, module*, const char*)'
  [A] 'function int __hid_request(hid_device*, hid_report*, int)'
  [A] 'function int __irq_alloc_domain_generic_chips(irq_domain*, int, int, const char*, irq_flow_handler_t, unsigned int, unsigned int, irq_gc_flags)'
  [A] 'function void __rt_mutex_init(rt_mutex*, const char*, lock_class_key*)'
  [A] 'function int __traceiter_android_rvh_ufs_complete_init(void*, ufs_hba*)'
  [A] 'function int __traceiter_android_vh_kmalloc_slab(void*, unsigned int, gfp_t, kmem_cache**)'
  [A] 'function int __traceiter_android_vh_save_track_hash(void*, bool, unsigned long int)'
  [A] 'function int __traceiter_android_vh_save_vmalloc_stack(void*, unsigned long int, vm_struct*)'
  [A] 'function int __traceiter_android_vh_show_stack_hash(void*, seq_file*, vm_struct*)'
  [A] 'function int __traceiter_android_vh_usb_dev_resume(void*, usb_device*, pm_message_t, int*)'
  [A] 'function int __traceiter_android_vh_usb_dev_suspend(void*, usb_device*, pm_message_t, int*)'
  [A] 'function tty_driver* __tty_alloc_driver(unsigned int, module*, unsigned long int)'
  [A] 'function int __usb_get_extra_descriptor(char*, unsigned int, unsigned char, void**, size_t)'
  [A] 'function int __v4l2_ctrl_s_ctrl_compound(v4l2_ctrl*, v4l2_ctrl_type, void*)'
  [A] 'function unsigned int _bcd2bin(unsigned char)'
  [A] 'function unsigned char _bin2bcd(unsigned int)'
  [A] 'function int _kstrtoul(const char*, unsigned int, unsigned long int*)'
  [A] 'function int cdc_ncm_bind_common(usbnet*, usb_interface*, u8, int)'
  [A] 'function int cdc_ncm_change_mtu(net_device*, int)'
  [A] 'function sk_buff* cdc_ncm_fill_tx_frame(usbnet*, sk_buff*, __le32)'
  [A] 'function int cdc_ncm_rx_verify_ndp16(sk_buff*, int)'
  [A] 'function int cdc_ncm_rx_verify_nth16(cdc_ncm_ctx*, sk_buff*)'
  [A] 'function u8 cdc_ncm_select_altsetting(usb_interface*)'
  [A] 'function void cdc_ncm_unbind(usbnet*, usb_interface*)'
  [A] 'function int cdc_parse_cdc_header(usb_cdc_parsed_header*, usb_interface*, u8*, int)'
  [A] 'function int clk_get_phase(clk*)'
  [A] 'function clk* clk_register_mux_table(device*, const char*, const char* const*, u8, unsigned long int, void*, u8, u32, u8, u32*, spinlock_t*)'
  [A] 'function int clk_set_phase(clk*, int)'
  [A] 'function void cpufreq_dbs_governor_exit(cpufreq_policy*)'
  [A] 'function int cpufreq_dbs_governor_init(cpufreq_policy*)'
  [A] 'function void cpufreq_dbs_governor_limits(cpufreq_policy*)'
  [A] 'function int cpufreq_dbs_governor_start(cpufreq_policy*)'
  [A] 'function void cpufreq_dbs_governor_stop(cpufreq_policy*)'
  [A] 'function void cpufreq_update_limits(unsigned int)'
  [A] 'function u16 crc16(u16, const u8*, size_t)'
  [A] 'function unsigned int dbs_update(cpufreq_policy*)'
  [A] 'function opp_table* dev_pm_opp_set_prop_name(device*, const char*)'
  [A] 'function int dev_set_mac_address(net_device*, sockaddr*, netlink_ext_ack*)'
  [A] 'function int devfreq_event_disable_edev(devfreq_event_dev*)'
  [A] 'function int devfreq_event_enable_edev(devfreq_event_dev*)'
  [A] 'function devfreq_event_dev* devfreq_event_get_edev_by_phandle(device*, const char*, int)'
  [A] 'function int devfreq_event_get_edev_count(device*, const char*)'
  [A] 'function int devfreq_event_get_event(devfreq_event_dev*, devfreq_event_data*)'
  [A] 'function devfreq_event_dev* devm_devfreq_event_add_edev(device*, devfreq_event_desc*)'
  [A] 'function int devm_devfreq_register_opp_notifier(device*, devfreq*)'
  [A] 'function gpio_desc* devm_gpiod_get_index_optional(device*, const char*, unsigned int, gpiod_flags)'
  [A] 'function void* devm_pci_remap_cfg_resource(device*, resource*)'
  [A] 'function int down_write_trylock(rw_semaphore*)'
  [A] 'function int driver_attach(device_driver*)'
  [A] 'function void drm_mode_sort(list_head*)'
  [A] 'function int extcon_set_state(extcon_dev*, unsigned int, bool)'
  [A] 'function int extcon_sync(extcon_dev*, unsigned int)'
  [A] 'function void gov_update_cpu_data(dbs_data*)'
  [A] 'function int gpiod_is_active_low(const gpio_desc*)'
  [A] 'function void hid_hw_close(hid_device*)'
  [A] 'function int hid_hw_open(hid_device*)'
  [A] 'function int hid_hw_start(hid_device*, unsigned int)'
  [A] 'function void hid_hw_stop(hid_device*)'
  [A] 'function int hid_open_report(hid_device*)'
  [A] 'function int hid_report_raw_event(hid_device*, int, u8*, u32, int)'
  [A] 'function void hid_unregister_driver(hid_driver*)'
  [A] 'function hid_report* hid_validate_values(hid_device*, unsigned int, unsigned int, unsigned int, unsigned int)'
  [A] 'function void iio_channel_release_all(iio_channel*)'
  [A] 'function int iio_update_buffers(iio_dev*, iio_buffer*, iio_buffer*)'
  [A] 'function void in6_dev_finish_destroy(inet6_dev*)'
  [A] 'function bool inode_owner_or_capable(const inode*)'
  [A] 'function int inode_permission(inode*, int)'
  [A] 'function int input_ff_create_memless(input_dev*, void*, int (input_dev*, void*, ff_effect*)*)'
  [A] 'function void input_set_poll_interval(input_dev*, unsigned int)'
  [A] 'function int input_setup_polling(input_dev*, void (input_dev*)*)'
  [A] 'function int irq_gc_set_wake(irq_data*, unsigned int)'
  [A] 'function irq_chip_generic* irq_get_domain_generic_chip(irq_domain*, unsigned int)'
  [A] 'function int of_get_drm_display_mode(device_node*, drm_display_mode*, u32*, int)'
  [A] 'function int of_pci_get_max_link_speed(device_node*)'
  [A] 'function pinctrl_dev* of_pinctrl_get(device_node*)'
  [A] 'function usb_dr_mode of_usb_get_dr_mode_by_phy(device_node*, int)'
  [A] 'function void on_each_cpu_cond(smp_cond_func_t, smp_call_func_t, void*, bool)'
  [A] 'function void pci_remove_root_bus(pci_bus*)'
  [A] 'function int pci_sriov_configure_simple(pci_dev*, int)'
  [A] 'function void pci_stop_root_bus(pci_bus*)'
  [A] 'function int phy_connect_direct(net_device*, phy_device*, void (net_device*)*, phy_interface_t)'
  [A] 'function phy_device* phy_find_first(mii_bus*)'
  [A] 'function void phy_get_pause(phy_device*, bool*, bool*)'
  [A] 'function int phy_mipi_dphy_config_validate(phy_configure_opts_mipi_dphy*)'
  [A] 'function int platform_msi_domain_alloc_irqs(device*, unsigned int, irq_write_msi_msg_t)'
  [A] 'function void platform_msi_domain_free_irqs(device*)'
  [A] 'function int pm_clk_add_clk(device*, clk*)'
  [A] 'function void pm_get_active_wakeup_sources(char*, size_t)'
  [A] 'function int power_supply_am_i_supplied(power_supply*)'
  [A] 'function int profile_event_register(profile_type, notifier_block*)'
  [A] 'function int profile_event_unregister(profile_type, notifier_block*)'
  [A] 'function void put_tty_driver(tty_driver*)'
  [A] 'function int pwm_adjust_config(pwm_device*)'
  [A] 'function int register_qdisc(Qdisc_ops*)'
  [A] 'function int regulator_set_pull_down_regmap(regulator_dev*)'
  [A] 'function int rtc_read_alarm(rtc_device*, rtc_wkalrm*)'
  [A] 'function int rtc_set_alarm(rtc_device*, rtc_wkalrm*)'
  [A] 'function int scsi_register_driver(device_driver*)'
  [A] 'function void sdhci_adma_write_desc(sdhci_host*, void**, dma_addr_t, int, unsigned int)'
  [A] 'function unsigned int sdhci_pltfm_clk_get_max_clock(sdhci_host*)'
  [A] 'function int sdhci_pltfm_unregister(platform_device*)'
  [A] 'function void sdhci_set_clock(sdhci_host*, unsigned int)'
  [A] 'function void sdhci_set_power_and_bus_voltage(sdhci_host*, unsigned char, unsigned short int)'
  [A] 'function void sdhci_set_uhs_signaling(sdhci_host*, unsigned int)'
  [A] 'function u8 sdio_writeb_readb(sdio_func*, u8, unsigned int, int*)'
  [A] 'function int smp_call_function_single_async(int, __call_single_data*)'
  [A] 'function unsigned int stack_trace_save_regs(pt_regs*, unsigned long int*, unsigned int, unsigned int)'
  [A] 'function ssize_t store_sampling_rate(gov_attr_set*, const char*, size_t)'
  [A] 'function int tcp_register_congestion_control(tcp_congestion_ops*)'
  [A] 'function void tcp_reno_cong_avoid(sock*, u32, u32)'
  [A] 'function u32 tcp_reno_ssthresh(sock*)'
  [A] 'function u32 tcp_reno_undo_cwnd(sock*)'
  [A] 'function u32 tcp_slow_start(tcp_sock*, u32)'
  [A] 'function void tcp_unregister_congestion_control(tcp_congestion_ops*)'
  [A] 'function unsigned long int timespec64_to_jiffies(const timespec64*)'
  [A] 'function void tty_ldisc_deref(tty_ldisc*)'
  [A] 'function tty_ldisc* tty_ldisc_ref(tty_struct*)'
  [A] 'function void tty_port_close(tty_port*, tty_struct*, file*)'
  [A] 'function void tty_port_destroy(tty_port*)'
  [A] 'function void tty_port_hangup(tty_port*)'
  [A] 'function void tty_port_init(tty_port*)'
  [A] 'function int tty_port_open(tty_port*, tty_struct*, file*)'
  [A] 'function device* tty_port_register_device(tty_port*, tty_driver*, unsigned int, device*)'
  [A] 'function void tty_port_tty_wakeup(tty_port*)'
  [A] 'function int tty_register_driver(tty_driver*)'
  [A] 'function void tty_set_operations(tty_driver*, const tty_operations*)'
  [A] 'function int tty_standard_install(tty_driver*, tty_struct*)'
  [A] 'function void tty_termios_copy_hw(ktermios*, ktermios*)'
  [A] 'function void tty_unregister_device(tty_driver*, unsigned int)'
  [A] 'function int tty_unregister_driver(tty_driver*)'
  [A] 'function void tty_vhangup(tty_struct*)'
  [A] 'function int ucsi_send_command(ucsi*, u64, void*, size_t)'
  [A] 'function int unregister_qdisc(Qdisc_ops*)'
  [A] 'function int usb_add_phy(usb_phy*, usb_phy_type)'
  [A] 'function void usb_autopm_get_interface_no_resume(usb_interface*)'
  [A] 'function void usb_deregister_dev(usb_interface*, usb_class_driver*)'
  [A] 'function usb_interface* usb_find_interface(usb_driver*, int)'
  [A] 'function usb_device* usb_get_dev(usb_device*)'
  [A] 'function usb_interface* usb_get_intf(usb_interface*)'
  [A] 'function const usb_device_id* usb_match_id(usb_interface*, const usb_device_id*)'
  [A] 'function int usb_match_one_id(usb_interface*, const usb_device_id*)'
  [A] 'function config_group* usb_os_desc_prepare_interf_dir(config_group*, int, usb_os_desc**, char**, module*)'
  [A] 'function void usb_poison_anchored_urbs(usb_anchor*)'
  [A] 'function void usb_put_intf(usb_interface*)'
  [A] 'function int usb_register_dev(usb_interface*, usb_class_driver*)'
  [A] 'function int usb_set_interface(usb_device*, int, int)'
  [A] 'function ssize_t usb_show_dynids(usb_dynids*, char*)'
  [A] 'function ssize_t usb_store_new_id(usb_dynids*, const usb_device_id*, device_driver*, const char*, size_t)'
  [A] 'function void usb_unpoison_urb(urb*)'
  [A] 'function void usbnet_defer_kevent(usbnet*, int)'
  [A] 'function v4l2_ctrl* v4l2_ctrl_new_int_menu(v4l2_ctrl_handler*, const v4l2_ctrl_ops*, u32, u8, u8, const s64*)'
  [A] 'function int v4l2_querymenu(v4l2_ctrl_handler*, v4l2_querymenu*)'
  [A] 'function void vsock_addr_init(sockaddr_vm*, u32, u32)'
  [A] 'function void vsock_remove_sock(vsock_sock*)'

33 Added variables:

  [A] 'tracepoint __tracepoint_android_rvh_arm64_serror_panic'
  [A] 'tracepoint __tracepoint_android_rvh_bad_mode'
  [A] 'tracepoint __tracepoint_android_rvh_dequeue_task_idle'
  [A] 'tracepoint __tracepoint_android_rvh_do_sea'
  [A] 'tracepoint __tracepoint_android_rvh_do_undefinstr'
  [A] 'tracepoint __tracepoint_android_rvh_refrigerator'
  [A] 'tracepoint __tracepoint_android_rvh_ufs_complete_init'
  [A] 'tracepoint __tracepoint_android_vh_dup_task_struct'
  [A] 'tracepoint __tracepoint_android_vh_irqtime_account_process_tick'
  [A] 'tracepoint __tracepoint_android_vh_kmalloc_slab'
  [A] 'tracepoint __tracepoint_android_vh_rtmutex_wait_finish'
  [A] 'tracepoint __tracepoint_android_vh_rtmutex_wait_start'
  [A] 'tracepoint __tracepoint_android_vh_rwsem_read_wait_finish'
  [A] 'tracepoint __tracepoint_android_vh_rwsem_read_wait_start'
  [A] 'tracepoint __tracepoint_android_vh_rwsem_write_wait_finish'
  [A] 'tracepoint __tracepoint_android_vh_rwsem_write_wait_start'
  [A] 'tracepoint __tracepoint_android_vh_save_track_hash'
  [A] 'tracepoint __tracepoint_android_vh_save_vmalloc_stack'
  [A] 'tracepoint __tracepoint_android_vh_sched_show_task'
  [A] 'tracepoint __tracepoint_android_vh_show_stack_hash'
  [A] 'tracepoint __tracepoint_android_vh_try_to_freeze_todo'
  [A] 'tracepoint __tracepoint_android_vh_try_to_freeze_todo_unfrozen'
  [A] 'tracepoint __tracepoint_android_vh_usb_dev_resume'
  [A] 'tracepoint __tracepoint_android_vh_usb_dev_suspend'
  [A] 'tracepoint __tracepoint_android_vh_vmpressure'
  [A] 'tracepoint __tracepoint_android_vh_watchdog_timer_softlockup'
  [A] 'tracepoint __tracepoint_android_vh_wq_lockup_pool'
  [A] 'unsigned long int avenrun[3]'
  [A] 'const clk_ops clk_divider_ro_ops'
  [A] 'const clk_ops clk_mux_ro_ops'
  [A] 'irq_domain_ops irq_generic_chip_ops'
  [A] 'static_key_false memcg_kmem_enabled_key'
  [A] 'ktermios tty_std_termios'

Fixes: 7d8687d4ef89 ("Merge branch 'android12-5.10' into `android12-5.10-lts`")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I4c18039a67ad6cf65f6d9824b21d5558513103a2
1 file changed
tree: a0ea98e801c6f67ba7363718f2cf33df1918a03e
  1. android/
  2. arch/
  3. block/
  4. certs/
  5. crypto/
  6. Documentation/
  7. drivers/
  8. fs/
  9. include/
  10. init/
  11. ipc/
  12. kernel/
  13. lib/
  14. LICENSES/
  15. mm/
  16. net/
  17. samples/
  18. scripts/
  19. security/
  20. sound/
  21. tools/
  22. usr/
  23. virt/
  24. .clang-format
  25. .cocciconfig
  26. .get_maintainer.ignore
  27. .gitattributes
  28. .gitignore
  29. .mailmap
  30. build.config.aarch64
  31. build.config.allmodconfig
  32. build.config.allmodconfig.aarch64
  33. build.config.allmodconfig.arm
  34. build.config.allmodconfig.x86_64
  35. build.config.amlogic
  36. build.config.arm
  37. build.config.common
  38. build.config.db845c
  39. build.config.gki
  40. build.config.gki-debug.aarch64
  41. build.config.gki-debug.x86_64
  42. build.config.gki.aarch64
  43. build.config.gki.aarch64.fips140
  44. build.config.gki.x86_64
  45. build.config.gki_kasan
  46. build.config.gki_kasan.aarch64
  47. build.config.gki_kasan.x86_64
  48. build.config.gki_kprobes
  49. build.config.gki_kprobes.aarch64
  50. build.config.gki_kprobes.x86_64
  51. build.config.hikey960
  52. build.config.khwasan
  53. build.config.x86_64
  54. COPYING
  55. CREDITS
  56. Kbuild
  57. Kconfig
  58. MAINTAINERS
  59. Makefile
  60. OWNERS
  61. README
  62. 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 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:, 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)