Kernel Source and devicetree for NOTHING Phone(3a) and Phone(3a)Pro
Find a file
fengqi fae94bc4e7 ANDROID: GKI: update symbol list file for xiaomi
INFO: 68 function symbol(s) added
  'int __break_lease(struct inode*, unsigned int, unsigned int)'
  'void __d_lookup_unhash_wake(struct dentry*)'
  'int __folio_lock_killable(struct folio*)'
  'int add_swap_extent(struct swap_info_struct*, unsigned long, unsigned long, sector_t)'
  'int asn1_ber_decoder(const struct asn1_decoder*, void*, const unsigned char*, size_t)'
  'size_t copy_page_from_iter(struct page*, size_t, size_t, struct iov_iter*)'
  'size_t copy_page_to_iter(struct page*, size_t, size_t, struct iov_iter*)'
  'struct dentry* d_alloc_parallel(struct dentry*, const struct qstr*, wait_queue_head_t*)'
  'void d_drop(struct dentry*)'
  'struct dentry* d_hash_and_lookup(struct dentry*, struct qstr*)'
  'void d_invalidate(struct dentry*)'
  'void d_move(struct dentry*, struct dentry*)'
  'void deactivate_super(struct super_block*)'
  'int errseq_check(errseq_t*, errseq_t)'
  'int file_modified(struct file*)'
  'vm_fault_t filemap_map_pages(struct vm_fault*, unsigned long, unsigned long)'
  'int finish_no_open(struct file*, struct dentry*)'
  'int finish_open(struct file*, struct dentry*, int(*)(struct inode*, struct file*))'
  'bool folio_clear_dirty_for_io(struct folio*)'
  'void folio_wait_private_2(struct folio*)'
  'int fs_param_is_bool(struct p_log*, const struct fs_parameter_spec*, struct fs_parameter*, struct fs_parse_result*)'
  'int fs_param_is_u64(struct p_log*, const struct fs_parameter_spec*, struct fs_parameter*, struct fs_parse_result*)'
  'void generate_random_uuid(unsigned char*)'
  'ssize_t generic_copy_file_range(struct file*, loff_t, struct file*, loff_t, size_t, unsigned int)'
  'ssize_t generic_file_write_iter(struct kiocb*, struct iov_iter*)'
  'int generic_key_instantiate(struct key*, struct key_preparsed_payload*)'
  'int generic_setlease(struct file*, long, struct file_lock**, void**)'
  'int invalidate_inode_pages2(struct address_space*)'
  'void iov_iter_bvec(struct iov_iter*, unsigned int, const struct bio_vec*, unsigned long, size_t)'
  'void iov_iter_discard(struct iov_iter*, unsigned int, size_t)'
  'ssize_t iov_iter_get_pages_alloc2(struct iov_iter*, struct page***, size_t, size_t*)'
  'int iov_iter_npages(const struct iov_iter*, int)'
  'void key_invalidate(struct key*)'
  'void key_revoke(struct key*)'
  'int key_validate(const struct key*)'
  'void lock_two_nondirectories(struct inode*, struct inode*)'
  'int locks_lock_inode_wait(struct inode*, struct file_lock*)'
  'enum OID look_up_OID(const void*, size_t)'
  'struct dentry* lookup_positive_unlocked(const char*, struct dentry*, int)'
  'int out_of_line_wait_on_bit_lock(void*, int, wait_bit_action_f*, unsigned int)'
  'const struct cred* override_creds(const struct cred*)'
  'int posix_lock_file(struct file*, struct file_lock*, struct file_lock*)'
  'void posix_test_lock(struct file*, struct file_lock*)'
  'struct cred* prepare_kernel_cred(struct task_struct*)'
  'int register_key_type(struct key_type*)'
  'struct key* request_key_tag(struct key_type*, const char*, struct key_tag*, const char*)'
  'void revert_creds(const struct cred*)'
  'int security_sb_eat_lsm_opts(char*, void**)'
  'void seq_escape_mem(struct seq_file*, const char*, size_t, unsigned int, const char*)'
  'int set_anon_super(struct super_block*, void*)'
  'struct super_block* sget(struct file_system_type*, int(*)(struct super_block*, void*), int(*)(struct super_block*, void*), int, void*)'
  'int sock_sendmsg(struct socket*, struct msghdr*)'
  'int sprint_oid(const void*, size_t, char*, size_t)'
  'int super_setup_bdi(struct super_block*)'
  'void tcp_sock_set_cork(struct sock*, bool)'
  'void tcp_sock_set_nodelay(struct sock*)'
  'void truncate_inode_pages_range(struct address_space*, loff_t, loff_t)'
  'void truncate_pagecache_range(struct inode*, loff_t, loff_t)'
  'void unlock_two_nondirectories(struct inode*, struct inode*)'
  'void unregister_key_type(struct key_type*)'
  'void user_describe(const struct key*, struct seq_file*)'
  'void user_destroy(struct key*)'
  'long user_read(const struct key*, char*, size_t)'
  'void user_revoke(struct key*)'
  'int utf8s_to_utf16s(const u8*, int, enum utf16_endian, wchar_t*, int)'
  'int vfs_parse_fs_string(struct fs_context*, const char*, const char*, size_t)'
  'loff_t vfs_setpos(struct file*, loff_t, loff_t)'
  'void wait_on_page_writeback(struct page*)'

1 variable symbol(s) added
  'struct key_type key_type_logon'

Bug: 334801999

Change-Id: I89f2029bb73155ffd0dd4236de32a7c74d1a8f48
Signed-off-by: fengqi <fengqi@xiaomi.corp-partner.google.com>
2024-05-08 17:05:40 +00:00
android ANDROID: GKI: update symbol list file for xiaomi 2024-05-08 17:05:40 +00:00
arch ANDROID: vendor_hooks: add two hooks for lazy preemption 2024-04-30 17:06:35 +00:00
block Reapply "ANDROID: block: Add support for filesystem requests and small segments" 2024-04-17 18:38:54 +00:00
certs This is the 6.1.11 stable release 2023-02-09 13:29:55 +00:00
crypto Reapply "Merge tag 'android14-6.1.75_r00' into android14-6.1" 2024-04-02 19:49:12 +00:00
Documentation BACKPORT: userfaultfd: UFFDIO_MOVE uABI 2024-04-22 18:09:14 +00:00
drivers FROMGIT: usb: typec: tcpm: Check for port partner validity before consuming it 2024-05-01 16:07:02 -07:00
fs ANDROID: 16K: Fix show maps CFI failure 2024-05-02 22:14:25 +00:00
include ANDROID: 16K: Fix show maps CFI failure 2024-05-02 22:14:25 +00:00
init Reapply "Merge tag 'android14-6.1.75_r00' into android14-6.1" 2024-04-02 19:49:12 +00:00
io_uring Reapply "Merge tag 'android14-6.1.75_r00' into android14-6.1" 2024-04-02 19:49:12 +00:00
ipc
kernel ANDROID: vendor_hooks: add two hooks for lazy preemption 2024-04-30 17:06:35 +00:00
lib Reapply "Merge tag 'android14-6.1.75_r00' into android14-6.1" 2024-04-02 19:49:12 +00:00
LICENSES
mm ANDROID: 16K: Fix show maps CFI failure 2024-05-02 22:14:25 +00:00
net UPSTREAM: netfilter: nft_set_pipapo: do not free live element 2024-05-07 13:49:00 +00:00
rust rust: allocator: Prevent mis-aligned allocation 2023-08-11 12:08:18 +02:00
samples Merge 6.1.60 into android14-6.1-lts 2023-11-03 16:23:47 +00:00
scripts Reapply "Merge tag 'android14-6.1.75_r00' into android14-6.1" 2024-04-02 19:49:12 +00:00
security Reapply "Merge tag 'android14-6.1.75_r00' into android14-6.1" 2024-04-02 19:49:12 +00:00
sound UPSTREAM: ALSA: virtio: Fix "Coverity: virtsnd_kctl_tlv_op(): Uninitialized variables" warning. 2024-04-04 15:35:58 +00:00
tools BACKPORT: selftests/mm: add separate UFFDIO_MOVE test for PMD splitting 2024-04-22 18:09:14 +00:00
usr
virt kvm/vfio: ensure kvg instance stays around in kvm_vfio_group_add() 2023-09-13 09:42:46 +02:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore ANDROID: add Android KABI build files to root .gitignore file 2023-06-09 13:12:00 +00:00
.mailmap
.rustfmt.toml
BUILD.bazel ANDROID: Add known structs used by modules to KMI 2024-04-16 13:49:35 -07:00
build.config.aarch64 ANDROID: Move NDK_TRIPLE to build.config.constants. 2023-02-14 14:13:51 -08:00
build.config.allmodconfig ANDROID: Revert "ANDROID: allmodconfig: disable WERROR" 2023-08-21 17:29:29 +01:00
build.config.allmodconfig.aarch64
build.config.allmodconfig.arm
build.config.allmodconfig.x86_64
build.config.amlogic ANDROID: Unnest MAKE_GOALS from build configs 2023-05-02 13:37:21 +00:00
build.config.arm ANDROID: kleaf: move NDK_TRIPLE for arm to build.config.constants. 2023-05-09 22:36:11 +00:00
build.config.common ANDROID: 6/16/2023 KMI update 2023-06-16 20:49:51 +00:00
build.config.constants ANDROID: clang: update to 17.0.2 2023-05-15 18:53:36 +00:00
build.config.crashdump ANDROID: Move microdroid and crashdump defconfigs to common 2023-09-27 15:30:26 +00:00
build.config.crashdump.aarch64 ANDROID: Move microdroid and crashdump defconfigs to common 2023-09-27 15:30:26 +00:00
build.config.crashdump.x86_64 ANDROID: Move microdroid and crashdump defconfigs to common 2023-09-27 15:30:26 +00:00
build.config.db845c Reapply "Merge tag 'android14-6.1.75_r00' into android14-6.1" 2024-04-02 19:49:12 +00:00
build.config.gki
build.config.gki-debug.aarch64
build.config.gki-debug.x86_64
build.config.gki.aarch64 ANDROID: Delete MODULES_LIST from build configs. 2023-06-21 11:18:02 +00:00
build.config.gki.aarch64.fips140 ANDROID: remove LTO check from build.config.gki.aarch64.fips140 2024-03-04 11:19:25 +00:00
build.config.gki.riscv64 ANDROID: Delete MODULES_LIST from build configs. 2023-06-21 11:18:02 +00:00
build.config.gki.x86_64 ANDROID: Delete MODULES_LIST from build configs. 2023-06-21 11:18:02 +00:00
build.config.gki_kasan
build.config.gki_kasan.aarch64
build.config.gki_kasan.x86_64
build.config.gki_kprobes
build.config.gki_kprobes.aarch64
build.config.gki_kprobes.x86_64
build.config.khwasan
build.config.microdroid ANDROID: Move microdroid and crashdump defconfigs to common 2023-09-27 15:30:26 +00:00
build.config.microdroid.aarch64 ANDROID: Move microdroid and crashdump defconfigs to common 2023-09-27 15:30:26 +00:00
build.config.microdroid.x86_64 ANDROID: Move microdroid and crashdump defconfigs to common 2023-09-27 15:30:26 +00:00
build.config.riscv64
build.config.rockchip ANDROID: GKI: Add rockchip fragment and build.config 2023-09-19 17:36:15 +00:00
build.config.rockpi4 ANDROID: db845c: Remove MAKE_GOALS from build.config 2023-05-15 07:01:39 +00:00
build.config.x86_64 ANDROID: Move NDK_TRIPLE to build.config.constants. 2023-02-14 14:13:51 -08:00
COPYING
CREDITS
Kbuild
Kconfig
Kconfig.ext
MAINTAINERS Reapply "Merge tag 'android14-6.1.75_r00' into android14-6.1" 2024-04-02 19:49:12 +00:00
Makefile Reapply "Merge tag 'android14-6.1.75_r00' into android14-6.1" 2024-04-02 19:49:12 +00:00
modules.bzl Revert "ANDROID: Build null_blk and scsi_debug as kernel modules" 2024-02-29 10:22:01 -08:00
OWNERS ANDROID: Enable GKI Dr. No Enforcement 2023-06-15 09:54:33 +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.

    • Do not send patches upstream that contain only symbol exports. To be considered for upstream Linux, additions of EXPORT_SYMBOL_GPL() require an in-tree modular driver that uses the symbol -- so include the new driver or changes to an existing driver in the same patchset as the export.
    • When sending patches upstream, the commit message must contain a clear case for why the patch is needed and beneficial to the community. Enabling out-of-tree drivers or functionality is not not a persuasive case.
  2. LESS GOOD: Develop your patches out-of-tree (from an upstream Linux point-of-view). Unless these are fixing an Android-specific bug, these are very unlikely to be accepted unless they have been coordinated with kernel-team@android.com. If you want to proceed, post a patch that conforms to the patch requirements below.

Common Kernel patch requirements

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

Additional requirements are listed below based on patch type

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

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

        This is the detailed description of the important patch

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

        This is the detailed description of the important patch

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

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

        This is the detailed description of the important patch

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

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

Requirements for other backports: FROMGIT:, FROMLIST:,

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

        This is the detailed description of the important patch

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

        This is the detailed description of the important patch

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

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

        This is the detailed description of the important patch

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

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

Requirements for Android-specific patches: ANDROID:

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

        This is the detailed description of the important fix

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