scsi: core: disable scsi_get_vpd_size for GCP

This is a temporary workaround for Virtual IO SCSI Bug b/339461799
which results in broken reads when attempting to only read the first 4
bytes of the VPD.

This fixes a functional regression for all SCSI attached disks since
5.18, but should only be needed until Vanadium is finished rolling out
the fix for b/339461799.

The mentioned bug does *not* affect any disks attached using NVMe.

PersistentDisk is PD, EphemeralDisk is local SSD.

Fixes: c92a6b5d6335 ("scsi: core: Query VPD size before getting full page")

Cc: Jonathan Polley <polley@google.com>

BUG=b/339532174
TEST=presubmit and manual
RELEASE_NOTE=None

cos-patch: bug
Google-Bug-Id: 333389588
Google-Bug-Id: 339532174
Change-Id: I109eb87cf5b98a7decdd9de6c7c98fd49448ca87
Signed-off-by: Khazhismel Kumykov <khazhy@google.com>
Signed-off-by: Arnav Kansal <rnv@google.com>
Reviewed-on: https://cos-review.googlesource.com/c/third_party/kernel/+/71611
Main-Branch-Verified: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
Reviewed-by: Robert Kolchmeyer <rkolchmeyer@google.com>
Tested-by: Cusky Presubmit Bot <presubmit@cos-infra-prod.iam.gserviceaccount.com>
diff --git a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devinfo.c
index 3fcaf10..e528fdb 100644
--- a/drivers/scsi/scsi_devinfo.c
+++ b/drivers/scsi/scsi_devinfo.c
@@ -172,6 +172,8 @@
 	{"Generic", "USB SD Reader", "1.00", BLIST_FORCELUN | BLIST_INQUIRY_36},
 	{"Generic", "USB Storage-SMC", NULL, BLIST_FORCELUN | BLIST_INQUIRY_36}, /* FW: 0180 and 0207 */
 	{"Generic", "Ultra HS-SD/MMC", "2.09", BLIST_IGN_MEDIA_CHANGE | BLIST_INQUIRY_36},
+	{"Google", "PersistentDisk", "1", BLIST_NO_VPD_SIZE},
+	{"Google", "EphemeralDisk", "1", BLIST_NO_VPD_SIZE},
 	{"HITACHI", "DF400", "*", BLIST_REPORTLUN2},
 	{"HITACHI", "DF500", "*", BLIST_REPORTLUN2},
 	{"HITACHI", "DISK-SUBSYSTEM", "*", BLIST_REPORTLUN2},