Commit Graph

41 Commits

Author SHA1 Message Date
Todd Kjos 04a8e247ec ANDROID: GKI: 6/1/2022 KMI update
Set KMI_GENERATION=6 for 6/1 KMI update

Leaf changes summary: 4422 artifacts changed
Changed leaf types summary: 9 leaf types changed
Removed/Changed/Added functions summary: 123 Removed, 4189 Changed, 27 Added functions
Removed/Changed/Added variables summary: 2 Removed, 70 Changed, 2 Added variables

123 Removed functions:

  [D] 'function sk_buff* __cfg80211_alloc_event_skb(wiphy*, wireless_dev*, nl80211_commands, nl80211_attrs, unsigned int, int, int, gfp_t)'
  [D] 'function sk_buff* __cfg80211_alloc_reply_skb(wiphy*, nl80211_commands, nl80211_attrs, int)'
  [D] 'function void __cfg80211_radar_event(wiphy*, cfg80211_chan_def*, bool, gfp_t)'
  [D] 'function void __cfg80211_send_event_skb(sk_buff*, gfp_t)'
  [D] 'function int __traceiter_android_vh_gic_v3_set_affinity(void*, irq_data*, const cpumask*, u64*, bool, void*)'
  [D] 'function void cfg80211_assoc_timeout(net_device*, cfg80211_bss*)'
  [D] 'function void cfg80211_cac_event(net_device*, const cfg80211_chan_def*, nl80211_radar_event, gfp_t)'
  [D] 'function u32 cfg80211_calculate_bitrate(rate_info*)'
  [D] 'function void cfg80211_ch_switch_notify(net_device*, cfg80211_chan_def*)'
  [D] 'function void cfg80211_chandef_create(cfg80211_chan_def*, ieee80211_channel*, nl80211_channel_type)'
  [D] 'function unsigned int cfg80211_classify8021d(sk_buff*, cfg80211_qos_map*)'
  [D] 'function void cfg80211_connect_done(net_device*, cfg80211_connect_resp_params*, gfp_t)'
  [D] 'function void cfg80211_cqm_rssi_notify(net_device*, nl80211_cqm_rssi_threshold_event, s32, gfp_t)'
  [D] 'function void cfg80211_cqm_txe_notify(net_device*, const u8*, u32, u32, u32, gfp_t)'
  [D] 'function void cfg80211_del_sta_sinfo(net_device*, const u8*, station_info*, gfp_t)'
  [D] 'function void cfg80211_disconnected(net_device*, u16, const u8*, size_t, bool, gfp_t)'
  [D] 'function int cfg80211_external_auth_request(net_device*, cfg80211_external_auth_params*, gfp_t)'
  [D] 'function const element* cfg80211_find_elem_match(u8, const u8*, unsigned int, const u8*, unsigned int, unsigned int)'
  [D] 'function const element* cfg80211_find_vendor_elem(unsigned int, int, const u8*, unsigned int)'
  [D] 'function void cfg80211_ft_event(net_device*, cfg80211_ft_event_params*)'
  [D] 'function cfg80211_bss* cfg80211_get_bss(wiphy*, ieee80211_channel*, const u8*, const u8*, size_t, ieee80211_bss_type, ieee80211_privacy)'
  [D] 'function void cfg80211_gtk_rekey_notify(net_device*, const u8*, const u8*, gfp_t)'
  [D] 'function void cfg80211_ibss_joined(net_device*, const u8*, ieee80211_channel*, gfp_t)'
  [D] 'function cfg80211_bss* cfg80211_inform_bss_data(wiphy*, cfg80211_inform_bss*, cfg80211_bss_frame_type, const u8*, u64, u16, u16, const u8*, size_t, gfp_t)'
  [D] 'function cfg80211_bss* cfg80211_inform_bss_frame_data(wiphy*, cfg80211_inform_bss*, ieee80211_mgmt*, size_t, gfp_t)'
  [D] 'function void cfg80211_mgmt_tx_status(wireless_dev*, u64, const u8*, size_t, bool, gfp_t)'
  [D] 'function void cfg80211_michael_mic_failure(net_device*, const u8*, nl80211_key_type, int, const u8*, gfp_t)'
  [D] 'function void cfg80211_new_sta(net_device*, const u8*, station_info*, gfp_t)'
  [D] 'function void cfg80211_pmksa_candidate_notify(net_device*, int, const u8*, bool, gfp_t)'
  [D] 'function void cfg80211_port_authorized(net_device*, const u8*, gfp_t)'
  [D] 'function void cfg80211_put_bss(wiphy*, cfg80211_bss*)'
  [D] 'function void cfg80211_ready_on_channel(wireless_dev*, u64, ieee80211_channel*, unsigned int, gfp_t)'
  [D] 'function int cfg80211_register_netdevice(net_device*)'
  [D] 'function void cfg80211_remain_on_channel_expired(wireless_dev*, u64, ieee80211_channel*, gfp_t)'
  [D] 'function void cfg80211_report_wowlan_wakeup(wireless_dev*, cfg80211_wowlan_wakeup*, gfp_t)'
  [D] 'function void cfg80211_roamed(net_device*, cfg80211_roam_info*, gfp_t)'
  [D] 'function void cfg80211_rx_assoc_resp(net_device*, cfg80211_bss*, const u8*, size_t, int, const u8*, size_t)'
  [D] 'function bool cfg80211_rx_control_port(net_device*, sk_buff*, bool)'
  [D] 'function bool cfg80211_rx_mgmt_khz(wireless_dev*, int, int, const u8*, size_t, u32)'
  [D] 'function void cfg80211_rx_mlme_mgmt(net_device*, const u8*, size_t)'
  [D] 'function void cfg80211_rx_unprot_mlme_mgmt(net_device*, const u8*, size_t)'
  [D] 'function void cfg80211_scan_done(cfg80211_scan_request*, cfg80211_scan_info*)'
  [D] 'function void cfg80211_sched_scan_results(wiphy*, u64)'
  [D] 'function void cfg80211_sched_scan_stopped(wiphy*, u64)'
  [D] 'function void cfg80211_stop_iface(wiphy*, wireless_dev*, gfp_t)'
  [D] 'function void cfg80211_tdls_oper_request(net_device*, const u8*, nl80211_tdls_operation, u16, gfp_t)'
  [D] 'function void cfg80211_tx_mlme_mgmt(net_device*, const u8*, size_t, bool)'
  [D] 'function void cfg80211_unlink_bss(wiphy*, cfg80211_bss*)'
  [D] 'function void cfg80211_unregister_wdev(wireless_dev*)'
  [D] 'function void cfg80211_update_owe_info_event(net_device*, cfg80211_update_owe_info*, gfp_t)'
  [D] 'function unsigned int cfg80211_vendor_cmd_get_sender(wiphy*)'
  [D] 'function int cfg80211_vendor_cmd_reply(sk_buff*)'
  [D] 'function const ieee80211_reg_rule* freq_reg_info(wiphy*, u32)'
  [D] 'function ieee80211_hw* ieee80211_alloc_hw_nm(size_t, const ieee80211_ops*, const char*)'
  [D] 'function bool ieee80211_beacon_cntdwn_is_complete(ieee80211_vif*)'
  [D] 'function sk_buff* ieee80211_beacon_get_template(ieee80211_hw*, ieee80211_vif*, ieee80211_mutable_offsets*)'
  [D] 'function sk_buff* ieee80211_beacon_get_tim(ieee80211_hw*, ieee80211_vif*, u16*, u16*)'
  [D] 'function void ieee80211_beacon_loss(ieee80211_vif*)'
  [D] 'function u8 ieee80211_beacon_update_cntdwn(ieee80211_vif*)'
  [D] 'function const element* ieee80211_bss_get_elem(cfg80211_bss*, u8)'
  [D] 'function u32 ieee80211_channel_to_freq_khz(int, nl80211_band)'
  [D] 'function void ieee80211_connection_loss(ieee80211_vif*)'
  [D] 'function void ieee80211_csa_finish(ieee80211_vif*)'
  [D] 'function ieee80211_sta* ieee80211_find_sta(ieee80211_vif*, const u8*)'
  [D] 'function ieee80211_sta* ieee80211_find_sta_by_ifaddr(ieee80211_hw*, const u8*, const u8*)'
  [D] 'function void ieee80211_free_hw(ieee80211_hw*)'
  [D] 'function void ieee80211_free_txskb(ieee80211_hw*, sk_buff*)'
  [D] 'function int ieee80211_freq_khz_to_channel(u32)'
  [D] 'function sk_buff* ieee80211_get_buffered_bc(ieee80211_hw*, ieee80211_vif*)'
  [D] 'function ieee80211_channel* ieee80211_get_channel_khz(wiphy*, u32)'
  [D] 'function sk_buff* ieee80211_get_fils_discovery_tmpl(ieee80211_hw*, ieee80211_vif*)'
  [D] 'function unsigned int ieee80211_get_hdrlen_from_skb(const sk_buff*)'
  [D] 'function void ieee80211_get_tx_rates(ieee80211_vif*, ieee80211_sta*, sk_buff*, ieee80211_tx_rate*, int)'
  [D] 'function sk_buff* ieee80211_get_unsol_bcast_probe_resp_tmpl(ieee80211_hw*, ieee80211_vif*)'
  [D] 'function unsigned int ieee80211_hdrlen(__le16)'
  [D] 'function void ieee80211_iter_chan_contexts_atomic(ieee80211_hw*, void (ieee80211_hw*, ieee80211_chanctx_conf*, void*)*, void*)'
  [D] 'function void ieee80211_iterate_active_interfaces_atomic(ieee80211_hw*, u32, void (void*, u8*, ieee80211_vif*)*, void*)'
  [D] 'function void ieee80211_iterate_stations_atomic(ieee80211_hw*, void (void*, ieee80211_sta*)*, void*)'
  [D] 'function void ieee80211_manage_rx_ba_offl(ieee80211_vif*, const u8*, unsigned int)'
  [D] 'function ieee80211_txq* ieee80211_next_txq(ieee80211_hw*, u8)'
  [D] 'function bool ieee80211_operating_class_to_band(u8, nl80211_band*)'
  [D] 'function sk_buff* ieee80211_probereq_get(ieee80211_hw*, const u8*, const u8*, size_t, size_t)'
  [D] 'function sk_buff* ieee80211_proberesp_get(ieee80211_hw*, ieee80211_vif*)'
  [D] 'function void ieee80211_queue_delayed_work(ieee80211_hw*, delayed_work*, unsigned long int)'
  [D] 'function void ieee80211_queue_work(ieee80211_hw*, work_struct*)'
  [D] 'function void ieee80211_radar_detected(ieee80211_hw*)'
  [D] 'function void ieee80211_ready_on_channel(ieee80211_hw*)'
  [D] 'function int ieee80211_register_hw(ieee80211_hw*)'
  [D] 'function void ieee80211_remain_on_channel_expired(ieee80211_hw*)'
  [D] 'function void ieee80211_report_low_ack(ieee80211_sta*, u32)'
  [D] 'function void ieee80211_restart_hw(ieee80211_hw*)'
  [D] 'function void ieee80211_return_txq(ieee80211_hw*, ieee80211_txq*, bool)'
  [D] 'function void ieee80211_rx_irqsafe(ieee80211_hw*, sk_buff*)'
  [D] 'function void ieee80211_rx_napi(ieee80211_hw*, ieee80211_sta*, sk_buff*, napi_struct*)'
  [D] 'function void ieee80211_scan_completed(ieee80211_hw*, cfg80211_scan_info*)'
  [D] 'function void ieee80211_sta_register_airtime(ieee80211_sta*, u8, u32, u32)'
  [D] 'function void ieee80211_stop_queue(ieee80211_hw*, int)'
  [D] 'function void ieee80211_stop_queues(ieee80211_hw*)'
  [D] 'function void ieee80211_stop_tx_ba_cb_irqsafe(ieee80211_vif*, const u8*, u16)'
  [D] 'function void ieee80211_tdls_oper_request(ieee80211_vif*, const u8*, nl80211_tdls_operation, u16, gfp_t)'
  [D] 'function sk_buff* ieee80211_tx_dequeue(ieee80211_hw*, ieee80211_txq*)'
  [D] 'function bool ieee80211_tx_prepare_skb(ieee80211_hw*, ieee80211_vif*, sk_buff*, int, ieee80211_sta**)'
  [D] 'function void ieee80211_tx_rate_update(ieee80211_hw*, ieee80211_sta*, ieee80211_tx_info*)'
  [D] 'function void ieee80211_tx_status(ieee80211_hw*, sk_buff*)'
  [D] 'function void ieee80211_tx_status_irqsafe(ieee80211_hw*, sk_buff*)'
  [D] 'function void ieee80211_txq_get_depth(ieee80211_txq*, unsigned long int*, unsigned long int*)'
  [D] 'function bool ieee80211_txq_may_transmit(ieee80211_hw*, ieee80211_txq*)'
  [D] 'function void ieee80211_txq_schedule_start(ieee80211_hw*, u8)'
  [D] 'function void ieee80211_unregister_hw(ieee80211_hw*)'
  [D] 'function void ieee80211_wake_queue(ieee80211_hw*, int)'
  [D] 'function void ieee80211_wake_queues(ieee80211_hw*)'
  [D] 'function const char* reg_initiator_name(nl80211_reg_initiator)'
  [D] 'function int regulatory_hint(wiphy*, const char*)'
  [D] 'function int regulatory_set_wiphy_regd(wiphy*, ieee80211_regdomain*)'
  [D] 'function int regulatory_set_wiphy_regd_sync(wiphy*, ieee80211_regdomain*)'
  [D] 'function void wiphy_apply_custom_regulatory(wiphy*, const ieee80211_regdomain*)'
  [D] 'function void wiphy_free(wiphy*)'
  [D] 'function wiphy* wiphy_new_nm(const cfg80211_ops*, int, const char*)'
  [D] 'function void wiphy_read_of_freq_limits(wiphy*)'
  [D] 'function int wiphy_register(wiphy*)'
  [D] 'function void wiphy_rfkill_set_hw_state_reason(wiphy*, bool, rfkill_hard_block_reasons)'
  [D] 'function ieee80211_hw* wiphy_to_ieee80211_hw(wiphy*)'
  [D] 'function void wiphy_unregister(wiphy*)'

27 Added functions:

  [A] 'function void* __alloc_percpu_gfp(size_t, size_t, gfp_t)'
  [A] 'function int __dev_change_net_namespace(net_device*, net*, const char*, int)'
  [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 int __sock_create(net*, int, int, int, socket**, int)'
  [A] 'function int __traceiter_android_rvh_gic_v3_set_affinity(void*, irq_data*, const cpumask*, u64*, bool, void*)'
  [A] 'function void dev_fetch_sw_netstats(rtnl_link_stats64*, const pcpu_sw_netstats*)'
  [A] 'function int genlmsg_multicast_allns(const genl_family*, sk_buff*, u32, unsigned int, gfp_t)'
  [A] 'function net* get_net_ns_by_fd(int)'
  [A] 'function net* get_net_ns_by_pid(pid_t)'
  [A] 'function int inet_csk_get_port(sock*, unsigned short int)'
  [A] 'function void kernel_param_lock(module*)'
  [A] 'function void kernel_param_unlock(module*)'
  [A] 'function key_ref_t key_create_or_update(key_ref_t, const char*, const char*, void*, size_t, key_perm_t, unsigned long int)'
  [A] 'function ktime_t ktime_get_coarse_with_offset(tk_offsets)'
  [A] 'function void netdev_set_default_ethtool_ops(net_device*, const ethtool_ops*)'
  [A] 'function bool rfkill_blocked(rfkill*)'
  [A] 'function void rfkill_resume_polling(rfkill*)'
  [A] 'function bool rfkill_set_hw_state_reason(rfkill*, bool, unsigned long int)'
  [A] 'function void rhashtable_free_and_destroy(rhashtable*, void (void*, void*)*, void*)'
  [A] 'function int rhltable_init(rhltable*, const rhashtable_params*)'
  [A] 'function unsigned long int round_jiffies(unsigned long int)'
  [A] 'function sk_buff* skb_clone_sk(sk_buff*)'
  [A] 'function void skb_complete_wifi_ack(sk_buff*, bool)'
  [A] 'function int verify_pkcs7_signature(void*, size_t, void*, size_t, key*, key_being_used_for, int (void*, void*, typedef size_t, typedef size_t)*, void*)'
  [A] 'function void wireless_nlevent_flush()'

4189 functions with some sub-type change:

  [C] 'function block_device* I_BDEV(inode*)' at bdev.c:42:1 has some sub-type changes:
    CRC (modversions) changed from 0xf7fad46b to 0x9f8a3196

  [C] 'function void* PDE_DATA(const inode*)' at generic.c:794:1 has some sub-type changes:
    CRC (modversions) changed from 0x81aa91e0 to 0xec8a2781

  [C] 'function void __ClearPageMovable(page*)' at compaction.c:138:1 has some sub-type changes:
    CRC (modversions) changed from 0xdc002f78 to 0x84c84632

  ... 4186 omitted; 4189 symbols have only CRC changes

2 Removed variables:

  [D] 'tracepoint __tracepoint_android_vh_gic_v3_set_affinity'
  [D] 'const unsigned char rfc1042_header[6]'

2 Added variables:

  [A] 'tracepoint __tracepoint_android_rvh_gic_v3_set_affinity'
  [A] 'const kobj_ns_type_operations net_ns_type_operations'

70 Changed variables:

  [C] 'net init_net' was changed at net_namespace.c:47:1:
    CRC (modversions) changed from 0xd8c32acb to 0x2915d0ff
    type of variable changed:
      type size hasn't changed
      there are data member changes:
        type 'struct netns_ipv6' of 'net::ipv6' changed:
          type size hasn't changed
          there are data member changes:
            type 'unsigned int' of 'netns_ipv6::ip6_rt_gc_expire' changed:
              entity changed from 'unsigned int' to 'typedef atomic_t' at types.h:168:1
              type size hasn't changed
          4684 impacted interfaces
      4684 impacted interfaces

  [C] 'task_struct init_task' was changed at init_task.c:64:1:
    size of symbol changed from 4352 to 4416
    CRC (modversions) changed from 0x5dc6c1c1 to 0x77bbf7a8
    type of variable changed:
      type size changed from 34816 to 35328 (in bits)
      1 data member insertion:
        'timer_list oom_reaper_timer', at offset 21120 (in bits) at sched.h:1449:1
      there are data member changes:
        8 ('vm_struct* stack_vm_area' .. 'llist_head kretprobe_instances') offsets changed (by +320 bits)
        'thread_struct thread' offset changed (by +384 bits)
      4684 impacted interfaces

  [C] 'bus_type amba_bustype' was changed at bus.c:313:1:
    CRC (modversions) changed from 0x83105e26 to 0xe010f6df

  [C] 'neigh_table arp_tbl' was changed at arp.c:152:1:
    CRC (modversions) changed from 0xd408def7 to 0x4679c0bf

  [C] 'const address_space_operations balloon_aops' was changed at balloon_compaction.c:253:1:
    CRC (modversions) changed from 0x30f2c100 to 0x8818681a

  ... 65 omitted; 68 symbols have only CRC changes

'enum android_debug_symbol at android_debug_symbols.h:9:1' changed:
  type size hasn't changed
  1 enumerator insertion:
    'android_debug_symbol::ADS_SHOW_MEM' value '20'
  1 enumerator change:
    'android_debug_symbol::ADS_END' from value '20' to '21' at android_debug_symbols.h:9:1
  one impacted interface
'struct block_device_operations at blkdev.h:1850:1' changed:
  type size changed from 1152 to 1216 (in bits)
  1 data member insertion:
    'u64 android_oem_data1', at offset 1152 (in bits) at blkdev.h:1880:1
  4684 impacted interfaces

'struct net at net_namespace.h:56:1' changed:
  details were reported earlier

'struct netns_ipv6 at ipv6.h:62:1' changed:
  details were reported earlier

'struct nf_conn at nf_conntrack.h:72:1' changed:
  type size hasn't changed
  there are data member changes:
    type 'struct nf_conntrack' of 'nf_conn::ct_general' changed:
      type size hasn't changed
      there are data member changes:
        type 'typedef atomic_t' of 'nf_conntrack::use' changed:
          typedef name changed from atomic_t to refcount_t at refcount.h:113:1
          underlying type 'struct {int counter;}' at types.h:166:1 changed:
            type name changed from '__anonymous_struct__' to 'refcount_struct'
            type size hasn't changed
            there are data member changes:
              type 'int' of '__anonymous_struct__::counter' changed:
                entity changed from 'int' to 'typedef atomic_t' at types.h:168:1
                type size hasn't changed
              and name of '__anonymous_struct__::counter' changed to 'refcount_struct::refs' at refcount.h:112:1
      4685 impacted interfaces
  4684 impacted interfaces

'struct nf_conntrack at nf_conntrack_common.h:27:1' changed:
  details were reported earlier

'struct rate_sample at tcp.h:1020:1' changed:
  type size changed from 448 to 512 (in bits)
  1 data member insertion:
    'u32 last_end_seq', at offset 416 (in bits) at tcp.h:1031:1
  there are data member changes:
    3 ('bool is_app_limited' .. 'bool is_ack_delayed') offsets changed (by +32 bits)
  4684 impacted interfaces

'struct task_struct at sched.h:726:1' changed:
  details were reported earlier

'struct wireless_dev at cfg80211.h:5607:1' changed:
  type size hasn't changed
  2 data member deletions:
    'bool ibss_fixed', at offset 2624 (in bits) at cfg80211.h:5644:1
    'bool ibss_dfs_possible', at offset 2632 (in bits) at cfg80211.h:5645:1
  there are data member changes:
    'bool ps' offset changed (by -16 bits)
  4684 impacted interfaces

Bug: 234477785
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: If59e281740f5122ac6195f26a24a566e6a23fe9d
2022-06-01 09:32:36 -07:00
Todd Kjos 53b459a3ba ANDROID: GKI: 5/18/2022 KMI update
Set KMI_GENERATION=6 for 5/18 KMI update

Leaf changes summary: 1784 artifacts changed
Changed leaf types summary: 4 leaf types changed
Removed/Changed/Added functions summary: 2 Removed, 1754 Changed, 2
Added functions
Removed/Changed/Added variables summary: 2 Removed, 18 Changed, 2 Added
variables

2 Removed functions:

  [D] 'function int __traceiter_android_vh_psci_cpu_suspend(void*, u32,
		  bool*)'
    [D] 'function int __traceiter_android_vh_psci_tos_resident_on(void*,
		    int, bool*)'

    2 Added functions:

      [A] 'function int __traceiter_android_rvh_psci_cpu_suspend(void*,
		      u32, bool*)'
        [A] 'function int
	__traceiter_android_rvh_psci_tos_resident_on(void*, int, bool*)'

	1754 functions with some sub-type change:

	  [C] 'function block_device* I_BDEV(inode*)' at bdev.c:42:1 has
	  some sub-type changes:
	      CRC (modversions) changed from 0x9d45579c to 0xf7fad46b

	        [C] 'function void __ClearPageMovable(page*)' at
		compaction.c:138:1 has some sub-type changes:
		    CRC (modversions) changed from 0xb7f236cd to
		    0xdc002f78

		      [C] 'function void __SetPageMovable(page*,
				      address_space*)' at
		      compaction.c:130:1 has some sub-type changes:
		          CRC (modversions) changed from 0x564ffa3e to
			  0x979729d2

			    ... 1751 omitted; 1754 symbols have only CRC
			    changes

			    2 Removed variables:

			      [D] 'tracepoint
			      __tracepoint_android_vh_psci_cpu_suspend'
			        [D] 'tracepoint
				__tracepoint_android_vh_psci_tos_resident_on'

				2 Added variables:

				  [A] 'tracepoint
				  __tracepoint_android_rvh_psci_cpu_suspend'
				    [A] 'tracepoint
				    __tracepoint_android_rvh_psci_tos_resident_on'

				    18 Changed variables:

				      [C] 'pglist_data contig_page_data'
				      was changed at memblock.c:96:1:
				          size of symbol changed from
					  6976 to 7040
					      CRC (modversions) changed
					      from 0x2974558a to
					      0x60bf241
					          type of variable
						  changed:
						        type size
							changed from
							55808 to 56320
							      (in bits)
	      there are data member changes:
	              type 'struct lruvec' of 'pglist_data::__lruvec'
		      changed:
		                type size changed from 9664 to 9728 (in
						bits)
				          1 data member insertion:
					              'u64
						      android_vendor_data1',
						      at offset 9664 (in
								      bits)
						      at mmzone.h:525:1
						                4765
								impacted
								interfaces
								        2
									('unsigned
									 long
									 int
									 flags'
									 ..
									 'lru_gen_mm_walk
									 mm_walk')
									offsets
									changed
									(by
									 +64
									 bits)
									        3
										('zone_padding
										 _pad2_'
										 ..
										 'atomic_long_t
										 vm_stat[40]')
										offsets
										changed
										(by
										 +512
										 bits)
										      4765
										      impacted
										      interfaces

										        [C]
											'bus_type
											amba_bustype'
											was
											changed
											at
											bus.c:313:1:
											    CRC
											    (modversions)
	changed from 0x8ecdac8f to 0x83105e26

	  [C] 'neigh_table arp_tbl' was changed at arp.c:152:1:
	      CRC (modversions) changed from 0x8cf461b2 to 0xd408def7

	        [C] 'bio_set fs_bio_set' was changed at bio.c:66:1:
		    CRC (modversions) changed from 0x8266552 to
		    0x63bae3a3

		      ... 14 omitted; 17 symbols have only CRC changes

		      'struct lruvec at mmzone.h:499:1' changed:
		        details were reported earlier

			'struct mem_cgroup_per_node at
			memcontrol.h:137:1' changed:
			  type size changed from 16384 to 16448 (in
					  bits)
			    there are data member changes:
			        type 'struct lruvec' of
				'mem_cgroup_per_node::lruvec' changed,
				as reported earlier
				    9 ('lruvec_stats_percpu*
				      lruvec_stats_percpu' ..
				      'mem_cgroup* memcg') offsets
				    changed (by +64 bits)
	  4765 impacted interfaces

	  'struct pglist_data at mmzone.h:1008:1' changed:
	    details were reported earlier

	    'struct regmap_config at regmap.h:354:1' changed:
	      type size changed from 2240 to 2304 (in bits)
	  1 data member insertion:
	      'int (void*, unsigned int, unsigned int, unsigned int)*
	      reg_update_bits', at offset 960 (in bits) at
	      regmap.h:381:1
	        there are data member changes:
		    30 ('bool fast_io' .. 'u64 android_kabi_reserved1')
		       offsets changed (by +64 bits)
	  9 impacted interfaces

Bug: 232993642
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: I1b049fa342be09f0badf4e7841f7497d9f9f95f3
2022-05-17 17:45:43 -07:00
Todd Kjos 5de988a7af ANDROID: GKI: 5/4/2022 KMI update
Set KMI_GENERATION=5 for 5/4 KMI update
Leaf changes summary: 4717 artifacts changed (1 filtered out)
Changed leaf types summary: 377 (1 filtered out) leaf types changed
Removed/Changed/Added functions summary: 1 Removed, 4270 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 68 Changed, 1 Added variable

1 Removed function:

  [D] 'function int pfn_valid(unsigned long int)'

4270 functions with some sub-type change:

  [C] 'function int __traceiter_android_rvh_after_enqueue_task(void*, rq*, task_struct*)' at sched.h:321:1 has some sub-type changes:
    CRC (modversions) changed from 0xa43e5e73 to 0x39adf44b
    parameter 4 of type 'int' was added

  [C] 'function block_device* I_BDEV(inode*)' at bdev.c:42:1 has some sub-type changes:
    CRC (modversions) changed from 0xc064ebfb to 0x9d45579c

  [C] 'function void* PDE_DATA(const inode*)' at generic.c:794:1 has some sub-type changes:
    CRC (modversions) changed from 0x4a14ef3 to 0x81aa91e0

  [C] 'function void __ClearPageMovable(page*)' at compaction.c:138:1 has some sub-type changes:
    CRC (modversions) changed from 0x52304186 to 0xb7f236cd

  ... 4266 omitted; 4269 symbols have only CRC changes

1 Added variable:

  [A] 'mem_section** mem_section'

68 Changed variables:

  [C] 'bus_type amba_bustype' was changed at bus.c:313:1:
    size of symbol changed from 176 to 208
    CRC (modversions) changed from 0x1059aefa to 0x8ecdac8f
    type of variable changed:
      type size changed from 1408 to 1664 (in bits)
      4 data member insertions:
        'u64 android_kabi_reserved1', at offset 1408 (in bits) at bus.h:116:1
        'u64 android_kabi_reserved2', at offset 1472 (in bits) at bus.h:117:1
        'u64 android_kabi_reserved3', at offset 1536 (in bits) at bus.h:118:1
        'u64 android_kabi_reserved4', at offset 1600 (in bits) at bus.h:119:1
      4649 impacted interfaces

  [C] 'neigh_table arp_tbl' was changed at arp.c:152:1:
    size of symbol changed from 488 to 536
    CRC (modversions) changed from 0x321ac83d to 0x8cf461b2
    type of variable changed:
      type size changed from 3904 to 4288 (in bits)
      1 data member insertion:
        'u64 android_kabi_reserved1', at offset 4224 (in bits) at neighbour.h:236:1
      there are data member changes:
        type 'struct neigh_parms' of 'neigh_table::parms' changed:
          type size changed from 1152 to 1216 (in bits)
          1 data member insertion:
            'u64 android_kabi_reserved1', at offset 1152 (in bits) at neighbour.h:88:1
          4649 impacted interfaces
        6 ('list_head parms_list' .. 'unsigned long int last_flush') offsets changed (by +64 bits)
        type 'struct delayed_work' of 'neigh_table::gc_work' changed:
          type size changed from 704 to 960 (in bits)
          2 data member insertions:
            'u64 android_kabi_reserved1', at offset 832 (in bits) at workqueue.h:121:1
            'u64 android_kabi_reserved2', at offset 896 (in bits) at workqueue.h:122:1
          there are data member changes:
            type 'struct work_struct' of 'delayed_work::work' changed:
              type size changed from 256 to 384 (in bits)
              2 data member insertions:
                'u64 android_kabi_reserved1', at offset 256 (in bits) at workqueue.h:105:1
                'u64 android_kabi_reserved2', at offset 320 (in bits) at workqueue.h:106:1
              4663 impacted interfaces
            3 ('timer_list timer' .. 'int cpu') offsets changed (by +128 bits)
          4649 impacted interfaces
        and offset changed from 2176 to 2240 (in bits) (by +64 bits)
        10 ('timer_list proxy_timer' .. 'pneigh_entry** phash_buckets') offsets changed (by +320 bits)
      4649 impacted interfaces

  [C] 'const address_space_operations balloon_aops' was changed at balloon_compaction.c:253:1:
    size of symbol changed from 176 to 208
    CRC (modversions) changed from 0xce92e8cd to 0x30f2c100
    type of variable changed:

  [C] 'bus_type cpu_subsys' was changed at cpu.c:128:1:
    size of symbol changed from 176 to 208
    CRC (modversions) changed from 0x6dc9dbb0 to 0x1a7625e3
    type 'struct bus_type' changed at bus.h:82:1, as reported earlier

  [C] 'bio_set fs_bio_set' was changed at bio.c:66:1:
    size of symbol changed from 248 to 296
    CRC (modversions) changed from 0xc115b177 to 0x8266552
    type of variable changed:
      type size changed from 1984 to 2368 (in bits)
      4 data member insertions:
        'u64 android_kabi_reserved1', at offset 2112 (in bits) at bio.h:695:1
        'u64 android_kabi_reserved2', at offset 2176 (in bits) at bio.h:696:1
        'u64 android_kabi_reserved3', at offset 2240 (in bits) at bio.h:697:1
        'u64 android_kabi_reserved4', at offset 2304 (in bits) at bio.h:698:1
      there are data member changes:
        type 'struct work_struct' of 'bio_set::rescue_work' changed, as reported earlier
        2 ('workqueue_struct* rescue_workqueue' .. 'hlist_node cpuhp_dead') offsets changed (by +128 bits)
      4649 impacted interfaces

  [C] 'const file_operations generic_ro_fops' was changed at read_write.c:28:1:
    size of symbol changed from 256 to 288
    CRC (modversions) changed from 0x5cdc8899 to 0xe677c726
    type of variable changed:

  [C] 'bus_type i2c_bus_type' was changed at i2c-core-base.c:675:1:
    size of symbol changed from 176 to 208
    CRC (modversions) changed from 0xc94b3acf to 0x867a7a98
    type 'struct bus_type' changed at bus.h:82:1, as reported earlier

  [C] 'net init_net' was changed at net_namespace.c:47:1:
    size of symbol changed from 3648 to 3712
    CRC (modversions) changed from 0x6844c3c8 to 0x2790bfc0
    type of variable changed:
      type size changed from 29184 to 29696 (in bits)
      there are data member changes:
        type 'struct netns_ipv4' of 'net::ipv4' changed:
          type size hasn't changed
          2 data member insertions:
            'unsigned long int* sysctl_local_unbindable_ports', at offset 4480 (in bits) at ipv4.h:202:1
            'u64 android_kabi_reserved1', at offset 4992 (in bits) at ipv4.h:229:1
          there are data member changes:
            7 ('int sysctl_ip_prot_sock' .. 'siphash_key_t ip_id_key') offsets changed (by +64 bits)
          4649 impacted interfaces
        type 'struct netns_ipv6' of 'net::ipv6' changed:
          type size hasn't changed
          1 data member insertion:
            'u64 android_kabi_reserved1', at offset 5440 (in bits) at ipv6.h:120:1
          there are data member changes:
            type 'struct netns_sysctl_ipv6' of 'netns_ipv6::sysctl' changed:
              type size changed from 1472 to 1536 (in bits)
              1 data member insertion:
                'u64 android_kabi_reserved1', at offset 1472 (in bits) at ipv6.h:59:1
              4649 impacted interfaces
            35 ('ipv6_devconf* devconf_all' .. 'ioam6_pernet_data* ioam6_data') offsets changed (by +64 bits)
          4649 impacted interfaces
        type 'struct netns_nf' of 'net::nf' changed:
          type size changed from 1856 to 1920 (in bits)
          1 data member insertion:
            'u64 android_kabi_reserved1', at offset 1856 (in bits) at netfilter.h:38:1
          4649 impacted interfaces
        4 ('netns_ct ct' .. 'netns_bpf bpf') offsets changed (by +64 bits)
        type 'struct netns_xfrm' of 'net::xfrm' changed:
          type size changed from 6656 to 7168 (in bits)
          1 data member insertion:
            'u64 android_kabi_reserved1', at offset 7040 (in bits) at xfrm.h:91:1
          there are data member changes:
            type 'struct work_struct' of 'netns_xfrm::state_hash_work' changed, as reported earlier
            6 ('list_head policy_all' .. 'unsigned int policy_count[6]') offsets changed (by +128 bits)
            type 'struct work_struct' of 'netns_xfrm::policy_hash_work' changed, as reported earlier
            and offset changed from 1728 to 1856 (in bits) (by +128 bits)
            type 'struct xfrm_policy_hthresh' of 'netns_xfrm::policy_hthresh' changed:
              type size changed from 384 to 512 (in bits)
              there are data member changes:
                type 'struct work_struct' of 'xfrm_policy_hthresh::work' changed, as reported earlier
                5 ('seqlock_t lock' .. 'u8 rbits6') offsets changed (by +128 bits)
              4649 impacted interfaces
            and offset changed from 1984 to 2240 (in bits) (by +256 bits)
            9 ('list_head inexact_bins' .. 'ctl_table_header* sysctl_hdr') offsets changed (by +384 bits)
            7 ('dst_ops xfrm4_dst_ops' .. 'mutex xfrm_cfg_mutex') offsets changed (by +512 bits)
          4649 impacted interfaces
        'u64 net_cookie' offset changed (by +512 bits)
        type 'struct netns_can' of 'net::can' changed:
          type size changed from 1280 to 1344 (in bits)
          1 data member insertion:
            'u64 android_kabi_reserved1', at offset 1280 (in bits) at can.h:40:1
          4649 impacted interfaces
        and offset changed from 27200 to 27712 (in bits) (by +512 bits)
        2 ('netns_xdp xdp' .. 'sock* diag_nlsk') offsets changed (by +576 bits)
      4649 impacted interfaces

  [C] 'user_namespace init_user_ns' was changed at user.c:27:1:
    size of symbol changed from 608 to 624
    CRC (modversions) changed from 0xf849d43d to 0x6ceacfc9
    type of variable changed:
      type size changed from 4864 to 4992 (in bits)
      there are data member changes:
        type 'struct work_struct' of 'user_namespace::work' changed, as reported earlier
        4 ('ctl_table_set set' .. 'long int ucount_max[14]') offsets changed (by +128 bits)
      4649 impacted interfaces

  [C] 'neigh_table nd_tbl' was changed at ndisc.c:109:1:
    size of symbol changed from 488 to 536
    CRC (modversions) changed from 0x713bbb22 to 0x86f4247c
    type 'struct neigh_table' changed at neighbour.h:194:1, as reported earlier

  [C] 'bus_type pci_bus_type' was changed at pci-driver.c:1613:1:
    size of symbol changed from 176 to 208
    CRC (modversions) changed from 0x6d6357a5 to 0x453f4cb9
    type 'struct bus_type' changed at bus.h:82:1, as reported earlier

  [C] 'device platform_bus' was changed at platform.c:40:1:
    size of symbol changed from 760 to 856
    CRC (modversions) changed from 0xf8dec0bf to 0x114ef4af
    type of variable changed:
      type size changed from 6080 to 6848 (in bits)
      8 data member insertions:
        'u64 android_kabi_reserved1', at offset 6336 (in bits) at device.h:579:1
        'u64 android_kabi_reserved2', at offset 6400 (in bits) at device.h:580:1
        'u64 android_kabi_reserved3', at offset 6464 (in bits) at device.h:581:1
        'u64 android_kabi_reserved4', at offset 6528 (in bits) at device.h:582:1
        'u64 android_kabi_reserved5', at offset 6592 (in bits) at device.h:583:1
        'u64 android_kabi_reserved6', at offset 6656 (in bits) at device.h:584:1
        'u64 android_kabi_reserved7', at offset 6720 (in bits) at device.h:585:1
        'u64 android_kabi_reserved8', at offset 6784 (in bits) at device.h:586:1
      there are data member changes:
        type 'struct dev_pm_info' of 'device::power' changed:
          type size changed from 2432 to 2688 (in bits)
          2 data member insertions:
            'u64 android_kabi_reserved1', at offset 2560 (in bits) at pm.h:629:1
            'u64 android_kabi_reserved2', at offset 2624 (in bits) at pm.h:630:1
          there are data member changes:
            type 'struct work_struct' of 'dev_pm_info::work' changed, as reported earlier
            28 ('wait_queue_head_t wait_queue' .. 'dev_pm_qos* qos') offsets changed (by +128 bits)
          4649 impacted interfaces
        35 ('dev_pm_domain* pm_domain' .. 'bool dma_coherent') offsets changed (by +256 bits)
      4649 impacted interfaces

  [C] 'bus_type platform_bus_type' was changed at platform.c:1474:1:
    size of symbol changed from 176 to 208
    CRC (modversions) changed from 0xed0b62e0 to 0x93b4b1a5
    type 'struct bus_type' changed at bus.h:82:1, as reported earlier

  [C] 'task_group root_task_group' was changed at core.c:9446:1:
    size of symbol changed from 448 to 512
    CRC (modversions) changed from 0xed7cd4c4 to 0x7f0f8ca8
    type of variable changed:
      type size changed from 3584 to 4096 (in bits)
      there are data member changes:
        type 'struct cgroup_subsys_state' of 'task_group::css' changed:
          type size changed from 1600 to 1856 (in bits)
          there are data member changes:
            type 'struct work_struct' of 'cgroup_subsys_state::destroy_work' changed, as reported earlier
            type 'struct rcu_work' of 'cgroup_subsys_state::destroy_rwork' changed:
              type size changed from 448 to 576 (in bits)
              there are data member changes:
                type 'struct work_struct' of 'rcu_work::work' changed, as reported earlier
                2 ('callback_head rcu' .. 'workqueue_struct* wq') offsets changed (by +128 bits)
              4649 impacted interfaces
            and offset changed from 1088 to 1216 (in bits) (by +128 bits)
            'cgroup_subsys_state* parent' offset changed (by +256 bits)
          4649 impacted interfaces
        4 ('sched_entity** se' .. 'int idle') offsets changed (by +256 bits)
        12 ('atomic_long_t load_avg' .. 'u64 android_vendor_data1[4]') offsets changed (by +512 bits)
      4649 impacted interfaces

  [C] 'const dev_pm_ops snd_soc_pm_ops' was changed at soc-core.c:2174:1:
    size of symbol changed from 184 to 192
    CRC (modversions) changed from 0x5a4f39d to 0x43cd1640
    type of variable changed:

  [C] 'bus_type spi_bus_type' was changed at spi.c:431:1:
    size of symbol changed from 176 to 208
    CRC (modversions) changed from 0x645042d to 0xb2a41981
    type 'struct bus_type' changed at bus.h:82:1, as reported earlier

  [C] 'const dev_pm_ops usb_hcd_pci_pm_ops' was changed at hcd-pci.c:614:1:
    size of symbol changed from 184 to 192
    CRC (modversions) changed from 0xf94724c3 to 0xe7e95580
    type of variable changed:

  [C] 'const clk_ops clk_divider_ops' was changed at clk-divider.c:522:1:
    CRC (modversions) changed from 0x6c2689a6 to 0x1def79e2

  [C] 'const clk_ops clk_fixed_factor_ops' was changed at clk-fixed-factor.c:60:1:
    CRC (modversions) changed from 0xd4657fe5 to 0xc28588c1

  [C] 'const clk_ops clk_fixed_rate_ops' was changed at clk-fixed-rate.c:46:1:
    CRC (modversions) changed from 0x380d4e92 to 0xb99af056

  ... 48 omitted; 51 symbols have only CRC changes

Bug: 231314356
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: Ib6a63a0877688bfffdc84963d8178e9878347b64
2022-05-04 16:01:09 -07:00
Lecopzer Chen 7a68c2c451 ANDROID: fix KCFLAGS override by __ANDROID_COMMON_KERNEL__
Our test build is broken by KCFLAGS overrided in build.config.comm.

Since Linux Makefile supports 'export KCFLAGS=XXX' to customize the
KCFLAGS, and we should keep this functionality.

Bug: 230818006
Fixes: 6c55ca2cae ("ANDROID: Add flag to indicate compiling against ACK")
Signed-off-by: Lecopzer Chen <lecopzer.chen@mediatek.com>
Change-Id: I9425d79697bc1fe816ce82d523f91631dee6b8f4
2022-04-29 17:38:47 +00:00
Elliot Berman 6c55ca2cae ANDROID: Add flag to indicate compiling against ACK
Add a flag: __ANDROID_COMMON_KERNEL__ which out-of-tree vendor drivers
can use to check if they are compiling against an Android Common Kernel.
These out-of-tree vendor drivers can use this flag +
LINUX_KERNEL_VERSION to determine if a feature has been backported.

Bug: 229953929
Change-Id: I832344d63f3639479784753edfb7ac405068312f
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
2022-04-28 20:46:27 +00:00
Yifan Hong 71e7a059a0 ANDROID: Suppress build.sh deprecation warnings.
build.sh will continued to be supported in android13-*
branches. To avoid confusion, suppress the deprecation
warnings when executing build.sh on android13-*.

This change also avoids the time delay for inferring
the equivalent Bazel command.

It is still encouraged to migrate build.sh to Bazel.

Test: manually execute build.sh, no deprecation warnings
Bug: 222074706
Change-Id: I8b62a442cb154f43375a9dae6593340c79ba556c
Signed-off-by: Yifan Hong <elsk@google.com>
2022-04-21 00:03:34 +00:00
Todd Kjos 64e9c6784d ANDROID: GKI: 4/20/2022 KMI update
Set KMI_GENERATION=4 for 4/20 KMI update

Leaf changes summary: 3764 artifacts changed
Changed leaf types summary: 9 leaf types changed
Removed/Changed/Added functions summary: 0 Removed, 3690 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 65 Changed, 0 Added variable

3690 functions with some sub-type change:

  [C] 'function block_device* I_BDEV(inode*)' at bdev.c:42:1 has some sub-type changes:
    CRC (modversions) changed from 0x1d77cd33 to 0xc064ebfb

  [C] 'function void* PDE_DATA(const inode*)' at generic.c:794:1 has some sub-type changes:
    CRC (modversions) changed from 0x6a6d7264 to 0x4a14ef3

  [C] 'function void __ClearPageMovable(page*)' at compaction.c:138:1 has some sub-type changes:
    CRC (modversions) changed from 0x2500d324 to 0x52304186

  ... 3687 omitted; 3690 symbols have only CRC changes

65 Changed variables:

  [C] 'pglist_data contig_page_data' was changed at memblock.c:96:1:
    size of symbol changed from 5760 to 6976
    CRC (modversions) changed from 0x42a6e924 to 0xb67ab666
    type of variable changed:
      type size changed from 46080 to 55808 (in bits)
      1 data member insertion:
        'lru_gen_mm_walk mm_walk', at offset 51456 (in bits) at mmzone.h:1109:1
      there are data member changes:
        type 'struct lruvec' of 'pglist_data::__lruvec' changed:
          type size changed from 1152 to 9664 (in bits)
          2 data member insertions:
            'lru_gen_struct lrugen', at offset 1088 (in bits) at mmzone.h:518:1
            'lru_gen_mm_state mm_state', at offset 8640 (in bits) at mmzone.h:520:1
          there are data member changes:
            'pglist_data* pgdat' offset changed (by +8512 bits)
          4087 impacted interfaces
        'unsigned long int flags' offset changed (by +8512 bits)
        3 ('zone_padding _pad2_' .. 'atomic_long_t vm_stat[40]') offsets changed (by +9728 bits)
      4087 impacted interfaces

  [C] 'task_struct init_task' was changed at init_task.c:64:1:
    CRC (modversions) changed from 0xfb2dd432 to 0xbb41e5e8
    type of variable changed:
      type size hasn't changed
      1 data member insertion:
        'unsigned int in_lru_fault', at offset 10500 (in bits) at sched.h:919:1
      there are data member changes:
        6 ('unsigned int no_cgroup_migration' .. 'unsigned int in_eventfd_signal') offsets changed (by +1 bits)
      4087 impacted interfaces

  [C] 'bus_type amba_bustype' was changed at bus.c:313:1:
    CRC (modversions) changed from 0x76bb3c03 to 0x1059aefa

  [C] 'neigh_table arp_tbl' was changed at arp.c:152:1:
    CRC (modversions) changed from 0x272a2c02 to 0x321ac83d

  [C] 'const address_space_operations balloon_aops' was changed at balloon_compaction.c:253:1:
    CRC (modversions) changed from 0x502add75 to 0xce92e8cd

  ... 60 omitted; 63 symbols have only CRC changes

'struct lruvec at mmzone.h:299:1' changed:
  details were reported earlier

'struct mem_cgroup at memcontrol.h:237:1' changed:
  type size changed from 30720 to 31232 (in bits)
  1 data member insertion:
    'lru_gen_mm_list mm_list', at offset 30656 (in bits) at memcontrol.h:353:1
  there are data member changes:
    'mem_cgroup_per_node* nodeinfo[]' offset changed (by +192 bits)
  4087 impacted interfaces

'struct mem_cgroup_per_node at memcontrol.h:137:1' changed:
  type size changed from 7872 to 16384 (in bits)
  there are data member changes:
    type 'struct lruvec' of 'mem_cgroup_per_node::lruvec' changed, as reported earlier
    9 ('lruvec_stats_percpu* lruvec_stats_percpu' .. 'mem_cgroup* memcg') offsets changed (by +8512 bits)
  4087 impacted interfaces

'struct mm_struct at mm_types.h:432:1' changed:
  type size changed from 7360 to 7616 (in bits)
  there are data member changes:
    anonymous data member at offset 0 (in bits) changed from:
      struct {vm_area_struct* mmap; rb_root mm_rb; u64 vmacache_seqnum; unsigned long int (file*, unsigned long int, unsigned long int, unsigned long int, unsigned long int)* get_unmapped_area; unsigned long int mmap_base; unsigned long int mmap_legacy_base; unsigned long int task_size; unsigned long int highest_vm_end; pgd_t* pgd; atomic_t membarrier_state; atomic_t mm_users; atomic_t mm_count; atomic_long_t pgtables_bytes; int map_count; spinlock_t page_table_lock; rw_semaphore mmap_lock; unsigned long int mmap_seq; list_head mmlist; unsigned long int hiwater_rss; unsigned long int hiwater_vm; unsigned long int total_vm; unsigned long int locked_vm; atomic64_t pinned_vm; unsigned long int data_vm; unsigned long int exec_vm; unsigned long int stack_vm; unsigned long int def_flags; seqcount_t write_protect_seq; spinlock_t arg_lock; unsigned long int start_code; unsigned long int end_code; unsigned long int start_data; unsigned long int end_data; unsigned long int start_brk; unsigned long int brk; unsigned long int start_stack; unsigned long int arg_start; unsigned long int arg_end; unsigned long int env_start; unsigned long int env_end; unsigned long int saved_auxv[46]; mm_rss_stat rss_stat; linux_binfmt* binfmt; mm_context_t context; unsigned long int flags; core_state* core_state; spinlock_t ioctx_lock; kioctx_table* ioctx_table; task_struct* owner; user_namespace* user_ns; file* exe_file; mmu_notifier_subscriptions* notifier_subscriptions; percpu_rw_semaphore* mmu_notifier_lock; atomic_t tlb_flush_pending; uprobes_state uprobes_state; work_struct async_put_work; u32 pasid;}
    to:
      struct {vm_area_struct* mmap; rb_root mm_rb; u64 vmacache_seqnum; unsigned long int (file*, unsigned long int, unsigned long int, unsigned long int, unsigned long int)* get_unmapped_area; unsigned long int mmap_base; unsigned long int mmap_legacy_base; unsigned long int task_size; unsigned long int highest_vm_end; pgd_t* pgd; atomic_t membarrier_state; atomic_t mm_users; atomic_t mm_count; atomic_long_t pgtables_bytes; int map_count; spinlock_t page_table_lock; rw_semaphore mmap_lock; unsigned long int mmap_seq; list_head mmlist; unsigned long int hiwater_rss; unsigned long int hiwater_vm; unsigned long int total_vm; unsigned long int locked_vm; atomic64_t pinned_vm; unsigned long int data_vm; unsigned long int exec_vm; unsigned long int stack_vm; unsigned long int def_flags; seqcount_t write_protect_seq; spinlock_t arg_lock; unsigned long int start_code; unsigned long int end_code; unsigned long int start_data; unsigned long int end_data; unsigned long int start_brk; unsigned long int brk; unsigned long int start_stack; unsigned long int arg_start; unsigned long int arg_end; unsigned long int env_start; unsigned long int env_end; unsigned long int saved_auxv[46]; mm_rss_stat rss_stat; linux_binfmt* binfmt; mm_context_t context; unsigned long int flags; core_state* core_state; spinlock_t ioctx_lock; kioctx_table* ioctx_table; task_struct* owner; user_namespace* user_ns; file* exe_file; mmu_notifier_subscriptions* notifier_subscriptions; percpu_rw_semaphore* mmu_notifier_lock; atomic_t tlb_flush_pending; uprobes_state uprobes_state; work_struct async_put_work; u32 pasid; struct {list_head list; mem_cgroup* memcg; nodemask_t nodes;} lru_gen;}
    and size changed from 7360 to 7616 (in bits) (by +256 bits)
    'unsigned long int cpu_bitmap[]' offset changed (by +256 bits)
  4087 impacted interfaces

'struct pglist_data at mmzone.h:802:1' changed:
  details were reported earlier

'struct reclaim_state at swap.h:140:1' changed:
  type size changed from 64 to 128 (in bits)
  1 data member insertion:
    'lru_gen_mm_walk* mm_walk', at offset 64 (in bits) at swap.h:144:1
  4087 impacted interfaces

'struct task_struct at sched.h:726:1' changed:
  details were reported earlier

'struct ufs_hba_variant_ops at ufshcd.h:324:1' changed:
  type size hasn't changed
  there are data member changes:
    type 'int (ufs_hba*, enum ufs_pm_op)*' of 'ufs_hba_variant_ops::suspend' changed:
      pointer type changed from: 'int (ufs_hba*, enum ufs_pm_op)*' to: 'int (ufs_hba*, enum ufs_pm_op, enum ufs_notify_change_status)*'
  35 impacted interfaces

'struct usb_phy at phy.h:88:1' changed:
  type size changed from 2688 to 2752 (in bits)
  1 data member insertion:
    'u64 android_vendor_data1', at offset 2688 (in bits) at phy.h:160:1
  43 impacted interfaces

Bug: 229750431
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: I723c22f89d3e85556b1246498ee96993e2151691
2022-04-20 17:38:57 +00:00
Yifan Hong 4790282ac1 ANDROID: Move BRANCH from build.config.common to .constants.
This allows Bazel to load the value of $BRANCH in order
to determine the value of --dist_dir of copy_to_dist_dir
statically.

Test: TH
Bug: 229268271

Change-Id: Iff759b8188360ea1b2bc204d29750eece9095582
Signed-off-by: Yifan Hong <elsk@google.com>
2022-04-14 14:20:28 -07:00
Todd Kjos 0577882f78 ANDROID: GKI: 4/4/2022 KMI update
Set KMI_GENERATION=3 for 4/6 KMI update

Leaf changes summary: 3064 artifacts changed
Changed leaf types summary: 5 leaf types changed
Removed/Changed/Added functions summary: 11 Removed, 2960 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 88 Changed, 0 Added variable

11 Removed functions:

  [D] 'function void rndis_deregister(rndis_params*)'
  [D] 'function void rndis_free_response(rndis_params*, u8*)'
  [D] 'function u8* rndis_get_next_response(rndis_params*, u32*)'
  [D] 'function int rndis_msg_parser(rndis_params*, u8*)'
  [D] 'function rndis_params* rndis_register(void (void*)*, void*)'
  [D] 'function void rndis_set_host_mac(rndis_params*, const u8*)'
  [D] 'function int rndis_set_param_dev(rndis_params*, net_device*, u16*)'
  [D] 'function int rndis_set_param_medium(rndis_params*, u32, u32)'
  [D] 'function int rndis_set_param_vendor(rndis_params*, u32, const char*)'
  [D] 'function int rndis_signal_connect(rndis_params*)'
  [D] 'function void rndis_uninit(rndis_params*)'

2960 functions with some sub-type change:

  [C] 'function void* PDE_DATA(const inode*)' at generic.c:794:1 has some sub-type changes:
    CRC (modversions) changed from 0xedd5d462 to 0x6a6d7264

  [C] 'function void __ClearPageMovable(page*)' at compaction.c:138:1 has some sub-type changes:
    CRC (modversions) changed from 0x3aeae4f2 to 0x2500d324

  [C] 'function void __SetPageMovable(page*, address_space*)' at compaction.c:130:1 has some sub-type changes:
    CRC (modversions) changed from 0x96ef33e3 to 0x3bc05121

  ... 2957 omitted; 2960 symbols have only CRC changes

88 Changed variables:

  [C] 'pglist_data contig_page_data' was changed at memblock.c:96:1:
    size of symbol changed from 5632 to 5760
    CRC (modversions) changed from 0xafbdb526 to 0x42a6e924
    type of variable changed:
      type size changed from 45056 to 46080 (in bits)
      1 data member insertion:
        'task_struct* mkswapd[16]', at offset 39680 (in bits) at mmzone.h:848:1
      there are data member changes:
        16 ('int kswapd_order' .. 'atomic_long_t vm_stat[40]') offsets changed (by +1024 bits)
      3276 impacted interfaces

  [C] 'rq runqueues' was changed at core.c:49:1:
    size of symbol changed from 4160 to 4416
    CRC (modversions) changed from 0x3be19baa to 0x6043515f
    type of variable changed:
      type size changed from 33280 to 35328 (in bits)
      there are data member changes:
        'uclamp_rq uclamp[2]' size changed from 768 to 2688 (in bits) (by +1920 bits)
        'unsigned int uclamp_flags' offset changed (by +1920 bits)
        65 ('cfs_rq cfs' .. 'u64 android_vendor_data1[96]') offsets changed (by +2048 bits)
      3276 impacted interfaces

  [C] 'tracepoint __tracepoint_android_vh_aes_decrypt' was changed at fips140.h:40:1:
    CRC (modversions) changed from 0xde5b1cc7 to 0x64eaf879

  [C] 'tracepoint __tracepoint_android_vh_aes_encrypt' was changed at fips140.h:33:1:
    CRC (modversions) changed from 0x10f648a3 to 0x85db9ebb

  [C] 'tracepoint __tracepoint_android_vh_aes_expandkey' was changed at fips140.h:26:1:
    CRC (modversions) changed from 0xf7274615 to 0x71396455

  ... 83 omitted; 86 symbols have only CRC changes

'struct pglist_data at mmzone.h:800:1' changed:
  details were reported earlier

'struct rq at sched.h:931:1' changed:
  details were reported earlier

'struct snd_pcm_runtime at pcm.h:344:1' changed:
  type size changed from 6144 to 6400 (in bits)
  1 data member insertion:
    'mutex buffer_mutex', at offset 2752 (in bits) at pcm.h:401:1
  there are data member changes:
    14 ('void* private_data' .. 'timespec64 driver_tstamp') offsets changed (by +256 bits)
  68 impacted interfaces

'struct uclamp_rq at sched.h:916:1' changed:
  type size changed from 384 to 1344 (in bits)
  there are data member changes:
    type 'uclamp_bucket[5]' of 'uclamp_rq::bucket' changed:
      type name changed from 'uclamp_bucket[5]' to 'uclamp_bucket[20]'
      array type size changed from 320 to 1280
      array type subrange 1 changed length from 5 to 20
  3276 impacted interfaces

'struct uclamp_se at sched.h:690:1' changed:
  type size hasn't changed
  there are data member changes:
    2 ('unsigned int active' .. 'unsigned int user_defined') offsets changed (by +2 bits)
  3276 impacted interfaces

Bug: 228318757
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: I72e72f07f1d6c95ecca451925d8aaf017db2d404
2022-04-06 08:55:02 -07:00
Todd Kjos 63ce3d0fa0 ANDROID: GKI: 3/23/2022 KMI update
Set KMI_GENERATION=2 for 3/23 KMI update

Leaf changes summary: 3073 artifacts changed (1 filtered out)
Changed leaf types summary: 52 (1 filtered out) leaf types changed
Removed/Changed/Added functions summary: 1 Removed, 2959 Changed, 3 Added functions
Removed/Changed/Added variables summary: 0 Removed, 58 Changed, 0 Added variable

1 Removed function:

  [D] 'function vm_area_struct* find_vma(mm_struct*, unsigned long int)'

3 Added functions:

  [A] 'function vm_area_struct* __find_vma(mm_struct*, unsigned long int)'
  [A] 'function long int dma_buf_set_name(dma_buf*, const char*)'
  [A] 'function int reclaim_shmem_address_space(address_space*)'

2959 functions with some sub-type change:

  [C] 'function void* PDE_DATA(const inode*)' at generic.c:794:1 has some sub-type changes:
    CRC (modversions) changed from 0x1c3e2a86 to 0xedd5d462

  [C] 'function void __ClearPageMovable(page*)' at compaction.c:138:1 has some sub-type changes:
    CRC (modversions) changed from 0x734edab3 to 0x3aeae4f2

  [C] 'function void __SetPageMovable(page*, address_space*)' at compaction.c:130:1 has some sub-type changes:
    CRC (modversions) changed from 0x891f9c1d to 0x96ef33e3

  ... 2956 omitted; 2959 symbols have only CRC changes

58 Changed variables:

  [C] 'rw_semaphore crypto_alg_sem' was changed at api.c:27:1:
    size of symbol changed from 40 to 48
    CRC (modversions) changed from 0x35d3dc46 to 0xf32f316e
    type of variable changed:
      type size changed from 320 to 384 (in bits)
      1 data member insertion:
        'u64 android_vendor_data1', at offset 320 (in bits) at rwsem.h:68:1
      3276 impacted interfaces

  [C] 'const vm_operations_struct drm_gem_cma_vm_ops' was changed at drm_gem_cma_helper.c:294:1:
    size of symbol changed from 112 to 120
    CRC (modversions) changed from 0x3bc32679 to 0x248b2833
    type of variable changed:

  [C] 'net init_net' was changed at net_namespace.c:47:1:
    CRC (modversions) changed from 0xe32665c4 to 0x83c0a9ee
    type of variable changed:
      type size hasn't changed
      there are data member changes:
        type 'struct netns_nexthop' of 'net::nexthop' changed:
          type size changed from 576 to 640 (in bits)
          there are data member changes:
            type 'struct blocking_notifier_head' of 'netns_nexthop::notifier_chain' changed:
              type size changed from 384 to 448 (in bits)
              there are data member changes:
                type 'struct rw_semaphore' of 'blocking_notifier_head::rwsem' changed, as reported earlier
                'notifier_block* head' offset changed (by +64 bits)
              3268 impacted interfaces
          3258 impacted interfaces
      3258 impacted interfaces

  [C] 'rq runqueues' was changed at core.c:49:1:
    CRC (modversions) changed from 0x4ce2ba0f to 0x3be19baa
    type of variable changed:
      type size hasn't changed
      1 data member insertion:
        'u64 prev_steal_time_rq', at offset 24576 (in bits) at sched.h:1064:1
      there are data member changes:
        2 ('unsigned long int calc_load_update' .. 'long int calc_load_active') offsets changed (by +64 bits)
      3258 impacted interfaces

  [C] 'const vm_operations_struct vb2_common_vm_ops' was changed at videobuf2-memops.c:121:1:
    size of symbol changed from 112 to 120
    CRC (modversions) changed from 0x234a35c to 0x50ba9795
    type of variable changed:

  [C] 'vm_event_state vm_event_states' was changed at vmstat.c:107:1:
    size of symbol changed from 704 to 720
    CRC (modversions) changed from 0xbe72514d to 0x85d767b0
    type of variable changed:
      type size changed from 5632 to 5760 (in bits)
      there are data member changes:
        type 'unsigned long int[88]' of 'vm_event_state::event' changed:
          type name changed from 'unsigned long int[88]' to 'unsigned long int[90]'
          array type size changed from 5632 to 5760
          array type subrange 1 changed length from 88 to 90
      one impacted interface

  [C] 'bus_type amba_bustype' was changed at bus.c:313:1:
    CRC (modversions) changed from 0x517f2d17 to 0x69625ec

  [C] 'const address_space_operations balloon_aops' was changed at balloon_compaction.c:253:1:
    CRC (modversions) changed from 0x89a77b8c to 0xefa16792

  [C] 'const clk_ops clk_divider_ops' was changed at clk-divider.c:522:1:
    CRC (modversions) changed from 0x5a75cc1 to 0xcd0b5d59

  ... 49 omitted; 52 symbols have only CRC changes

'struct address_space at fs.h:460:1' changed (indirectly):
  type size changed from 1536 to 1664 (in bits)
  there are data member changes:
    type 'struct rw_semaphore' of 'address_space::invalidate_lock' changed, as reported earlier
    3 ('gfp_t gfp_mask' .. 'rb_root_cached i_mmap') offsets changed (by +64 bits)
    type 'struct rw_semaphore' of 'address_space::i_mmap_rwsem' changed, as reported earlier
    and offset changed from 704 to 768 (in bits) (by +64 bits)
    8 ('unsigned long int nrpages' .. 'void* private_data') offsets changed (by +128 bits)
  3258 impacted interfaces

'struct anon_vma at rmap.h:29:1' changed (indirectly):
  type size changed from 640 to 704 (in bits)
  there are data member changes:
    type 'struct rw_semaphore' of 'anon_vma::rwsem' changed, as reported earlier
    4 ('atomic_t refcount' .. 'rb_root_cached rb_root') offsets changed (by +64 bits)
  3258 impacted interfaces

'struct backing_dev_info at backing-dev-defs.h:169:1' changed (indirectly):
  type size changed from 9024 to 9088 (in bits)
  there are data member changes:
    type 'struct rw_semaphore' of 'backing_dev_info::wb_switch_rwsem' changed, as reported earlier
    6 ('wait_queue_head_t wb_waitq' .. 'dentry* debug_dir') offsets changed (by +64 bits)
  3258 impacted interfaces

'struct blk_keyslot_manager at keyslot-manager.h:52:1' changed (indirectly):
  type size changed from 1408 to 1472 (in bits)
  there are data member changes:
    type 'struct rw_semaphore' of 'blk_keyslot_manager::lock' changed, as reported earlier
    6 ('wait_queue_head_t idle_slots_wait_queue' .. 'blk_ksm_keyslot* slots') offsets changed (by +64 bits)
  3258 impacted interfaces

'struct blocking_notifier_head at notifier.h:65:1' changed (indirectly):
  details were reported earlier

'struct bpf_prog_stats at filter.h:556:1' changed:
  type size hasn't changed
  there are data member changes:
    type 'typedef u64' of 'bpf_prog_stats::cnt' changed:
      typedef name changed from u64 to u64_stats_t at u64_stats_sync.h:79:1
      underlying type 'typedef __u64' at int-ll64.h:31:1 changed:
        entity changed from 'typedef __u64' to 'struct {local64_t v;}' at u64_stats_sync.h:77:1
        type size hasn't changed
    type 'typedef u64' of 'bpf_prog_stats::nsecs' changed, as reported earlier
    type 'typedef u64' of 'bpf_prog_stats::misses' changed, as reported earlier
  3258 impacted interfaces

'struct cpufreq_policy at cpufreq.h:55:1' changed (indirectly):
  type size changed from 5120 to 5312 (in bits)
  there are data member changes:
    type 'struct freq_constraints' of 'cpufreq_policy::constraints' changed:
      type size changed from 1408 to 1536 (in bits)
      there are data member changes:
        type 'struct blocking_notifier_head' of 'freq_constraints::min_freq_notifiers' changed, as reported earlier
        'pm_qos_constraints max_freq' offset changed (by +64 bits)
        type 'struct blocking_notifier_head' of 'freq_constraints::max_freq_notifiers' changed, as reported earlier
        and offset changed from 1024 to 1088 (in bits) (by +64 bits)
      3261 impacted interfaces
    7 ('freq_qos_request* min_freq_req' .. 'completion kobj_unregister') offsets changed (by +128 bits)
    type 'struct rw_semaphore' of 'cpufreq_policy::rwsem' changed, as reported earlier
    and offset changed from 3712 to 3840 (in bits) (by +128 bits)
    16 ('bool fast_switch_possible' .. 'notifier_block nb_max') offsets changed (by +192 bits)
  31 impacted interfaces

'struct dev_pm_qos at pm_qos.h:117:1' changed (indirectly):
  type size changed from 2432 to 2560 (in bits)
  there are data member changes:
    type 'struct freq_constraints' of 'dev_pm_qos::freq' changed, as reported earlier
    4 ('pm_qos_flags flags' .. 'dev_pm_qos_request* flags_req') offsets changed (by +128 bits)
  3258 impacted interfaces

'struct freq_constraints at pm_qos.h:85:1' changed (indirectly):
  details were reported earlier

'struct gpio_device at gpiolib.h:46:1' changed (indirectly):
  type size changed from 8064 to 8128 (in bits)
  there are data member changes:
    type 'struct blocking_notifier_head' of 'gpio_device::notifier' changed, as reported earlier
    'list_head pin_ranges' offset changed (by +64 bits)
  3258 impacted interfaces

'struct i3c_bus at master.h:332:1' changed (indirectly):
  type size changed from 1152 to 1216 (in bits)
  there are data member changes:
    type 'struct rw_semaphore' of 'i3c_bus::lock' changed, as reported earlier
  14 impacted interfaces

'struct i3c_master_controller at master.h:483:1' changed (indirectly):
  type size changed from 16128 to 16192 (in bits)
  there are data member changes:
    type 'struct i3c_bus' of 'i3c_master_controller::bus' changed, as reported earlier
    'workqueue_struct* wq' offset changed (by +64 bits)
  14 impacted interfaces

'struct inode at fs.h:624:1' changed (indirectly):
  type size changed from 5056 to 5248 (in bits)
  there are data member changes:
    type 'struct rw_semaphore' of 'inode::i_rwsem' changed, as reported earlier
    11 ('unsigned long int dirtied_when' .. 'list_head i_wb_list') offsets changed (by +64 bits)
    anonymous data member 'union {hlist_head i_dentry; callback_head i_rcu;}' offset changed from 2496 to 2560 (in bits) (by +64 bits)
    6 ('atomic64_t i_version' .. 'atomic_t i_readcount') offsets changed (by +64 bits)
    anonymous data member 'union {const file_operations* i_fop; void (inode*)* free_inode;}' offset changed from 2880 to 2944 (in bits) (by +64 bits)
    'file_lock_context* i_flctx' offset changed (by +64 bits)
    type 'struct address_space' of 'inode::i_data' changed, as reported earlier
    and offset changed from 3008 to 3072 (in bits) (by +64 bits)
    'list_head i_devices' offset changed (by +192 bits)
    anonymous data member 'union {pipe_inode_info* i_pipe; cdev* i_cdev; char* i_link; unsigned int i_dir_seq;}' offset changed from 4672 to 4864 (in bits) (by +192 bits)
    6 ('__u32 i_generation' .. 'void* i_private') offsets changed (by +192 bits)
  3258 impacted interfaces

'struct io_pgtable_ops at io-pgtable.h:155:1' changed:
  type size changed from 320 to 384 (in bits)
  1 data member insertion:
    'int (io_pgtable_ops*, unsigned long int, scatterlist*, unsigned int, int, typedef gfp_t, size_t*)* map_sg', at offset 128 (in bits) at io-pgtable.h:164:1
  there are data member changes:
    3 ('typedef size_t (io_pgtable_ops*, unsigned long int, typedef size_t, iommu_iotlb_gather*)* unmap' .. 'typedef phys_addr_t (io_pgtable_ops*, unsigned long int)* iova_to_phys') offsets changed (by +64 bits)
  2 impacted interfaces

'struct iommu_group at iommu.c:37:1' changed (indirectly):
  type size changed from 1856 to 1920 (in bits)
  there are data member changes:
    type 'struct blocking_notifier_head' of 'iommu_group::notifier' changed, as reported earlier
    7 ('void* iommu_data' .. 'list_head entry') offsets changed (by +64 bits)
  3258 impacted interfaces

'struct iommu_ops at iommu.h:254:1' changed:
  type size changed from 2624 to 2688 (in bits)
  1 data member insertion:
    'int (iommu_domain*, unsigned long int, scatterlist*, unsigned int, int, typedef gfp_t, size_t*)* map_sg', at offset 448 (in bits) at iommu.h:270:1
  there are data member changes:
    34 ('typedef size_t (iommu_domain*, unsigned long int, typedef size_t, iommu_iotlb_gather*)* unmap' .. 'module* owner') offsets changed (by +64 bits)
  3258 impacted interfaces

'struct key at key.h:189:1' changed (indirectly):
  type size changed from 1728 to 1792 (in bits)
  there are data member changes:
    type 'struct rw_semaphore' of 'key::sem' changed, as reported earlier
    2 ('key_user* user' .. 'void* security') offsets changed (by +64 bits)
    anonymous data member 'union {time64_t expiry; time64_t revoked_at;}' offset changed from 704 to 768 (in bits) (by +64 bits)
    8 ('time64_t last_used_at' .. 'unsigned long int flags') offsets changed (by +64 bits)
    anonymous data member 'union {keyring_index_key index_key; struct {unsigned long int hash; unsigned long int len_desc; key_type* type; key_tag* domain_tag; char* description;};}' offset changed from 1088 to 1152 (in bits) (by +64 bits)
    anonymous data member 'union {key_payload payload; struct {list_head name_link; assoc_array keys;};}' offset changed from 1408 to 1472 (in bits) (by +64 bits)
    'key_restriction* restrict_link' offset changed (by +64 bits)
  3258 impacted interfaces

'struct led_classdev at leds.h:70:1' changed (indirectly):
  type size changed from 2816 to 2880 (in bits)
  there are data member changes:
    type 'struct rw_semaphore' of 'led_classdev::trigger_lock' changed, as reported earlier
    6 ('led_trigger* trigger' .. 'mutex led_access') offsets changed (by +64 bits)
  3258 impacted interfaces

'struct led_classdev_flash at led-class-flash.h:65:1' changed (indirectly):
  type size changed from 3456 to 3520 (in bits)
  there are data member changes:
    type 'struct led_classdev' of 'led_classdev_flash::led_cdev' changed, as reported earlier
    4 ('const led_flash_ops* ops' .. 'const attribute_group* sysfs_groups[5]') offsets changed (by +64 bits)
  2 impacted interfaces

'struct mem_cgroup at memcontrol.h:237:1' changed (indirectly):
  type size hasn't changed
  there are data member changes:
    type 'struct memcg_vmstats' of 'mem_cgroup::vmstats' changed:
      type size changed from 16768 to 17024 (in bits)
      there are data member changes:
        type 'unsigned long int[88]' of 'memcg_vmstats::events' changed:
          type name changed from 'unsigned long int[88]' to 'unsigned long int[90]'
          array type size changed from 5632 to 5760
          array type subrange 1 changed length from 88 to 90
        'long int state_pending[43]' offset changed (by +128 bits)
        type 'unsigned long int[88]' of 'memcg_vmstats::events_pending' changed:
          type name changed from 'unsigned long int[88]' to 'unsigned long int[90]'
          array type size changed from 5632 to 5760
          array type subrange 1 changed length from 88 to 90
        and offset changed from 11136 to 11264 (in bits) (by +128 bits)
      3258 impacted interfaces
    9 ('atomic_long_t memory_events[8]' .. 'list_head objcg_list') offsets changed (by +256 bits)
  3258 impacted interfaces

'struct memcg_vmstats at memcontrol.h:92:1' changed:
  details were reported earlier

'struct memcg_vmstats_percpu at memcontrol.h:78:1' changed:
  type size changed from 16960 to 17216 (in bits)
  there are data member changes:
    type 'unsigned long int[88]' of 'memcg_vmstats_percpu::events' changed:
      type name changed from 'unsigned long int[88]' to 'unsigned long int[90]'
      array type size changed from 5632 to 5760
      array type subrange 1 changed length from 88 to 90
    'long int state_prev[43]' offset changed (by +128 bits)
    type 'unsigned long int[88]' of 'memcg_vmstats_percpu::events_prev' changed:
      type name changed from 'unsigned long int[88]' to 'unsigned long int[90]'
      array type size changed from 5632 to 5760
      array type subrange 1 changed length from 88 to 90
    and offset changed from 11136 to 11264 (in bits) (by +128 bits)
    2 ('unsigned long int nr_page_events' .. 'unsigned long int targets[2]') offsets changed (by +256 bits)
  3258 impacted interfaces

'struct mm_struct at mm_types.h:417:1' changed:
  type size changed from 7168 to 7360 (in bits)
  there are data member changes:
    anonymous data member at offset 0 (in bits) changed from:
      struct {vm_area_struct* mmap; rb_root mm_rb; u64 vmacache_seqnum; unsigned long int (file*, unsigned long int, unsigned long int, unsigned long int, unsigned long int)* get_unmapped_area; unsigned long int mmap_base; unsigned long int mmap_legacy_base; unsigned long int task_size; unsigned long int highest_vm_end; pgd_t* pgd; atomic_t membarrier_state; atomic_t mm_users; atomic_t mm_count; atomic_long_t pgtables_bytes; int map_count; spinlock_t page_table_lock; rw_semaphore mmap_lock; list_head mmlist; unsigned long int hiwater_rss; unsigned long int hiwater_vm; unsigned long int total_vm; unsigned long int locked_vm; atomic64_t pinned_vm; unsigned long int data_vm; unsigned long int exec_vm; unsigned long int stack_vm; unsigned long int def_flags; seqcount_t write_protect_seq; spinlock_t arg_lock; unsigned long int start_code; unsigned long int end_code; unsigned long int start_data; unsigned long int end_data; unsigned long int start_brk; unsigned long int brk; unsigned long int start_stack; unsigned long int arg_start; unsigned long int arg_end; unsigned long int env_start; unsigned long int env_end; unsigned long int saved_auxv[46]; mm_rss_stat rss_stat; linux_binfmt* binfmt; mm_context_t context; unsigned long int flags; core_state* core_state; spinlock_t ioctx_lock; kioctx_table* ioctx_table; task_struct* owner; user_namespace* user_ns; file* exe_file; mmu_notifier_subscriptions* notifier_subscriptions; atomic_t tlb_flush_pending; uprobes_state uprobes_state; work_struct async_put_work; u32 pasid;}
    to:
      struct {vm_area_struct* mmap; rb_root mm_rb; u64 vmacache_seqnum; unsigned long int (file*, unsigned long int, unsigned long int, unsigned long int, unsigned long int)* get_unmapped_area; unsigned long int mmap_base; unsigned long int mmap_legacy_base; unsigned long int task_size; unsigned long int highest_vm_end; pgd_t* pgd; atomic_t membarrier_state; atomic_t mm_users; atomic_t mm_count; atomic_long_t pgtables_bytes; int map_count; spinlock_t page_table_lock; rw_semaphore mmap_lock; unsigned long int mmap_seq; list_head mmlist; unsigned long int hiwater_rss; unsigned long int hiwater_vm; unsigned long int total_vm; unsigned long int locked_vm; atomic64_t pinned_vm; unsigned long int data_vm; unsigned long int exec_vm; unsigned long int stack_vm; unsigned long int def_flags; seqcount_t write_protect_seq; spinlock_t arg_lock; unsigned long int start_code; unsigned long int end_code; unsigned long int start_data; unsigned long int end_data; unsigned long int start_brk; unsigned long int brk; unsigned long int start_stack; unsigned long int arg_start; unsigned long int arg_end; unsigned long int env_start; unsigned long int env_end; unsigned long int saved_auxv[46]; mm_rss_stat rss_stat; linux_binfmt* binfmt; mm_context_t context; unsigned long int flags; core_state* core_state; spinlock_t ioctx_lock; kioctx_table* ioctx_table; task_struct* owner; user_namespace* user_ns; file* exe_file; mmu_notifier_subscriptions* notifier_subscriptions; percpu_rw_semaphore* mmu_notifier_lock; atomic_t tlb_flush_pending; uprobes_state uprobes_state; work_struct async_put_work; u32 pasid;}
    and size changed from 7168 to 7360 (in bits) (by +192 bits)
    'unsigned long int cpu_bitmap[]' offset changed (by +192 bits)
  3258 impacted interfaces

'struct mmc_host at host.h:292:1' changed (indirectly):
  type size hasn't changed
  there are data member changes:
    type 'struct blk_keyslot_manager' of 'mmc_host::ksm' changed, as reported earlier
    'bool hsq_enabled' offset changed (by +64 bits)
  32 impacted interfaces

'struct net at net_namespace.h:56:1' changed (indirectly):
  details were reported earlier

'struct net_device at netdevice.h:1949:1' changed:
  type size hasn't changed
  1 data member insertion:
    'const macsec_ops* macsec_ops', at offset 17984 (in bits) at netdevice.h:2262:1
  there are data member changes:
    3 ('const udp_tunnel_nic_info* udp_tunnel_nic_info' .. 'bpf_xdp_entity xdp_state[3]') offsets changed (by +64 bits)
  3258 impacted interfaces

'struct netns_nexthop at nexthop.h:11:1' changed (indirectly):
  details were reported earlier

'struct nvmem_config at nvmem-provider.h:78:1' changed:
  type size hasn't changed
  1 data member insertion:
    'bool ignore_wp', at offset 592 (in bits) at nvmem-provider.h:92:1
  one impacted interface

'struct opp_table at opp.h:173:1' changed (indirectly):
  type size changed from 4928 to 4992 (in bits)
  there are data member changes:
    type 'struct blocking_notifier_head' of 'opp_table::head' changed, as reported earlier
    32 ('list_head dev_list' .. 'char dentry_name[255]') offsets changed (by +64 bits)
  72 impacted interfaces

'struct percpu_rw_semaphore at percpu-rwsem.h:12:1' changed (indirectly):
  type size hasn't changed
  3258 impacted interfaces

'struct phy_device at phy.h:563:1' changed:
  type size changed from 10752 to 10816 (in bits)
  1 data member insertion:
    'const macsec_ops* macsec_ops', at offset 10752 (in bits) at phy.h:671:1
  3258 impacted interfaces

'struct quota_info at quota.h:519:1' changed (indirectly):
  type size changed from 2496 to 2560 (in bits)
  there are data member changes:
    type 'struct rw_semaphore' of 'quota_info::dqio_sem' changed, as reported earlier
    3 ('inode* files[3]' .. 'const quota_format_ops* ops[3]') offsets changed (by +64 bits)
  3258 impacted interfaces

'struct regulator_dev at driver.h:603:1' changed (indirectly):
  type size changed from 9024 to 9088 (in bits)
  there are data member changes:
    type 'struct blocking_notifier_head' of 'regulator_dev::notifier' changed, as reported earlier
    19 ('ww_mutex mutex' .. 'spinlock_t err_lock') offsets changed (by +64 bits)
  556 impacted interfaces

'struct rndis_params at rndis.h:159:1' changed:
  type size changed from 768 to 832 (in bits)
  1 data member insertion:
    'spinlock_t resp_lock', at offset 768 (in bits) at rndis.h:177:1
  11 impacted interfaces

'struct rq at sched.h:931:1' changed:
  details were reported earlier

'struct rw_semaphore at rwsem.h:48:1' changed:
  details were reported earlier

'struct sdhci_host at sdhci.h:365:1' changed (indirectly):
  type size hasn't changed
  there are data member changes:
    type 'struct led_classdev' of 'sdhci_host::led' changed, as reported earlier
    64 ('char led_name[32]' .. 'u64 data_timeout') offsets changed (by +64 bits)
  12 impacted interfaces

'struct signal_struct at signal.h:82:1' changed (indirectly):
  type size changed from 8320 to 8384 (in bits)
  there are data member changes:
    type 'struct rw_semaphore' of 'signal_struct::exec_update_lock' changed, as reported earlier
  3258 impacted interfaces

'struct snd_card at core.h:79:1' changed (indirectly):
  type size changed from 18240 to 18304 (in bits)
  there are data member changes:
    type 'struct rw_semaphore' of 'snd_card::controls_rwsem' changed, as reported earlier
    26 ('rwlock_t ctl_files_rwlock' .. 'wait_queue_head_t power_ref_sleep') offsets changed (by +64 bits)
  120 impacted interfaces

'struct snd_soc_jack at soc-jack.h:82:1' changed (indirectly):
  type size changed from 1088 to 1152 (in bits)
  there are data member changes:
    type 'struct blocking_notifier_head' of 'snd_soc_jack::notifier' changed, as reported earlier
    'list_head jack_zones' offset changed (by +64 bits)
  45 impacted interfaces

'struct sock at sock.h:355:1' changed:
  type size hasn't changed
  there are data member changes:
    type 'typedef u32' of 'sock::sk_tskey' changed:
      typedef name changed from u32 to atomic_t at types.h:168:1
      underlying type 'typedef __u32' at int-ll64.h:27:1 changed:
        entity changed from 'typedef __u32' to 'struct {int counter;}' at types.h:166:1
        type size hasn't changed
  3258 impacted interfaces

'struct subsys_private at base.h:40:1' changed (indirectly):
  type size changed from 3264 to 3328 (in bits)
  there are data member changes:
    type 'struct blocking_notifier_head' of 'subsys_private::bus_notifier' changed, as reported earlier
    4 ('unsigned int drivers_autoprobe' .. 'class* class') offsets changed (by +64 bits)
  3258 impacted interfaces

'struct super_block at fs.h:1466:1' changed (indirectly):
  type size changed from 11264 to 11776 (in bits)
  there are data member changes:
    type 'struct rw_semaphore' of 'super_block::s_umount' changed, as reported earlier
    16 ('int s_count' .. 'unsigned int s_quota_types') offsets changed (by +64 bits)
    type 'struct quota_info' of 'super_block::s_dquot' changed, as reported earlier
    and offset changed from 2304 to 2368 (in bits) (by +64 bits)
    29 ('sb_writers s_writers' .. 'int s_stack_depth') offsets changed (by +128 bits)
    4 ('spinlock_t s_inode_list_lock' .. 'list_head s_inodes_wb') offsets changed (by +512 bits)
  3258 impacted interfaces

'struct tcf_block at sch_generic.h:463:1' changed (indirectly):
  type size changed from 10112 to 10176 (in bits)
  there are data member changes:
    type 'struct rw_semaphore' of 'tcf_block::cb_lock' changed, as reported earlier
    10 ('flow_block flow_block' .. 'mutex proto_destroy_lock') offsets changed (by +64 bits)
  3258 impacted interfaces

'struct tty_struct at tty.h:143:1' changed (indirectly):
  type size changed from 5568 to 5632 (in bits)
  there are data member changes:
    type 'struct rw_semaphore' of 'tty_struct::termios_rwsem' changed, as reported earlier
    26 ('mutex winsize_mutex' .. 'tty_port* port') offsets changed (by +64 bits)
  3258 impacted interfaces

'struct ufs_hba at ufshcd.h:808:1' changed (indirectly):
  type size changed from 36992 to 37120 (in bits)
  there are data member changes:
    type 'struct rw_semaphore' of 'ufs_hba::clk_scaling_lock' changed, as reported earlier
    9 ('unsigned char desc_size[10]' .. 'u32 crypto_cfg_register') offsets changed (by +64 bits)
    type 'struct blk_keyslot_manager' of 'ufs_hba::ksm' changed, as reported earlier
    and offset changed from 34688 to 34752 (in bits) (by +64 bits)
    5 ('dentry* debugfs_root' .. 'bool complete_put') offsets changed (by +128 bits)
  28 impacted interfaces

'struct user_namespace at user_namespace.h:66:1' changed (indirectly):
  type size changed from 4800 to 4864 (in bits)
  there are data member changes:
    type 'struct rw_semaphore' of 'user_namespace::keyring_sem' changed, as reported earlier
    5 ('work_struct work' .. 'long int ucount_max[14]') offsets changed (by +64 bits)
  3258 impacted interfaces

'struct vm_area_struct at mm_types.h:326:1' changed (indirectly):
  type size hasn't changed
  3258 impacted interfaces

'struct vm_event_state at vmstat.h:54:1' changed:
  details were reported earlier

'struct vm_fault at mm.h:531:1' changed:
  type size changed from 832 to 960 (in bits)
  1 data member deletion:
    'union {pte_t orig_pte; pmd_t orig_pmd;}', at offset 448 (in bits) at mm.h:545:1
  3 data member insertions:
    'unsigned long int seq', at offset 320 (in bits) at mm.h:544:1
    'pmd_t orig_pmd', at offset 384 (in bits) at mm.h:545:1
    'union {pte_t orig_pte;}', at offset 576 (in bits) at mm.h:552:1
  there are data member changes:
    6 ('pmd_t* pmd' .. 'spinlock_t* ptl') offsets changed (by +128 bits)
    type 'typedef pgtable_t' of 'vm_fault::prealloc_pte' changed:
      underlying type 'page*' changed:
    and offset changed from 768 to 896 (in bits) (by +128 bits)
  3258 impacted interfaces

'struct vm_operations_struct at mm.h:588:1' changed:
  type size changed from 896 to 960 (in bits)
  1 data member insertion:
    'bool speculative', at offset 896 (in bits) at mm.h:672:1
  3258 impacted interfaces

'struct vsock_sock at af_vsock.h:27:1' changed (indirectly):
  type size hasn't changed
  there are data member changes:
    type 'struct sock' of 'vsock_sock::sk' changed, as reported earlier
  33 impacted interfaces

Bug: 226384098
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: Id923f2a1b14e9e2abab7c3cfd93fadeedc24013d
2022-03-23 11:32:22 -07:00
Todd Kjos fc6ab4da31 ANDROID: GKI: 3/9/2022 KMI update
Set KMI_GENERATION=1 for 3/9 KMI update

Leaf changes summary: 2579 artifacts changed (1 filtered out)
Changed leaf types summary: 9 (1 filtered out) leaf types changed
Removed/Changed/Added functions summary: 0 Removed, 2521 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 49 Changed, 0 Added variable

2521 functions with some sub-type change:

  [C] 'function void* PDE_DATA(const inode*)' at generic.c:794:1 has some sub-type changes:
    CRC (modversions) changed from 0x17465176 to 0x1c3e2a86

  [C] 'function void __ClearPageMovable(page*)' at compaction.c:138:1 has some sub-type changes:
    CRC (modversions) changed from 0x8331b3e3 to 0x734edab3

  [C] 'function void __SetPageMovable(page*, address_space*)' at compaction.c:130:1 has some sub-type changes:
    CRC (modversions) changed from 0xe56f361 to 0x891f9c1d

  ... 2518 omitted; 2521 symbols have only CRC changes

49 Changed variables:

  [C] 'bus_type amba_bustype' was changed at bus.c:313:1:
    CRC (modversions) changed from 0xe555ebeb to 0x517f2d17

  [C] 'const address_space_operations balloon_aops' was changed at balloon_compaction.c:253:1:
    CRC (modversions) changed from 0xa9866f1a to 0x89a77b8c

  [C] 'const clk_ops clk_divider_ops' was changed at clk-divider.c:522:1:
    CRC (modversions) changed from 0xca4154fa to 0x5a75cc1

  ... 46 omitted; 49 symbols have only CRC changes

'enum nl80211_attrs at nl80211.h:2666:1' changed:
  type size hasn't changed
  1 enumerator insertion:
    'nl80211_attrs::NL80211_ATTR_EHT_CAPABILITY' value '310'
  3 enumerator changes:
    'nl80211_attrs::NL80211_ATTR_MAX' from value '309' to '310' at nl80211.h:2670:1
    'nl80211_attrs::NUM_NL80211_ATTR' from value '310' to '311' at nl80211.h:2670:1
    'nl80211_attrs::__NL80211_ATTR_AFTER_LAST' from value '310' to '311' at nl80211.h:2670:1
  2 impacted interfaces
'struct ieee80211_sband_iftype_data at cfg80211.h:378:1' changed:
  type size changed from 640 to 1024 (in bits)
  1 data member insertion:
    'ieee80211_sta_eht_cap eht_cap', at offset 472 (in bits) at cfg80211.h:431:1
  there are data member changes:
    'struct {const u8* data; unsigned int len;} vendor_elems' offset changed (by +384 bits)
  3084 impacted interfaces

'struct iommu_dma_cookie at dma-iommu.c:41:1' changed (indirectly):
  type size changed from 15360 to 15424 (in bits)
  there are data member changes:
    type 'union {iova_domain iovad; dma_addr_t msi_iova;}' of 'anonymous data member' changed:
      type size changed from 15104 to 15168 (in bits)
      there are data member changes:
        type 'struct iova_domain' of '__anonymous_union__::iovad' changed:
          type size changed from 15104 to 15168 (in bits)
          1 data member insertion:
            'bool best_fit', at offset 15104 (in bits) at iova.h:99:1
          3086 impacted interfaces
    2 ('list_head msi_page_list' .. 'iommu_domain* fq_domain') offsets changed (by +64 bits)
  3084 impacted interfaces

'struct iova_domain at iova.h:68:1' changed:
  details were reported earlier

'struct module at module.h:364:1' changed:
  type size hasn't changed
  2 data member insertions:
    'unsigned int btf_data_size', at offset 6016 (in bits) at module.h:477:1
    'void* btf_data', at offset 6080 (in bits) at module.h:478:1
  there are data member changes:
    18 ('jump_entry* jump_entries' .. 'unsigned int num_ei_funcs') offsets changed (by +128 bits)
  3084 impacted interfaces

'struct rate_info at cfg80211.h:1580:1' changed:
  type size changed from 80 to 96 (in bits)
  2 data member insertions:
    'u8 eht_gi', at offset 80 (in bits) at cfg80211.h:1673:1
    'u8 eht_ru_alloc', at offset 88 (in bits) at cfg80211.h:1674:1
  5 impacted interfaces

'struct station_info at cfg80211.h:1743:1' changed (indirectly):
  type size changed from 1792 to 1856 (in bits)
  there are data member changes:
    type 'struct rate_info' of 'station_info::txrate' changed, as reported earlier
    type 'struct rate_info' of 'station_info::rxrate' changed, as reported earlier
    and offset changed from 528 to 544 (in bits) (by +16 bits)
    8 ('u32 rx_packets' .. 'int generation') offsets changed (by +32 bits)
    21 ('const u8* assoc_req_ies' .. 'u8 connected_to_as') offsets changed (by +64 bits)
  4 impacted interfaces

'struct station_parameters at cfg80211.h:1421:1' changed:
  type size changed from 1280 to 1408 (in bits)
  2 data member insertions:
    'const ieee80211_eht_cap_elem* eht_capa', at offset 1280 (in bits) at cfg80211.h:1525:1
    'u8 eht_capa_len', at offset 1344 (in bits) at cfg80211.h:1526:1
  one impacted interface

'struct virtio_config_ops at virtio_config.h:77:1' changed:
  type size changed from 896 to 960 (in bits)
  1 data member insertion:
    'void (virtio_device*)* enable_cbs', at offset 0 (in bits) at virtio_config.h:80:1
  there are data member changes:
    14 ('void (virtio_device*, unsigned int, void*, unsigned int)* get' .. 'typedef bool (virtio_device*, virtio_shm_region*, typedef u8)* get_shm_region') offsets changed (by +64 bits)
  35 impacted interfaces

Bug: 222115076
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: I1aac74111756444ff6bff92b843a5133f3c7541c
2022-03-09 09:05:45 -08:00
Yifan Hong db0c2ceba7 ANDROID: build/build-tools -> build/kernel/build-tools.
This is part of the build -> build/kernel transition.

Test: TH
Bug: 204425264
Change-Id: I5bcf6ac00b6388af198e486f191e13f0b60050c9
Signed-off-by: Yifan Hong <elsk@google.com>
2022-02-02 22:32:37 +00:00
Matthias Maennich 2c2712edb8 ANDROID: move CLANG_VERSION definition to build.config.constants
Moving this static value to a separate configuration file allows it to
be used from other builds as well, such as the Kleaf build.

Bug: 210296725
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: I07aac5609d8ec986e0e270fdbba3662ac10029f4
2021-12-12 20:10:27 +00:00
Nick Desaulniers e589798972 ANDROID: clang: update to 14.0.0
Bug: 202986547
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: I16541724728f289cfd9fe2a1113057eede14ee92
2021-12-10 09:26:32 +00:00
Matthias Maennich 5bf56d2150 ANDROID: Initial branch setup for android13-5.15
Bug: 204472986
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: I03fc890aef8de06c655b98286768dc9c57b4709c
2021-11-02 10:19:03 +00:00
Daniel Mentz a71e480e82 ANDROID: build.config: Set DTC to absolute path
The device tree compiler specified by $(DTC) is actually used as a
prerequisite for the following .dtb makefile rule:

$(obj)/%.dtb: $(src)/%.dts $(DTC) FORCE

Ensure that it's set to an absolute path so that make can actually find
it. Otherwise, make will not instantiate that rule, because it can't
find dtc.

Bug: 198176779
Fixes: 023411cbe9 ("ANDROID: Use DTC from the hermetic toolchain")
Signed-off-by: Daniel Mentz <danielmentz@google.com>
Change-Id: I4e190192b39c4cf18c6412cc85895ed1ce2ec6dd
2021-09-17 18:06:27 +00:00
Nick Desaulniers 8f7cfec1cc ANDROID: clang: update to 13.0.2
Bug: 199534745
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: I54d76cfe5f6b7c4cb3880c7d19143765d3a4e15c
2021-09-13 18:21:33 +00:00
Nick Desaulniers 9a125e71fa ANDROID: clang: update to 13.0.1
Bug: 192363966
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: I3ee12faa8306372a35ca5ef6be2788821ba1a515
2021-08-10 16:41:35 +00:00
Matthias Maennich b205dfffa2 ANDROID: Drop the -master suffix from the clang prebuilts
This suffix is now obsolete, get rid of it.

Bug: 170775957
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: Iaa72b2a75767b642fa82cd69da142a078fb643e6
2021-06-18 14:30:54 +01:00
Nick Desaulniers 7ec815f5df ANDROID: clang: update to 12.0.5
Bug: 185804542
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: If3d0c122472d8979b326d8a6fece30d8b2af962a
2021-04-19 19:38:54 +00:00
Nick Desaulniers 91d3f4ea12 ANDROID: clang: update to 12.0.4
Bug: 183031914
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: I7b5219a9f91aa2554b6206d98f3c2140c9d24629
2021-03-19 17:27:05 -07:00
Nick Desaulniers 1280e509c9 ANDROID: clang: update to 12.0.3
Bug: 180726982
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: I4cca039f9817eabd7bfedc92dbcfe57efec60853
2021-03-02 20:48:36 +00:00
Alistair Delva ff0216d09f ANDROID: clang: update to 12.0.1
Bug: 176824850
Signed-off-by: Alistair Delva <adelva@google.com>
Change-Id: I74b00c1aa754362616b002718eb2eeb8fc6ef8e9
2021-01-26 04:20:05 +00:00
Matthias Maennich 237011c53a ANDROID: build.config.common: allow overriding of HERMETIC_TOOLCHAIN
This is required at the moment to be set by build_abi.sh.

Bug: 175681515
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: I2657652c3fd3755fe2cee7a9a9ab01989a0bc8f3
2020-12-17 15:11:02 +00:00
Matthias Maennich 6991ab0b2d ANDROID: Enable hermetic toolchain
Enable the use of the hermetic toolchain across all builds of this
branch. For allmodconfig builds, also allow the use of openssl from the
host.

Bug: 157507870
Change-Id: Iabb1fe4f760f9821df0318934942302ffffade7c
Signed-off-by: Matthias Maennich <maennich@google.com>
2020-11-10 11:12:53 +00:00
Nick Desaulniers cf67471ced ANDROID: clang: update to 11.0.5
Bug: 170775238
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: Ibf405b519d406c58a25f4a765c6ba2d6f1bae50f
2020-10-27 11:22:40 -07:00
Nick Desaulniers dacc12eb10 ANDROID: build.config.common: enable LLVM=1
This moves builds to all use LLVM=1 argument to make, rather than
CC=clang NM=llvm-nm OBJCOPY=llvm-objcopy ... (see also
https://www.kernel.org/doc/html/latest/kbuild/llvm.html#llvm-utilities).

Step 3 of aosp/1405387.

Bug: 65987925
Bug: 141693040
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Change-Id: I0975dcad48b6c5344124343606e1c7f85e76e4ee
2020-09-22 20:25:08 +00:00
Will McVicker 67a1d5d3be ANDROID: drop KERNEL_DIR setting in build.config.common
And replace many references of ${ROOT_DIR}/common with
${ROOT_DIR}/${KERNEL_DIR}, which makes it a lot easier
to branch off of ACK and update the KERNEL_DIR.

The variable of KERNEL_DIR will be set in build/_setup_env.sh
to the directory of the build config file by default if it's
not set explicitly in the build config file or in environment.

Test: build test with following configs
        common/build.config.gki.aarch64
        common/build.config.db845c
        common/build.config.hikey960
        cuttlefish-modules/build.config.cuttlefish.aarch64

Bug: 162785964
Change-Id: I790ac0ded10bd790484f14c6f93d53e06c38b830
Signed-off-by: Will McVicker <willmcvicker@google.com>
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
(cherry picked from commit 931718fa65fe5e34d143250c048f591a7d74e5f8)
[elavila: resolve conflicts]
Signed-off-by: J. Avila <elavila@google.com>
2020-08-31 15:20:37 +00:00
Elliot Berman 023411cbe9 ANDROID: Use DTC from the hermetic toolchain
Set DTC from kernel build tools. The DTC is the same as used in AOSP.

Bug: 162811113
Change-Id: I16c513ba9c6ce5a1206e95e8de4ae923c11db894
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
2020-08-19 00:33:58 +00:00
Will McVicker f0bec7afff ANDROID: update the kernel release format for GKI
The new kernel release format is: w.x.y-zz-k where,
  w.x.y are the current values
  zzz is the Android Release value
  k is the KMI Generation number

This allows one to identify the kernel module interface version using
`uname -r`. The KMI Generation number is used to identify any KMI
changes that occur after the KMI freeze. This should only occur in an
unlikely event that a security patch requires a KMI update.

Here is a local example:
  5.4.51-android12-0-00153-ga972f59040e4-dirty

Signed-off-by: Will McVicker <willmcvicker@google.com>
Bug: 159842160
Change-Id: I33f40e424ca967b85d810cdb12c6a2c58e4197b7
[willmcvicker: squash with commit 0c0d417747d8e289b2808c3fca32c845f82fd5e5]
2020-07-27 23:41:36 +00:00
Matthias Maennich 82ce726a3f ANDROID: Use depmod from the hermetic toolchain
DEPMOD=depmod overwrites the default DEPMOD=/sbin/depmod and uses the
depmod version from PATH (coming from the hermetic toolchain).

Bug: 130657633
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: I73eefaa5508298bc61e9e586f981c5ddabed7656
2020-06-22 08:19:19 +00:00
Alistair Delva 2ffcd3857f ANDROID: clang: update to 11.0.1
Bug: 155426344
Signed-off-by: Alistair Delva <adelva@google.com>
Change-Id: Id3fde5d1aef8420f280863dfb1bede16056b4a83
2020-05-18 19:36:33 +00:00
Nick Desaulniers c68d25a6d8 ANDROID: clang: update to 10.0.6
Bug: 153164546
Change-Id: Iedeef21a93e45d2266a049f360ffe7f5bbc5f943
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
2020-04-08 18:01:31 +00:00
Alistair Delva 4e33416b65 ANDROID: clang: update to 10.0.5
Bug: 151950245
Signed-off-by: Alistair Delva <adelva@google.com>
Change-Id: Id3112a7530683fdfbb136191e6e395eda9ed279f
2020-03-30 20:08:42 +00:00
Alistair Delva 7385a070e2 ANDROID: clang: update to 10.0.4
Bug: 149785865
Change-Id: Id666b686a6e62c035f4abd620994326792c6bc8a
Signed-off-by: Alistair Delva <adelva@google.com>
2020-02-19 18:09:28 +00:00
Alistair Delva dbc9ea9521 ANDROID: clang: update to 10.0.1
Bug: 144776928
Change-Id: Ic1c76a05a54b0001eac6f9c6f248222989aa79bd
Signed-off-by: Alistair Delva <adelva@google.com>
2019-11-26 12:58:21 -08:00
Matthias Maennich 836bc88629 ANDROID: add unstripped modules to the distribution
The kernel ABI is determined by what vmlinux and the kernel modules are
exposing in their distribution. Hence, add IN_KERNEL_MODULES to the
distribution and ensure they have proper debug information.

Change-Id: Ia0ac6b8aa98fa28690acc1469c92c92e01f0fcbd
Signed-off-by: Matthias Maennich <maennich@google.com>
2019-11-20 23:43:38 +00:00
Peter Collingbourne d37d6fd8c0 ANDROID: build kernels with llvm-nm and llvm-objcopy
Causes CONFIG_RELR to be enabled, resulting in a gki_defconfig image size
decrease of 2.2MB/10.3% uncompressed or 170KB/2.0% compressed.

Bug: 137200966
Change-Id: I85d36e346ca54bfc50aaca6804684b9bf16c47f0
Signed-off-by: Peter Collingbourne <pcc@google.com>
2019-11-14 22:13:48 +00:00
Nick Desaulniers 7a5e47a1a8 build.config.*: Link android-mainline kernels with LLD
We've been building mainline x86_64 with LLD for months now, and don't
plan to upgrade Android's binutils to work around issues upstream
related to:

commit c603a309cc ("x86/mm: Identify the end of the kernel area to be reserved")

Bug: 138463564
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Alistair Delva <adelva@google.com>
Change-Id: Ic52f7f374c494e5d39efb758a7739ebd33799f49
2019-10-25 18:56:06 +00:00
Ram Muthiah 6ce0937faa ANDROID: Move from clang r353983c to r365631c
Bug: 139440459
Test: BUILD_CONFIG=common/build.config.gki.x86_64 build/build.sh
Test: BUILD_CONFIG=common/build.config.gki.aarch64 build/build.sh
Change-Id: I7ee5d9a687843c09bbc5edb591d3337bd5bfbcbc
Signed-off-by: Ram Muthiah <rammuthiah@google.com>
2019-10-22 17:59:02 +00:00
Matthias Maennich 6e792fdbdf ANDROID: refactor build.config files to remove duplication
The build.config.* files largely contain duplicate information by their
nature. Reorganize them reduce duplication and to allow adding new
configurations without copying the definitions again.

Bug: 140224784
Change-Id: I6a3810a125b0ed48591690ca33bb5c02be58218a
Signed-off-by: Matthias Maennich <maennich@google.com>
2019-08-30 14:55:29 +01:00