From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: ExtScsiPassThru support for Logical SCSI devices To: devel@edk2.groups.io From: "Ravi Kumar Siadri" X-Originating-Location: Bengaluru, Karnataka, IN (106.51.235.204) X-Originating-Platform: Windows Opera 60 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Mon, 10 Jun 2019 05:32:32 -0700 Message-ID: <15109.1560169952219160072@groups.io> Content-Type: multipart/alternative; boundary="4HGr36EwSCR1UBZ9e1rt" --4HGr36EwSCR1UBZ9e1rt Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi all, I have couple of queries regarding the *EFI_EXT_SCSI_PASS_THRU_ ATTRIBUTES= _LOGICAL* attribute support in *EFI_EXT_SCSI_PASS_THRU_ PROTOCOL*. *1.* *The Attributes field of the EFI_EXT_SCSI_PASS_THRU_ PROTOCOL interface te= lls if the interface is for physical SCSI devices or logical SCSI devices. = Drivers for non-RAID SCSI controllers will set both the EFI_EXT_SCSI_PASS_T= HRU_ ATTRIBUTES_PHYSICAL, and the EFI_EXT_SCSI_PASS_THRU_ ATTRIBUTES_LOGICA= L bits.* If the Drivers is for non-RAID SCSI controllers why to set the EFI_EXT_SCS= I_PASS_THRU_ ATTRIBUTES_LOGICAL bit. Will there be any case that non-RAID S= CSI controllers have Logical devices connected to it ?? ** *2.* *Drivers for RAID controllers that allow access to the physical devices an= d logical devices will produce two EFI_EXT_SCSI_PASS_THRU_ PROTOCOL interfa= ces:* *One with the just the EFI_EXT_SCSI_PASS_THRU_ ATTRIBUTES_PHYSICAL bit set= and another with just the EFI_EXT_SCSI_PASS_THRU_ ATTRIBUTES_LOGICAL bit s= et. One interface can be used to access the physical devices attached to th= e RAID controller, and the other can be used to access the logical devices = attached to the RAID controller for its current configuration.* Any background why EFI_EXT_SCSI_PASS_THRU_ PROTOCOL needed 2 instances ? w= hy can't we install attributes EFI_EXT_SCSI_PASS_THRU_ ATTRIBUTES_LOGICAL a= nd EFI_EXT_SCSI_PASS_THRU_ ATTRIBUTES_PHYSICAL on same Instance ?? How User locates the Instance with EFI_EXT_SCSI_PASS_THRU_ ATTRIBUTES_LOGI= CAL bit set and Instance with EFI_EXT_SCSI_PASS_THRU_ ATTRIBUTES_PHYSICAL b= it set. ?? Thanks, Ravi Kumar --4HGr36EwSCR1UBZ9e1rt Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
Hi all,
 
I have couple of queries regarding the EFI_E= XT_SCSI_PASS_THRU_ATTRIBUTES_LOGICAL attribute support= in EFI_EXT_SCSI_PASS_THRU_PROTOCOL.
 
1. 
The Attributes field of the EFI_EXT_SCSI_PASS_= THRU_PROTOCOL interface tells if the interface is for physical SCSI = devices or logical SCSI devices. Drivers for non-RAID SCSI controllers will= set both the EFI_EXT_SCSI_PASS_THRU_ATTRIBUTES_PHYSICAL, and the EF= I_EXT_SCSI_PASS_THRU_ATTRIBUTES_LOGICAL bits.
 
If the Drivers is for non-RAID SCSI controllers why to se= t the EFI_EXT_SCSI_PASS_THRU_ATTRIBUTES_LOGICAL bit. Will there be a= ny case that non-RAID SCSI controllers have Logical devices connected to it= ??
 
2. 
Drivers for RAID controllers that allow access= to the physical devices and logical devices will produce two EFI_EXT_SCSI_= PASS_THRU_PROTOCOL interfaces:  
One with the just the EFI_EXT_SCSI_PASS_THRU_<= wbr />ATTRIBUTES_PHYSICAL bit set and another with just the EFI_EXT_SCSI_PA= SS_THRU_ATTRIBUTES_LOGICAL bit set. One interface can be used to acc= ess the physical devices attached to the RAID controller, and the other can= be used to access the logical devices attached to the RAID controller for = its current configuration.
 
Any background why EFI_EXT_SCSI_PASS_THRU_PROTOCOL= needed 2 instances ? why can't we install attributes EFI_EXT_SCSI_PASS_THR= U_ATTRIBUTES_LOGICAL and EFI_EXT_SCSI_PASS_THRU_ATTRIBUTES_PH= YSICAL on same Instance ??
How User locates the Instance with EFI_EXT_SCSI_PASS_THRU= _ATTRIBUTES_LOGICAL bit set and Instance with EFI_EXT_SCSI_PASS_THRU= _ATTRIBUTES_PHYSICAL bit set. ??
 
Thanks,
Ravi Kumar
--4HGr36EwSCR1UBZ9e1rt--