From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=SHuUNeaX; spf=pass (domain: gmail.com, ip: 209.85.219.175, mailfrom: siadriravikumaruefi@gmail.com) Received: from mail-yb1-f175.google.com (mail-yb1-f175.google.com [209.85.219.175]) by groups.io with SMTP; Tue, 11 Jun 2019 21:00:46 -0700 Received: by mail-yb1-f175.google.com with SMTP id v104so187355ybi.12 for ; Tue, 11 Jun 2019 21:00:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=atCidIyL50bbDgb3z2/Dxb6MZZWSX6IgQT/nz6TT0qs=; b=SHuUNeaXCktvuQfZGwQD3Y9UDPHuGFIEErdEqsY2OWlFcnnudZDEH/3FiTSHw+t7IF Fiac7Xl1h+2jD9tyc4T+5V+aParAjfGePsdpx5MnROE7VTcm8+I8aWZDt8pOuMsMU68G uuTjGpbRQfslyXcmYW8ugz5T7P7tNv5kzF6kOUR8RyFyP7JAT4+pcs4YVZ1iNsDReyme +KaC1BwEh9PQPSjSsj3le1V2jo39RBatNPZMrDSAIncHV9lU9DjramOezhyqa1p2lvEU Ck7M6s3YEvoUPr/vQZ1bEDuZumvgcBjWZRvoH9TvYEj71oYsskcScsEkpmj3lRxMWqu9 gV8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=atCidIyL50bbDgb3z2/Dxb6MZZWSX6IgQT/nz6TT0qs=; b=ArZG6iTKguknh3A7M6sgrmN5q49i3Pw1k2Ep/cuaW5r4gsuiUoxFL9AnAnZW9be8u7 NWZL4t+rouFY1vHw258ogZBTfefKCy4M4T6SScc7RAkgS6WI/OOpppvgq0e/yUnK850J 3XUEhFrBYtS2GQuipiuKVgKBz/yw9IvjRx3bolMWaV0idMvgK4ycyyZNL42mwjsLFAnR ueX6E8zUAcmH0t0D7xfHgFdJ9ABjxUsE/rUCT9bGvgjlvQOsWHvb7wX7a87jhZPUTvkY y1rH8+QX0ih24j+wbl8SsrCcp5CK2efKx6TRDjvCMSbMsEuv24v0I2BSSrR+JIAmJeCl kAdQ== X-Gm-Message-State: APjAAAV91c9onTzIN4BEt3W4+hqThfSFn1DnfQXI+u6FfIsVVuWmdk44 dSI2144l2OWzZSWQhoOyxlfgcmsHY20aI6IiNwP5SA== X-Google-Smtp-Source: APXvYqxfgYTf6XcxFS8JZVDhnT8c5U9QR80GJ+JCfhnZkKSpDjhNDdp8EMTX3xq3YALs2jCtBoK/ibmLlBZFYkgCkEQ= X-Received: by 2002:a25:a4a4:: with SMTP id g33mr29839811ybi.378.1560312045230; Tue, 11 Jun 2019 21:00:45 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Ravi Kumar Siadri" Date: Wed, 12 Jun 2019 09:30:33 +0530 Message-ID: Subject: Re: ExtScsiPassThru support for Logical SCSI devices To: devel@edk2.groups.io Content-Type: multipart/alternative; boundary="00000000000031e057058b187552" --00000000000031e057058b187552 Content-Type: text/plain; charset="UTF-8" Hi, Can someone help me in clarifying my queries ?? Thanks, Ravi Kumar On Mon, Jun 10, 2019 at 3:55 PM Ravi Kumar Siadri < siadriravikumaruefi@gmail.com> wrote: > 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 > > --00000000000031e057058b187552 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

Can someone help me in clarifying m= y queries ??

Thanks,
Ravi Kumar

On = Mon, Jun 10, 2019 at 3:55 PM Ravi Kumar Siadri <siadriravikumaruefi@gmail.com> wrote:
Hi all,

I have couple of queries= regarding the EFI_EXT_SCSI_PASS_THRU_ATTRIBUTES_LOGICAL attribute s= upport in EFI_EXT_SCSI_PASS_THRU_PROTOCOL.

=
1.=C2=A0
The Attributes field of t= he 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 co= ntrollers 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 E= FI_EXT_SCSI_PASS_THRU_ATTRIBUTES_LOGICAL bit. Will there be any case that n= on-RAID SCSI controllers have Logical devices connected to it ??
=
2.=C2=A0
Drivers= for RAID controllers that allow access to the physical devices and logical= devices will produce two EFI_EXT_SCSI_PASS_THRU_PROTOCOL interfaces:=C2=A0= =C2=A0
One with the just the EFI_EXT_SCSI_PASS_THRU= _ATTRIBUTES_PHYSICAL bit set and another with just the EFI_EXT_SCSI_PASS_TH= RU_ATTRIBUTES_LOGICAL bit set. One interface can be used to access the phys= ical 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 attri= butes EFI_EXT_SCSI_PASS_THRU_ATTRIBUTES_LOGICAL and EFI_EXT_SCSI_PASS_THRU_= ATTRIBUTES_PHYSICAL on same Instance ??
How User locates the Inst= ance with EFI_EXT_SCSI_PASS_THRU_ATTRIBUTES_LOGICAL bit set and Instance wi= th EFI_EXT_SCSI_PASS_THRU_ATTRIBUTES_PHYSICAL bit set. ??

Thanks,
Ravi Kumar

--00000000000031e057058b187552--