aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-07-15Snap for 7550844 from d287bd42390670208609531fc57c534553733498 to ↵android-mainline-12.0.0_r84android-mainline-12.0.0_r58android12-mainline-statsd-releaseAndroid Build Coastguard Worker
mainline-os-statsd-release Change-Id: I29ce05c908156d26196721dbfbdd234abd87a7a4
2021-04-30Fixing segfault crash in x86_64 get_size testcase am: 11c0034821 am: ↵android-mainline-12.0.0_r99android-mainline-12.0.0_r98android-mainline-12.0.0_r77android-mainline-12.0.0_r70android-mainline-12.0.0_r69android-mainline-12.0.0_r63android-mainline-12.0.0_r59android-mainline-12.0.0_r56android-mainline-12.0.0_r5android-mainline-12.0.0_r49android-mainline-12.0.0_r42android-mainline-12.0.0_r39android-mainline-12.0.0_r22android-mainline-12.0.0_r19android-mainline-12.0.0_r122android-mainline-12.0.0_r115android-mainline-12.0.0_r113android-mainline-12.0.0_r100aml_tz3_311312010android12-mainline-networkstack-releaseandroid12-mainline-art-releaseahs
34dab56946 am: a4a8a3545c am: e24d493547 Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1670302 Change-Id: Icb4257c3af1b064036d1e6bac5b42b2bfbb3ba5f
2021-04-30Fixing segfault crash in x86_64 get_size testcase am: 11c0034821 am: ↵android-s-qpr3-beta-1android-12.1.0_r9android-12.1.0_r8android-12.1.0_r7android-12.1.0_r22android-12.1.0_r21android-12.1.0_r20android-12.1.0_r19android-12.1.0_r11android-12.1.0_r10android-12.0.0_r32android-12.0.0_r29android-12.0.0_r28android-12.0.0_r27android-12.0.0_r26android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android-12.0.0_r16android12L-devandroid12-qpr3-s7-releaseandroid12-qpr3-s6-releaseandroid12-qpr3-s5-releaseandroid12-qpr3-s4-releaseandroid12-qpr3-s3-releaseandroid12-qpr3-s2-releaseandroid12-qpr3-s1-releaseandroid12-qpr3-releaseandroid12-qpr1-releaseandroid12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaseandroid12-devandroid-s-qpr3-beta-1ahs
34dab56946 am: a4a8a3545c Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1670302 Change-Id: If363074c9f33a60bde60050f06ec667bcb36cd49
2021-04-30Fixing segfault crash in x86_64 get_size testcase am: 11c0034821 am: 34dab56946ahs
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1670302 Change-Id: Iee4d605149f90e1aadc59555b36ec486118c9623
2021-04-30Fixing segfault crash in x86_64 get_size testcase am: 11c0034821ahs
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1670302 Change-Id: I15965a7393ec9ae22bb16f7ad6f66199d54b7bf1
2021-04-30Fixing segfault crash in x86_64 get_size testcaseandroid-s-beta-1ahs
getsize_x86_64 testcase is crashing with segfault when trying to access the stack pointer. Compile the testcase with -mstackrealign option to realign the runtime stack so that segfault is avoided when accessing the stack pointer. Bug: 184920505 Signed-off-by: ahs <amrita.h.s@intel.com> Test: run vts -m vts_linux_kselftest_x86_64 -t size_get_size_x86_64 Change-Id: I013a72cbe5311167bad0c278a1f23ff16327e83c
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 887292a9f9 -s ↵Xin Li
ours am: 11e80c0d59 -s ours am: 6e1b166e7b -s ours am skip reason: Change-Id I95b824b198a36d92b8eb54500bdfbe4baefe4867 with SHA-1 af501c6ce8 is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I56c46a7b06608fe829186ab198642555ef787151
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 887292a9f9 -s ↵Xin Li
ours am: 11e80c0d59 -s ours am skip reason: Change-Id I95b824b198a36d92b8eb54500bdfbe4baefe4867 with SHA-1 af501c6ce8 is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I3183a191ca2458a724da151147d38b21b2ab4e14
2021-02-20[automerger skipped] Mark ab/7061308 as merged in stage. am: 887292a9f9 -s oursXin Li
am skip reason: Change-Id I95b824b198a36d92b8eb54500bdfbe4baefe4867 with SHA-1 af501c6ce8 is in history Original change: undetermined MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I361cb6e8847e7b9f9c0e66e45bfbd334a4f5ac82
2021-02-20Mark ab/7061308 as merged in stage.Xin Li
Bug: 180401296 Merged-In: I95b824b198a36d92b8eb54500bdfbe4baefe4867 Change-Id: I966db3eb525080f970dea659591477708dba8947
2021-02-16[LSC] Add LOCAL_LICENSE_KINDS to external/linux-kselftest am: f7f0d6dead am: ↵Bob Badour
6c47457a40 am: ba2cdc7ac2 am: 24b119c4b2 Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1588700 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ie4d460b7dda88e2edfed19efb52b41b25033997c
2021-02-16[LSC] Add LOCAL_LICENSE_KINDS to external/linux-kselftest am: f7f0d6dead am: ↵Bob Badour
6c47457a40 am: ba2cdc7ac2 Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1588700 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I80b92b7291229c64585df94098f8be705bc0a327
2021-02-16[LSC] Add LOCAL_LICENSE_KINDS to external/linux-kselftest am: f7f0d6dead am: ↵Bob Badour
6c47457a40 Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1588700 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ifd3096a3de357fdeed5448be59c241cfa752af6e
2021-02-16[LSC] Add LOCAL_LICENSE_KINDS to external/linux-kselftest am: f7f0d6deadBob Badour
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1588700 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I980aec78b1b273b8cd7bfb7abd90bddc1130fd13
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to external/linux-kselftestandroid-s-preview-1Bob Badour
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD-2-Clause SPDX-license-identifier-BSD-3-Clause SPDX-license-identifier-CC0-1.0 SPDX-license-identifier-GPL SPDX-license-identifier-GPL-2.0 SPDX-license-identifier-GPL-3.0 SPDX-license-identifier-LGPL SPDX-license-identifier-LGPL-2.1 SPDX-license-identifier-MIT SPDX-license-identifier-Unlicense to: Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I5b0be30e3840a44324928bb6eb0a757cf86a89bd
2021-01-20Fix sysret_ss_attrs test name am: cbdb44ef8c am: 8fe9976227 am: 7f4ece6357Will McVicker
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1554438 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Icd8574e83c8011ec3e6799fc9942b2024a93968a
2021-01-19Fix sysret_ss_attrs test name am: cbdb44ef8c am: 8fe9976227Will McVicker
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1554438 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I972fc2b8bbbb541ee678bb462c876c7f3ef57e5a
2021-01-19Fix sysret_ss_attrs test name am: cbdb44ef8cWill McVicker
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1554438 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ic5fca9475c9ba21d1de68a841701591af36cb2bf
2021-01-19Fix sysret_ss_attrs test nameWill McVicker
The name needed to be updated when moved to a separate cc_test in Android.bp. The binary should be showing up in $OUT now. Fixes: 0b2c8f9705418 ("Add x86_64 support for x86 tests") Bug: 177254902 Test: make kselftest_x86_test_sysret_ss_attrs Change-Id: I9007322e96e6d3b0f1566e0b78efd12d373a5b7e
2021-01-15Update the OWNERS am: c340ef02fd am: 6b2b5f9c6a am: 79d37db086Will McVicker
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1551855 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ib12933be584b27a9162ad92e04b0d44646723d92
2021-01-15Add x86_64 support for x86 tests am: 0b2c8f9705 am: 7c04b80b42 am: e8b6684542Will McVicker
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1551519 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ieb6004d87f62c0191f0c40f1ab78ae72043e427f
2021-01-15Update the OWNERS am: c340ef02fd am: 6b2b5f9c6aWill McVicker
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1551855 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ia99b8353ac599d196a08b4f98366e1429614797c
2021-01-15Add x86_64 support for x86 tests am: 0b2c8f9705 am: 7c04b80b42Will McVicker
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1551519 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I04f026dc191891013e1ff60e3e96c7bb5626d175
2021-01-15Update the OWNERS am: c340ef02fdWill McVicker
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1551855 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I290d68c63d27e46c636118a6d7155d08e3cad88b
2021-01-15Add x86_64 support for x86 tests am: 0b2c8f9705Will McVicker
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1551519 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ib9749e9098a5c5d6f12ac7d78c7e8f9081a8c5c7
2021-01-14Update the OWNERSWill McVicker
drosen@ as primary willmcvicker@ as backup Change-Id: Ib5adc5e74d42a3435cbcbf90a79a8c5ee82e19a4
2021-01-14Add x86_64 support for x86 testsWill McVicker
This makes sure that we compiled the x86 tests that support x86_64. Bug: 177254902 Test: vts-tradefed run vts-kernel -m vts_linux_kselftest_x86_64 Change-Id: I0c2b42b814e6f24dbe17e37b7bf24613b0aa8298
2020-11-24UPSTREAM: kselftest: Minimise dependency of get_size on C library interfaces ↵Siddhesh Poyarekar
am: 0d877deaa0 am: 11f6693f46 am: af501c6ce8 Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1509203 Change-Id: Id951467ac71ead9fba755e69271e7f6165b706c4
2020-11-24UPSTREAM: kselftest: Minimise dependency of get_size on C library interfaces ↵Siddhesh Poyarekar
am: 0d877deaa0 am: 11f6693f46 Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1509203 Change-Id: I95b824b198a36d92b8eb54500bdfbe4baefe4867
2020-11-24UPSTREAM: kselftest: Minimise dependency of get_size on C library interfaces ↵Siddhesh Poyarekar
am: 0d877deaa0 Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1509203 Change-Id: I584482575ef6fb501f9b407f5d5d1ad956060011
2020-11-24UPSTREAM: kselftest: Minimise dependency of get_size on C library interfacesSiddhesh Poyarekar
It was observed[1] on arm64 that __builtin_strlen led to an infinite loop in the get_size selftest. This is because __builtin_strlen (and other builtins) may sometimes result in a call to the C library function. The C library implementation of strlen uses an IFUNC resolver to load the most efficient strlen implementation for the underlying machine and hence has a PLT indirection even for static binaries. Because this binary avoids the C library startup routines, the PLT initialization never happens and hence the program gets stuck in an infinite loop. On x86_64 the __builtin_strlen just happens to expand inline and avoid the call but that is not always guaranteed. Further, while testing on x86_64 (Fedora 31), it was observed that the test also failed with a segfault inside write() because the generated code for the write function in glibc seems to access TLS before the syscall (probably due to the cancellation point check) and fails because TLS is not initialised. To mitigate these problems, this patch reduces the interface with the C library to just the syscall function. The syscall function still sets errno on failure, which is undesirable but for now it only affects cases where syscalls fail. [1] https://bugs.linaro.org/show_bug.cgi?id=5479 Signed-off-by: Siddhesh Poyarekar <siddhesh@gotplt.org> Reported-by: Masami Hiramatsu <masami.hiramatsu@linaro.org> Tested-by: Masami Hiramatsu <masami.hiramatsu@linaro.org> Reviewed-by: Tim Bird <tim.bird@sony.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org> (cherry picked from commit 6b64a650f0b2ae3940698f401732988699eecf7a) Signed-off-by: Mark Salyzyn <salyzyn@google.com> Bug: 174132180 Test: Passes compilation and execution on x86_64 Change-Id: I2b3edbfcfcbff410c41b38560e331e55e1e1f232
2020-11-24Mark ab/6881855 as merged am: 0d82ffdd1c am: 0a1d7702ddXin Li
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/linux-kselftest/+/13112848 Change-Id: I733aef6ac5586c7ee21011a012ec4372ed49b55e
2020-11-24Mark ab/6881855 as merged am: 0d82ffdd1cXin Li
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/linux-kselftest/+/13112848 Change-Id: I63bebb971e9db0635974b1838916ba9301121ade
2020-11-23Mark ab/6881855 as mergedXin Li
Bug: 172690556 Change-Id: If3d26f11f362c683b59cf6cbf615a0730f3dd1ed
2020-10-09[automerger skipped] Skip ab/6749736 in stage. am: 4fe1c52d27 -s ours am: ↵Xin Li
d40f914266 -s ours am: ab8ad9122a -s ours am skip reason: Change-Id I69acb5c694f51f6459eb7e998d8f710e0147c7fc with SHA-1 2285c97ccf is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/linux-kselftest/+/12797296 Change-Id: I7189a4b7087ef905f8d111c667059b6f086c96e8
2020-10-09[automerger skipped] Skip ab/6749736 in stage. am: 4fe1c52d27 -s ours am: ↵Xin Li
d40f914266 -s ours am skip reason: Change-Id I69acb5c694f51f6459eb7e998d8f710e0147c7fc with SHA-1 2285c97ccf is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/linux-kselftest/+/12797296 Change-Id: Icd6630fc6d0d5692015d004f9787645b825a7239
2020-10-09[automerger skipped] Skip ab/6749736 in stage. am: 4fe1c52d27 -s oursXin Li
am skip reason: Change-Id I69acb5c694f51f6459eb7e998d8f710e0147c7fc with SHA-1 2285c97ccf is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/linux-kselftest/+/12797296 Change-Id: I54b335ae287e205fca17fda2f151dc7b66227a1b
2020-10-08Skip ab/6749736 in stage.Xin Li
Merged-In: I69acb5c694f51f6459eb7e998d8f710e0147c7fc Change-Id: I42a47323bdee008da173d8f459cb50144b544bf4
2020-09-13[automerger skipped] Update kselftest README.md am: 6e43f7af61 am: ↵Dan Shi
ba177a38fb -s ours am skip reason: Change-Id I45ea2e87600e2204317bbff0a3086b810433a4bb with SHA-1 6e43f7af61 is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/linux-kselftest/+/11609765 Change-Id: I31b0676e82e8b48e20f44216b88caeb0a906eafb
2020-09-13[automerger skipped] Disable native_coverage for kselftest_size_test am: ↵Pirama Arumuga Nainar
59f7f21ddf am: 0d69cbdfa4 -s ours am skip reason: Change-Id Ia964321d031d48bba6f96ef2ed961ca979aae90b with SHA-1 59f7f21ddf is in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/linux-kselftest/+/11477919 Change-Id: I0207d277112b6a9a787310145a208dc587b1bc54
2020-09-10Merge changes I2bcbe6fa,I302b77bb am: 233c77b06d am: c75a928ae1 am: ↵Kalesh Singh
dc0a6ca342 am: 6fe283693e am: 78625800ab Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1423571 Change-Id: I6fb3331191e6730082334c0bd652555f93c9a72c
2020-09-10Merge changes I2bcbe6fa,I302b77bb am: 233c77b06d am: c75a928ae1 am: ↵Kalesh Singh
dc0a6ca342 am: 6fe283693e Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1423571 Change-Id: I34e2c0367cb09fabb172e2dc195283fceda6ba5c
2020-09-10Merge changes I2bcbe6fa,I302b77bb am: 233c77b06d am: c75a928ae1 am: dc0a6ca342Kalesh Singh
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1423571 Change-Id: I03e5d691c3a23cb2e317a7f33e6e63c2e44ee895
2020-09-10Merge changes I2bcbe6fa,I302b77bb am: 233c77b06d am: c75a928ae1Kalesh Singh
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1423571 Change-Id: I747634ee24d1ad40a0c582a7b7a8ebe493ae1b39
2020-09-10Merge changes I2bcbe6fa,I302b77bb am: 233c77b06dKalesh Singh
Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1423571 Change-Id: I30dee156ae8f123a6d6157b228eb282716e4e52c
2020-09-10Merge changes I2bcbe6fa,I302b77bbKalesh Singh
* changes: VTS: kselftest rtctest VTS: kselftest rtctest
2020-09-09VTS: kselftest rtctestGregory Montoir
Simplify RTC presence check Exempt-From-Owner-Approval: smuckle@ is OOO Bug: 166143014 Change-Id: I2bcbe6fa744889e4b698ea36c68ff98898455518 (cherry picked from commit 350ec5e167dbdbf2edf281a7dd9232e38af47a0c)
2020-09-09VTS: kselftest rtctestGregory Montoir
Return early and do not try to setup the test if no RTC is present. Exempt-From-Owner-Approval: smuckle@ is OOO Bug: 166143014 Change-Id: I302b77bb216e60457bfd04f6e8b42b7a44ab3882 (cherry picked from commit 50b4a0ffbdfdcf305f93b877c0bad956652f1eed)
2020-09-02VTS: kselftest rtctest am: 7b7fc39a3b am: 9be42dbeca am: 22ad13f4c1 am: ↵Kalesh Singh
243ec140aa am: 3a328c7680 Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1416090 Change-Id: I7add8f150ce138e2c745773ea72f0f2265b5f45a
2020-09-01VTS: kselftest rtctest am: 7b7fc39a3b am: 9be42dbeca am: 22ad13f4c1 am: ↵Kalesh Singh
243ec140aa Original change: https://android-review.googlesource.com/c/platform/external/linux-kselftest/+/1416090 Change-Id: If8582263ec09e7330aa002c4dca93fd7f725820d