Commit graph

10 commits

Author SHA1 Message Date
Bob Badour
8e30736b3d Fix licenses and license texts.
No legacy_notice code remains. Everything appears to be Android 1p.

Test: m nothing
Change-Id: I25b66acf26102862e3e35ec72c2261b020df834e
2022-01-25 12:21:06 -08:00
Bob Badour
c5bfd2ec01 [LSC] Add LOCAL_LICENSE_KINDS to kernel/configs
Added SPDX-license-identifier-Apache-2.0 to:
  tools/Android.bp

Added SPDX-license-identifier-Apache-2.0 legacy_notice to:
  Android.bp

Added legacy_notice to:
  android-4.19/Android.bp
  android-5.10/Android.bp
  android-5.4/Android.bp
  build/Android.bp
  p/android-4.14/Android.bp
  p/android-4.4/Android.bp
  p/android-4.9/Android.bp
  q/android-4.14/Android.bp
  q/android-4.19/Android.bp
  q/android-4.9/Android.bp
  r/android-4.14/Android.bp
  r/android-4.19/Android.bp
  r/android-5.4/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I9ea7130bab3e5a972419363e003286b533b30d6d
2021-03-02 01:01:45 -08:00
Orson Zhai
4d1f9aa229 q/4.14: Add CPU_TTBR0_PAN to support LPAE
CPU_TTBR0_PAN has same effect as CPU_SW_DOMAIN_PAN, but it is compatible
to ARM_LPAE while CPU_SW_DOMAIN_PAN is not.
So it an optional way to go for ARM PAN solutions.

Bug: 174207917
Signed-off-by: Orson Zhai <orson.zhai@unisoc.com>
Change-Id: I70bd304b0a386e7b4bd7f0c26111e02f3986bdab
2020-12-02 10:18:26 +08:00
Suren Baghdasaryan
d99837adcb Remove CONFIG_MEMCG requirement if CONFIG_PSI is present
CONFIG_MEMCG is not required if device enables CONFIG_PSI. Change
CONFIG_MEMCG requirement to a conditional for either CONFIG_MEMCG or
CONFIG_PSI to be enabled. This saves memory resource on devices that
use PSI for memory pressure monitoring.

Bug: 150752949
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Merged-In: I67bd7aa17d4f939b7eb14a6c91a6f96ef862c80b
Change-Id: I67bd7aa17d4f939b7eb14a6c91a6f96ef862c80b
2020-06-02 22:05:42 +00:00
Suren Baghdasaryan
931ded57fb Disable CONFIG_RT_GROUP_SCHED kernel config option
Android does not use per-cgroup CPU allowance for RT tasks feature.
Disable it so that RT task allowance is controlled globally using
/proc/sys/kernel/sched_rt_runtime_us.

Bug: 149954332
Test: TreeHugger
Change-Id: I63fe994732d9abb0119a79870f4c3c772db75aa7
Suggested-by: Snild Dolkow <snild@sony.com>
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
2020-02-26 14:58:18 -08:00
Steve Muckle
1c616c6f0a remove CONFIG_UNMAP_KERNEL_AT_EL0 from ARM64 requirements
Some platforms do not require this mitigation. For platforms that do,
this config requirement will continue to be enforced in CTS.

Bug: 135948601
Change-Id: I6a3cb5f4a003b0fbd80dbb412a451cd1b94e5eca
Signed-off-by: Steve Muckle <smuckle@google.com>
2019-06-24 16:04:16 -07:00
Sandeep Patil
3879e4db75 Finalize minimum kernel strings
Bug: 130974204
Test: atest test/vts-testcase/hal/treble/vintf/ \
      SystemVendorTest.cpp#KernelCompatibility

Change-Id: I565b707eda0e9c997fbfa5a203d894ab22604e80
Signed-off-by: Sandeep Patil <sspatil@google.com>
2019-05-29 15:27:35 -07:00
Eric Biggers
4dd5598f42 q: Recommend enabling architecture-optimized AES and SHA-256
It's usually very helpful to enable AES-XTS and SHA-256 optimized with
the ARM crypto extensions (or x86 AES-NI and SHA-NI).  AES-XTS is used
by file-based encryption; SHA-256 is used by dm-verity.  I was a bit
surprised to see that these weren't already in the recommended configs.

This is change I6175e16261a7360d34de76735e06e21c41db58c8 applied to the
'q' directory.

Bug: 130816578
Change-Id: I7049f7f47bc343a8001640809e1eb6dafded172f
Signed-off-by: Eric Biggers <ebiggers@google.com>
2019-04-18 13:01:13 -07:00
Eric Biggers
94efd7a4ec q: Recommend enabling ext4 and f2fs encryption support
Recommend enabling the kernel config options needed to use file-based
encryption on ext4 and f2fs.

This is change I69097c7e5f38f9c2916cae40df5720183377cd7e applied to the
'q' directory.

Bug: 130816578
Change-Id: I5bfba46d3a6aafa4d86a6e2c3bc50d6c0942d578
Signed-off-by: Eric Biggers <ebiggers@google.com>
2019-04-18 13:01:08 -07:00
Yifan Hong
8bf887a1be Freeze Q kernel configs
... by copying the modules into q/ directory and renaming the kernel
config modules as kernel_config_q_*.

Kernel versions are yet to be frozen.

Bug: 130295628
Test: builds and look at compatibility matrix
Change-Id: I9e0d6faa936265d60416180a2898ca0da115cd18
2019-04-16 17:04:17 -07:00