aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-05-11Snap for 10078606 from 0f137c87a52f3a451c2cf9a53a88a88ce4ad5bb5 to ↵frc_340821000frc_340819280frc_340819220frc_340819190frc_340819030frc_340819020frc_340819010frc_340818170frc_340818110Android Build Coastguard Worker
aml-frc-release Change-Id: I3884a88eb332f4b625298faa6e7ddb92fb0662a2
2023-04-18Snap for 9957928 from f9a84cccb0bb075dc0ac1b5a09bdf61dbe43e867 to udc-releaseandroid-vts-14.0_r4android-vts-14.0_r3android-vts-14.0_r2android-vts-14.0_r1android-security-14.0.0_r9android-security-14.0.0_r8android-security-14.0.0_r7android-security-14.0.0_r6android-security-14.0.0_r5android-security-14.0.0_r4android-security-14.0.0_r3android-security-14.0.0_r2android-security-14.0.0_r10android-security-14.0.0_r1android-platform-14.0.0_r9android-platform-14.0.0_r8android-platform-14.0.0_r7android-platform-14.0.0_r6android-platform-14.0.0_r5android-platform-14.0.0_r4android-platform-14.0.0_r3android-platform-14.0.0_r2android-platform-14.0.0_r1android-cts-14.0_r4android-cts-14.0_r3android-cts-14.0_r2android-cts-14.0_r1android-14.0.0_r28android-14.0.0_r2android-14.0.0_r15android-14.0.0_r14android-14.0.0_r13android-14.0.0_r1android14-tests-releaseandroid14-security-releaseandroid14-s2-releaseandroid14-s1-releaseandroid14-releaseandroid14-platform-releaseAndroid Build Coastguard Worker
Change-Id: Ic3388923463384a9b313532aa829fb6f9e1db780
2023-04-17Move the tool from /system_ext to /vendor am: b7e9354899 am: eb6974dd17 am: ↵android14-devRandall Huang
462a37a6ce Original change: https://android-review.googlesource.com/c/platform/external/sg3_utils/+/2537610 Change-Id: I97b9c31ec0116050d7d49a13f317b93c92b47da7 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-17Move the tool from /system_ext to /vendor am: b7e9354899 am: eb6974dd17Randall Huang
Original change: https://android-review.googlesource.com/c/platform/external/sg3_utils/+/2537610 Change-Id: Ic33132d13699eccdf8f6b1d8bfd3c4ee22a2cf93 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-17Move the tool from /system_ext to /vendor am: b7e9354899Randall Huang
Original change: https://android-review.googlesource.com/c/platform/external/sg3_utils/+/2537610 Change-Id: Iaa4ee1763292c92e4be34fb14672a1d7bfbff96f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-14Move the tool from /system_ext to /vendorRandall Huang
Vendor executables, such as dumpstate vendor variant, can only call executables placed under /vendor/bin. Therefore, the tool must be moved to /vendor/bin in order to be called by vendor executables. Bug: 264001741 Test: build pass Change-Id: I93b2f03bc2790e3d9afbaccf7c4e96821b183d3f Signed-off-by: Randall Huang <huangrandall@google.com>
2023-03-30Snap for 9816131 from 04140b30303a288c8c6cb27669c4eb285e2ff68b to ↵Android Build Coastguard Worker
aml-frc-release Change-Id: I433cc1d11eac670b660cc24bfa3707645142484f
2022-12-18Snap for 9416776 from b3f25afb799677b70bd5d34b3a02e2c1d4f79398 to udc-releaseAndroid Build Coastguard Worker
Change-Id: I8f579cadf9443f77ff5005a9a82c8827d03cafea
2022-12-17Snap for 9414774 from 04f14b861890325b19642277fab2ed6c252cb632 to udc-releaseAndroid Build Coastguard Worker
Change-Id: I808ebef0d683806b775fe42097b4a152e761cec5
2022-12-17Rename LICENSE module am: 4c6ebbc99b am: 3bcb7a8369 am: 413c6d581fCole Faust
Original change: https://android-review.googlesource.com/c/platform/external/sg3_utils/+/2362104 Change-Id: I7796c687897f3818053ad3ec68770d11578b3c15 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17Rename LICENSE module am: 4c6ebbc99b am: 3bcb7a8369Cole Faust
Original change: https://android-review.googlesource.com/c/platform/external/sg3_utils/+/2362104 Change-Id: Ibf32c086862f4b82102c2a274c2fa43372417935 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-17Rename LICENSE module am: 4c6ebbc99bandroid-u-beta-1-gplCole Faust
Original change: https://android-review.googlesource.com/c/platform/external/sg3_utils/+/2362104 Change-Id: Ie0b56db3e7ce00f5ac830711ab59805e5f161abd Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-16Rename LICENSE moduleplatform-tools-34.0.1platform-tools-34.0.0platform-tools-33.0.4main-16k-with-phonesCole Faust
It being named the same as the LICENSE file was causing a circular dependency in bazel. Test: Presubmits Change-Id: I519fd1e46761edcec5339df8dec431bfb965d277
2022-12-15Merge "Add Android.bp" am: c185c9adb7 am: 6091091bf0 am: 32c4f9cbe5Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/external/sg3_utils/+/2316200 Change-Id: I87829f4ad2ca21a6f0026622cae0f1b2d5cbb32f Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15Merge "Add Android.bp" am: c185c9adb7 am: 6091091bf0Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/external/sg3_utils/+/2316200 Change-Id: I08b0671109243a806597c492ef58f361a616f14d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15Merge "Add Android.bp" am: c185c9adb7Treehugger Robot
Original change: https://android-review.googlesource.com/c/platform/external/sg3_utils/+/2316200 Change-Id: I9f93b607b429047e8bd0fe0746702d9abb5ad3e2 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-12-15Merge "Add Android.bp"Treehugger Robot
2022-11-28Add Android.bpBart Van Assche
Change-Id: Idfcbfb3a2a03bda1abe5ec6d4c657b0a171377f6 Signed-off-by: Bart Van Assche <bvanassche@google.com>
2022-11-24Snap for 9325779 from fa2631e449ef0c653d6fd23d20cea1a385fc5acc to udc-releaseAndroid Build Coastguard Worker
Change-Id: I78089e5909e9483c1e231bf8cf17372c910ac8e4
2022-11-23Add LICENSE and OWNERS files am: 18b1b2ee6c am: faa4fa5566 am: 386592a55fBart Van Assche
Original change: https://android-review.googlesource.com/c/platform/external/sg3_utils/+/2315503 Change-Id: I9a6d0aa7de1c79cf5f213344ed7b9799fbe60200 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-23Add LICENSE and OWNERS files am: 18b1b2ee6c am: faa4fa5566Bart Van Assche
Original change: https://android-review.googlesource.com/c/platform/external/sg3_utils/+/2315503 Change-Id: Ic0506a7f08a30207094f8f3fb237d5b6360a160c Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-23Add LICENSE and OWNERS files am: 18b1b2ee6cBart Van Assche
Original change: https://android-review.googlesource.com/c/platform/external/sg3_utils/+/2315503 Change-Id: Ib8cd9a38262e0185e5c0a53542139ed6004bc91d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-23Merge remote-tracking branch 'aosp/upstream-main' into HEAD am: 448b67b18a ↵Bart Van Assche
am: d39ef90544 am: 3c61bd9e26 Original change: https://android-review.googlesource.com/c/platform/external/sg3_utils/+/2312210 Change-Id: I0362cffa263ba632a3e2058f8f50f32e024b2cc3 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-23Merge remote-tracking branch 'aosp/upstream-main' into HEAD am: 448b67b18a ↵Bart Van Assche
am: d39ef90544 Original change: https://android-review.googlesource.com/c/platform/external/sg3_utils/+/2312210 Change-Id: I9250fb56011665ad3b048ba8a96607e09670ad17 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-23Add LICENSE and OWNERS filesBart Van Assche
The LICENSE file conforms with the instructions from https://g3doc.corp.google.com/company/thirdparty/android.md. Bug: 242556256 Change-Id: I56e3d2f2ddfc792fb0b99f113e413c3fc7d844fc Signed-off-by: Bart Van Assche <bvanassche@google.com>
2022-11-23Merge remote-tracking branch 'aosp/upstream-main' into HEAD am: 448b67b18aBart Van Assche
Original change: https://android-review.googlesource.com/c/platform/external/sg3_utils/+/2312210 Change-Id: I9990441975206fdea5b55263064471fa1c5ac90d Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-11-22Merge remote-tracking branch 'aosp/upstream-main' into HEADBart Van Assche
Change-Id: Iebf400937d2010e8cc6efcece2105209cf78032a
2022-11-18Initial empty repositoryUmer Abdullah
2022-11-13sg_logs: fix clang compile warningDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@983 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-11-13sg_logs: more json work, encoreDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@982 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-11-07more sg_logs json work; fix debian package build breakage due to last commitDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@981 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-11-04add two new exit status values: SG_LIB_CAT_STANDBY and ↵Douglas Gilbert
SG_LIB_CAT_UNAVAILABLE which refine the 'not ready' exit status git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@980 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-11-04remove archive directory (and its contents) ↵Douglas Gilbert
[github.com/doug-gilbert/sg3_utils/pull/31]; more sg_logs JSON work git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@979 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-11-01sg_read_block_limits: fix granularity value, add --mloi option; sg_lib: add ↵Douglas Gilbert
sg_ll_read_block_limits_v2(); sg_logs: json work git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@978 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-10-28sg_stream_ctl: --get fix better; sg_rem_rest_elem: cleanupDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@977 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-10-27sg_stream_ctl: fix --get indexing; fix some './configure --enable-debug' issuesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@976 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-10-21build cleanups for 'make distcheck'Douglas Gilbert
See https://github.com/doug-gilbert/sg3_utils/pull/26, 27 and 28; still need svn:ignore property or maybe global-ignores. More testing/*_dd.c* cleanups for retiring HIPRI and relacing with POLLED (for calling bio_poll() in kernel). git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@975 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-10-07sg3_utils: freestanding sg_pr2serr.c pr_s 25+26Douglas Gilbert
In order to use the new JSON code in pr2serr.[hc] in the lsscsi package, changes were made to remove dependencies on the rest of the sg_lib library. https://github.com/doug-gilbert/sg3_utils/pull/25 and .../pull/26 applied with minor change. More pull requests await the next revision. git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@974 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-09-30rescan-scsi-bus: speed large multipath scansDouglas Gilbert
Speed multipath scans with many LUNs by caching multipath LUN info in temporary file, see: https://github.com/doug-gilbert/sg3_utils/issues/22 Fix small bug in last commit, see: https://github.com/doug-gilbert/sg3_utils/issues/24 git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@973 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-09-26rescan-scsi-bus.sh speed testonline()Douglas Gilbert
speed testonline() function when peripheral_qualifier != 0 in the standard INQUIRY response. See: https://github.com/doug-gilbert/sg3_utils/issues/24 git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@972 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-09-18sg_inq+sg_vpd: ongoing JSON updatesDouglas Gilbert
Probably at the end of the JSON work for sg_inq since it only has four vendor specific VPD pages. sg_vpd has a lot more vendor specific VPD pages which are yet to be 'jsonified'. git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@971 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-09-05sg_inq+sg_vpd: ongoing updates; rescan_scsi_bus.shDouglas Gilbert
https://github.com/doug-gilbert/sg3_utils/pull/21 change to rescan_scsi_bus.sh was applied in an earlier commit but not noted. git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@970 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-08-18sg_inq+sg_vpd: more updates but not finishedDouglas Gilbert
The sg_inq+sg_inq work is mainly JSON additions. sg_vpd has a new --sinq_inraw=RFN option. Update and place names for the 64 TapeAlert flags in the library. This improves TapeAlert reporting for sg_inq, sg_vpd and sg_logs. Refine the description of the VPD page merge of processing for sg_inq and sg_vpd to only include _T10_ defined pages, so the vendor specific VPD page processings of those utilities are still separate. git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@969 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-08-12Prepare for removing /proc/scsi from the Linux kernelDouglas Gilbert
From: Bart Van Assche <bvanassche@acm.org> The sg3_utils package is the only /proc/scsi user I know of. Although support for systems without /proc/scsi was added to rescan_scsi_bus.sh more than ten years ago, a few references to /proc/scsi remain. Convert these references into the recommended interfaces. Posted to linux-scsi@vger.kernel.org on 20220810 git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@968 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-08-12rescan-scsi-bus.sh: add option --no-lip-scanDouglas Gilbert
lip is a FC operation and can be used to rescan device but it can not specify the channel and target. So add a new option to scan FC hosts according to the SCSI general interface in sysfs: /sys/class/scsi_host/hostX/scan. The default value of no_lip_scan is 0 which does not change the default behavior. Fix https://github.com/doug-gilbert/sg3_utils/issues/20 Signed-off-by: Wenchao Hao <haowenchao@huawei.com> git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@967 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-08-12sg_inq+sg_vpd: more JSON work (add SG_C_CPP_ZERO_INIT)Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@966 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-08-07rescan-scsi-bus: sgdevice26: do not traverse sg class if scsi_device isnot addedDouglas Gilbert
For system which has a massive number of scsi_devices, it would takes a long time to traverse /sys/class/scsi_generic to find a related sg. If the scsi_device of specific scsiid host:channel:target:lun did not added, the traverse would find no sg neither. Signed-off-by: Wenchao Hao <haowenchao@huawei.com> From: https://github.com/doug-gilbert/sg3_utils/pull/21 git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@965 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-08-07sg_inq+sg_vpd: more JSON work (tpc)Douglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@964 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-07-29cleanup warning and C++20 building issuesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@963 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-07-27rescan-scsi-bus.sh: fix handling of '-I <secs>' option ; sg_inq+sg_vpd: more ↵Douglas Gilbert
JSON work git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@962 6180dd3e-e324-4e3e-922d-17de1ae2f315