No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
zhaoyouyi 7dd4f5d051 ANDROID: ABI/Whitelist: update for allwinner.
Add initial ABI whitelist file for Allwinner SoC,
and updates the ABI representation accordingly.

Total of 154 functions and 2 variables were added.

Leaf changes summary: 156 artifacts changed
Changed leaf types summary: 0 leaf type changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 154 Added functions
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 2 Added variables

154 Added functions:

  [A] 'function void __dev_kfree_skb_irq(sk_buff*, skb_free_reason)'
  [A] 'function void __devm_release_region(device*, resource*, resource_size_t, resource_size_t)'
  [A] 'function void __hw_addr_init(netdev_hw_addr_list*)'
  [A] 'function int __hw_addr_sync(netdev_hw_addr_list*, netdev_hw_addr_list*, int)'
  [A] 'function void __hw_addr_unsync(netdev_hw_addr_list*, netdev_hw_addr_list*, int)'
  [A] 'function void __lock_page(page*)'
  [A] 'function int __media_entity_setup_link(media_link*, u32)'
  [A] 'function unsigned int __sw_hweight16(unsigned int)'
  [A] 'function void* __vmalloc(unsigned long int, gfp_t, pgprot_t)'
  [A] 'function void __wait_on_buffer(buffer_head*)'
  [A] 'function int block_is_partially_uptodate(page*, unsigned long int, unsigned long int)'
  [A] 'function int buffer_migrate_page(address_space*, page*, page*, migrate_mode)'
  [A] 'function void cfg80211_assoc_timeout(net_device*, cfg80211_bss*)'
  [A] 'function void cfg80211_auth_timeout(net_device*, const u8*)'
  [A] 'function unsigned int cfg80211_classify8021d(sk_buff*, cfg80211_qos_map*)'
  [A] 'function void cfg80211_cqm_pktloss_notify(net_device*, const u8*, u32, gfp_t)'
  [A] 'function void cfg80211_rx_assoc_resp(net_device*, cfg80211_bss*, const u8*, size_t, int, const u8*, size_t)'
  [A] 'function void cfg80211_rx_mlme_mgmt(net_device*, const u8*, size_t)'
  [A] 'function void cfg80211_sched_scan_stopped(wiphy*, u64)'
  [A] 'function void cfg80211_tx_mlme_mgmt(net_device*, const u8*, size_t)'
  [A] 'function int class_create_file_ns(class*, const class_attribute*, void*)'
  [A] 'function void class_remove_file_ns(class*, const class_attribute*, void*)'
  [A] 'function int clk_notifier_register(clk*, notifier_block*)'
  [A] 'function unsigned int crc32_be(unsigned int, const unsigned char*, unsigned long int)'
  [A] 'function void create_empty_buffers(page*, unsigned long int, unsigned long int)'
  [A] 'function int crypto_register_ahash(ahash_alg*)'
  [A] 'function int crypto_register_rng(rng_alg*)'
  [A] 'function int crypto_unregister_ahash(ahash_alg*)'
  [A] 'function void crypto_unregister_rng(rng_alg*)'
  [A] 'function dentry* d_add_ci(dentry*, inode*, qstr*)'
  [A] 'function dentry* d_obtain_alias(inode*)'
  [A] 'function int dev_pm_set_wake_irq(device*, int)'
  [A] 'function void device_remove_groups(device*, const attribute_group**)'
  [A] 'function int devm_devfreq_register_opp_notifier(device*, devfreq*)'
  [A] 'function void* devm_of_iomap(device*, device_node*, int, resource_size_t*)'
  [A] 'function int down_interruptible(semaphore*)'
  [A] 'function void dump_page(page*, const char*)'
  [A] 'function void end_buffer_read_sync(buffer_head*, int)'
  [A] 'function frame_vector* frame_vector_create(unsigned int)'
  [A] 'function void frame_vector_destroy(frame_vector*)'
  [A] 'function int frame_vector_to_pages(frame_vector*)'
  [A] 'function void frame_vector_to_pfns(frame_vector*)'
  [A] 'function unsigned long int gen_pool_best_fit(unsigned long int*, unsigned long int, unsigned long int, unsigned int, void*, gen_pool*, unsigned long int)'
  [A] 'function void gen_pool_set_algo(gen_pool*, void ()*, void*)'
  [A] 'function long long unsigned int gen_pool_virt_to_phys(gen_pool*, unsigned long int)'
  [A] 'function int generic_error_remove_page(address_space*, page*)'
  [A] 'function int generic_file_open(inode*, file*)'
  [A] 'function int get_tree_bdev(fs_context*, void ()*)'
  [A] 'function int get_vaddr_frames(unsigned long int, unsigned int, unsigned int, frame_vector*)'
  [A] 'function void handle_fasteoi_irq(irq_desc*)'
  [A] 'function void ieee80211_amsdu_to_8023s(sk_buff*, sk_buff_head*, const u8*, nl80211_iftype, const unsigned int, const u8*, const u8*)'
  [A] 'function const element* ieee80211_bss_get_elem(cfg80211_bss*, u8)'
  [A] 'function int ieee80211_data_to_8023_exthdr(sk_buff*, ethhdr*, const u8*, nl80211_iftype, u8)'
  [A] 'function int ieee80211_radiotap_iterator_init(ieee80211_radiotap_iterator*, ieee80211_radiotap_header*, int, const ieee80211_radiotap_vendor_namespaces*)'
  [A] 'function int ieee80211_radiotap_iterator_next(ieee80211_radiotap_iterator*)'
  [A] 'function void iget_failed(inode*)'
  [A] 'function inode* iget_locked(super_block*, unsigned long int)'
  [A] 'function void ihold(inode*)'
  [A] 'function void inode_nohighmem(inode*)'
  [A] 'function void int_to_scsilun(u64, scsi_lun*)'
  [A] 'function void io_schedule()'
  [A] 'function iommu_group* iommu_group_alloc()'
  [A] 'function int iommu_group_register_notifier(iommu_group*, notifier_block*)'
  [A] 'function bool is_bad_inode(inode*)'
  [A] 'function void kernel_param_lock(module*)'
  [A] 'function void kernel_param_unlock(module*)'
  [A] 'function void* kmalloc_order(size_t, gfp_t, unsigned int)'
  [A] 'function void ll_rw_block(int, int, int, buffer_head**)'
  [A] 'function nls_table* load_nls_default()'
  [A] 'function void logfc(fs_context*, const char*, ...)'
  [A] 'function void make_bad_inode(inode*)'
  [A] 'function int media_create_pad_link(media_entity*, u16, media_entity*, u16, u32)'
  [A] 'function media_link* media_entity_find_link(media_pad*, media_pad*)'
  [A] 'function media_pad* media_entity_remote_pad(const media_pad*)'
  [A] 'function int media_entity_setup_link(media_link*, u32)'
  [A] 'function int media_graph_walk_init(media_graph*, media_device*)'
  [A] 'function media_entity* media_graph_walk_next(media_graph*)'
  [A] 'function void media_graph_walk_start(media_graph*, media_entity*)'
  [A] 'function int of_clk_hw_register(device_node*, clk_hw*)'
  [A] 'function i2c_client* of_find_i2c_device_by_node(device_node*)'
  [A] 'function device_node* of_find_node_by_type(device_node*, const char*)'
  [A] 'function void* of_io_request_and_map(device_node*, int, const char*)'
  [A] 'function pwm_device* of_pwm_xlate_with_flags(pwm_chip*, const of_phandle_args*)'
  [A] 'function const char* page_get_link(dentry*, inode*, delayed_call*)'
  [A] 'function page* pagecache_get_page(address_space*, unsigned long int, int, unsigned int)'
  [A] 'function pinctrl* pinctrl_get(device*)'
  [A] 'function int pinctrl_gpio_set_config(unsigned int, unsigned long int)'
  [A] 'function void put_vaddr_frames(frame_vector*)'
  [A] 'function page* read_cache_page(address_space*, unsigned long int, void ()*, void*)'
  [A] 'function int reset_controller_register(reset_controller_dev*)'
  [A] 'function unsigned long int round_jiffies_relative(unsigned long int)'
  [A] 'function void rq_flush_dcache_pages(request*)'
  [A] 'function void scmd_printk(const char*, const scsi_cmnd*, const char*, ...)'
  [A] 'function void scsi_block_requests(Scsi_Host*)'
  [A] 'function int scsi_change_queue_depth(scsi_device*, int)'
  [A] 'function void scsi_print_command(scsi_cmnd*)'
  [A] 'function void scsi_unblock_requests(Scsi_Host*)'
  [A] 'function unsigned int sdio_align_size(sdio_func*, unsigned int)'
  [A] 'function int setup_irq(unsigned int, irqaction*)'
  [A] 'function int snd_dmaengine_pcm_close_release_chan(snd_pcm_substream*)'
  [A] 'function dma_chan* snd_dmaengine_pcm_get_chan(snd_pcm_substream*)'
  [A] 'function int snd_dmaengine_pcm_open_request_chan(snd_pcm_substream*, dma_filter_fn, void*)'
  [A] 'function snd_pcm_uframes_t snd_dmaengine_pcm_pointer(snd_pcm_substream*)'
  [A] 'function int snd_dmaengine_pcm_trigger(snd_pcm_substream*, int)'
  [A] 'function int snd_hwparams_to_dma_slave_config(const snd_pcm_substream*, const snd_pcm_hw_params*, dma_slave_config*)'
  [A] 'function int snd_soc_add_card_controls(snd_soc_card*, const snd_kcontrol_new*, int)'
  [A] 'function int snd_soc_dai_set_clkdiv(snd_soc_dai*, int, int)'
  [A] 'function int snd_soc_dai_set_pll(snd_soc_dai*, int, int, unsigned int, unsigned int)'
  [A] 'function int snd_soc_register_card(snd_soc_card*)'
  [A] 'function spi_controller* spi_busnum_to_master(u16)'
  [A] 'function void spi_unregister_device(spi_device*)'
  [A] 'function void truncate_inode_pages_final(address_space*)'
  [A] 'function unsigned int uart_get_divisor(uart_port*, unsigned int)'
  [A] 'function void uart_handle_cts_change(uart_port*, unsigned int)'
  [A] 'function void uart_handle_dcd_change(uart_port*, unsigned int)'
  [A] 'function void uart_insert_char(uart_port*, unsigned int, unsigned int, unsigned int, unsigned int)'
  [A] 'function int unregister_console(console*)'
  [A] 'function void unregister_syscore_ops(syscore_ops*)'
  [A] 'function int usb_alloc_streams(usb_interface*, usb_host_endpoint**, unsigned int, unsigned int, gfp_t)'
  [A] 'function int usb_bulk_msg(usb_device*, unsigned int, void*, int, int*, int)'
  [A] 'function int usb_free_streams(usb_interface*, usb_host_endpoint**, unsigned int, gfp_t)'
  [A] 'function void usb_kill_anchored_urbs(usb_anchor*)'
  [A] 'function int usb_reset_configuration(usb_device*)'
  [A] 'function int usb_set_interface(usb_device*, int, int)'
  [A] 'function void usb_unanchor_urb(urb*)'
  [A] 'function int usb_wait_anchor_empty_timeout(usb_anchor*, unsigned int)'
  [A] 'function void v4l2_ctrl_cluster(unsigned int, v4l2_ctrl**)'
  [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_ctrl_subdev_subscribe_event(v4l2_subdev*, v4l2_fh*, v4l2_event_subscription*)'
  [A] 'function int v4l2_ctrl_subscribe_event(v4l2_fh*, const v4l2_event_subscription*)'
  [A] 'function int v4l2_event_subdev_unsubscribe(v4l2_subdev*, v4l2_fh*, v4l2_event_subscription*)'
  [A] 'function int v4l2_g_ctrl(v4l2_ctrl_handler*, v4l2_control*)'
  [A] 'function v4l2_subdev* v4l2_i2c_new_subdev(v4l2_device*, i2c_adapter*, const char*, u8, const unsigned short int*)'
  [A] 'function void v4l2_i2c_subdev_init(v4l2_subdev*, i2c_client*, const v4l2_subdev_ops*)'
  [A] 'function v4l2_subdev* v4l2_spi_new_subdev(v4l2_device*, spi_controller*, spi_board_info*)'
  [A] 'function void v4l_bound_align_image(u32*, unsigned int, unsigned int, unsigned int, u32*, unsigned int, unsigned int, unsigned int, unsigned int)'
  [A] 'function int vb2_fop_mmap(file*, vm_area_struct*)'
  [A] 'function __poll_t vb2_fop_poll(file*, poll_table*)'
  [A] 'function ssize_t vb2_fop_read(file*, char*, size_t, loff_t*)'
  [A] 'function int vb2_fop_release(file*)'
  [A] 'function int vb2_ioctl_dqbuf(file*, void*, v4l2_buffer*)'
  [A] 'function int vb2_ioctl_expbuf(file*, void*, v4l2_exportbuffer*)'
  [A] 'function int vb2_ioctl_qbuf(file*, void*, v4l2_buffer*)'
  [A] 'function int vb2_ioctl_querybuf(file*, void*, v4l2_buffer*)'
  [A] 'function int vb2_ioctl_reqbufs(file*, void*, v4l2_requestbuffers*)'
  [A] 'function int vb2_ioctl_streamoff(file*, void*, v4l2_buf_type)'
  [A] 'function int vb2_ioctl_streamon(file*, void*, v4l2_buf_type)'
  [A] 'function void vb2_ops_wait_finish(vb2_queue*)'
  [A] 'function void vb2_ops_wait_prepare(vb2_queue*)'
  [A] 'function void* vb2_plane_cookie(vb2_buffer*, unsigned int)'
  [A] 'function int zlib_inflate(z_stream_s*, int)'
  [A] 'function int zlib_inflateEnd(z_stream_s*)'
  [A] 'function int zlib_inflateInit2(z_stream_s*, int)'
  [A] 'function int zlib_inflate_workspacesize()'

2 Added variables:

  [A] 'const unsigned char bridge_tunnel_header[6]'
  [A] 'const file_operations generic_ro_fops'

Bug: 155001886
Change-Id: Iea31e0b21432c399c1dcb6b808954520f15b515b
Signed-off-by: zhaoyouyi <zhaoyouyi@allwinnertech.com>
2020-04-26 16:59:58 +00:00
arch ANDROID: gki_defconfig: enable CONFIG_PM_DEVFREQ_EVENT. 2020-04-26 16:18:03 +08:00
block This is the 5.4.35 stable release 2020-04-23 11:15:10 +02:00
certs PKCS#7: Refactor verify_pkcs7_signature() 2019-08-05 18:40:18 -04:00
crypto This is the 5.4.33 stable release 2020-04-17 11:26:58 +02:00
Documentation This is the 5.4.35 stable release 2020-04-23 11:15:10 +02:00
drivers ANDROID: dm-bow: Fix not to skip trim at framented range 2020-04-24 21:53:22 +00:00
fs ANDROID: Incremental fs: Use simple compression in log buffer 2020-04-25 13:33:53 +00:00
include ANDROID: Add padding for crypto related structs in UFS and MMC 2020-04-23 20:48:15 +00:00
init ANDROID: init: GKI: enable hidden configs for GPU 2020-04-22 20:40:03 +00:00
ipc This is the 5.4.23 stable release 2020-03-01 10:17:44 +01:00
kernel This is the 5.4.35 stable release 2020-04-23 11:15:10 +02:00
lib This is the 5.4.35 stable release 2020-04-23 11:15:10 +02:00
LICENSES LICENSES: Rename other to deprecated 2019-05-03 06:34:32 -06:00
mm This is the 5.4.33 stable release 2020-04-17 11:26:58 +02:00
net This is the 5.4.35 stable release 2020-04-23 11:15:10 +02:00
samples FROMGIT: samples/hw_breakpoint: drop use of kallsyms_lookup_name() 2020-03-12 11:15:54 +00:00
scripts FROMGIT: kbuild: mkcompile_h: Include $LD version in /proc/version 2020-04-08 16:27:24 +00:00
security This is the 5.4.35 stable release 2020-04-23 11:15:10 +02:00
sound This is the 5.4.35 stable release 2020-04-23 11:15:10 +02:00
tools ANDROID: Incremental fs: Use simple compression in log buffer 2020-04-25 13:33:53 +00:00
usr initramfs: restore default compression behavior 2020-04-08 09:08:38 +02:00
virt KVM: Check for a bad hva before dropping into the ghc slow path 2020-03-05 16:43:48 +01:00
.clang-format clang-format: Update with the latest for_each macro list 2019-08-31 10:00:51 +02:00
.cocciconfig
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl 2019-05-16 10:53:40 -07:00
.gitattributes
.gitignore Revert "ANDROID: Revert "Merge tag 'modules-for-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux"" 2019-11-13 10:14:45 +00:00
.mailmap ARM: SoC fixes 2019-11-10 13:41:59 -08:00
abi_gki_aarch64.xml ANDROID: ABI/Whitelist: update for allwinner. 2020-04-26 16:59:58 +00:00
abi_gki_aarch64_cuttlefish_whitelist ANDROID: GKI: update cf whitelist + gki whitelist 2020-03-31 12:28:54 -07:00
abi_gki_aarch64_db845c_whitelist ANDROID: ABI/Whitelist: update for db845c after changing drivers to modules. 2020-04-16 18:15:41 +00:00
abi_gki_aarch64_goldfish_whitelist ANDROID: GKI: Added goldfish whitelist to aarch64 abi 2020-03-31 12:45:07 -07:00
abi_gki_aarch64_hikey960_whitelist ANDROID: ABI/Whitelist: update for hikey960 2020-03-23 23:39:45 +00:00
abi_gki_aarch64_qcom_whitelist ANDROID: GKI: remove kernel_read/write from whitelists 2020-04-02 06:18:20 +00:00
abi_gki_aarch64_sunxi_whitelist ANDROID: ABI/Whitelist: update for allwinner. 2020-04-26 16:59:58 +00:00
abi_gki_aarch64_unisoc_whitelist ANDROID: ABI/Whitelist: add net whitelist to unisoc Whitelist 2020-04-24 19:38:18 +08:00
abi_gki_aarch64_whitelist ANDROID: abi_gki_aarch64_whitelist: add module_layout and task_struct 2020-03-04 23:09:20 +00:00
build.config.aarch64 ANDROID: support GKI image that contains an uncompressed Kernel Image. 2020-02-06 11:14:03 +00:00
build.config.allmodconfig ANDROID: fix allmodconfig build to use the right toolchain 2020-04-14 15:39:56 +00:00
build.config.allmodconfig.aarch64 ANDROID: create build.configs for allmodconfig 2019-09-04 15:49:40 +00:00
build.config.allmodconfig.arm ANDROID: Add build.config files for ARM 32-bit 2020-03-15 22:51:11 +00:00
build.config.allmodconfig.x86_64 ANDROID: create build.configs for allmodconfig 2019-09-04 15:49:40 +00:00
build.config.arm ANDROID: Add build.config files for ARM 32-bit 2020-03-15 22:51:11 +00:00
build.config.common ANDROID: clang: update to 10.0.5 2020-03-30 20:09:25 +00:00
build.config.db845c ANDROID: db845c build: Use merge_configs 2020-04-01 14:04:53 +00:00
build.config.gki ANDROID: gki: Removed cf modules from gki_defconfig 2020-01-31 16:34:58 -08:00
build.config.gki-debug.aarch64 ANDROID: Add build.config.gki-debug.aarch64 2020-03-16 09:20:25 +00:00
build.config.gki-debug.x86_64 ANDROID: Add build.config.gki-debug.x86_64 2020-03-16 14:27:00 +00:00
build.config.gki.aarch64 ANDROID: ABI/Whitelist: update for allwinner. 2020-04-26 16:59:58 +00:00
build.config.gki.x86_64 ANDROID: refactor build.config files to remove duplication 2019-08-30 14:55:29 +01:00
build.config.hikey960 ANDROID: hikey960: Add external mali driver support to build.config.hikey960 2020-03-23 22:55:17 +00:00
build.config.x86_64 ANDROID: refactor build.config files to remove duplication 2019-08-30 14:55:29 +01:00
COPYING
CREDITS MAINTAINERS: Remove Simon as Renesas SoC Co-Maintainer 2019-10-10 08:12:51 -07:00
Kbuild kbuild: do not descend to ./Kbuild when cleaning 2019-08-21 21:03:58 +09:00
Kconfig docs: kbuild: convert docs to ReST and rename to *.rst 2019-06-14 14:21:21 -06:00
MAINTAINERS This is the 5.4.23 stable release 2020-03-01 10:17:44 +01:00
Makefile This is the 5.4.35 stable release 2020-04-23 11:15:10 +02:00
README
README.md ANDROID: Fix typo for FROMLIST: section 2019-10-29 20:31:07 +00: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.

  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 ...) 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 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 ...) 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 c31e73121f4c1ec41143423ac6ce3ce6dafdcec1)
        [ 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
    • 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)