No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Matthias Maennich 66096b4c5f ANDROID: Fix ABI representation after enabling CONFIG_NET_NS
Leaf changes summary: 7 artifacts changed (1 filtered out)
Changed leaf types summary: 7 (1 filtered out) leaf types changed
Removed/Changed/Added functions summary: 0 Removed, 0 Changed, 0 Added function
Removed/Changed/Added variables summary: 0 Removed, 0 Changed, 0 Added variable

'struct net at net_namespace.h:54:1' changed:
  type size hasn't changed
  1 data member insertion:
    'netns_xdp net::xdp', at offset 31744 (in bits) at net_namespace.h:178:1
  there are data member changes:
   'sock* net::diag_nlsk' offset changed from 31744 to 32064 (in bits) (by +320 bits)

  1018 impacted interfaces

'struct net_device at netdevice.h:1781:1' changed:
  type size hasn't changed
  there are data member changes:
   'possible_net_t net_device::nd_net' size changed from 0 to 64 (in bits) (by +64 bits)
   offset changed from 9472 to 9536 (in bits) (by +64 bits)
   'device net_device::dev' offset changed from 9536 to 9600 (in bits) (by +64 bits)
   'const attribute_group* net_device::sysfs_groups[4]' offset changed from 15680 to 15744 (in bits) (by +64 bits)
   'const attribute_group* net_device::sysfs_rx_queue_group' offset changed from 15936 to 16000 (in bits) (by +64 bits)
   'const rtnl_link_ops* net_device::rtnl_link_ops' offset changed from 16000 to 16064 (in bits) (by +64 bits)
   'unsigned int net_device::gso_max_size' offset changed from 16064 to 16128 (in bits) (by +64 bits)
   'u16 net_device::gso_max_segs' offset changed from 16096 to 16160 (in bits) (by +64 bits)
   's16 net_device::num_tc' offset changed from 16112 to 16176 (in bits) (by +64 bits)
   'netdev_tc_txq net_device::tc_to_txq[16]' offset changed from 16128 to 16192 (in bits) (by +64 bits)
   'u8 net_device::prio_tc_map[16]' offset changed from 16640 to 16704 (in bits) (by +64 bits)
   'phy_device* net_device::phydev' offset changed from 16768 to 16832 (in bits) (by +64 bits)
   'sfp_bus* net_device::sfp_bus' offset changed from 16832 to 16896 (in bits) (by +64 bits)
   'lock_class_key net_device::addr_list_lock_key' offset changed from 16896 to 16960 (in bits) (by +64 bits)
   'bool net_device::proto_down' offset changed from 16896 to 16960 (in bits) (by +64 bits)
   'lock_class_key net_device::qdisc_running_key' offset changed from 16896 to 16960 (in bits) (by +64 bits)
   'lock_class_key net_device::qdisc_tx_busylock_key' offset changed from 16896 to 16960 (in bits) (by +64 bits)
   'lock_class_key net_device::qdisc_xmit_lock_key' offset changed from 16896 to 16960 (in bits) (by +64 bits)

  1018 impacted interfaces

'struct netdev_queue at netdevice.h:589:1' changed:
  type size hasn't changed
  1 data member insertion:
    'xdp_umem* netdev_queue::umem', at offset 896 (in bits) at netdevice.h:612:1

  1018 impacted interfaces

'struct netdev_rx_queue at netdevice.h:736:1' changed:
  type size changed from 1536 to 2048 (in bits)
  1 data member insertion:
    'xdp_umem* netdev_rx_queue::umem', at offset 1536 (in bits) at netdevice.h:745:1

  1018 impacted interfaces

'struct request_sock at request_sock.h:46:1' changed:
  type size changed from 1728 to 1792 (in bits)
  there are data member changes:
   type 'struct sock_common' of 'request_sock::__req_common' changed:
, size changed from 1024 to 1088 (in bits) (by +64 bits)
   'request_sock* request_sock::dl_next' offset changed from 1024 to 1088 (in bits) (by +64 bits)
   'u16 request_sock::mss' offset changed from 1088 to 1152 (in bits) (by +64 bits)
   'u8 request_sock::num_retrans' offset changed from 1104 to 1168 (in bits) (by +64 bits)
   'u8 request_sock::num_timeout' offset changed from 1112 to 1176 (in bits) (by +64 bits)
   'u32 request_sock::ts_recent' offset changed from 1120 to 1184 (in bits) (by +64 bits)
   'timer_list request_sock::rsk_timer' offset changed from 1152 to 1216 (in bits) (by +64 bits)
   'const request_sock_ops* request_sock::rsk_ops' offset changed from 1472 to 1536 (in bits) (by +64 bits)
   'sock* request_sock::sk' offset changed from 1536 to 1600 (in bits) (by +64 bits)
   'u32* request_sock::saved_syn' offset changed from 1600 to 1664 (in bits) (by +64 bits)
   'u32 request_sock::secid' offset changed from 1664 to 1728 (in bits) (by +64 bits)
   'u32 request_sock::peer_secid' offset changed from 1696 to 1760 (in bits) (by +64 bits)

  36 impacted interfaces

'struct sock at sock.h:324:1' changed:
  type size changed from 5952 to 6016 (in bits)
  there are data member changes:
   type 'struct sock_common' of 'sock::__sk_common' changed:
     type size changed from 1024 to 1088 (in bits)
     there are data member changes:
      'possible_net_t sock_common::skc_net' size changed from 0 to 64 (in bits) (by +64 bits)
      'in6_addr sock_common::skc_v6_daddr' offset changed from 384 to 448 (in bits) (by +64 bits)
      'in6_addr sock_common::skc_v6_rcv_saddr' offset changed from 512 to 576 (in bits) (by +64 bits)
      'atomic64_t sock_common::skc_cookie' offset changed from 640 to 704 (in bits) (by +64 bits)
      'int sock_common::skc_dontcopy_begin[]' offset changed from 768 to 832 (in bits) (by +64 bits)
      'unsigned short int sock_common::skc_tx_queue_mapping' offset changed from 896 to 960 (in bits) (by +64 bits)
      'unsigned short int sock_common::skc_rx_queue_mapping' offset changed from 912 to 976 (in bits) (by +64 bits)
      'refcount_t sock_common::skc_refcnt' offset changed from 960 to 1024 (in bits) (by +64 bits)
      'int sock_common::skc_dontcopy_end[]' offset changed from 992 to 1056 (in bits) (by +64 bits)

     36 impacted interfaces
, offset changed from 1792 to 1856 (in bits) (by +64 bits)
   'int sock::sk_forward_alloc' offset changed from 1984 to 2048 (in bits) (by +64 bits)
   'unsigned int sock::sk_ll_usec' offset changed from 2016 to 2080 (in bits) (by +64 bits)
   'unsigned int sock::sk_napi_id' offset changed from 2048 to 2112 (in bits) (by +64 bits)
   'int sock::sk_rcvbuf' offset changed from 2080 to 2144 (in bits) (by +64 bits)
   'sk_filter* sock::sk_filter' offset changed from 2112 to 2176 (in bits) (by +64 bits)
   offset changed from 2176 to 2240 (in bits) (by +64 bits)
   'xfrm_policy* sock::sk_policy[2]' offset changed from 2240 to 2304 (in bits) (by +64 bits)
   'dst_entry* sock::sk_rx_dst' offset changed from 2368 to 2432 (in bits) (by +64 bits)
   'dst_entry* sock::sk_dst_cache' offset changed from 2432 to 2496 (in bits) (by +64 bits)
   'atomic_t sock::sk_omem_alloc' offset changed from 2496 to 2560 (in bits) (by +64 bits)
   'int sock::sk_sndbuf' offset changed from 2528 to 2592 (in bits) (by +64 bits)
   'int sock::sk_wmem_queued' offset changed from 2560 to 2624 (in bits) (by +64 bits)
   'refcount_t sock::sk_wmem_alloc' offset changed from 2592 to 2656 (in bits) (by +64 bits)
   'unsigned long int sock::sk_tsq_flags' offset changed from 2624 to 2688 (in bits) (by +64 bits)
   'sk_buff* sock::sk_tx_skb_cache' offset changed from 2752 to 2816 (in bits) (by +64 bits)
   'sk_buff_head sock::sk_write_queue' offset changed from 2816 to 2880 (in bits) (by +64 bits)
   '__s32 sock::sk_peek_off' offset changed from 3008 to 3072 (in bits) (by +64 bits)
   'int sock::sk_write_pending' offset changed from 3040 to 3104 (in bits) (by +64 bits)
   '__u32 sock::sk_dst_pending_confirm' offset changed from 3072 to 3136 (in bits) (by +64 bits)
   'u32 sock::sk_pacing_status' offset changed from 3104 to 3168 (in bits) (by +64 bits)
   'long int sock::sk_sndtimeo' offset changed from 3136 to 3200 (in bits) (by +64 bits)
   'timer_list sock::sk_timer' offset changed from 3200 to 3264 (in bits) (by +64 bits)
   '__u32 sock::sk_priority' offset changed from 3520 to 3584 (in bits) (by +64 bits)
   '__u32 sock::sk_mark' offset changed from 3552 to 3616 (in bits) (by +64 bits)
   'unsigned long int sock::sk_pacing_rate' offset changed from 3584 to 3648 (in bits) (by +64 bits)
   'unsigned long int sock::sk_max_pacing_rate' offset changed from 3648 to 3712 (in bits) (by +64 bits)
   'page_frag sock::sk_frag' offset changed from 3712 to 3776 (in bits) (by +64 bits)
   'netdev_features_t sock::sk_route_caps' offset changed from 3840 to 3904 (in bits) (by +64 bits)
   'netdev_features_t sock::sk_route_nocaps' offset changed from 3904 to 3968 (in bits) (by +64 bits)
   'netdev_features_t sock::sk_route_forced_caps' offset changed from 3968 to 4032 (in bits) (by +64 bits)
   'int sock::sk_gso_type' offset changed from 4032 to 4096 (in bits) (by +64 bits)
   'unsigned int sock::sk_gso_max_size' offset changed from 4064 to 4128 (in bits) (by +64 bits)
   'gfp_t sock::sk_allocation' offset changed from 4096 to 4160 (in bits) (by +64 bits)
   '__u32 sock::sk_txhash' offset changed from 4128 to 4192 (in bits) (by +64 bits)
   'unsigned int sock::__sk_flags_offset[]' offset changed from 4160 to 4224 (in bits) (by +64 bits)
   'unsigned int sock::sk_type' offset changed from 4160 to 4224 (in bits) (by +64 bits)
   'u16 sock::sk_gso_max_segs' offset changed from 4192 to 4256 (in bits) (by +64 bits)
   'u8 sock::sk_pacing_shift' offset changed from 4208 to 4272 (in bits) (by +64 bits)
   'unsigned long int sock::sk_lingertime' offset changed from 4224 to 4288 (in bits) (by +64 bits)
   'proto* sock::sk_prot_creator' offset changed from 4288 to 4352 (in bits) (by +64 bits)
   'rwlock_t sock::sk_callback_lock' offset changed from 4352 to 4416 (in bits) (by +64 bits)
   'int sock::sk_err' offset changed from 4416 to 4480 (in bits) (by +64 bits)
   'int sock::sk_err_soft' offset changed from 4448 to 4512 (in bits) (by +64 bits)
   'u32 sock::sk_ack_backlog' offset changed from 4480 to 4544 (in bits) (by +64 bits)
   'u32 sock::sk_max_ack_backlog' offset changed from 4512 to 4576 (in bits) (by +64 bits)
   'kuid_t sock::sk_uid' offset changed from 4544 to 4608 (in bits) (by +64 bits)
   'pid* sock::sk_peer_pid' offset changed from 4608 to 4672 (in bits) (by +64 bits)
   'const cred* sock::sk_peer_cred' offset changed from 4672 to 4736 (in bits) (by +64 bits)
   'long int sock::sk_rcvtimeo' offset changed from 4736 to 4800 (in bits) (by +64 bits)
   'ktime_t sock::sk_stamp' offset changed from 4800 to 4864 (in bits) (by +64 bits)
   'u16 sock::sk_tsflags' offset changed from 4864 to 4928 (in bits) (by +64 bits)
   'u8 sock::sk_shutdown' offset changed from 4880 to 4944 (in bits) (by +64 bits)
   'u32 sock::sk_tskey' offset changed from 4896 to 4960 (in bits) (by +64 bits)
   'atomic_t sock::sk_zckey' offset changed from 4928 to 4992 (in bits) (by +64 bits)
   'u8 sock::sk_clockid' offset changed from 4960 to 5024 (in bits) (by +64 bits)
   'u8 sock::sk_txtime_unused' offset changed from 4968 to 5032 (in bits) (by +64 bits)
   'socket* sock::sk_socket' offset changed from 4992 to 5056 (in bits) (by +64 bits)
   'void* sock::sk_user_data' offset changed from 5056 to 5120 (in bits) (by +64 bits)
   'void* sock::sk_security' offset changed from 5120 to 5184 (in bits) (by +64 bits)
   'sock_cgroup_data sock::sk_cgrp_data' offset changed from 5184 to 5248 (in bits) (by +64 bits)
   'mem_cgroup* sock::sk_memcg' offset changed from 5248 to 5312 (in bits) (by +64 bits)
   'void ()* sock::sk_state_change' offset changed from 5312 to 5376 (in bits) (by +64 bits)
   'void ()* sock::sk_data_ready' offset changed from 5376 to 5440 (in bits) (by +64 bits)
   'void ()* sock::sk_write_space' offset changed from 5440 to 5504 (in bits) (by +64 bits)
   'void ()* sock::sk_error_report' offset changed from 5504 to 5568 (in bits) (by +64 bits)
   'void ()* sock::sk_backlog_rcv' offset changed from 5568 to 5632 (in bits) (by +64 bits)
   'void ()* sock::sk_destruct' offset changed from 5632 to 5696 (in bits) (by +64 bits)
   'sock_reuseport* sock::sk_reuseport_cb' offset changed from 5696 to 5760 (in bits) (by +64 bits)
   'bpf_sk_storage* sock::sk_bpf_storage' offset changed from 5760 to 5824 (in bits) (by +64 bits)
   'callback_head sock::sk_rcu' offset changed from 5824 to 5888 (in bits) (by +64 bits)

  36 impacted interfaces

'struct sock_common at sock.h:147:1' changed:
  details were reported earlier

Fixes: 9b0d1af931 ("ANDROID: gki_defconfig: Enable CONFIG_NET_NS")
Change-Id: Ied4883cd3d8b15c29df2b04258b30aa4c8c739ec
Signed-off-by: Matthias Maennich <maennich@google.com>
2020-02-19 12:24:09 +00:00
arch ANDROID: gki_defconfig: Enable CONFIG_NET_NS 2020-02-19 08:14:59 +00:00
block ANDROID: modularize BLK_MQ_VIRTIO 2020-01-31 16:27:30 -08:00
certs
crypto This is the 5.4.20 stable release 2020-02-19 08:28:27 +01:00
Documentation This is the 5.4.20 stable release 2020-02-19 08:28:27 +01:00
drivers This is the 5.4.20 stable release 2020-02-19 08:28:27 +01:00
fs This is the 5.4.20 stable release 2020-02-19 08:28:27 +01:00
include This is the 5.4.20 stable release 2020-02-19 08:28:27 +01:00
init This is the 5.4.17 stable release 2020-02-02 20:24:42 +00:00
ipc This is the 5.4.19 stable release 2020-02-11 14:09:41 -08:00
kernel This is the 5.4.20 stable release 2020-02-19 08:28:27 +01:00
lib UPSTREAM: dynamic_debug: allow to work if debugfs is disabled 2020-02-12 14:20:17 -08:00
LICENSES
mm This is the 5.4.19 stable release 2020-02-11 14:09:41 -08:00
net This is the 5.4.20 stable release 2020-02-19 08:28:27 +01:00
samples samples/bpf: Xdp_redirect_cpu fix missing tracepoint attach 2020-02-11 04:35:29 -08:00
scripts This is the 5.4.19 stable release 2020-02-11 14:09:41 -08:00
security This is the 5.4.20 stable release 2020-02-19 08:28:27 +01:00
sound This is the 5.4.20 stable release 2020-02-19 08:28:27 +01:00
tools This is the 5.4.20 stable release 2020-02-19 08:28:27 +01:00
usr
virt KVM: arm64: Treat emulated TVAL TimerValue as a signed 32-bit integer 2020-02-14 16:34:18 -05:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
abi_gki_aarch64.xml ANDROID: Fix ABI representation after enabling CONFIG_NET_NS 2020-02-19 12:24:09 +00:00
abi_gki_aarch64_cuttlefish_whitelist ANDROID: ABI/Whitelist: update for Cuttlefish 2020-02-13 19:58:58 +00:00
abi_gki_aarch64_db845c_whitelist ANDROID: ABI/Whitelist: update for db845c 2020-02-13 19:59:22 +00:00
abi_gki_aarch64_whitelist ANDROID: update ABI representation and GKI whitelist 2020-02-13 19:58:25 +00:00
build.config.aarch64 ANDROID: support GKI image that contains an uncompressed Kernel Image. 2020-02-06 11:14:03 +00:00
build.config.allmodconfig
build.config.allmodconfig.aarch64
build.config.allmodconfig.x86_64
build.config.common
build.config.cuttlefish.aarch64 ANDROID: cf build: Use merge_configs 2020-02-18 21:18:26 +00:00
build.config.cuttlefish.x86_64 ANDROID: cf build: Use merge_configs 2020-02-18 21:18:26 +00:00
build.config.db845c ANDROID: db845c: Add build config 2020-01-15 21:13:30 +00:00
build.config.gki ANDROID: gki: Removed cf modules from gki_defconfig 2020-01-31 16:34:58 -08:00
build.config.gki.aarch64 ANDROID: ABI/Whitelist: update for db845c 2020-02-13 19:59:22 +00:00
build.config.gki.x86_64
build.config.x86_64
COPYING
CREDITS
cuttlefish.fragment ANDROID: gki_defconfig: Disable SDCARD_FS 2020-02-14 21:39:47 +00:00
Kbuild
Kconfig
MAINTAINERS MAINTAINERS: correct entries for ISDN/mISDN section 2020-02-11 04:35:06 -08:00
Makefile This is the 5.4.20 stable release 2020-02-19 08:28:27 +01:00
README
README.md

How do I submit patches to Android Common Kernels

  1. BEST: Make all of your changes to upstream Linux. If appropriate, backport to the stable releases. These patches will be merged automatically in the corresponding common kernels. If the patch is already in upstream Linux, post a backport of the patch that conforms to the patch requirements below.

  2. LESS GOOD: Develop your patches out-of-tree (from an upstream Linux point-of-view). Unless these are fixing an Android-specific bug, these are very unlikely to be accepted unless they have been coordinated with kernel-team@android.com. If you want to proceed, post a patch that conforms to the patch requirements below.

Common Kernel patch requirements

  • All patches must conform to the Linux kernel coding standards and pass script/checkpatch.pl
  • Patches shall not break gki_defconfig or allmodconfig builds for arm, arm64, x86, x86_64 architectures (see https://source.android.com/setup/build/building-kernels)
  • If the patch is not merged from an upstream branch, the subject must be tagged with the type of patch: UPSTREAM:, BACKPORT:, FROMGIT:, FROMLIST:, or ANDROID:.
  • All patches must have a Change-Id: tag (see https://gerrit-review.googlesource.com/Documentation/user-changeid.html)
  • If an Android bug has been assigned, there must be a Bug: tag.
  • All patches must have a Signed-off-by: tag by the author and the submitter

Additional requirements are listed below based on patch type

Requirements for backports from mainline Linux: UPSTREAM:, BACKPORT:

  • If the patch is a cherry-pick from Linux mainline with no changes at all
    • tag the patch subject with UPSTREAM:.
    • add upstream commit information with a (cherry-picked from ...) line
    • Example:
      • if the upstream commit message is
        important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>
    - then Joe Smith would upload the patch for the common kernel as
        UPSTREAM: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        (cherry-picked from c31e73121f4c1ec41143423ac6ce3ce6dafdcec1)
        Signed-off-by: Joe Smith <joe.smith@foo.org>
  • If the patch requires any changes from the upstream version, tag the patch with BACKPORT: instead of UPSTREAM:.
    • use the same tags as UPSTREAM:
    • add comments about the changes under the (cherry-picked from ...) line
    • Example:
        BACKPORT: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        (cherry-picked from c31e73121f4c1ec41143423ac6ce3ce6dafdcec1)
        [ Resolved minor conflict in drivers/foo/bar.c ]
        Signed-off-by: Joe Smith <joe.smith@foo.org>

Requirements for other backports: FROMGIT:, FROMLIST:,

  • If the patch has been merged into an upstream maintainer tree, but has not yet been merged into Linux mainline
    • tag the patch subject with FROMGIT:
    • add info on where the patch came from as (cherry picked from commit <sha1> <repo> <branch>). This must be a stable maintainer branch (not rebased, so don't use linux-next for example).
    • if changes were required, use BACKPORT: FROMGIT:
    • Example:
      • if the commit message in the maintainer tree is
        important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>
    - then Joe Smith would upload the patch for the common kernel as
        FROMGIT: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        (cherry picked from commit 878a2fd9de10b03d11d2f622250285c7e63deace
         https://git.kernel.org/pub/scm/linux/kernel/git/foo/bar.git test-branch)
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        Signed-off-by: Joe Smith <joe.smith@foo.org>
  • If the patch has been submitted to LKML, but not accepted into any maintainer tree
    • tag the patch subject with FROMLIST:
    • add a Link: tag with a link to the submittal on lore.kernel.org
    • if changes were required, use BACKPORT: FROMLIST:
    • Example:
        FROMLIST: important patch from upstream

        This is the detailed description of the important patch

        Signed-off-by: Fred Jones <fred.jones@foo.org>

        Bug: 135791357
        Link: https://lore.kernel.org/lkml/20190619171517.GA17557@someone.com/
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        Signed-off-by: Joe Smith <joe.smith@foo.org>

Requirements for Android-specific patches: ANDROID:

  • If the patch is fixing a bug to Android-specific code
    • tag the patch subject with ANDROID:
    • add a Fixes: tag that cites the patch with the bug
    • Example:
        ANDROID: fix android-specific bug in foobar.c

        This is the detailed description of the important fix

        Fixes: 1234abcd2468 ("foobar: add cool feature")
        Change-Id: I4caaaa566ea080fa148c5e768bb1a0b6f7201c01
        Signed-off-by: Joe Smith <joe.smith@foo.org>
  • If the patch is a new feature
    • tag the patch subject with ANDROID:
    • add a Bug: tag with the Android bug (required for android-specific features)