Commit graph

37 commits

Author SHA1 Message Date
Nick Kralevich
bc9e47d93b Fix kasan logic
The command line "kasan=off" should be unconditionally set when we're
compiling for a normal (non-_fullmte) build. The current logic
sets "kasan=off" for a normal ENG build only, which is insufficent.

Test: _fullmte userdebug/eng: "sanitizer-status mte" shows MTE enabled.
Test: _fullmte userdebug/eng: "kasan=off" IS NOT present in /proc/cmdline
Test: !_fullmte userdebug: "sanitizer-status mte" shows MTE disabled.
Test: !_fullmte eng: "sanitizer-status mte" shows MTE enabled
Test: !_fullmte userdebug/eng: "kasan=off" IS present in /proc/cmdline
Change-Id: Idd61747156daa135e919ce71fd63bfab1f4d9239
Bug: 381940217
Flag: EXEMPT bugfix
2024-12-03 10:34:03 -08:00
Herbert Xue
ec810e8f96 Set soong config variables for libExynosC2H263Dec and libExynosC2H263Enc
Flag: EXEMPT bugfix
Bug: 375111251
Test: m libExynosC2H263Dec libExynosC2H263Enc
Change-Id: I487a7ad331475e09aaf14556548ab17c3004f7b9
2024-11-19 15:28:48 +08:00
Herbert Xue
2424e33a52 Set soong config variable "board_use_dec_sw_csc" for libExynosVideoCodec
Flag: EXEMPT bugfix
Bug: 375522783
Test: m libExynosVideoCodec
Change-Id: I4f9221be9633a73ba29a37128163749436ea2f07
2024-11-14 12:31:48 +08:00
Treehugger Robot
39d7301cca Merge "Move video_codec soong config variables into board config" into main 2024-11-08 03:29:59 +00:00
Herbert Xue
477228101f Move video_codec soong config variables into board config
Flag: EXEMPT bugfix
Bug: 370663515
Test: m libExynosC2OSAL
Change-Id: I197e34703cd6e8b8cfc0c17fafda120c567773f2
2024-11-06 10:52:10 +08:00
Richard Chang
c61d1d0f9e Add p24 perf setup script
Bug: 374151514
Change-Id: I3afcdd7197fd010e9e2a2aa04b0038812a9f5c17
Test: Build
Flag: EXEMPT only update script for testing
2024-11-01 05:13:08 +00:00
Nick Kralevich
ab0b600939 Merge "Enable MTE in -eng builds on zumapro devices." into main 2024-10-29 17:09:41 +00:00
Bill Yang
983761b39f Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong am: 41b27fe6f9 am: 047dfdb2b9
Original change: https://android-review.googlesource.com/c/device/google/zumapro/+/3316751

Change-Id: Ie196b0c32e78bec2afc01c92516f8bc631a9fea9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-10-29 03:12:00 +00:00
Nick Kralevich
2bf5d31904 Enable MTE in -eng builds on zumapro devices.
MTE is a low overhead tool which enables detection of memory
safety bugs in interactive workloads. See
https://source.android.com/docs/security/test/memory-safety/arm-mte
for background and information.

This change enables MTE by default on -eng builds. See
go/mte-eng for more information.

Co-authored-by: Evgenii Stepanov <eugenis@google.com>
Test: Device boots and no MTE crashes
Bug: 316398899
Flag: EXEMPT only affects eng builds, not shipping code
Change-Id: I8be52af4f0349907651ae661972c85ea46e2aa72
2024-10-28 11:59:41 -07:00
Bill Yang
41b27fe6f9 Set BOARD_LIBACRYL_G2D_HDR_PLUGIN for soong
Set the full module path of libacryl_hdr_plugin and the include dir for
lobacryl conversion to soong. It will take effect after aosp/3286932 and
aosp/3287183 merged.

Bug: 370414334
Test: lunch aosp_caiman-trunk_staging-userdebug ; m libacryl_hdr_plugin libacryl
Change-Id: I21a9cee4a36e1951979481c50bce871a6853504c
2024-10-25 03:39:17 +00:00
Krzysztof Kosiński
793ad7feb6 Delete TARGET_CPU_VARIANT_RUNTIME.
This variable only does something when it differs from
TARGET_CPU_VARIANT. Setting it to the same values doesn't do
anything.

Bug: 368635026
Test: presubmit
Flag: EXEMPT trivially safe build cleanup
Change-Id: Id2934bc0dcbffb85a43ab020a8208fb85f51432a
2024-09-20 19:38:20 +00:00
Treehugger Robot
51f9731655 Merge "Revert "Disable EHLD"" into main 2024-09-13 03:44:14 +00:00
Woody Lin
e767cebf22 Revert "Disable EHLD"
This reverts commit 7e10eefc25.

Reason for revert: Re-enable EHLD since kernel EHLD issue is fixed.
Bug: 354380599

Change-Id: I588c2b96a69cabb7be8d264c9591b61da80fb5e2
2024-09-13 01:17:43 +00:00
Juan Yescas
a14c143c45 16kb: Set f2fs block size to 16384 for targets that only boot 16kb kernels
The f2fs block size has to be set up to 16384 for 16kb kernels.

Bug: 350101696
Test: Built zumapro device and checked mounted partitions
Flag: EXEMPT bugfix
Change-Id: Ie3bf17d78da62a20882b17363afeb3a3a8a984e0
2024-09-11 23:55:31 +00:00
Krzysztof Kosiński
fc85b23b29 Delete PRODUCT_FULL_TREBLE_OVERRIDE.
This variable doesn't do anything for devices launching with
API level 26 or later, and the initial zumapro devices (Pixel 9)
launched with API level 34.

Bug: 307369186
Test: presubmit
Flag: EXEMPT trivial build cleanup
Change-Id: If23568e7e1fc0dff05467e6b4fc97376c06c2233
2024-09-09 17:11:06 +00:00
Woody Lin
7e10eefc25 Disable EHLD
Disables EHLD as an workaround since reading PMU event counter currently
conflicts with devfreq.

Bug: 354380599
Test: Build/Flash
Flag: EXEMPT bugfix
Change-Id: If8c819fc5baf27c9f6ea4532429bede8c4579072
2024-08-07 10:45:35 +08:00
Cathy Hsu
931d5dc163 Remove display related warnings
Bug: 338548109
Bug: 340971451
Bug: 340971442
Test: No display warnings show
Change-Id: I38ae75b67ce2779cd908ab31ef4fb1a61e00e45e
2024-06-11 11:22:42 +00:00
Rios Kao
fcb206bb74 Merge "audio: add debug interface soong value" into 24D1-dev am: 9806f4558c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zumapro/+/27152263

Change-Id: I3d7ad889fc3dc75135eca6a2a130a10d7a140895
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-07 03:14:38 +00:00
Rios Kao
909711bbdf audio: add debug interface soong value
note: Using the flag to filter all debugging
      purpose interface from the build.

Test: build pass
Bug: 332490210
Change-Id: I06a8048c0d28b58c3965ad110f41255c92d1b6d5
2024-05-02 03:30:36 +00:00
Qian-Hao Huang
5ff0e38435 zumapro: Change the path of prebuilt fips140.ko
Placing the fips140.ko at the same level as other kernel modules makes
it easier for automation tools to handle all of them.

Bug: 331791671
Change-Id: I513b998564e9a7eda39fec8bddc3dc9cb4ee0e30
Signed-off-by: Qian-Hao Huang <qhhuang@google.com>
2024-04-29 06:49:43 +00:00
Qais Yousef
db4841156e BoardConfig-common.mk: Enable Lazy RCU by default
Which should help save power by reducing number of wakeups when the
system is idle.

Bug: 258241771
Change-Id: I9d7fe310f34c6afb508d6cd47a4aaa7d06c8b54f
Signed-off-by: Qais Yousef <qyousef@google.com>
2024-04-10 18:30:34 +00:00
Evgenii Stepanov
01d91decf8 Disable KASan in non-fullmte builds.
Bug: 326616235
Test: cat /proc/cmdline | grep kasan=off
Change-Id: Icb71416f242863de8307b0021fc898e7ab4df084
2024-02-23 11:18:57 -08:00
donghwa.kwon
9a87a52bb7 zumapro: add supported mfc version
Bug: 315920627
Task: ADVCHAL-220
Test: build pass

Change-Id: I4789c5ece68235cc444545a56cdd2d8c72c109b6
Signed-off-by: donghwa.kwon <donghwa.kwon@samsung.com>
2024-01-15 06:53:03 +00:00
Wilson Sung
dc84962c84 Remove unknown sepolicy source
Bug: 312322769
Test: make sepolicy
Change-Id: I357d014aaca9748f1e104ebffd05ced036bd108f
2023-12-19 03:09:44 +00:00
liangjlee
226460fcdf Disable zone DMA32 and swiotlb
As HW doesn't have 32-bit address limitation, we would like to disable
zone DMA32 to simplify memory management and improve performance.

Change-Id: I8454282b208b3226c0497f1e5abd02009238c1a6
Signed-off-by: liangjlee <liangjlee@google.com>
2023-11-07 08:44:12 +00:00
guibing
e0cec65aa3 zumapro: Enable kunit test for eng and userdebug build.
Bug: 308859761
Test: Manual
Change-Id: I37ac5f630cd5a7950496fd8a38554e6d68cb848f
2023-11-02 23:54:36 +00:00
guibing
e36c559b44 zumapro: Disable kmem cgroup accounting
Disable cgroup kernel memory accounting to avoid unnecessary overhead

This is from similar change in zuma: ag/22891292

Bug: 300516320
Test: Boot
Change-Id: I1378fe11db294449978ea8e0157e8d8964a9a112
2023-10-25 18:04:01 +00:00
guibing
66e9b5470b zumapro: Set PELT HALFLIFE to 8ms before early init boot stage
It's for early boot stage boost. After early init stage, change
it back to the default 32ms.

This is from the similar change we had in zuma: ag/23681609

Bug: 300516320
Test: check the device boot.
Change-Id: I2286a94c31480766540e20cab619cc87363bdd1f
2023-10-25 18:00:50 +00:00
Jasmine Cha
77ea688a62 audio: fix typo
Bug: 305838207
Test: build pass/ recording runtime tuning

Change-Id: Ia6a1c4b1fb4fabfd3d36b1120f2801a1222c8404
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-10-17 15:13:34 +08:00
Minchan Kim
4406908b57 zumapro: turn off page_pinner
Disable page_pinner.

Bug: 304617279
Test: no page_pinner dir in debugfs
Change-Id: Ie2afe120068af3eb6bd469f3bb4ca27d46b7fec7
Signed-off-by: Minchan Kim <minchan@google.com>
2023-10-11 10:40:44 -07:00
Taeyang Choi
e96fad89d1 fix configuration for SWIFTSHADER
Bug: 295365113
Change-Id: I5f48147f1df5bb76dfd2c3bff686fd9d4cb565a1
Signed-off-by: Hyunki Koo <hyunki00.koo@samsung.com>
Signed-off-by: Taeyang Choi <taeyang.choi@samsung.com>
2023-09-05 22:43:06 +00:00
Renato Grottesi
4636d95289 Revert^2 "Remove settings for old ArmNN HIDL backend"
71fb74e11a

Compile ArmNN shim over the support library.

Remove settings for the old HIDL backend.
The new ones will be in the gs-common folder.

Test: Local run of CtsNNAPITestCases
Test: Local run of VtsHalNeuralnetworksTargetTest
Test: Local run of MLTS Benchmark
Bug: 283724775
Change-Id: I77bdc9fcbd5f9f0dfb5586ac406ec38dc5b08ca7
2023-07-13 09:07:26 +00:00
Android Culprit Assistant
71fb74e11a Revert "Remove settings for old ArmNN HIDL backend"
This revert was created by Android Culprit Assistant. The culprit was identified in the following culprit search session (http://go/aca-get/123b2665-83ef-4fd0-904d-a0d8c5782db9).

Change-Id: I261a9acae68e6b6c5714cca16a85fa7fbc3abebf
2023-07-12 20:43:59 +00:00
Renato Grottesi
438347e7fd Remove settings for old ArmNN HIDL backend
Compile ArmNN shim over the support library.

Remove settings for the old HIDL backend.
The new ones will be in the gs-common folder.

Test: Local run of CtsNNAPITestCases
Test: Local run of VtsHalNeuralnetworksTargetTest
Test: Local run of MLTS Benchmark
Bug: 283724775
Change-Id: I5f3d6a4930aa13374a9ddab9f5079f7618e7eb4b
2023-07-12 13:13:13 +00:00
Robin Peng
ae1650b32f Temporary set BOARD_LIBACRYL_DEFAULT_COMPOSITOR as zuma
Bug: 272725898
Change-Id: I1c06d2c3ce206864a85ee5ec003590c8cd138208
2023-04-10 10:25:21 +00:00
Robin Peng
f7904abf32 Temporary use use display_unit_test from zuma
error: vendor/google/whitechapel/tools/Android.bp:61:1: module "display_unit_test_defaults": Soong config property "soc" must be one of [gs101 gs201 zuma], found "zumapro"

Bug: 272725898
Change-Id: I07bb1ed9685f29e263820ae5319d78073870f7b0
2023-04-10 10:24:15 +00:00
Robin Peng
dec234f475 init zumapro from zuma sha 4daedb8feb4d4
Bug: 272725898
Change-Id: I1e1ab5d15e7f4b2b59e28f2e52e07cd7e12f25b3
2023-03-31 15:10:16 +00:00