public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ravi Kumar Siadri" <siadriravikumaruefi@gmail.com>
To: devel@edk2.groups.io
Subject: ExtScsiPassThru support for Logical SCSI devices
Date: Mon, 10 Jun 2019 05:32:32 -0700	[thread overview]
Message-ID: <15109.1560169952219160072@groups.io> (raw)

[-- Attachment #1: Type: text/plain, Size: 1611 bytes --]

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 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 EFI_EXT_SCSI_PASS_THRU_ ATTRIBUTES_LOGICAL bits.*

If the Drivers is for non-RAID SCSI controllers why to set the EFI_EXT_SCSI_PASS_THRU_ ATTRIBUTES_LOGICAL bit. Will there be any 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_ ATTRIBUTES_PHYSICAL bit set and another with just the EFI_EXT_SCSI_PASS_THRU_ ATTRIBUTES_LOGICAL bit set. One interface can be used to access 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_THRU_ ATTRIBUTES_LOGICAL and EFI_EXT_SCSI_PASS_THRU_ ATTRIBUTES_PHYSICAL 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

[-- Attachment #2: Type: text/html, Size: 3660 bytes --]

             reply	other threads:[~2019-06-10 12:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-10 12:32 Ravi Kumar Siadri [this message]
2019-07-12 22:10 ` [edk2-devel] ExtScsiPassThru support for Logical SCSI devices Laszlo Ersek
2019-07-15  5:25   ` Wu, Hao A
2019-07-18 16:02     ` Ravi Kumar Siadri
2019-07-18 21:10       ` Laszlo Ersek
     [not found] <CAHPR0Q2RMR2TXUgHchw5X-ojRx7DQL1xBisucHsVxxfc28Hd=w@mail.gmail.com>
2019-06-12  4:00 ` Ravi Kumar Siadri

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15109.1560169952219160072@groups.io \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox