Commit graph

18 commits

Author SHA1 Message Date
Chungkai Mei
73d93a6bca Load samsung_iommu_v9 in serial
it seems that there's conflict between samsung_iommu_v9 and trusty_log,
so load samsung_iommu_v9 in serial

Test: build pass and run 2000 times without error
Bug: 290561688
Change-Id: I6af250bbe3089f41229f6d674cc2e4a7eae3cbe1
Signed-off-by: Chungkai Mei <chungkai@google.com>
2023-07-20 03:37:11 +00:00
Chungkai Mei
7edf565318 Load g2d in sequential.
to mitigate potential kernel panic, load g2d only at the
same time.

Test: Build pass
Bug: 287727823
Change-Id: I8b4eac1875d3b394fc9ab651959db54c53967326
Signed-off-by: Chungkai Mei <chungkai@google.com>
2023-06-20 07:27:53 +00:00
Treehugger Robot
631248053c Merge "Revert "Revert^4 "shusky: disable parallel module loading""" into udc-d1-dev 2023-06-09 02:21:17 +00:00
Chung-Kai (Michael) Mei
d134dbd3b6 Revert "Revert^4 "shusky: disable parallel module loading""
This reverts commit d4c206cfcf.

Reason for revert: exynos_devfreq is fixed by pa/2512847, and add 2 shiba DVT and 1 Husky DVT to reboot 5000 times, only one device hit ramdumpg with reset message "itmon triggering err_tmout from HSI1 PCIE_GEN3_0 to NOCL0_", but according to b/283930792, even without parallely module loading, device still hit this issue. so currently parallel module loading seems to be stable enough.

Bug: 285064434
Change-Id: I0356075a60cc0224ac975b401654b424ff4b993e
2023-06-05 08:33:14 +00:00
Jing Wang
c35219a54b Merge "Revert "Revert^3 "shusky: disable parallel module loading""" into udc-d1-dev 2023-05-30 23:28:53 +00:00
Jing Wang
d4c206cfcf Revert "Revert^3 "shusky: disable parallel module loading""
This reverts commit eead637cec.

Reason for revert: b/284937144

Change-Id: I0538a9a57f4e202cab9701cb16dbd6ea1e55f859
2023-05-30 23:07:55 +00:00
Treehugger Robot
2cb54e65d2 Merge "Revert^3 "shusky: disable parallel module loading"" into udc-d1-dev 2023-05-29 05:23:24 +00:00
Chung-Kai (Michael) Mei
eead637cec Revert^3 "shusky: disable parallel module loading"
This reverts commit 04716d5711.

Reason for revert: Now we can enter fastbootd normally.

Test: shiba rebooted 1000 times without failure
Bug: 280112517
Change-Id: I92736b1e535468083b35058f83a91ad153b6c5c6
2023-05-24 06:05:25 +00:00
Andrew Chant
77e6c02e7c shusky: move perf/thermal configs around
Move shusky thermal .json files into thermal/
and perf configs into perf/.

Also move the configs into device-shusky-common.mk,
allowing override of the config file path.

Bug: 277993984
Change-Id: Ifa2882ee9c27c57d967c27f9f8e8edaff313e2d5
2023-05-02 09:39:45 -07:00
Andrew Chant
04716d5711 Revert "Revert "shusky: disable parallel module loading""
This reverts commit ca1a96d3bd.

Reason for revert: ToT instability.

Bug: 280112517
Change-Id: Icef303545cbef7884c2ae81bd9b9d5fd94ea42ca
2023-04-28 22:41:37 +00:00
Chung-Kai (Michael) Mei
ca1a96d3bd Revert "shusky: disable parallel module loading"
This reverts commit efaeac87c2.

Reason for revert: the patch for iommu has been merged

Test: shiba rebooted 1000 times without failure and https://android-build.googleplex.com/builds/abtd/run/L49300000960255489 run device-boot-health-check-extra for husky
Bug: 271931921
Change-Id: I4dcbc1e2028facd8531c94c03d0b28cbd6769b06
2023-04-28 01:12:57 +00:00
Bill Yi
062ebe5313 Add AOSP support for Husky and Shiba.
We will have a 'vendor' project containing proprietary blobs
to be able to build and flash Pixel device when vendor source is not
available.
The project names are
platform/vendor/aosp/google_devices/husky
platform/vendor/aosp/google_devices/shiba

and the paths are
vendor/google_devices/husky
vendor/google_devices/shiba

TEST:make and flash a husky device

BUG: 278968179
Change-Id: I1c5424dfddddb8ee29a86f2408a231aa5556a0bb
2023-04-19 22:26:16 -07:00
liangjlee
45294d4aa3 Disable zone DMA32 for shiba and husky
Same as P22, P23 do not have 32-bit address limitation in hardware, so
we would like to empty zone DMA32 for better performance and simplify
memory management.

Bug: 263239622
Test: b/270096808, b/270097444. Pass reboot test and run sst for 100+
hours without obvious issues.
Change-Id: Ib95223aafca17165e1b8d972448c5d66384d3ccc
Signed-off-by: liangjlee <liangjlee@google.com>
(cherry picked from commit 4584a04fe3)
2023-04-13 06:37:48 +00:00
TreeHugger Robot
5d2dab4575 Merge "shusky: disable parallel module loading" 2023-02-08 03:46:48 +00:00
Andrew Chant
efaeac87c2 shusky: disable parallel module loading
Disable parallel module loading.
iommu driver loading parallel prevented boot to
fastbootd.

resolved with
fastboot oem cmdline set samsung-sysmmu-v9.load_sequential=1

disabling all parallel module loading for now, can re-enable
at a later stage with verification.

Bug: 268269286
Change-Id: Iccecff4ae552567f3a5fb8a421b8e1993657fbc7
2023-02-08 02:38:45 +00:00
Jack Lee
b32dfa3186 Disable swiotlb for shiba and husky
Same as p22, we would like to disable swiotlb for shiba and husky.
Currently the swiotlb=noforce config is set in device tree, moving to userspace
would make the build process more flexible.

Bug: 263178695
Test: After adding noforce, /d/swiotlb/ is empty
Change-Id: I6505bfe8b465a0b2bcc6f39d1abaefe305bdc31f
Signed-off-by: Jack Lee <liangjlee@google.com>
2023-02-02 09:25:01 +00:00
Chungkai Mei
d8822b9c80 Enable load kernel modules in parallel
enable load kernel modules in parallel but load some
specific modules in sequential

Test: Shiba Booted to home 1000 times without issue
Bug: 229794277
Change-Id: Idac2ae0765058a0eab718c976c1108292bd36669
Signed-off-by: Chungkai Mei <chungkai@google.com>
2023-01-20 04:59:49 +00:00
Robin Peng
fd0859e694 Initialize device folder
from: 858c0f08e332220d80a9eef8ddcd39ef4d5296ee
with updated device path

Bug: 248399843
Change-Id: I215a40a4f4719d5432e87401f4a3214c5189ba20
2022-10-30 16:03:17 +00:00