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
Greg Kroah-Hartman ca48ea8b94 Merge tag 'android11-5.4.284_r00' into android11-5.4
This merges up to the 5.4.284 LTS release into the android11-5.4 branch.
Included in here are the following commits:

* 4cf36217bc Merge branch 'android11-5.4' into android11-5.4-lts
* 8ed9415215 Revert "clocksource/drivers/timer-of: Remove percpu irq related code"
* 97009b56c6 Merge 5.4.284 into android11-5.4-lts
* 661f109c05 Linux 5.4.284
* 7fcbb6aa50 Revert "parisc: Use irq_enter_rcu() to fix warning at kernel/context_tracking.c:367"
* 7c9be2c96c cx82310_eth: fix error return code in cx82310_bind()
* 934247ea65 net, sunrpc: Remap EPERM in case of connection failure in xs_tcp_setup_socket
* 6a976e9a47 rtmutex: Drop rt_mutex::wait_lock before scheduling
* 2120e07966 drm/i915/fence: Mark debug_fence_free() with __maybe_unused
* c4f8a84a2b drm/i915/fence: Mark debug_fence_init_onstack() with __maybe_unused
* 03e1fd0327 nvmet-tcp: fix kernel crash if commands allocation fails
* f57769ff6f arm64: acpi: Harden get_cpu_for_acpi_id() against missing CPU entry
* 28ac856039 arm64: acpi: Move get_cpu_for_acpi_id() to a header
* 9e81f6b3eb ACPI: processor: Fix memory leaks in error paths of processor_add()
* eaa995d0d5 ACPI: processor: Return an error if acpi_processor_get_info() fails in processor_add()
* ba97ba173f nilfs2: protect references to superblock parameters exposed in sysfs
* 9dffb618a6 nilfs2: replace snprintf in show functions with sysfs_emit
* 7195d0498d tracing: Avoid possible softlockup in tracing_iter_reset()
* 2feb2c351c ring-buffer: Rename ring_buffer_read() to read_buffer_iter_advance()
* c6011b495d uprobes: Use kzalloc to allocate xol area
* 302ac43e58 clocksource/drivers/timer-of: Remove percpu irq related code
* 6b0f357bf9 clocksource/drivers/imx-tpm: Fix next event not taking effect sometime
* d41b52a4f5 clocksource/drivers/imx-tpm: Fix return -ETIME when delta exceeds INT_MAX
* b243d52b5f VMCI: Fix use-after-free when removing resource in vmci_resource_remove()
* 9f0e663d83 Drivers: hv: vmbus: Fix rescind handling in uio_hv_generic
* f38f46da80 uio_hv_generic: Fix kernel NULL pointer dereference in hv_uio_rescind
* e8c5ba8941 nvmem: Fix return type of devm_nvmem_device_get() in kerneldoc
* 5a32bfd230 binder: fix UAF caused by offsets overwrite
* c8294c80b7 iio: fix scale application in iio_convert_raw_to_processed_unlocked
* 108e0ab0bc iio: buffer-dmaengine: fix releasing dma channel on error
* 0e727707a2 staging: iio: frequency: ad9834: Validate frequency parameter value
* d39fbfaf1a NFSv4: Add missing rescheduling points in nfs_client_return_marked_delegations
* 32c4fe1fd9 ata: pata_macio: Use WARN instead of BUG
* 0f27f4f445 lib/generic-radix-tree.c: Fix rare race in __genradix_ptr_alloc()
* defcaa426b of/irq: Prevent device address out-of-bounds read in interrupt map walk
* 1b9451ba6f Squashfs: sanity check symbolic link size
* 2cdbe9e5f5 usbnet: ipheth: race between ipheth_close and error handling
* 597ff93029 Input: uinput - reject requests with unreasonable number of slots
* fac3cb3c64 HID: cougar: fix slab-out-of-bounds Read in cougar_report_fixup
* 7ef29fada7 btrfs: initialize location to fix -Wmaybe-uninitialized in btrfs_lookup_dentry()
* df77a678c3 PCI: Add missing bridge lock to pci_bus_lock()
* 71291aa724 btrfs: clean up our handling of refs == 0 in snapshot delete
* 7fbbb8b2b3 btrfs: replace BUG_ON with ASSERT in walk_down_proc()
* 4e2c30e0df smp: Add missing destroy_work_on_stack() call in smp_call_on_cpu()
* d834433ff3 wifi: mwifiex: Do not return unused priv in mwifiex_get_priv_by_id()
* ed9cc6b6c3 libbpf: Add NULL checks to bpf_object__{prev_map,next_map}
* 77ab0fd231 hwmon: (w83627ehf) Fix underflows seen when writing limit attributes
* d6035c55fa hwmon: (nct6775-core) Fix underflows seen when writing limit attributes
* 438453dfbb hwmon: (lm95234) Fix underflows seen when writing limit attributes
* 7645d783df hwmon: (adc128d818) Fix underflows seen when writing limit attributes
* c4c681999d pci/hotplug/pnv_php: Fix hotplug driver crash on Powernv
* 7046afecc4 devres: Initialize an uninitialized struct member
* 96301fdc2d um: line: always fill *error_out in setup_one_line()
* 193f352631 cgroup: Protect css->cgroup write under css_set_lock
* 26cd726c32 iommu/vt-d: Handle volatile descriptor status read
* 4bfe58ae95 dm init: Handle minors larger than 255
* 01f7b90c64 ASoC: topology: Properly initialize soc_enum values
* 4bf22baba8 net: dsa: vsc73xx: fix possible subblocks range of CAPT block
* 608597018f net: bridge: br_fdb_external_learn_add(): always set EXT_LEARN
* 8c72b1cd0c net: bridge: fdb: convert added_by_external_learn to use bitops
* a021356aca net: bridge: fdb: convert added_by_user to bitops
* c2d2a39fab net: bridge: fdb: convert is_sticky to bitops
* 7d3a9267d5 net: bridge: fdb: convert is_static to bitops
* 3e28497e4d net: bridge: fdb: convert is_local to bitops
* 7d70e0b391 usbnet: modern method to get random MAC
* f3c54d6e06 net: usb: don't write directly to netdev->dev_addr
* 84a198ee61 drivers/net/usb: Remove all strcpy() uses
* c1b187a86a cx82310_eth: re-enable ethernet mode after router reboot
* 6f9fdf5806 tcp_bpf: fix return value of tcp_bpf_sendmsg()
* 82a9451ef8 platform/x86: dell-smbios: Fix error path in dell_smbios_init()
* b7387a7c77 igb: Fix not clearing TimeSync interrupts for 82580
* 33ed4ba73c can: bcm: Remove proc entry when dev is unregistered.
* 97daf3f475 pcmcia: Use resource_size function on resource object
* 3d883961e3 media: qcom: camss: Add check for v4l2_fwnode_endpoint_parse
* cfb006e185 PCI: keystone: Add workaround for Errata #i2037 (AM65x SR 1.0)
* dfeee99390 usb: uas: set host status byte on data completion error
* f7ffb098bd wifi: brcmsmac: advertise MFP_CAPABLE to enable WPA3
* 1497a4484c udf: Avoid excessive partition lengths
* 52d2172873 netfilter: nf_conncount: fix wrong variable type
* 37c60b3ff4 af_unix: Remove put_pid()/put_cred() in copy_peercred().
* 7c7ad414d4 irqchip/armada-370-xp: Do not allow mapping IRQ 0 and 1
* 2859267753 smack: unix sockets: fix accept()ed socket label
* f2a4fe8b3e ALSA: hda: Add input value sanity checks to HDMI channel map controls
* 036441e843 nilfs2: fix state management in error path of log writing function
* da02f9eb33 nilfs2: fix missing cleanup on rollforward recovery error
* 4a4eeefa51 sched: sch_cake: fix bulk flow accounting logic for host fairness
* dcaf4e2216 ila: call nf_unregister_net_hooks() sooner
* 0af2a13a37 clk: qcom: clk-alpha-pll: Fix the trion pll postdiv set rate API
* 2464ec897f clk: qcom: clk-alpha-pll: Fix the pll post div mask
* 04b2b4b416 clk: hi6220: use CLK_OF_DECLARE_DRIVER
* 065c48f9e1 reset: hi6220: Add support for AO reset controller
* 9f38784479 fuse: use unsigned type for getxattr/listxattr size truncation
* 20f3ae4e4d fuse: update stats for pages in dropped aux writeback list
* 54368655ab mmc: sdhci-of-aspeed: fix module autoloading
* b9ee16a20d mmc: dw_mmc: Fix IDMAC operation with pages bigger than 4K
* 03fb62294f irqchip/gic-v2m: Fix refcount leak in gicv2m_of_init()
* 3dd4e84c02 ata: libata: Fix memory leak for error path in ata_host_alloc()
* b7cec87c62 ALSA: hda/conexant: Add pincfg quirk to enable top speakers on Sirius devices
* 993b60c7f9 ASoC: dapm: Fix UAF for snd_soc_pcm_runtime object
* 295ad5afd9 sch/netem: fix use after free in netem_dequeue
* d24c9a466c i2c: Use IS_REACHABLE() for substituting empty ACPI functions
* 1b9666845f udf: Limit file size to 4TB
* d3af435e8a virtio_net: Fix napi_skb_cache_put warning
* e1d41cb9c0 net: set SOCK_RCU_FREE before inserting socket into hashtable
* 129f95948a block: initialize integrity buffer to zero before writing it to media
* 61fb1989ad media: uvcvideo: Enforce alignment of frame and interval
* 0364f1f17a drm/amd/display: Skip wbscl_set_scaler_filter if filter is null
* d7fc80b7f8 wifi: cfg80211: make hash table duplicates more survivable
* 5b4b304f19 smack: tcp: ipv4, fix incorrect labeling
* 8095bf0579 usb: typec: ucsi: Fix null pointer dereference in trace
* bf9502a1ae usbip: Don't submit special requests twice
* d87108bbcd ionic: fix potential irq name truncation
* 730ee2686a apparmor: fix possible NULL pointer dereference
* e0c2b19a97 drm/amdkfd: Reconcile the definition and use of oem_id in struct kfd_topology_device
* 2097edede7 drm/amdgpu: fix mc_data out-of-bounds read warning
* e789e05388 drm/amdgpu: fix ucode out-of-bounds read warning
* c1beebdfe7 drm/amd/display: Fix Coverity INTEGER_OVERFLOW within dal_gpio_service_create
* a72d499640 drm/amd/display: Check num_valid_sets before accessing reader_wm_sets[]
* d619b91d3c drm/amd/display: Stop amdgpu_dm initialize when stream nums greater than 6
* 8520fdc8ec drm/amd/display: Check gpio_id before used as array index
* 3d4d211d9b drm/amdgpu: fix overflowed array index read warning
* eb74cf33a3 drm/amdgpu: Fix uninitialized variable warning in amdgpu_afmt_acr
* e35c2b95fb net: usb: qmi_wwan: add MeiG Smart SRM825L
* 2da63ce188 i2c: Fix conditional for substituting empty ACPI functions
* d5cb4c88a3 drm: panel-orientation-quirks: Add quirk for OrangePi Neo

Change-Id: I7bc8fbb8195ce896375f9c48c82c60b29eeff399
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2024-10-28 10:32:58 +00:00
android ANDROID: GKI: refresh ABI to include kimage_vaddr 2024-07-22 12:26:41 +01:00
arch This is the 5.4.284 stable release 2024-09-12 10:37:37 +00:00
block This is the 5.4.284 stable release 2024-09-12 10:37:37 +00:00
certs
crypto This is the 5.4.278 stable release 2024-06-18 14:18:49 +00:00
Documentation Merge tag 'android11-5.4.283_r00' into android11-5.4 2024-09-12 10:53:01 +00:00
drivers Merge branch 'android11-5.4' into android11-5.4-lts 2024-09-27 14:14:06 +00:00
fs Merge tag 'android11-5.4.284_r00' into android11-5.4 2024-10-28 10:32:58 +00:00
include Merge tag 'android11-5.4.284_r00' into android11-5.4 2024-10-28 10:32:58 +00:00
init Merge 5.4.274 into android11-5.4-lts 2024-04-18 07:23:10 +00:00
ipc ipc: replace costly bailout check in sysvipc_find_ipc() 2024-09-04 13:15:02 +02:00
kernel This is the 5.4.284 stable release 2024-09-12 10:37:37 +00:00
lib This is the 5.4.284 stable release 2024-09-12 10:37:37 +00:00
LICENSES
mm ANDROID: 16K: Fixup padding vm_flags bits on VMA splits 2024-10-10 16:13:35 -07:00
net This is the 5.4.284 stable release 2024-09-12 10:37:37 +00:00
samples Revert "media: rename VFL_TYPE_GRABBER to _VIDEO" 2024-04-17 16:49:02 +00:00
scripts This is the 5.4.282 stable release 2024-08-28 08:50:45 +00:00
security This is the 5.4.284 stable release 2024-09-12 10:37:37 +00:00
sound This is the 5.4.284 stable release 2024-09-12 10:37:37 +00:00
tools Merge branch 'android11-5.4' into android11-5.4-lts 2024-09-27 14:14:06 +00:00
usr
virt KVM: async_pf: Cleanup kvm_setup_async_pf() 2024-05-02 16:18:32 +02:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
build.config.aarch64
build.config.allmodconfig
build.config.allmodconfig.aarch64
build.config.allmodconfig.arm
build.config.allmodconfig.x86_64
build.config.arm
build.config.common
build.config.db845c ANDROID: db845c: Enable device tree overlay support 2024-01-13 10:38:25 +05:30
build.config.gki
build.config.gki-debug.aarch64
build.config.gki-debug.x86_64
build.config.gki.aarch64
build.config.gki.x86_64
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.hikey960
build.config.x86_64
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS This is the 5.4.255 stable release 2023-08-30 16:47:09 +00:00
Makefile This is the 5.4.284 stable release 2024-09-12 10:37:37 +00:00
OWNERS ANDROID: Use GKI Dr. No OWNERS file 2023-12-04 13:28:17 +00: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)