Commit Graph
1433751 Commits
Author SHA1 Message Date
Carlos Llamas 00b31fa2fc Merge 8934827db5 ("Merge tag 'kmalloc_obj-treewide-v7.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux") into android-mainline
Steps on the way to v7.0-rc1

Change-Id: Iaebb984d0a7c2a6fa4677a85b72818a8466a6b2c
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-21 03:08:00 -07:00
Carlos Llamas f909e0291a ANDROID: netfilter: xt_IDLETIMER: align kmalloc with upstream
Commit 382e68666b ("ANDROID: core of xt_IDLETIMER send_nl_msg
support"), switched the allocation of info->timer in
idletimer_tg_create_v1() to use kzalloc() instead of plain kmalloc().

While this seems like a safer option it also creates merge conflicts
with multiple upstream patches that replace kmalloc() calls with their
new kmalloc_obj() equivalents (treewide).

Instead of using kzmalloc() align the allocation with upstream and
manually initialize suspend_time_valid (added downstream). This is
enough to guarantee timer->last_suspend_time is valid.

A switch to kzmalloc_obj() can be reapplied later if really needed or
even better it could be sent upstream but it seems unnecessary there.

Bug: 183485987
Cc: Maciej Żenczykowski <maze@google.com>
Change-Id: I6f55c3dafe6ae64b163cb807300f7c5dddf7a421
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-21 03:08:00 -07:00
Hubert Mazur b25f66675c ANDROID: BUILD.bazel: Add Image.zst build artifact
Add zstd compressed kernel image to be built by default. Zstd compressed
kernel image is approximately 1.6 times smaller than lz4 which will improve
boot time on platforms with slower I/O (e.g. eMMC) though it shall be
carefully used and verified with BootPerf test as lz4 offers faster
decompression time in general than zstd.

Bug: 457429470
Test: tools/bazel run //common:kernel_aarch64_dist
Test: Verify that Image.zst is present in dist dir

Change-Id: Ia73cbd9fb12fccd30665490d1ceab1496e4b08d7
Signed-off-by: Hubert Mazur <hmazur@google.com>
2026-04-20 22:13:06 -07:00
Isaac J. Manjarres 821e986d60 ANDROID: mm/memfd-ashmem-shim: Read file names properly
Relying on the inline name is not correct, as it is possible for file
names to change, or for them to use a different and larger buffer
than the inline buffer for storing the file's name.

Therefore, use the [take|release]_dentry_name_snapshot() functions to
read the file names properly.

Bug: 498445098
Fixes: e433d83cab ("ANDROID: mm/memfd-ashmem-shim: Introduce shim layer")
Change-Id: Ie09684bee445f8d1f636f3b7c8e6228c857e9dc4
Signed-off-by: Isaac J. Manjarres <isaacmanjarres@google.com>
2026-04-20 14:46:14 -07:00
Carlos Llamas b1aefe9582 Merge c7decec2f2 ("Merge tag 'perf-tools-for-v7.0-1-2026-02-21' of git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools") into android-mainline
Steps on the way to v7.0-rc1

Change-Id: Ie5e6da0a2b201dab70621e50cad82fb87cf94d2c
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-20 03:01:12 -07:00
Carlos Llamas 3e3c031b19 Merge 433b23a3da ("Merge tag 'dmi-for-v7.0' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging") into android-mainline
Steps on the way to v7.0-rc1

Change-Id: I38932d831ba74c33f9d469f6c720c62d249716c5
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-20 02:59:55 -07:00
Carlos Llamas 71825a2c93 Merge 43257b2ebd ("Merge tag 'kmalloc_obj-prep-v7.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux") into android-mainline
Steps on the way to v7.0-rc1

Change-Id: I9942f47ec7576a831834c5c4a3aa0af4c4b7affe
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-20 02:59:55 -07:00
Carlos Llamas f32ca52507 ANDROID: selftests/memfd: fix duplicate semun definition
Android's bionic provides the 'union semun' definition via <sys/sem.h>
header (and glibc does not). A second definition was introduced in
commit b24335521d ("selftests/memfd: use IPC semaphore instead of
SIGSTOP/SIGCONT") breaking Android builds:

 tools/testing/selftests/memfd/memfd_test.c:45:7: error: redefinition of 'semun'
   45 | union semun {
      |       ^
  toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/sys/sem.h:46:7: note: previous definition is here
   46 | union semun {
      |       ^

I tried switching to <linux/sem.h> which provides this definition but
there are further conflicts with other headers. This is likely the
reason why the patch author used <sys/sem.h> instead.

While a better approach is fixed upstream, let's simply avoid the
definition for Android builds for now.

Bug: 504071052
Fixes: b24335521d ("selftests/memfd: use IPC semaphore instead of SIGSTOP/SIGCONT")
Change-Id: I6c14139986bb9e7f4fdf992e02c572f5af953b09
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-20 02:59:18 -07:00
Carlos Llamas 2252eb2ae4 Merge 2b7a25df82 ("Merge tag 'mm-nonmm-stable-2026-02-18-19-56' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm") into android-mainline
Steps on the way to v7.0-rc1

Change-Id: I241b7a105a7073507eb26721f075f4dc4ce2c2b8
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-20 02:59:18 -07:00
Carlos Llamas f823e4a603 ANDROID: ashmem-legacy: convert to new vma_flags_t type
In commit 9ea35a25d5 ("mm: introduce VMA flags bitmap type") the flags
parameter in shmem_file_setup() was converted to the new vma_flags_t.
Match the same type with vma->flags, which was also added in the same
commit as a temporary solution.

Cc: Isaac J. Manjarres <isaacmanjarres@google.com>
Fixes: 9ea35a25d5 ("mm: introduce VMA flags bitmap type")
Change-Id: I75df61a1b1bc6ef0c5897fd4256a6bb3701120c6
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-20 02:58:52 -07:00
Carlos Llamas fe592cc5b2 ANDROID: ashmem: convert to new vma_flags_t type
In commit 9ea35a25d5 ("mm: introduce VMA flags bitmap type") the flags
parameter in shmem_file_setup() was converted to the new vma_flags_t.
This means the plubming in VmaNew needs to also be converted to handle
this new type. In the mean time, let's do the manual translation.

Cc: Alice Ryhl <aliceryhl@google.com>
Cc: Isaac J. Manjarres <isaacmanjarres@google.com>
Fixes: 9ea35a25d5 ("mm: introduce VMA flags bitmap type")
Change-Id: Ic344b1a3dcd1cda39c808c3ed913d1c42cfb2c9e
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-20 02:58:52 -07:00
Carlos Llamas 8db2d83b3a Merge eeccf287a2 ("Merge tag 'mm-stable-2026-02-18-19-48' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm") into android-mainline
Steps on the way to v7.0-rc1

Change-Id: Ib9acccf464512994b656e43e7de5c53054b6876e
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-20 02:58:52 -07:00
Carlos Llamas 09656f44f8 Merge 956b9cbd7f ("Merge tag 'kbuild-fixes-7.0-1' of git://git.kernel.org/pub/scm/linux/kernel/git/kbuild/linux") into android-mainline
Steps on the way to v7.0-rc1

Change-Id: Iac3830657c4b3bf75c8d8f6f3c2fec245f7babcf
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-20 01:11:47 -07:00
Carlos Llamas c46806a412 Merge 1d22968feb ("Merge tag 'v7.0-rc-part2-smb3-client-fixes' of git://git.samba.org/sfrench/cifs-2.6") into android-mainline
Steps on the way to v7.0-rc1

Change-Id: Ice16aef36896de4b171a98994d684ab51c07d3ba
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-20 01:11:47 -07:00
Carlos Llamas 1aa7173e46 Merge 7b751b01ad ("Merge tag 'io_uring-7.0-20260216' of git://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux") into android-mainline
Steps on the way to v7.0-rc1

Change-Id: Ie34ff7c48cecc0af9ae3933751e8a53c71244285
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-20 01:09:35 -07:00
Carlos Llamas 5988cc4b82 Merge 2d10a48871 ("Merge tag 'probes-v7.0' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace") into android-mainline
Steps on the way to v7.0-rc1

Change-Id: I2b2b8f067eeb13ea25c9ebea9332562e38d20f4b
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-20 01:09:35 -07:00
Carlos Llamas fb5f04713e Merge 8b3c75a39c ("Merge tag 'fbdev-for-7.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/linux-fbdev") into android-mainline
Steps on the way to v7.0-rc1

Change-Id: I13c6c1fd941e7ab63bc8422957f0fce727a8e5b1
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-20 01:09:35 -07:00
Carlos Llamas 07177c97f0 Merge 1b49e36325 ("Merge tag 'mtd/for-7.0' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux") into android-mainline
Steps on the way to v7.0-rc1

Change-Id: I1f246fccc9008154c82cba658a57a523324c265f
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-20 01:09:35 -07:00
Carlos Llamas c7cfe45404 Merge 311aa68319 ("Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma") into android-mainline
Steps on the way to v7.0-rc1

Change-Id: I7829ffe08db0c5dd2d949d018e7efff9081b662a
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-20 01:09:35 -07:00
Carlos Llamas 4bf89d0006 ANDROID: hex.h: include hex.h in OOT users
Upstream drop the <linux/hex.h> header from <include/kernel.h> and
updated all users to directly #include <linux/hex.h>. This patch updates
the remaining Android OOT users.

Fixes: 24c776355f ("kernel.h: drop hex.h and update all hex.h users")
Change-Id: I9de9396e8667e44b94b92af2bc3e042bab619f7a
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-20 01:09:35 -07:00
Carlos Llamas 4371c3504c Merge 136114e0ab ("Merge tag 'mm-nonmm-stable-2026-02-12-10-48' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm") into android-mainline
Steps on the way to v7.0-rc1

Change-Id: Ib462a9655f62136ae7c00a0773c8f93a456e90f6
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-20 01:09:35 -07:00
Carlos Llamas 7873db654c Merge 4cff5c05e0 ("Merge tag 'mm-stable-2026-02-11-19-22' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm") into android-mainline
Steps on the way to v7.0-rc1

Resolves trivial merge conflicts in:
	mm/cma.c

Cc: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ifb7dc04f3ce279318b9c10525ef81b304201d7ae
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-17 22:51:45 -07:00
Carlos Llamas 137ec41775 Revert "ANDROID: export symbols for zram module"
This reverts commit a3654ae7c1.

It has merge conflicts with upstream patches in v7.0. It can be later
reapplied if needed.

Bug: 421065577
Cc: Richard Chang <richardycc@google.com>
Change-Id: I69cbdf92162a2c2c273331e00531aacd725d0b72
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-17 22:51:45 -07:00
Carlos Llamas 4ff6650a01 Revert "ANDROID: zram: Refactor writeback helpers"
This reverts commit 40c4d5553e.

It has merge conflicts with upstream patches in v7.0. It can be later
reapplied if needed.

Bug: 421065577
Cc: Richard Chang <richardycc@google.com>
Change-Id: If2d56b842adf435ce9a9a4f15a362228fcbbba06
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-17 22:51:45 -07:00
Carlos Llamas 42a5939990 Revert "ANDROID: zram: Track bytes processed during writeback"
This reverts commit ec3dda719e.

It has merge conflicts with upstream patches in v7.0. It can be later
reapplied if needed.

Bug: 421065577
Cc: Richard Chang <richardycc@google.com>
Change-Id: Icf3bee3d73eb49506806ada44e523a08afc21b31
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-17 22:51:45 -07:00
Carlos Llamas e0f05f86dd Revert "ANDROID: zram: Add ioctl infrastructure"
This reverts commit 3243013882.

It has merge conflicts with upstream patches in v7.0. It can be later
reapplied if needed.

Bug: 421065577
Cc: Richard Chang <richardycc@google.com>
Change-Id: I3ddd79895b388a81828d9ec3b5708c8afd048f7a
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-17 22:51:45 -07:00
Carlos Llamas ac8c4ccde6 Revert "ANDROID: zram: Add ioctl for per-process writeback operation"
This reverts commit d4dc3d260d.

It has merge conflicts with upstream patches in v7.0. It can be later
reapplied if needed.

Bug: 421065577
Cc: Richard Chang <richardycc@google.com>
Change-Id: I069d1ea9b56f810b5a6553788d6b4e6fe290891e
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-17 22:51:45 -07:00
Carlos Llamas b0b3fa8f8b Revert "ANDROID: zram: enable ZRAM_ANDROID_IOCTL config"
This reverts commit a34dce73e1.

It has merge conflicts with upstream patches in v7.0. It can be later
reapplied if needed.

Bug: 421065577
Cc: Richard Chang <richardycc@google.com>
Change-Id: I7f946e58660a46b582dc4bc3a2e4b56a76f2b021
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-17 22:51:45 -07:00
Carlos Llamas c1befa0374 Revert "ANDROID: mm: cma: export __cma_alloc()"
This reverts commit 5559b861a3.

Upstream dropped __cma_alloc() in commit 9bda131c60 ("mm: cma: add
cma_alloc_frozen{_compound}()"), and replaced it with an alternative
__cma_alloc_frozen() but that doesn't increment the page's refcount.
Pixel should convert to use plain cma_alloc() instead.

Bug: 308881290
Cc: Juan Yescas <jyescas@google.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Change-Id: I27ea5d46481f46ff290737ef12bece6e01dbb990
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-17 22:51:45 -07:00
Carlos Llamas 98de91adb1 Revert "ANDROID: arm64/mm: Add command line option to make ZONE_DMA32 empty"
This reverts commit 0706332e2c.

It has a conflict with upstream commit 60b35af0a6 ("arm64: introduce
arch_zone_limits_init()"), and the resolution might not be as trivial as
max_zone_pfns[] is now initialized in arch_zone_limits_init().

Bug: 372371001
Cc: Suren Baghdasaryan <surenb@google.com>
Change-Id: I8a86834557a92b4a56c2c5f2f439884f5381c20e
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-17 22:51:45 -07:00
Carlos Llamas e65cc53ea4 Revert "BACKPORT: zram: introduce compressed data writeback"
This reverts commit 4922a3cdd7.

The clean version from upstream will be pulled via v7.0-rc1 instead.

Bug: 278101072
Change-Id: Ib1da4441f62f41b57e6b15e5b67e0dcf402f2bba
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-17 22:51:45 -07:00
Carlos Llamas e24cfc41c2 Revert "UPSTREAM: zram: introduce writeback_compressed device attribute"
This reverts commit 40d1642f43.

The same version from upstream will be pulled via v7.0-rc1 instead.

Bug: 278101072
Change-Id: Ia0ce4cdaec0d11516eeae783ef3633198a8886dc
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-17 22:51:45 -07:00
Carlos Llamas 162e06398e Revert "BACKPORT: FROMGIT: zram: rename writeback_compressed device attr"
This reverts commit 883e4d055a.

The clean version from upstream will be pulled via v7.0-rc1 instead.

Bug: 278101072
Change-Id: Iac508f94757951b7f454613f40f43b3510e33607
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-17 22:51:45 -07:00
Siddharth Nayyar 85a912b637 ANDROID: include tools/include via implementation_deps in bpf_x86
This allows Bazel to natively resolve the external repository paths in
standalone workspaces which Bazel uses during tests. `package_name()`
approach only returns the path relative to the root of its own
workspace, which causes the include path to be set incorrectly for test
workspaces.

Bug: 477549297
Change-Id: Iab298c120acc5d29e5eb41b30ba145a3726b07a4
Signed-off-by: Siddharth Nayyar <sidnayyar@google.com>
2026-04-17 21:18:57 +00:00
Siddharth Nayyar 1f7450e3f5 ANDROID: do not propagate bpf_x86 includes to downstream targets
This change prevents bpf_86 include paths from polluting include paths
for downstream targets.

Bug: 477549297
Change-Id: Id36fc673d016bc4a73d63b515f145e1976425e4e
Signed-off-by: Siddharth Nayyar <sidnayyar@google.com>
2026-04-17 21:17:42 +00:00
Siddharth Nayyar 119ff4988d ANDROID: remove unnecessary copt for bpf_x86 target
copt -I tools/lib/bpf is not required since all headers under this
directory are included with the hdrs attribute.

Bug: 477549297
Change-Id: I1e47f481034f4c3b5dc0308c016e55810ff2f455
Signed-off-by: Siddharth Nayyar <sidnayyar@google.com>
2026-04-17 20:06:44 +00:00
Brandon Chen eaf686faf8 ANDROID: Add ddk_headers_archive for x86_64
It is used as prebuilt artifacts of x86_64 headers for ddk workspace.

Test: tools/bazel build //common:kernel_x86_64_ddk_headers_archive
Bug: 493138451

Change-Id: I467136525571acef2d443db6b5d5cbc93c74e982
Signed-off-by: Brandon Chen <brandon.chen@imgtec.com>
2026-04-14 20:19:56 +08:00
Carlos Llamas 84ccdbb63c Merge 541c43310e ("Merge tag 'fs_for_v6.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs") into android-mainline
Steps on the way to v7.0-rc1

Change-Id: Ic4fc3d1532368e0faa67cb498a197c4590980cf2
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-10 17:33:06 +00:00
Carlos Llamas 6c60795586 ANDROID: db845c: add new ath12k_wifi7 module
The wifi7-specific functionality was split out from the ath12k core into
a new ath12k_wifi7.ko module. This sill gets enabled via CONFIG_ATH12K,
so add it to the list of db845c module outs.

Cc: Amit Pundir <amit.pundir@linaro.org>
Fixes: a720270452 ("wifi: ath12k: Modularize driver into common and Wi-Fi 7 specific components")
Change-Id: I7178a05925c0004e434d7bcd25d5637861d6b49b
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-10 17:19:23 +00:00
Carlos Llamas 565665f413 ANDROID: GKI: disable PTP_1588_CLOCK_VMCLOCK
Upstream has removed the ACPI dependency from PTP_1588_CLOCK_VMCLOCK
which means this option gets now implicitly enabled via PTP_1588_CLOCK.
It is not used in GKI, so let's keep it disabled.

Fixes: ac1e740492 ("ptp: ptp_vmclock: remove dependency on CONFIG_ACPI")
Change-Id: Ife2bb7594d6321b9e86f2f64c040d1c59363face
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-10 16:06:17 +00:00
Carlos Llamas 32a2a14c9d Merge 37a93dd5c4 ("Merge tag 'net-next-7.0' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next") into android-mainline
Steps on the way to v7.0-rc1

Change-Id: I0943e236f0f85519a56f3433c96c4cf416be3d3e
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-10 15:52:03 +00:00
Carlos Llamas 16ed7c4d5e ANDROID: ipv6: match trailing whitespace with upstream
There is a trailing whitespace in this comment block that was likely
accidentally fixed during a merge conflict resolution. However, this
correction now triggers further merge conflicts with upstream patches.

Let's match the upstream "mistake". Note that netdev discourages from
sending simple clean-up patches, so it's unlikely this will get fixed
upstream anytime soon.

Fixes: a83342f977 ("Merge ca661c5e1d ("Merge tag 'selinux-pr-20240312' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux") into android-mainline")
Change-Id: I1387e0948263ef9a5ba5ef6d259b818ea06a2a14
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-09 22:45:24 +00:00
Carlos Llamas 7d8deb5e05 Merge 098b6e44cb ("Merge tag 'devicetree-for-7.0' of git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux") into android-mainline
Steps on the way to v7.0-rc1

Change-Id: I85d2693fbb64a96a3a4c81025d7b382526bc22f1
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-09 21:37:37 +00:00
Danilo Krummrich 6451793b24 UPSTREAM: Revert "driver core: enforce device_lock for driver_match_device()"
This reverts commit dc23806a7c ("driver core: enforce device_lock for
driver_match_device()") and commit 289b14592c ("driver core: fix
inverted "locked" suffix of driver_match_device()").

While technically correct, there is a major downside to this approach:

When a device is already present in the system and a driver is
registered on the same bus, we iterate over all devices registered on
this bus to see if one of them matches. If we come across an already
bound one where the corresponding driver crashed while holding the
device lock (e.g. in probe()) we can't make any progress anymore.

However, drivers are typically the least tested code in the kernel and
hence it is a case that is likely to happen regularly. Besides hurting
developer ergonomics, it potentially decreases chances of shutting
things down cleanly and obtaining logs in production environments as
well [1].

This came up in the context of a firewire bug, which only in combination
with the reverted commit, caused the machine to hang [2]. Additionally,
it was observed in [3].

Thus, revert commit dc23806a7c ("driver core: enforce device_lock for
driver_match_device()") and add a brief note clarifying that an
implementer of struct bus_type must not expect match() to be called with
the device lock held.

Link: https://lore.kernel.org/driver-core/DGRGTIRHA62X.3RY09D9SOK77P@kernel.org/ [1]
Link: https://lore.kernel.org/all/67f655bb-4d81-4609-b008-68d200255dd2@davidgow.net/ [2]
Link: https://lore.kernel.org/lkml/CALbr=LZ4v7N=tO1vgOsyj9AS+XuNbn6kG-QcF+PacdMjSo0iyw@mail.gmail.com/ [3]
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Closes: https://lore.kernel.org/driver-core/CAHk-=wgJ_L1C=HjcYJotg_zrZEmiLFJaoic+PWthjuQrutrfJw@mail.gmail.com/
Reviewed-by: Gui-Dong Han <hanguidong02@gmail.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/20260302002545.19389-1-dakr@kernel.org
[ Add additional Link: reference. - Danilo ]
Signed-off-by: Danilo Krummrich <dakr@kernel.org>

Bug: 501105778
(cherry picked from commit 9de68394a6)
Change-Id: Ic91bd80fbd352d57d70f355bf647ded64156e635
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-09 21:20:39 +00:00
Carlos Llamas 07c6b6aee6 Merge c6e62d002b ("Merge tag 'driver-core-7.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core") into android-mainline
Steps on the way to v7.0-rc1

Change-Id: Ia00d7cb889f3aebc4162639830e51373f50e22ec
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-09 17:25:12 +00:00
Sai Harshini Nimmala a89d31bd05 ANDROID: sched: Export cpu_logical_map
This symbol is needed in qcom vendor module. Export it.

Bug: 500772634
Change-Id: Ia3dc1151af6b349bd5a366032c53f1a18e1343d3
Signed-off-by: Sai Harshini Nimmala <snimmala@qti.qualcomm.com>
2026-04-09 10:01:50 -07:00
Carlos Llamas a4c7102a3e Reapply "kbuild: remove EXTRA_*FLAGS support"
This reverts commit 695728b4bd.

Android has carried this revert for too long. The OOT drivers should
instead be updated to reflect the EXTRA_CFLAGS and similar removal.
There are other options such as KCFLAGS, CFLAGS_MODULE and ccflags-y
that should serve as a replacement depending on the specifics.

Bug: 412122604
Change-Id: I8512b6c20113af6ed6bfcc527898cad6c6fc4864
Signed-off-by: Carlos Llamas <cmllamas@google.com>
2026-04-09 01:13:26 -07:00
Akshai Murari f52a1ef7f2 FROMGIT: Input: add keycodes for contextual AI usages (HUTRR119)
HUTRR119 introduces new usages for keys intended to invoke AI agents
based on the current context. These are useful with the increasing
number of operating systems with integrated Large Language Models

Add new key definitions for KEY_ACTION_ON_SELECTION,
KEY_CONTEXTUAL_INSERT and KEY_CONTEXTUAL_QUERY

Bug: 486130163
Change-Id: I810323f35044529fe55039cb76a9306b2b481ec9
(cherry picked from commit 45065a5095
https://git.kernel.org/pub/scm/linux/kernel/git/hid/hid.git for-next)
Signed-off-by: Akshai Murari <akshaim@google.com>
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
2026-04-06 13:40:16 +00:00
Siddharth Nayyar 03ea09943b ANDROID: build pahole from sources
This change builds pahole from sources in external/dwarves with libbpf
library built from sources in the kernel tree.

Bug: 477549297
Change-Id: I79a921239f66238c435470b38f6337e1d4137107
Signed-off-by: Siddharth Nayyar <sidnayyar@google.com>
2026-04-01 15:35:27 +00:00
Ulises Mendez Martinez a1681c4161 ANDROID: Stop setting boot partition sizes
* This is in favor of using --dynamic_partition_size

Bug: 466517442
Change-Id: If65ad6e711a95426ef2d5f4b43c57db50a305020
Signed-off-by: Ulises Mendez Martinez <umendez@google.com>
2026-04-01 05:17:46 -07:00