aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-04-17Move the tool from /system_ext to /vendor am: b7e9354899 am: eb6974dd17 am: ↵aml_wif_341711020aml_wif_341610000aml_wif_341510000aml_wif_341410080aml_wif_341310010aml_wif_341110010aml_wif_341011010aml_wif_340913010aml_uwb_341710010aml_uwb_341513070aml_uwb_341511050aml_uwb_341310300aml_uwb_341310030aml_uwb_341111010aml_uwb_341011000aml_tet_341712060aml_tet_341610020aml_tet_341511010aml_tet_341411060aml_tet_341310230aml_tet_341112070aml_tet_341010040aml_tet_340913030aml_swc_341711000aml_swc_341619000aml_swc_341513600aml_swc_341312300aml_swc_341312020aml_swc_341111000aml_swc_341011020aml_swc_340922010aml_sta_341710000aml_sta_341615000aml_sta_341511040aml_sta_341410000aml_sta_341311010aml_sta_341114000aml_sta_341111000aml_sta_341010020aml_sta_340912000aml_sta_340911000aml_sdk_341710000aml_sdk_341510000aml_sdk_341410000aml_sdk_341110080aml_sdk_341110000aml_sdk_341010000aml_sdk_340912010aml_sch_341510000aml_res_341510000aml_res_341410010aml_res_341311030aml_res_341110000aml_res_340912000aml_per_341711000aml_per_341614000aml_per_341510010aml_per_341410020aml_per_341311000aml_per_341110020aml_per_341110010aml_per_341011100aml_per_341011020aml_per_340916010aml_odp_341717000aml_odp_341610000aml_neu_341510000aml_neu_341010080aml_neu_341010000aml_net_341710020aml_net_341610030aml_net_341510050aml_net_341510000aml_net_341411030aml_net_341311010aml_net_341310020aml_net_341111030aml_net_341014000aml_net_340913000aml_mpr_341713020aml_mpr_341614010aml_mpr_341511070aml_mpr_341411070aml_mpr_341313030aml_mpr_341111030aml_mpr_341111020aml_mpr_341015090aml_mpr_341015030aml_mpr_340919000aml_med_341711000aml_med_341619000aml_med_341513600aml_med_341312300aml_med_341312020aml_med_341111000aml_med_341011000aml_med_340922010aml_ips_341611000aml_ips_341510000aml_ips_340914280aml_ips_340914200aml_ips_340914000aml_ext_341716000aml_ext_341620040aml_ext_341518010aml_ext_341414010aml_ext_341317010aml_ext_341131030aml_ext_341027030aml_doc_341713000aml_doc_341610010aml_doc_341510050aml_doc_341312010aml_doc_341112000aml_doc_341012000aml_doc_340916000aml_con_341614000aml_con_341511080aml_con_341410300aml_con_341310090aml_con_341110000aml_cbr_341710000aml_cbr_341610000aml_cbr_341510010aml_cbr_341410010aml_cbr_341311010aml_cbr_341110000aml_cbr_341011000aml_cbr_340914000aml_ase_341510000aml_ase_341410000aml_ase_341310010aml_ase_341113000aml_ase_340913000aml_art_341711000aml_art_341615020aml_art_341514450aml_art_341514410aml_art_341411300aml_art_341311100aml_art_341110110aml_art_341110060aml_art_341010050aml_art_340915060aml_ads_341720000aml_ads_341615050aml_ads_341517040aml_ads_341413000aml_ads_341316030aml_ads_341131050aml_ads_341027030aml_ads_340915050aml_adb_341520010aml_adb_341517070aml_adb_340912530aml_adb_340912350aml_adb_340912200aml_adb_340912000android14-mainline-wifi-releaseandroid14-mainline-uwb-releaseandroid14-mainline-tethering-releaseandroid14-mainline-sdkext-releaseandroid14-mainline-resolv-releaseandroid14-mainline-permission-releaseandroid14-mainline-os-statsd-releaseandroid14-mainline-networking-releaseandroid14-mainline-mediaprovider-releaseandroid14-mainline-media-swcodec-releaseandroid14-mainline-media-releaseandroid14-mainline-extservices-releaseandroid14-mainline-conscrypt-releaseandroid14-mainline-cellbroadcast-releaseandroid14-mainline-art-releaseandroid14-mainline-appsearch-releaseandroid14-mainline-adservices-releaseandroid14-mainline-adbd-releaseRandall Huang
462a37a6ce am: f9a84cccb0 Original change: https://android-review.googlesource.com/c/platform/external/sg3_utils/+/2537610 Change-Id: I4a97d83c0f912d9cc376c005f2697387a067fb6b 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: 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>
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-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
2022-07-19another round of sgj_* function renaming; sg_inq+sg_vpd: add new Block ↵Douglas Gilbert
Limits VPD page code git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@961 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-07-15sg_inq+sg_vpd: JSON work continuesDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@960 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-07-11sg_inq+sg_vpd: merge VPD page processingDouglas Gilbert
This is being done so that ongoing JSON work is not duplicated for both sg_vpd and sg_inq. This might lead to small changes in formatting of VPD (and standard INQUIRY) output. That in turn might break parsing code expecting the former output. Hopefully this will push folks who are parsing to try out JSON output. However JSON output format may not be that stable, hoping for feedback on that front. git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@959 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-07-06sg_vpd: more JSON workDouglas Gilbert
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@958 6180dd3e-e324-4e3e-922d-17de1ae2f315
2022-07-02sg3_utils.spec: change tarball extension from .tgz to .tar.gz ; fix build ↵Douglas Gilbert
issue with Fedora 36; minor work git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@957 6180dd3e-e324-4e3e-922d-17de1ae2f315