Kernel for Galaxy S24, rebased on CLO sources (WIP)
Go to file
Carlos Llamas 9e35a21ec0 ANDROID: 3/29/2023 KMI update
Set KMI_GENERATION=3 for 3/29 KMI update

5 function symbol(s) added
  'struct page* dmabuf_page_pool_alloc(struct dmabuf_page_pool*)'
  'struct dmabuf_page_pool* dmabuf_page_pool_create(gfp_t, unsigned int)'
  'void dmabuf_page_pool_destroy(struct dmabuf_page_pool*)'
  'void dmabuf_page_pool_free(struct dmabuf_page_pool*, struct page*)'
  'unsigned long dmabuf_page_pool_get_size(struct dmabuf_page_pool*)'

function symbol changed from 'void __wake_up(struct wait_queue_head*, unsigned int, int, void*)' to 'int __wake_up(struct wait_queue_head*, unsigned int, int, void*)'
  CRC changed from 0x3eeb2322 to 0xe2964344
  type changed from 'void(struct wait_queue_head*, unsigned int, int, void*)' to 'int(struct wait_queue_head*, unsigned int, int, void*)'
    return type changed from 'void' to 'int'

function symbol changed from 'void cfg80211_ch_switch_notify(struct net_device*, struct cfg80211_chan_def*, unsigned int)' to 'void cfg80211_ch_switch_notify(struct net_device*, struct cfg80211_chan_def*, unsigned int, u16)'
  CRC changed from 0xe8432c8b to 0xdcde54a6
  type changed from 'void(struct net_device*, struct cfg80211_chan_def*, unsigned int)' to 'void(struct net_device*, struct cfg80211_chan_def*, unsigned int, u16)'
    parameter 4 of type 'u16' was added

function symbol changed from 'void cfg80211_ch_switch_started_notify(struct net_device*, struct cfg80211_chan_def*, unsigned int, u8, bool)' to 'void cfg80211_ch_switch_started_notify(struct net_device*, struct cfg80211_chan_def*, unsigned int, u8, bool, u16)'
  CRC changed from 0xe086a1f0 to 0x86eba6c4
  type changed from 'void(struct net_device*, struct cfg80211_chan_def*, unsigned int, u8, bool)' to 'void(struct net_device*, struct cfg80211_chan_def*, unsigned int, u8, bool, u16)'
    parameter 6 of type 'u16' was added

function symbol changed from 'void cfg80211_port_authorized(struct net_device*, const u8*, gfp_t)' to 'void cfg80211_port_authorized(struct net_device*, const u8*, const u8*, u8, gfp_t)'
  CRC changed from 0x2ce6ed68 to 0x8ba3e8b9
  type changed from 'void(struct net_device*, const u8*, gfp_t)' to 'void(struct net_device*, const u8*, const u8*, u8, gfp_t)'
    parameter 3 type changed from 'gfp_t' = 'unsigned int' to 'const u8*'
      resolved type changed from 'unsigned int' to 'const u8*'
    parameter 4 of type 'u8' was added
    parameter 5 of type 'gfp_t' was added

function symbol changed from 'unsigned long drm_gem_lru_scan(struct drm_gem_lru*, unsigned int, bool(*)(struct drm_gem_object*))' to 'unsigned long drm_gem_lru_scan(struct drm_gem_lru*, unsigned int, unsigned long*, bool(*)(struct drm_gem_object*))'
  CRC changed from 0x98fde9d to 0x9acfaf20
  type changed from 'unsigned long(struct drm_gem_lru*, unsigned int, bool(*)(struct drm_gem_object*))' to 'unsigned long(struct drm_gem_lru*, unsigned int, unsigned long*, bool(*)(struct drm_gem_object*))'
    parameter 3 type changed from 'bool(*)(struct drm_gem_object*)' to 'unsigned long*'
      pointed-to type changed from 'bool(struct drm_gem_object*)' to 'unsigned long'
    parameter 4 of type 'bool(*)(struct drm_gem_object*)' was added

function symbol changed from 'char* kobject_get_path(struct kobject*, gfp_t)' to 'char* kobject_get_path(const struct kobject*, gfp_t)'
  CRC changed from 0x6d2bc3a7 to 0x62b056f6
  type changed from 'char*(struct kobject*, gfp_t)' to 'char*(const struct kobject*, gfp_t)'
    parameter 1 type changed from 'struct kobject*' to 'const struct kobject*'
      pointed-to type changed from 'struct kobject' to 'const struct kobject'
        qualifier const added

function symbol 'struct block_device* I_BDEV(struct inode*)' changed
  CRC changed from 0x66b14c8d to 0xc79e45c3

function symbol 'void __ClearPageMovable(struct page*)' changed
  CRC changed from 0xbf6e946f to 0x4cf602fa

function symbol 'void __SetPageMovable(struct page*, const struct movable_operations*)' changed
  CRC changed from 0x8c770d3 to 0x60f5778b

... 1724 omitted; 1727 symbols have only CRC changes

type 'enum nl80211_attrs' changed
  enumerator 'NL80211_ATTR_TD_BITMAP' (321) was added
  enumerator 'NL80211_ATTR_PUNCT_BITMAP' (322) was added
  enumerator '__NL80211_ATTR_AFTER_LAST' value changed from 321 to 323
  enumerator 'NUM_NL80211_ATTR' value changed from 321 to 323
  enumerator 'NL80211_ATTR_MAX' value changed from 320 to 322

type 'struct scsi_device' changed
  member 'unsigned int no_vpd_size : 1' was added

type 'struct dma_buf' changed
  byte size changed from 264 to 272
  member 'struct dma_buf_sysfs_entry* sysfs_entry' was added

type 'struct ufs_hba' changed
  member 'unsigned int android_quirks' was added
  member 'unsigned int dev_quirks' changed
    offset changed by 32

type 'struct cfg80211_connect_resp_params' changed
  byte size changed from 472 to 592
  member changed from 'struct { const u8* addr; const u8* bssid; struct cfg80211_bss* bss; } links[15]' to 'struct { const u8* addr; const u8* bssid; struct cfg80211_bss* bss; u16 status; } links[15]'
    type changed from 'struct { const u8* addr; const u8* bssid; struct cfg80211_bss* bss; }[15]' to 'struct { const u8* addr; const u8* bssid; struct cfg80211_bss* bss; u16 status; }[15]'
      element type changed from 'struct { const u8* addr; const u8* bssid; struct cfg80211_bss* bss; }' to 'struct { const u8* addr; const u8* bssid; struct cfg80211_bss* bss; u16 status; }'
        byte size changed from 24 to 32
        member 'u16 status' was added

type 'struct station_info' changed
  byte size changed from 232 to 256
  member 'bool mlo_params_valid' was added
  member 'u8 assoc_link_id' was added
  member 'u8 mld_addr[6]' was added
  member 'const u8* assoc_resp_ies' was added
  member 'size_t assoc_resp_ies_len' was added

type 'struct cfg80211_external_auth_params' changed
  byte size changed from 64 to 72
  member 'u8 mld_addr[6]' was added

type 'struct cfg80211_rx_assoc_resp' changed
  byte size changed from 288 to 408
  member changed from 'struct { const u8* addr; struct cfg80211_bss* bss; } links[15]' to 'struct { const u8* addr; struct cfg80211_bss* bss; u16 status; } links[15]'
    type changed from 'struct { const u8* addr; struct cfg80211_bss* bss; }[15]' to 'struct { const u8* addr; struct cfg80211_bss* bss; u16 status; }[15]'
      element type changed from 'struct { const u8* addr; struct cfg80211_bss* bss; }' to 'struct { const u8* addr; struct cfg80211_bss* bss; u16 status; }'
        byte size changed from 16 to 24
        member 'u16 status' was added

type 'struct cfg80211_update_owe_info' changed
  byte size changed from 24 to 40
  member 'int assoc_link_id' was added
  member 'u8 peer_mld_addr[6]' was added

type 'struct pglist_data' changed
  byte size changed from 6976 to 7168
  2 members ('unsigned long flags' .. 'struct lru_gen_mm_walk mm_walk') changed
    offset changed by 128
  member 'struct lru_gen_memcg memcg_lru' was added
  3 members ('struct cacheline_padding _pad2_' .. 'atomic_long_t vm_stat[42]') changed
    offset changed by 1536

type 'struct pci_host_bridge' changed
  member 'unsigned int no_inc_mrrs : 1' was added
  9 members ('unsigned int native_aer : 1' .. 'unsigned int msi_domain : 1') changed
    offset changed by 1

type 'struct hid_device' changed
  member 'unsigned int initial_quirks' was added
  member 'bool io_started' changed
    offset changed by 32

type 'struct tcpm_port' changed
  member 'bool potential_contaminant' was added

type 'struct tcpci' changed
  byte size changed from 224 to 232
  member 'struct tcpci_data* data' changed
    offset changed by 64

type 'struct tcpci_data' changed
  byte size changed from 64 to 72
  member 'void(* check_contaminant)(struct tcpci*, struct tcpci_data*)' was added

type 'struct blk_mq_tags' changed
  byte size changed from 168 to 184
  member 'struct sbitmap_queue breserved_tags' changed
    offset changed by 64
  4 members ('struct request** rqs' .. 'spinlock_t lock') changed
    offset changed by 128

type 'struct netns_ct' changed
  member 'u8 ctnetlink_has_listener' was removed
  6 members ('bool ecache_dwork_pending' .. 'u8 sysctl_checksum') changed
    offset changed by -8

type 'struct lruvec' changed
  byte size changed from 1208 to 1224
  member changed from 'struct lru_gen_struct lrugen' to 'struct lru_gen_folio lrugen'
    type changed from 'struct lru_gen_struct' to 'struct lru_gen_folio'
  2 members ('struct lru_gen_mm_state mm_state' .. 'struct pglist_data* pgdat') changed
    offset changed by 128

type 'struct tcpc_dev' changed
  byte size changed from 184 to 192
  member 'void(* check_contaminant)(struct tcpc_dev*)' was added

type 'enum tcpm_state' changed
  enumerator 'CHECK_CONTAMINANT' (2) was added
  enumerator 'SRC_UNATTACHED' value changed from 2 to 3
  enumerator 'SRC_ATTACH_WAIT' value changed from 3 to 4
  enumerator 'SRC_ATTACHED' value changed from 4 to 5
  enumerator 'SRC_STARTUP' value changed from 5 to 6
  enumerator 'SRC_SEND_CAPABILITIES' value changed from 6 to 7
  enumerator 'SRC_SEND_CAPABILITIES_TIMEOUT' value changed from 7 to 8
  enumerator 'SRC_NEGOTIATE_CAPABILITIES' value changed from 8 to 9
  enumerator 'SRC_TRANSITION_SUPPLY' value changed from 9 to 10
  enumerator 'SRC_READY' value changed from 10 to 11
  enumerator 'SRC_WAIT_NEW_CAPABILITIES' value changed from 11 to 12
  enumerator 'SNK_UNATTACHED' value changed from 12 to 13
  enumerator 'SNK_ATTACH_WAIT' value changed from 13 to 14
  enumerator 'SNK_DEBOUNCED' value changed from 14 to 15
  enumerator 'SNK_ATTACHED' value changed from 15 to 16
  enumerator 'SNK_STARTUP' value changed from 16 to 17
  enumerator 'SNK_DISCOVERY' value changed from 17 to 18
  enumerator 'SNK_DISCOVERY_DEBOUNCE' value changed from 18 to 19
  enumerator 'SNK_DISCOVERY_DEBOUNCE_DONE' value changed from 19 to 20
  enumerator 'SNK_WAIT_CAPABILITIES' value changed from 20 to 21
  enumerator 'SNK_NEGOTIATE_CAPABILITIES' value changed from 21 to 22
  enumerator 'SNK_NEGOTIATE_PPS_CAPABILITIES' value changed from 22 to 23
  enumerator 'SNK_TRANSITION_SINK' value changed from 23 to 24
  enumerator 'SNK_TRANSITION_SINK_VBUS' value changed from 24 to 25
  enumerator 'SNK_READY' value changed from 25 to 26
  enumerator 'ACC_UNATTACHED' value changed from 26 to 27
  enumerator 'DEBUG_ACC_ATTACHED' value changed from 27 to 28
  enumerator 'AUDIO_ACC_ATTACHED' value changed from 28 to 29
  enumerator 'AUDIO_ACC_DEBOUNCE' value changed from 29 to 30
  enumerator 'HARD_RESET_SEND' value changed from 30 to 31
  enumerator 'HARD_RESET_START' value changed from 31 to 32
  enumerator 'SRC_HARD_RESET_VBUS_OFF' value changed from 32 to 33
  enumerator 'SRC_HARD_RESET_VBUS_ON' value changed from 33 to 34
  enumerator 'SNK_HARD_RESET_SINK_OFF' value changed from 34 to 35
  enumerator 'SNK_HARD_RESET_WAIT_VBUS' value changed from 35 to 36
  enumerator 'SNK_HARD_RESET_SINK_ON' value changed from 36 to 37
  enumerator 'SOFT_RESET' value changed from 37 to 38
  enumerator 'SRC_SOFT_RESET_WAIT_SNK_TX' value changed from 38 to 39
  enumerator 'SNK_SOFT_RESET' value changed from 39 to 40
  enumerator 'SOFT_RESET_SEND' value changed from 40 to 41
  enumerator 'DR_SWAP_ACCEPT' value changed from 41 to 42
  enumerator 'DR_SWAP_SEND' value changed from 42 to 43
  enumerator 'DR_SWAP_SEND_TIMEOUT' value changed from 43 to 44
  enumerator 'DR_SWAP_CANCEL' value changed from 44 to 45
  enumerator 'DR_SWAP_CHANGE_DR' value changed from 45 to 46
  enumerator 'PR_SWAP_ACCEPT' value changed from 46 to 47
  enumerator 'PR_SWAP_SEND' value changed from 47 to 48
  enumerator 'PR_SWAP_SEND_TIMEOUT' value changed from 48 to 49
  enumerator 'PR_SWAP_CANCEL' value changed from 49 to 50
  enumerator 'PR_SWAP_START' value changed from 50 to 51
  enumerator 'PR_SWAP_SRC_SNK_TRANSITION_OFF' value changed from 51 to 52
  enumerator 'PR_SWAP_SRC_SNK_SOURCE_OFF' value changed from 52 to 53
  enumerator 'PR_SWAP_SRC_SNK_SOURCE_OFF_CC_DEBOUNCED' value changed from 53 to 54
  enumerator 'PR_SWAP_SRC_SNK_SINK_ON' value changed from 54 to 55
  enumerator 'PR_SWAP_SNK_SRC_SINK_OFF' value changed from 55 to 56
  enumerator 'PR_SWAP_SNK_SRC_SOURCE_ON' value changed from 56 to 57
  enumerator 'PR_SWAP_SNK_SRC_SOURCE_ON_VBUS_RAMPED_UP' value changed from 57 to 58
  enumerator 'VCONN_SWAP_ACCEPT' value changed from 58 to 59
  enumerator 'VCONN_SWAP_SEND' value changed from 59 to 60
  enumerator 'VCONN_SWAP_SEND_TIMEOUT' value changed from 60 to 61
  enumerator 'VCONN_SWAP_CANCEL' value changed from 61 to 62
  enumerator 'VCONN_SWAP_START' value changed from 62 to 63
  enumerator 'VCONN_SWAP_WAIT_FOR_VCONN' value changed from 63 to 64
  enumerator 'VCONN_SWAP_TURN_ON_VCONN' value changed from 64 to 65
  enumerator 'VCONN_SWAP_TURN_OFF_VCONN' value changed from 65 to 66
  enumerator 'FR_SWAP_SEND' value changed from 66 to 67
  enumerator 'FR_SWAP_SEND_TIMEOUT' value changed from 67 to 68
  enumerator 'FR_SWAP_SNK_SRC_TRANSITION_TO_OFF' value changed from 68 to 69
  enumerator 'FR_SWAP_SNK_SRC_NEW_SINK_READY' value changed from 69 to 70
  enumerator 'FR_SWAP_SNK_SRC_SOURCE_VBUS_APPLIED' value changed from 70 to 71
  enumerator 'FR_SWAP_CANCEL' value changed from 71 to 72
  enumerator 'SNK_TRY' value changed from 72 to 73
  enumerator 'SNK_TRY_WAIT' value changed from 73 to 74
  enumerator 'SNK_TRY_WAIT_DEBOUNCE' value changed from 74 to 75
  enumerator 'SNK_TRY_WAIT_DEBOUNCE_CHECK_VBUS' value changed from 75 to 76
  enumerator 'SRC_TRYWAIT' value changed from 76 to 77
  enumerator 'SRC_TRYWAIT_DEBOUNCE' value changed from 77 to 78
  enumerator 'SRC_TRYWAIT_UNATTACHED' value changed from 78 to 79
  enumerator 'SRC_TRY' value changed from 79 to 80
  enumerator 'SRC_TRY_WAIT' value changed from 80 to 81
  enumerator 'SRC_TRY_DEBOUNCE' value changed from 81 to 82
  enumerator 'SNK_TRYWAIT' value changed from 82 to 83
  enumerator 'SNK_TRYWAIT_DEBOUNCE' value changed from 83 to 84
  enumerator 'SNK_TRYWAIT_VBUS' value changed from 84 to 85
  enumerator 'BIST_RX' value changed from 85 to 86
  enumerator 'GET_STATUS_SEND' value changed from 86 to 87
  enumerator 'GET_STATUS_SEND_TIMEOUT' value changed from 87 to 88
  enumerator 'GET_PPS_STATUS_SEND' value changed from 88 to 89
  enumerator 'GET_PPS_STATUS_SEND_TIMEOUT' value changed from 89 to 90
  enumerator 'GET_SINK_CAP' value changed from 90 to 91
  enumerator 'GET_SINK_CAP_TIMEOUT' value changed from 91 to 92
  enumerator 'ERROR_RECOVERY' value changed from 92 to 93
  enumerator 'PORT_RESET' value changed from 93 to 94
  enumerator 'PORT_RESET_WAIT_OFF' value changed from 94 to 95
  enumerator 'AMS_START' value changed from 95 to 96
  enumerator 'CHUNK_NOT_SUPP' value changed from 96 to 97

type 'struct cfg80211_ap_settings' changed
  byte size changed from 904 to 912
  member 'u16 punct_bitmap' was added

type 'struct bss_parameters' changed
  member 'int link_id' was added
  3 members ('int use_cts_prot' .. 'int use_short_slot_time') changed
    offset changed by 32

type 'struct cfg80211_csa_settings' changed
  member 'u16 punct_bitmap' was added

type 'struct sbitmap_queue' changed
  byte size changed from 56 to 64
  member 'atomic_t completion_cnt' was added
  member 'atomic_t wakeup_cnt' was added

type 'struct mem_cgroup_per_node' changed
  byte size changed from 2080 to 2096
  9 members ('struct lruvec_stats_percpu* lruvec_stats_percpu' .. 'struct mem_cgroup* memcg') changed
    offset changed by 128

type 'struct sbq_wait_state' changed
  member 'atomic_t wait_cnt' was removed
  member 'wait_queue_head_t wait' changed
    offset changed by -64

type 'struct pkvm_module_ops' changed
  byte size changed from 208 to 496
  member 'int(* host_share_hyp)(u64)' was added
  member 'int(* host_unshare_hyp)(u64)' was added
  member 'int(* pin_shared_mem)(void*, void*)' was added
  member 'void(* unpin_shared_mem)(void*, void*)' was added
  5 members ('void*(* memcpy)(void*, const void*, size_t)' .. 'unsigned long(* kern_hyp_va)(unsigned long)') changed
    offset changed by 256
  member 'u64 android_kabi_reserved1' was added
  member 'u64 android_kabi_reserved2' was added
  member 'u64 android_kabi_reserved3' was added
  member 'u64 android_kabi_reserved4' was added
  member 'u64 android_kabi_reserved5' was added
  member 'u64 android_kabi_reserved6' was added
  member 'u64 android_kabi_reserved7' was added
  member 'u64 android_kabi_reserved8' was added
  member 'u64 android_kabi_reserved9' was added
  member 'u64 android_kabi_reserved10' was added
  member 'u64 android_kabi_reserved11' was added
  member 'u64 android_kabi_reserved12' was added
  member 'u64 android_kabi_reserved13' was added
  member 'u64 android_kabi_reserved14' was added
  member 'u64 android_kabi_reserved15' was added
  member 'u64 android_kabi_reserved16' was added
  member 'u64 android_kabi_reserved17' was added
  member 'u64 android_kabi_reserved18' was added
  member 'u64 android_kabi_reserved19' was added
  member 'u64 android_kabi_reserved20' was added
  member 'u64 android_kabi_reserved21' was added
  member 'u64 android_kabi_reserved22' was added
  member 'u64 android_kabi_reserved23' was added
  member 'u64 android_kabi_reserved24' was added
  member 'u64 android_kabi_reserved25' was added
  member 'u64 android_kabi_reserved26' was added
  member 'u64 android_kabi_reserved27' was added
  member 'u64 android_kabi_reserved28' was added
  member 'u64 android_kabi_reserved29' was added
  member 'u64 android_kabi_reserved30' was added
  member 'u64 android_kabi_reserved31' was added
  member 'u64 android_kabi_reserved32' was added

type 'struct kvm_vcpu' changed
  byte size changed from 9696 to 9680
  5 members ('struct kvm_vcpu_stat stat' .. 'u64 last_used_slot_gen') changed
    offset changed by -128

type 'struct kvm_vcpu_arch' changed
  byte size changed from 8464 to 8448
  member 'struct task_struct* parent_task' was removed
  12 members ('struct { struct kvm_guest_debug_arch regs; u64 pmscr_el1; u64 trfcr_el1; } host_debug_state' .. 'struct { u64 last_steal; gpa_t base; } steal') changed
    offset changed by -64

Bug: 273751441
Change-Id: I7a5d2599515e67b55871f17eafd239c6cbf136bd
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2023-03-30 12:23:05 +01:00
android ANDROID: 3/29/2023 KMI update 2023-03-30 12:23:05 +01:00
arch ANDROID: KVM: arm64: Save and restore host sve state in pKVM 2023-03-30 12:23:04 +01:00
block FROMGIT: blk-crypto: make blk_crypto_evict_key() more robust 2023-03-29 20:05:28 +00:00
certs This is the 6.1.11 stable release 2023-02-09 13:29:55 +00:00
crypto Merge 6.1.16 into android14-6.1 2023-03-13 15:45:34 +00:00
Documentation UPSTREAM: mm: multi-gen LRU: rename lrugen->lists[] to lrugen->folios[] 2023-03-30 10:23:50 +00:00
drivers ANDROID: ufs: core: move Android quirks into separate field 2023-03-30 12:23:04 +01:00
fs FROMGIT: f2fs: fix scheduling while atomic in decompression path 2023-03-29 21:44:21 +00:00
include ANDROID: ufs: core: move Android quirks into separate field 2023-03-30 12:23:04 +01:00
init This is the 6.1.6 stable release 2023-01-18 18:50:42 +00:00
io_uring io_uring/msg_ring: let target know allocated index 2023-03-22 13:34:06 +01:00
ipc ipc: fix memory leak in init_mqueue_fs() 2022-12-31 13:32:01 +01:00
kernel Revert "Revert "wait: Return number of exclusive waiters awaken"" 2023-03-30 10:37:08 +00:00
lib Revert "Revert "sbitmap: Try each queue to wake up at least one waiter"" 2023-03-30 12:23:02 +01:00
LICENSES LICENSES/LGPL-2.1: Add LGPL-2.1-or-later as valid identifiers 2021-12-16 14:33:10 +01:00
mm UPSTREAM: mm: multi-gen LRU: avoid futile retries 2023-03-30 10:23:50 +00:00
net Revert "Revert "netfilter: ctnetlink: make event listener tracking global"" 2023-03-30 12:23:02 +01:00
rust rust: print: avoid evaluating arguments in pr_* macros in unsafe blocks 2023-02-06 08:06:34 +01:00
samples This is the 6.1.9 stable release 2023-02-01 09:12:59 +00:00
scripts ANDROID: GKI: Multi arch exports protection support 2023-03-29 23:11:03 +00:00
security Merge 6.1.16 into android14-6.1 2023-03-13 15:45:34 +00:00
sound Merge 6.1.21 into android14-6.1 2023-03-24 08:47:17 +00:00
tools Merge 6.1.21 into android14-6.1 2023-03-24 08:47:17 +00:00
usr usr/gen_init_cpio.c: remove unnecessary -1 values from int file 2022-10-03 14:21:44 -07:00
virt KVM: Register /dev/kvm as the _very_ last thing during initialization 2023-03-10 09:34:11 +01:00
.clang-format inet: ping: use hlist_nulls rcu iterator during lookup 2022-12-01 12:42:46 +01:00
.cocciconfig scripts: add Linux .cocciconfig for coccinelle 2016-07-22 12:13:39 +02:00
.get_maintainer.ignore get_maintainer: add Alan to .get_maintainer.ignore 2022-08-20 15:17:44 -07:00
.gitattributes .gitattributes: use 'dts' diff driver for dts files 2019-12-04 19:44:11 -08:00
.gitignore Kbuild: add Rust support 2022-09-28 09:02:20 +02:00
.mailmap 9 hotfixes. 6 for MM, 3 for other areas. Four of these patches address 2022-12-10 17:10:52 -08:00
.rustfmt.toml rust: add .rustfmt.toml 2022-09-28 09:02:20 +02:00
BUILD.bazel ANDROID: GKI: Multi arch exports protection support 2023-03-29 23:11:03 +00:00
build.config.aarch64 ANDROID: Move NDK_TRIPLE to build.config.constants. 2023-02-14 14:13:51 -08:00
build.config.allmodconfig ANDROID: Disable AF_RXRPC for allmodconfig. 2023-03-15 14:09:33 +00:00
build.config.allmodconfig.aarch64 ANDROID: drop KERNEL_DIR setting in build.config.common 2020-08-31 15:20:37 +00:00
build.config.allmodconfig.arm ANDROID: drop KERNEL_DIR setting in build.config.common 2020-08-31 15:20:37 +00:00
build.config.allmodconfig.x86_64 ANDROID: drop KERNEL_DIR setting in build.config.common 2020-08-31 15:20:37 +00:00
build.config.amlogic ANDROID: GKI: amlogic: add DTB overlays 2021-02-11 12:23:26 +00:00
build.config.arm ANDROID: build.config: set NDK_TRIPLE 2022-04-05 14:09:03 -07:00
build.config.common ANDROID: 3/29/2023 KMI update 2023-03-30 12:23:05 +01:00
build.config.constants ANDROID: clang: update to 17.0.0 2023-03-28 17:12:02 +00:00
build.config.db845c ANDROID: Convert db845c to a mixed build. 2022-09-06 23:21:51 +00:00
build.config.gki ANDROID: GKI: Source GKI_BUILD_CONFIG_FRAGMENT after setting all variables 2022-12-27 13:52:08 -08:00
build.config.gki_kasan ANDROID: build.config: re-disable LTO properly for KASAN 2022-03-24 12:41:35 -07:00
build.config.gki_kasan.aarch64 ANDROID: drop KERNEL_DIR setting in build.config.common 2020-08-31 15:20:37 +00:00
build.config.gki_kasan.x86_64 ANDROID: drop KERNEL_DIR setting in build.config.common 2020-08-31 15:20:37 +00:00
build.config.gki_kprobes ANDROID: build.configs: migrate away from CC_LD_ARG 2021-07-02 09:49:23 +00:00
build.config.gki_kprobes.aarch64 ANDROID: Adding kprobes build configs for Cuttlefish 2021-03-01 15:29:45 +00:00
build.config.gki_kprobes.x86_64 ANDROID: Adding kprobes build configs for Cuttlefish 2021-03-01 15:29:45 +00:00
build.config.gki-debug.aarch64 ANDROID: drop KERNEL_DIR setting in build.config.common 2020-08-31 15:20:37 +00:00
build.config.gki-debug.x86_64 ANDROID: drop KERNEL_DIR setting in build.config.common 2020-08-31 15:20:37 +00:00
build.config.gki.aarch64 ANDROID: GKI: Source GKI_BUILD_CONFIG_FRAGMENT after setting all variables 2022-12-27 13:52:08 -08:00
build.config.gki.aarch64.16k ANDROID: 16k target: don't write defconfig to source tree 2022-10-03 11:24:35 -07:00
build.config.gki.aarch64.fips140 ANDROID: fips140: add kernel crypto module 2023-01-09 21:33:43 +00:00
build.config.gki.riscv64 ANDROID: GKI: Source GKI_BUILD_CONFIG_FRAGMENT after setting all variables 2022-12-27 13:52:08 -08:00
build.config.gki.x86_64 ANDROID: GKI: Source GKI_BUILD_CONFIG_FRAGMENT after setting all variables 2022-12-27 13:52:08 -08:00
build.config.khwasan ANDROID: Add a build config fragment for KHWASan. 2021-10-13 19:44:44 +00:00
build.config.riscv64 ANDROID: GKI: Add 64-bit RISC-V config 2022-12-08 20:01:15 +00:00
build.config.rockpi4 ANDROID: rockpi4: Use new DTS_EXT_DIR feature 2021-12-13 21:27:46 +00:00
build.config.x86_64 ANDROID: Move NDK_TRIPLE to build.config.constants. 2023-02-14 14:13:51 -08:00
COPYING COPYING: state that all contributions really are covered by this file 2020-02-10 13:32:20 -08:00
CREDITS MAINTAINERS: Remove Michal Marek from Kbuild maintainers 2022-11-16 14:53:00 +09:00
Kbuild Kbuild updates for v6.1 2022-10-10 12:00:45 -07:00
Kconfig ANDROID: kbuild: add Kconfig support for external modules 2021-12-13 18:33:18 +00:00
Kconfig.ext ANDROID: kbuild: add Kconfig support for external modules 2021-12-13 18:33:18 +00:00
MAINTAINERS Merge remote-tracking branch 'aosp/upstream-f2fs-stable-linux-6.1.y' into android14-6.1 2023-03-15 09:35:23 -07:00
Makefile Merge 6.1.21 into android14-6.1 2023-03-24 08:47:17 +00:00
modules.bzl ANDROID: GKI: Fix linter warning 2022-12-01 13:06:20 +00:00
OWNERS ANDROID: add smuckle to OWNERS 2022-06-18 10:41:40 -07:00
OWNERS_DrNo ANDROID: Updating OWNERS_DrNo 2022-08-22 16:34:52 +00:00
README Drop all 00-INDEX files from Documentation/ 2018-09-09 15:08:58 -06:00
README.md ANDROID: README.md: fix checkpatch.pl path typo 2021-04-07 23:16:50 +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.

    • 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)