19 Feb, 2021
2 commits
-
The patch fixed NetdNamespaceTest#CheckNoUserNamespaceSupport
case fail in netd_integration_test.The case test kernel configuration option CONFIG_USER_NS=n
Change-Id: I63f3d82fcaf57ee562e4b4cb0f4f004860b9c407
Signed-off-by: yang.tian -
Add CONFIG_CRYPTO_MD5 kerenl defconfig.
TEST: VTS module vts_kernel_net_tests pass.
Change-Id: Ib487c221dddac48b6b43fb04be89c0849ebd5058
Signed-off-by: yang.tian
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
28 Jan, 2021
1 commit
-
Build nxp mxmwifi driver out of kernel tree on L5.10
Revert "MA-18230-2 Enable nxp wifi 88w8997 with mxmdriver"
This reverts commit eb2ca694eb279fa32acf8368120b34b385ba469b.Change-Id: I73da9fc2396a4a16cf7a91de9b2ac2c9f641fe0d
Signed-off-by: yang.tian
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
25 Jan, 2021
1 commit
-
Change-Id: I56f21ca5d08858f763395359baedb6f1a3b9066c
21 Jan, 2021
1 commit
-
Add HDMI RX kernel defconfig for android.
Change-Id: Ie7ff7ede71d5d8b489ee33fec8202f0d0c6500ef
Signed-off-by: yang.tian
18 Jan, 2021
24 commits
-
Enable HID_NINTENDO as y
This config will enable the Nintendo Switch Pro controller driver.Change-Id: Ide483efa540dfcb5dfe688690dd27f555d3d8266
Signed-off-by: Dandan Sun -
A cts case "testConfigDisableUsermodehelper" requires enablement of
static usermodehelper, and the usermodehelper path need to be empty
or started one of "/vendor/", "/system_ext/" and "/system/".With platform selinux rules, kernel can not execute binary from
"/vendor", set it to be "/system/bin/sh" then it can be used to start
other programs.Change-Id: Iedaf4fa5f13ab288f85346abfa800a4236124a91
Signed-off-by: faqiang.zhu -
add CONFIG_UNICODE to enable casefold on ext4 as this feature is used on
Android.Change-Id: Iac18aa85e492bdb87777965152cbf64b21f2936b
Signed-off-by: faqiang.zhu -
Integrate incrementalfs to support android app incremental installation.
Change-Id: I23745da2db3e6cae186864dbf2bd2c57133c7328
Signed-off-by: faqiang.zhu -
Set CONFIG_IKHEADERS as 'y' by default to sync with
GKI config. This shall pass below VTS case:
KernelHeadersTest#ModuleExistTest: "/sys/kernel/kheaders.tar.xz" exists.
Signed-off-by: Ji Luo
Change-Id: Ib112d250cd01635ee09ea0dde990735129af459e -
Set CONFIG_BLK_DEV_LOOP_MIN_COUNT to 16 to pass vts case:
KernelLoopConfigTest#ValidLoopConfigTest: run vts -m vts_kernel_loopconfig_test -t KernelLoopConfigTest#ValidLoopConfig
Signed-off-by: Ji Luo
Change-Id: I975ae4106143640910997aa8eabc0466576f4f09 -
enable uvc camera in kernel5.4
Change-Id: I4453a409af9c5242d3df5ab77e4da8d32c0b5599
Signed-off-by: zhang sanshan -
Following Android STS case testPocBug_36604779,
need to disable the /dev/port to reduce attack
surface.This patch also is able to fix CTS failure indirectly:
CtsPermissionTestCases:
android.permission.cts.FileSystemPermissionTest#testDevPortSaneChange-Id: I7ef4fe2d9cafd5e23065d1a3225cfa50594ec86f
Signed-off-by: Jindong -
add CONFIG_SND_USB_AUDIO=y
Change-Id: Ic8bccaab5f0a5560f17770a54c21e894c2ccd18f
Signed-off-by: Jindong -
enable CONFIG_IMX8_JPEG for imx8qm and imx8qxp.
Change-Id: I0aef79947af6d26fe731cbb4be0e6ef6de07b7b2
Signed-off-by: zhang sanshan -
Remove "CONFIG_IMX8_MEDIA_DEVICE=m". It's default to "y",
so the module is built-in.Change-Id: Ia44cc73d1731edcdd8497001082b569be287f076
Signed-off-by: fang hui -
Add CONFIG_TRUSTY=y in imx8 defconfig to support Trusty OS
Change-Id: I9b952686d0fd38340ed795234caba0d4afaaa087
Signed-off-by: Haoran.Wang -
Split trusty_qemu_defconfig into gki_defconfig and Trusty-specific
fragmentAlso, disable LTO (and, consequently, all configs that depend on it,
e.g. CFI) because it makes build times really slow.Bug: 160016500
Change-Id: Id78dc8ee801764efb72e458a715173b5e45304c0
Signed-off-by: Tri Vo -
The test check the fs type supported by kernel, then mount the fs
to do some test.EXT2_FS is configured, but EXT2_FS_SECURITY is not, so mount failed.
Remove EXT2_FS can fix the issue.Meanwhile, ext2 can still be handled by ext4 code, since EXT4_USE_FOR_EXT2
will automatically enabled if EXT4_FS=y and EXT2_FS=n.Change-Id: I70891c77962296717978201fcc000251a545ca3b
Signed-off-by: fang hui -
Enabling BTI(Branch Target Identification) will insert two
additional processor specific entries in the dynamic section
of vdso.so, but the linker in bionic can't handle these two
entries (not yet) and will output warnings like below:
linker : Warning: "[vdso]" unused DT entry: unknown processor-specific (type 0x70000001 arg 0x0) (ignoring)
linker : Warning: "[vdso]" unused DT entry: unknown processor-specific (type 0x70000003 arg 0x0) (ignoring)As the BTI will only be available for ARMv8.5 and we can't
get benefits for i.MX 8 SoCs, so this commit will disable
the BTI config to silent the warnings.Test: Boots on imx8qm.
Signed-off-by: Ji Luo
Change-Id: Iee36edd3dd8131900ec315aadd439cbdeb76e63a -
enable zram to support swapon_all.
Change-Id: I17a6a34eaa4ef7e7dbd47b0b6cd3c6c91e7e44d9
Signed-off-by: zhang sanshan -
CONFIG_VT is not set in android config. But we need fb_con which depend on CONFIG_VT.
FRAMEBUFFER_CONSOLE is selected automaticly when enable DRM_KMS_FB_HELPER if we are not EXPERT user.
Android enable CONFIG_EXPERT. So we need add FRAMEBUFFER_CONSOLE in defconfig.Change-Id: Ibf96c16e8a3b1aa2d7ccfe347217e23e5dfe3b67
Signed-off-by: zhang sanshan -
enable dummy battery, otherwise system will enter suspend in 5 seconds after
boot up system.Change-Id: Ie04dfc5630f962d8018a52219b97a4c6cfa7b53e
Signed-off-by: zhang sanshan -
Add defconfig items to build mxmdriver as module
for nxp wifi.Change-Id: I8c1bc557d1f8920aa46a56986bbd6afa0dd7ec5a
Signed-off-by: yang.tian -
enable below which is compatible with kernel/configs/r/android-5.10/
otherwise it will have build error
CONFIG_TRACE_GPU_MEM=y
CONFIG_ARMV8_DEPRECATED=y
CONFIG_CP15_BARRIER_EMULATION=y
CONFIG_SETEND_EMULATION=y
CONFIG_SHADOW_CALL_STACK=y
CONFIG_SWP_EMULATION=y
CONFIG_BPF_JIT_ALWAYS_ON=yChange-Id: I7d7c5a012275c72d4e1bcc9a6f0927eb6a02cb4d
Signed-off-by: zhang sanshan -
system will reboot if userdata partition encrytion failed.
Change-Id: I0489f1d45d583b11faab59de59337fffc548e95a
Signed-off-by: zhang sanshan -
detail steps:
ARCH=arm64 scripts/kconfig/merge_config.sh arch/arm64/configs/imx_v8_android_defconfig /home/sanshan/aosp_kernel/kernel/configs/android-5.10/android-base.config /home/sanshan/aosp_kernel/kernel/configs/android-5.10/android-recommended.config /home/sanshan/aosp_kernel/kernel/configs/android-5.10/android-recommended-arm64.config
make savedefconfig ARCH=arm64
cp defconfig arch/arm64/configs/imx_v8_android_defconfig
rm .config
ARCH=arm scripts/kconfig/merge_config.sh arch/arm/configs/imx_v7_defconfig /home/sanshan/aosp_kernel/kernel/configs/android-5.10/android-base.config /home/sanshan/aosp_kernel/kernel/configs/android-5.10/android-recommended.config /home/sanshan/aosp_kernel/kernel/configs/android-5.10/android-recommended-arm.config
rm defconfig
make savedefconfig ARCH=arm
cp defconfig arch/arm/configs/imx_v7_android_defconfig
rm defconfig
rm .configconfigure git info:
https://android.googlesource.com/kernel/configs/
master branch for configs.git
commit id: 0684b082acceddee9b22dccfe441e8d4d716e415
configs/android-5.10Change-Id: I61f87064fead1d27b256ed4467fee77a726b397e
Signed-off-by: zhang sanshan -
imx_v7_android_defconfig is from imx_v7_defconfig.
imx_v8_android_defconfig is from imx_v8_defconfig.Change-Id: Ib681ba8b4a675f3aaee6de915ed5828c4a46b563
Signed-off-by: zhang sanshan -
Change-Id: I42aa8c4cdf7dcf55b4392a5588f6d37d43a1eef7
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
2 commits
-
The XHCI_HCD config was pulled back out of gki_defconfig,
and without it USB host mode ports don't work on db845c.This patch re-adds the module to the db845c_gki.fragment
and updates the KABI symbol list.Signed-off-by: John Stultz
Fixes: 552cb0291a49 ("Revert "ANDROID: GKI: Enable CONFIG_USB_XHCI_HCD"")
Change-Id: Ibd2d543dbab0c6be918e8ba4bd45194d5994a0a3 -
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