05 Feb, 2021
1 commit
-
CONFIG_DEBUG_FS is not allowed in user build mode
from below file: kernel/configs/android-5.10/non_debuggable.configSigned-off-by: Jindong Yue
Change-Id: I6fd9e74808d4a96e33d5cca748b0f6dd2bab88e8
27 Jan, 2021
1 commit
-
DMA_VIRTUAL_CHANNELS depends on DMADEVICES and DMA_VIRTUAL_CHANNELS
is selected by GKI_HIDDEN_SND_SOC_CONFIGS.To fix unmet dependency in x86_64, select DMADEVICES under
GKI_HIDDEN_SND_SOC_CONFIGS.Also, drop CONFIG_DMADEVICES=y in arch/arm64/configs/gki_defconfig.
WARNING: unmet direct dependencies detected for DMA_VIRTUAL_CHANNELS
Depends on [n]: DMADEVICES [=n]
Selected by [y]:
- GKI_HIDDEN_SND_SOC_CONFIGS [=y]Bug: 174628645
Signed-off-by: Miles Chen
Change-Id: I1de491c10542f1b7c9c8754c65415b028d3bc922
13 Jan, 2021
1 commit
-
Enable the KUNIT core, which has a small ABI impact, and also the
DEBUGFS feature so that results can be reaped. This change does not
actually enable any KUNIT tests or the internal selftests, those must be
enabled by downstream builds.Bug: 176228452
Change-Id: I2817cb1495fe7bf0485e63f877a68b1971e26cc5
Signed-off-by: Alistair Delva
12 Jan, 2021
1 commit
-
Enable TRACE_MMIO_ACCESS config for memory mapped io
register read and write tracing support in GKI image.Bug: 169045115
Change-Id: I27d115092789303a4c8f0c99d9bcb887ef3cc163
Signed-off-by: Prasad Sodagudi
09 Jan, 2021
1 commit
-
CONFIG_MEMCG introduces overhead both in terms of memory usage as well
as in the minor page fault path and after moving to PSI it is currently
unused on non-Android Go devices. Disable it in GKI to avoid the overhead.Bug: 169443770
Bug: 172296409
Signed-off-by: Suren Baghdasaryan
Change-Id: I717c2a1bde6264285b86d583ae1a1007c36be223
08 Jan, 2021
1 commit
-
To enable bfq i/o group scheduling for separating i/o groups to
foreground and background i/o groups, we need to set CONFIG_IOSCHED_BFQ
and CONFIG_BFQ_GROUP_IOSCHED to "y".Bug: 171739280
Bug: 172520400
Signed-off-by: Daeho Jeong
Change-Id: If9b5664ecfc8f78d9792d7ee5d3ea5a88a50b9d7
07 Jan, 2021
1 commit
-
To be able to update addresses of an IPsec SA, as required by
supporting MOBIKEBug: 169169084
Signed-off-by: Yan Yan
Change-Id: I5aa3f3556d615e4f0695bb78cd3cad9e83851df5
06 Jan, 2021
1 commit
-
Enable shared memory driver so it can be used by clients
like SCMI on arm64.Bug: 176065611
Change-Id: Idad0d42bec764ae7ecfa0672d32d4be29b0881d6
Signed-off-by: Amir Vajid
23 Dec, 2020
2 commits
-
CRYPTO_MD5 is needed to guarantee legacy compatibility with 3gpp
infrastructure. This compat is guaranteed by the vts net tests
which are currently failing due to this missing config.Bug: 171462501
Signed-off-by: Ram Muthiah
Change-Id: Ibb5bff947595058a0970ae8bbd64c5f5eab8ba7d -
Unset CONFIG_DMABUF_HEAPS_SYSTEM from gki_defconfig
so that it can be enabled as a vendor module.This change is intended to allow partners to continue using
device/SoC-specific optimizations in their system heap implementations
when they switch from ION to DMA-BUF heaps. The ION system heap was
built-in and partners were asked to override the system heap ID with
their own if they wanted to override the GKI system heap. This
per-vendor approach to override system heap will no longer be possible
with DMA-BUF heaps since Android S aims to restrict framework access to
DMA-BUF vendor heaps by only letting it access ABI-defined vendor heaps.VTS tests will be created to ensure that the system heap is present
at /dev/dma_heap/system and behaves as expected of the system heap.Bug: 175697666
Bug: 155218010
Bug: 172527615Signed-off-by: Hridya Valsaraju
Change-Id: Id97ed4814517339c69b99f8135e9a66e59d951a9
18 Dec, 2020
1 commit
-
Individual cpus may not support 32 bit apps in a mixed 32/64 bit
system. Enable the ASSYMETRIC_AARCH32 config option for arm64
in GKI, to support mixed architectures.Bug: 175831712
Change-Id: Idae5b4ca869c39ad903f620a2e14f7b04e3a7686
Signed-off-by: Stephen Dickey
17 Dec, 2020
2 commits
-
This reverts commit db102bc6beef ("ANDROID: GKI: Enable
CONFIG_USB_XHCI_HCD") until vendor code which contrbutes to these
drivers is removed.Bug: 175625342
Bug: 175743419
Change-Id: I74f33dd54a8f4c498f0311990faa4f2b3524b37b
Signed-off-by: Elliot Berman -
This reverts commit 42d1d3ffd7ca ("ANDROID: GKI: enable CONFIG_USB_DWC3
to be build in") until vendor code which contributes to these drivers is
removed.Bug: 175625342
Bug: 175742587
Change-Id: Id4d0edcbefced412dc2718c4936b5ba0cf0b2211
Signed-off-by: Elliot Berman
16 Dec, 2020
1 commit
-
Not needed on release branches.
Bug: 175707513
Change-Id: I9e60d8c6b9ce99251757957e080f01e671fb0890
Signed-off-by: Alistair Delva
15 Dec, 2020
1 commit
-
Remove CONFIG_LOCKUP_DETECTOR which is selected by
CONFIG_SOFTLOCKUP_DETECTOR since it causes power
regressions for partners.Bug: 168445946
Signed-off-by: Todd Kjos
Change-Id: I9699a47968abac644bdd4b2d16ef85fdb3b595a0
12 Dec, 2020
1 commit
-
Moving to LLVM_IAS=1 allows for us to now emit instructions making use
of the ARMv8.3 extension Pointer Authentication (PAC), which is enabled
by default by Kconfig if the tooling supports it.PAC has implications for DWARF based unwinders, see section 4.1.8 of
https://github.com/ARM-software/abi-aa/blob/master/aadwarf64/aadwarf64.rst#dwarf-register-names.Disable PAC for now until all of our DWARF based unwinders support
unwinding kernels built with PAC, particularly third party utilties that
assist with ramdump parsing.Bug: 173653853
Bug: 174803347
Signed-off-by: Nick Desaulniers
Change-Id: I4c7d9f37da7e3901de27f20bbfad4722cdb8a423
10 Dec, 2020
2 commits
-
This reverts commit cc47b201a87a9540407298aa9b3b1603287b49a0.
Bug: 173425293
Reason for revert: Android platform has adapted devices with and
without a dedicated recovery partition, so the ramdisk no longer
needs to be writable.Change-Id: Ib743e94197eadccbe877811e3a78aaa969960ea8
Signed-off-by: Yifan Hong -
Everyone relies on the DWC3 USB host/gadget controller, so build the
core into the kernel to be shared by all.If platform specific changes are needed, enable the platform-specific
dwc3 driver.Bug: 157965270
Signed-off-by: Greg Kroah-Hartman
Change-Id: I3fc2c4d05f46eebf30c2e222cb85928d9f6a83c5
27 Nov, 2020
3 commits
-
Bug: 170682696
Test: boot to home and thermal_genl_send_event worked properly.
Change-Id: I3764f6f8eaa47eab6f0941617bf6268bb3b4db4d
Signed-off-by: davidchao
(cherry picked from commit e8173a7565113b7ccdb32a9719f7ab028e070b02)
Signed-off-by: Will McVicker
Signed-off-by: Greg Kroah-Hartman -
Add CONFIG_PSTORE_PMSG for last logcat support.
Bug: 171852252
Signed-off-by: Jonglin Lee
Change-Id: I3b130886a2223598700a2da45c70932b11a174d8
(cherry picked from commit 6c412f5b2c4dfce5c607b6535f09281fd27b238d)
Signed-off-by: Will McVicker -
Userspace leverages the transient trigger for vibrators.
Signed-off-by: Harpreet Eli Sangha
Change-Id: Iff727bb955c690f0e195efd476fa9801678d49b8
(cherry picked from commit b01bffe951bf7376a6c661ede682e7c7709f78cd)
Signed-off-by: Will McVicker
26 Nov, 2020
1 commit
-
Thread ID and CPU ID is useful to distinguish printk
callers from different threads/cpus. Enable config
to prepend the information to printk statements.Bug: 171425082
Bug: 170888438
Signed-off-by: Jonglin Lee
Change-Id: Ia5b3396971c689618ae8235b9c75a9f8d07774f2
(cherry picked from commit db79bb68e2955f8d3974823e6a6391934bfd443d)
Signed-off-by: Will McVicker
24 Nov, 2020
4 commits
-
In the context of the pKVM project we need to use KVM in nVHE mode, so
let's disable VHE in gki_defconfig.Bug: 160383565
Signed-off-by: Quentin Perret
Change-Id: I4c11977971a91baecdbe620e23b6ce7edae0afe0 -
It is needed for many UFS devices, so build it in so that devices can
boot properly :)Bug: 162046707
Signed-off-by: Greg Kroah-Hartman
Change-Id: I3c8d57dafbf985533e7d5b0977aaa8155cc34cf3 -
GKI 1 had CONFIG_USB_TYPEC and CONFIG_USB_TYPEC_TCPM enabled, but forgot
to enable the _UCSI driver as well. Do that now as everyone relies on
this class driver.If platform-specific TYPEC changes are needed, just enable the
platform-specific tyepc driver for the specific platform.Note, for some reason x86 forgot to enable TYPEC entirely, so fix that
up and enable it here so we catch build issues sooner.Bug: 157965270
Signed-off-by: Greg Kroah-Hartman
Change-Id: I353eec6ed4f73525408033f283081b8013ede874 -
Platforms are using this, so enable the driver for all to use easier.
Bug: 157965270
Signed-off-by: Greg Kroah-Hartman
Change-Id: I5a1a6b1231c51148810389c26bc53d734f5c1ca2
23 Nov, 2020
2 commits
-
A bunch of HID config options are recommented to be =y in the default
android configuration, and vendors are using them, so enable them in the
GKI kernels as well to reduce the abi footprint.The options enabled are:
CONFIG_HID_WACOM
CONFIG_HID_LOGITECH
CONFIG_HID_LOGITECH_DJ
CONFIG_HID_ROCCAT
CONFIG_HID_PRODIKEYS
CONFIG_HID_PICOLCD
CONFIG_HID_UCLOGIC
CONFIG_HID_WIIMOTEBug: 157965270
Signed-off-by: Greg Kroah-Hartman
Change-Id: Idc8eae67ec81b5dd925c09db2f3600633c55d0c4 -
Almost all systems support the USB XHCI controller these days, so build
it into the kernel so that everyone can share the same codebase.If platform-specific XHCI changes are needed, do it in a
platform-specific XHCI driver using the provided api for that.Bug: 157965270
Signed-off-by: Greg Kroah-Hartman
Change-Id: I6e8b5d1fbcde86415f43d942aad0f828ab346928
21 Nov, 2020
2 commits
-
Enable MSM earlycon.
Bug: 144074026
Change-Id: I7d78e0e3bbd2de108d7257a9ca85a0f60ea97d1f
Signed-off-by: Elliot Berman -
Allow command db to be a loadable permanent module.
Bug: 169259846
Change-Id: I8b0b85bff8dd894dbf26200acb3df5b574dc4a30
Signed-off-by: Elliot Berman
20 Nov, 2020
1 commit
-
Allwinner's SoC timer driver (timer-sun4i.c) has to be built-in rather
than modularized for the following limitations in linux timer framework:
1. tick broadcast installed by insmod cannot switch to oneshot mode
correctly
2. cpus cannot enter cpuidle state due to the issue above.
3. rcu warnings will appear if we forcibly re-enable tick-broadcast
for each cpu when new tick broadcast device is installed by insmod
(timer-sun4i.c in our case)Bug: 173667601
Change-Id: If077db348c027ec02549e25eee3e17c2cc429644
Signed-off-by: Martin Wu
12 Nov, 2020
1 commit
-
By default, enabling RANDOMIZE_BASE on arm64 randomizes not just the
kernel base address, but also the module region independently from the
kernel, over a 4GiB range. As a consequence, modules can be out of
reach for direct branches from/to the kernel, hence creating the need to
resolve function calls via veneers in the module PLT.While this is good for security, this also introduces a non-negligible
overhead in some benchmarks when parts of the scheduler policy is
factored out in modules, as is the cases with GKI 2.0 on some devices.To get the performance back, disable RANDOMIZE_MODULE_REGION_FULL, which
limits the range of randomization for the module area to remain within
reach of direct branches. This is clearly a security trade-off as the
module and kernel addresses have a stronger correlation, but this still
remains preferable over the alternative which is no-GKI and having all
drivers compiled into the kernel itself, as Android used to be in
previous generations.Bug: 168521642
Signed-off-by: Quentin Perret
Change-Id: I8f4e05fbd308f99f38a4a2b33802ef1e195666e3
11 Nov, 2020
1 commit
-
This config helps address audio buffer underrun issues on arm64 targets.
Bug: 168521633
Signed-off-by: J. Avila
Change-Id: Idd0e71f2cb59c146e38c74c6f973bdc021d0f306
07 Nov, 2020
1 commit
-
The GKI ramdisk must be mounted rw in order to function with both
dedicated recovery partition and non-dedicated recovery partition
systems.Bug: 171512004
Signed-off-by: Steve Muckle
Change-Id: Ib99aca13d4d78ae455ce14c7146a02f668b7e094
05 Nov, 2020
1 commit
-
This reverts commit c0856ae51802a62acd1a617dbfb2f185a72a2910.
Reason for revert: broken boot on arm64 CF (b/172506883)
Change-Id: I7cd4c4d0a0169dc92f1ec0317efa1e7b4eec999e
Signed-off-by: Steve Muckle
03 Nov, 2020
1 commit
-
This is useful for debuggers, and is already the default for clang
(incidentally). Make sure it is on for all users/compilers.Bug: 160841764
Change-Id: Ibb9a0c6900728d4cce3eccb57fb4c38268a89f24
Signed-off-by: Alistair Delva
01 Nov, 2020
1 commit
-
This helps enable the page owner feature at runtime via
kernel param, and helps in memory accouting and leak
debugging. Enabling just this config does not incur any
significant overhead.
Explicit CONFIG_DEBUG_FS=y is removed because CONFIG_PAGE_OWNER
enables it implicitly.Bug: 171354330
Change-Id: I103c0276a01ef6fa0673d88c4a8678b31af2b8a2
Signed-off-by: Vinayak Menon
Signed-off-by: Suren Baghdasaryan
28 Oct, 2020
1 commit
-
With the support for memory hotplug and hotremove fully
functional, and having configs ARCH_ENABLE_MEMORY_HOTPLUG
and ARCH_ENABLE_MEMORY_HOTREMOVE enabled by default for
arm64 targets, enable config MEMORY_HOTREMOVE.Bug: 170202777
Change-Id: I618dfeeb3f0f4f2c347e6f6424303725bf15e461
Signed-off-by: Sudarshan Rajagopalan
27 Oct, 2020
1 commit
-
Commit bca815d62054 ("PM: AVS: smartreflex Move driver to soc specific
drivers") dropped the CONFIG_POWER_AVS configuration option, so it also
needs to be dropped from the arm64 gki_defconfig so that the build
continues to work.Fixes: bca815d62054 ("PM: AVS: smartreflex Move driver to soc specific drivers")
Signed-off-by: Greg Kroah-Hartman
Change-Id: Ie437bf0dc6977dd58caffb1349186d16873798c9
25 Oct, 2020
1 commit
-
This gets pulled in automatically now, so we don't have to explicitly
set it.Signed-off-by: Greg Kroah-Hartman
Change-Id: Ia1d0735ac3113c152da85ac59d7302b3f9a9aed6