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
Todd Kjos 0ec411877b ANDROID: GKI: update ABI for mmc changes
Leaf changes summary: 3 artifacts changed
Changed leaf types summary: 3 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 mmc_host at host.h:271:1' changed:
  type size hasn't changed
  1 data member insertion:
    'bool mmc_host::hsq_enabled', at offset 12272 (in bits) at host.h:467:1
  86 impacted interfaces:
    function int __mmc_claim_host(mmc_host*, mmc_ctx*, atomic_t*)
    function int __mmc_send_status(mmc_card*, u32*, unsigned int)
    function int __sdhci_add_host(sdhci_host*)
    function int mmc_add_host(mmc_host*)
    function mmc_host* mmc_alloc_host(int, device*)
    function int mmc_app_cmd(mmc_host*, mmc_card*)
    function unsigned int mmc_calc_max_discard(mmc_card*)
    function int mmc_can_erase(mmc_card*)
    function bool mmc_can_gpio_cd(mmc_host*)
    function int mmc_can_sanitize(mmc_card*)
    function int mmc_can_secure_erase_trim(mmc_card*)
    function int mmc_can_trim(mmc_card*)
    function int mmc_cmdq_disable(mmc_card*)
    function int mmc_cmdq_enable(mmc_card*)
    function void mmc_cqe_post_req(mmc_host*, mmc_request*)
    function int mmc_cqe_recovery(mmc_host*)
    function int mmc_cqe_start_req(mmc_host*, mmc_request*)
    function int mmc_detect_card_removed(mmc_host*)
    function void mmc_detect_change(mmc_host*, unsigned long int)
    function int mmc_erase(mmc_card*, unsigned int, unsigned int, unsigned int)
    function int mmc_erase_group_aligned(mmc_card*, unsigned int, unsigned int)
    function int mmc_flush_cache(mmc_card*)
    function void mmc_free_host(mmc_host*)
    function void mmc_get_card(mmc_card*, mmc_ctx*)
    function int mmc_get_ext_csd(mmc_card*, unsigned char**)
    function int mmc_gpio_get_cd(mmc_host*)
    function int mmc_gpio_get_ro(mmc_host*)
    function int mmc_gpiod_request_cd(mmc_host*, const char*, unsigned int, bool, unsigned int, bool*)
    function void mmc_gpiod_request_cd_irq(mmc_host*)
    function int mmc_gpiod_request_ro(mmc_host*, const char*, unsigned int, unsigned int, bool*)
    function int mmc_hw_reset(mmc_host*)
    function int mmc_of_parse(mmc_host*)
    function void mmc_put_card(mmc_card*, mmc_ctx*)
    function int mmc_register_driver(mmc_driver*)
    function int mmc_regulator_get_supply(mmc_host*)
    function int mmc_regulator_set_ocr(mmc_host*, regulator*, unsigned short int)
    function int mmc_regulator_set_vqmmc(mmc_host*, mmc_ios*)
    function void mmc_release_host(mmc_host*)
    function void mmc_remove_host(mmc_host*)
    function void mmc_request_done(mmc_host*, mmc_request*)
    function void mmc_retune_pause(mmc_host*)
    function void mmc_retune_release(mmc_host*)
    function void mmc_retune_unpause(mmc_host*)
    function void mmc_run_bkops(mmc_card*)
    function int mmc_send_status(mmc_card*, unsigned int*)
    function int mmc_send_tuning(mmc_host*, u32, int*)
    function void mmc_set_data_timeout(mmc_data*, const mmc_card*)
    function int mmc_start_request(mmc_host*, mmc_request*)
    function int mmc_switch(mmc_card*, unsigned char, unsigned char, unsigned char, unsigned int)
    function void mmc_unregister_driver(mmc_driver*)
    function int mmc_wait_for_cmd(mmc_host*, mmc_command*, int)
    function void mmc_wait_for_req(mmc_host*, mmc_request*)
    function int sdhci_add_host(sdhci_host*)
    function void sdhci_cleanup_host(sdhci_host*)
    function void sdhci_enable_clk(sdhci_host*, u16)
    function void sdhci_enable_v4_mode(sdhci_host*)
    function sdhci_host* sdhci_pltfm_init(platform_device*, const sdhci_pltfm_data*, size_t)
    function void sdhci_remove_host(sdhci_host*, int)
    function void sdhci_request(mmc_host*, mmc_request*)
    function void sdhci_reset(sdhci_host*, u8)
    function int sdhci_runtime_resume_host(sdhci_host*, int)
    function int sdhci_runtime_suspend_host(sdhci_host*)
    function void sdhci_set_bus_width(sdhci_host*, int)
    function int sdhci_setup_host(sdhci_host*)
    function void sdio_claim_host(sdio_func*)
    function int sdio_claim_irq(sdio_func*, sdio_irq_handler_t*)
    function int sdio_disable_func(sdio_func*)
    function int sdio_enable_func(sdio_func*)
    function unsigned char sdio_f0_readb(sdio_func*, unsigned int, int*)
    function void sdio_f0_writeb(sdio_func*, unsigned char, unsigned int, int*)
    function mmc_pm_flag_t sdio_get_host_pm_caps(sdio_func*)
    function int sdio_memcpy_fromio(sdio_func*, void*, unsigned int, int)
    function int sdio_memcpy_toio(sdio_func*, unsigned int, void*, int)
    function u8 sdio_readb(sdio_func*, unsigned int, int*)
    function u32 sdio_readl(sdio_func*, unsigned int, int*)
    function int sdio_readsb(sdio_func*, void*, unsigned int, int)
    function int sdio_register_driver(sdio_driver*)
    function void sdio_release_host(sdio_func*)
    function int sdio_release_irq(sdio_func*)
    function int sdio_set_block_size(sdio_func*, unsigned int)
    function int sdio_set_host_pm_flags(sdio_func*, mmc_pm_flag_t)
    function void sdio_signal_irq(mmc_host*)
    function void sdio_unregister_driver(sdio_driver*)
    function void sdio_writeb(sdio_func*, u8, unsigned int, int*)
    function void sdio_writel(sdio_func*, u32, unsigned int, int*)
    function int sdio_writesb(sdio_func*, unsigned int, void*, int)

'struct sdhci_host at sdhci.h:372:1' changed:
  type size hasn't changed
  1 data member insertion:
    'bool sdhci_host::always_defer_done', at offset 5400 (in bits) at sdhci.h:538:1
  12 impacted interfaces:
    function int __sdhci_add_host(sdhci_host*)
    function int sdhci_add_host(sdhci_host*)
    function void sdhci_cleanup_host(sdhci_host*)
    function void sdhci_enable_clk(sdhci_host*, u16)
    function void sdhci_enable_v4_mode(sdhci_host*)
    function sdhci_host* sdhci_pltfm_init(platform_device*, const sdhci_pltfm_data*, size_t)
    function void sdhci_remove_host(sdhci_host*, int)
    function void sdhci_reset(sdhci_host*, u8)
    function int sdhci_runtime_resume_host(sdhci_host*, int)
    function int sdhci_runtime_suspend_host(sdhci_host*)
    function void sdhci_set_bus_width(sdhci_host*, int)
    function int sdhci_setup_host(sdhci_host*)

'struct sdhci_ops at sdhci.h:611:1' changed:
  type size changed from 1728 to 1792 (in bits)
  1 data member insertion:
    'void ()* sdhci_ops::request_done', at offset 1728 (in bits) at sdhci.h:650:1
  12 impacted interfaces:
    function int __sdhci_add_host(sdhci_host*)
    function int sdhci_add_host(sdhci_host*)
    function void sdhci_cleanup_host(sdhci_host*)
    function void sdhci_enable_clk(sdhci_host*, u16)
    function void sdhci_enable_v4_mode(sdhci_host*)
    function sdhci_host* sdhci_pltfm_init(platform_device*, const sdhci_pltfm_data*, size_t)
    function void sdhci_remove_host(sdhci_host*, int)
    function void sdhci_reset(sdhci_host*, u8)
    function int sdhci_runtime_resume_host(sdhci_host*, int)
    function int sdhci_runtime_suspend_host(sdhci_host*)
    function void sdhci_set_bus_width(sdhci_host*, int)
    function int sdhci_setup_host(sdhci_host*)

Bug: 151514181
Signed-off-by: Todd Kjos <tkjos@google.com>
Change-Id: I08c570140f576438d01c26aca41f5ffb3525628d
2020-04-08 16:32:28 +00:00
arch ANDROID: GKI: Remove SCHED_AUTOGROUP 2020-04-07 16:02:18 -07:00
block ANDROID: block: require drivers to declare supported crypto key type(s) 2020-04-07 17:58:49 +00:00
certs
crypto This is the 5.4.23 stable release 2020-03-01 10:17:44 +01:00
Documentation This is the 5.4.29 stable release 2020-04-02 14:26:14 +02:00
drivers UPSTREAM: mmc: sdhci-sprd: Set the missing MMC_CAP_WAIT_WHILE_BUSY flag 2020-04-08 09:29:47 -07:00
fs ANDROID: fscrypt: fall back to filesystem-layer crypto when needed 2020-04-07 17:59:05 +00:00
include UPSTREAM: mmc: Add MMC host software queue support 2020-04-08 09:29:46 -07:00
init FROMGIT: kbuild: mkcompile_h: Include $LD version in /proc/version 2020-04-08 16:27:24 +00:00
ipc This is the 5.4.23 stable release 2020-03-01 10:17:44 +01:00
kernel This is the 5.4.31 stable release 2020-04-08 13:00:39 +02:00
lib This is the 5.4.31 stable release 2020-04-08 13:00:39 +02:00
LICENSES
mm This is the 5.4.31 stable release 2020-04-08 13:00:39 +02:00
net This is the 5.4.31 stable release 2020-04-08 13:00:39 +02:00
samples FROMGIT: samples/hw_breakpoint: drop use of kallsyms_lookup_name() 2020-03-12 11:15:54 +00:00
scripts FROMGIT: kbuild: mkcompile_h: Include $LD version in /proc/version 2020-04-08 16:27:24 +00:00
security This is the 5.4.25 stable release 2020-03-12 17:09:04 +01:00
sound This is the 5.4.31 stable release 2020-04-08 13:00:39 +02:00
tools This is the 5.4.31 stable release 2020-04-08 13:00:39 +02:00
usr initramfs: restore default compression behavior 2020-04-08 09:08:38 +02:00
virt KVM: Check for a bad hva before dropping into the ghc slow path 2020-03-05 16:43:48 +01:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
abi_gki_aarch64.xml ANDROID: GKI: update ABI for mmc changes 2020-04-08 16:32:28 +00:00
abi_gki_aarch64_cuttlefish_whitelist ANDROID: GKI: update cf whitelist + gki whitelist 2020-03-31 12:28:54 -07:00
abi_gki_aarch64_db845c_whitelist ANDROID: ABI/Whitelist: update for db845c 2020-03-30 23:58:31 +00:00
abi_gki_aarch64_goldfish_whitelist ANDROID: GKI: Added goldfish whitelist to aarch64 abi 2020-03-31 12:45:07 -07:00
abi_gki_aarch64_hikey960_whitelist ANDROID: ABI/Whitelist: update for hikey960 2020-03-23 23:39:45 +00:00
abi_gki_aarch64_qcom_whitelist ANDROID: GKI: remove kernel_read/write from whitelists 2020-04-02 06:18:20 +00:00
abi_gki_aarch64_unisoc_whitelist ANDROID: GKI: remove kernel_read/write from whitelists 2020-04-02 06:18:20 +00:00
abi_gki_aarch64_whitelist ANDROID: abi_gki_aarch64_whitelist: add module_layout and task_struct 2020-03-04 23:09:20 +00:00
build.config.aarch64
build.config.allmodconfig
build.config.allmodconfig.aarch64
build.config.allmodconfig.arm ANDROID: Add build.config files for ARM 32-bit 2020-03-15 22:51:11 +00:00
build.config.allmodconfig.x86_64
build.config.arm ANDROID: Add build.config files for ARM 32-bit 2020-03-15 22:51:11 +00:00
build.config.common ANDROID: clang: update to 10.0.5 2020-03-30 20:09:25 +00:00
build.config.db845c ANDROID: db845c build: Use merge_configs 2020-04-01 14:04:53 +00:00
build.config.gki
build.config.gki-debug.aarch64 ANDROID: Add build.config.gki-debug.aarch64 2020-03-16 09:20:25 +00:00
build.config.gki-debug.x86_64 ANDROID: Add build.config.gki-debug.x86_64 2020-03-16 14:27:00 +00:00
build.config.gki.aarch64 ANDROID: GKI: Added goldfish whitelist to aarch64 abi 2020-03-31 12:45:07 -07:00
build.config.gki.x86_64
build.config.hikey960 ANDROID: hikey960: Add external mali driver support to build.config.hikey960 2020-03-23 22:55:17 +00:00
build.config.x86_64
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS This is the 5.4.23 stable release 2020-03-01 10:17:44 +01:00
Makefile This is the 5.4.31 stable release 2020-04-08 13:00:39 +02: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)