linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Thumshirn <jthumshirn@suse.de>
To: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@microsemi.com>
Cc: "jejb@linux.vnet.ibm.com" <jejb@linux.vnet.ibm.com>,
	"martin.petersen@oracle.com" <martin.petersen@oracle.com>,
	"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
	Dave Carroll <david.carroll@microsemi.com>,
	Gana Sridaran <gana.sridaran@microsemi.com>,
	Scott Benesh <scott.benesh@microsemi.com>
Subject: Re: [PATCH V2 05/24] aacraid: Retrieve and update the device types
Date: Fri, 27 Jan 2017 09:08:01 +0100	[thread overview]
Message-ID: <20170127080801.GA5746@linux-x5ow.site> (raw)
In-Reply-To: <4D8E82A446BF54499747901DBDEB737A7B88A658@avsrvexchmbx1.microsemi.net>

On Thu, Jan 26, 2017 at 09:00:42PM +0000, Raghava Aditya Renukunta wrote:
> 
> 
> > -----Original Message-----
> > From: linux-scsi-owner@vger.kernel.org [mailto:linux-scsi-
> > owner@vger.kernel.org] On Behalf Of Raghava Aditya Renukunta
> > Sent: Thursday, January 26, 2017 10:44 AM
> > To: Johannes Thumshirn <jthumshirn@suse.de>
> > Cc: jejb@linux.vnet.ibm.com; martin.petersen@oracle.com; linux-
> > scsi@vger.kernel.org; Dave Carroll <david.carroll@microsemi.com>; Gana
> > Sridaran <gana.sridaran@microsemi.com>; Scott Benesh
> > <scott.benesh@microsemi.com>
> > Subject: RE: [PATCH V2 05/24] aacraid: Retrieve and update the device types
> > 
> > EXTERNAL EMAIL
> > 
> > 
> > > -----Original Message-----
> > > From: Johannes Thumshirn [mailto:jthumshirn@suse.de]
> > > Sent: Thursday, January 26, 2017 1:00 AM
> > > To: Raghava Aditya Renukunta
> > > <RaghavaAditya.Renukunta@microsemi.com>
> > > Cc: jejb@linux.vnet.ibm.com; martin.petersen@oracle.com; linux-
> > > scsi@vger.kernel.org; Dave Carroll <david.carroll@microsemi.com>; Gana
> > > Sridaran <gana.sridaran@microsemi.com>; Scott Benesh
> > > <scott.benesh@microsemi.com>
> > > Subject: Re: [PATCH V2 05/24] aacraid: Retrieve and update the device
> > types
> > >
> > > EXTERNAL EMAIL
> > >
> > >
> > > On Wed, Jan 25, 2017 at 10:00:52AM -0800, Raghava Aditya Renukunta
> > wrote:
> > > > This patch adds support to retrieve the type of each adapter connected
> > > > device. Applicable to HBA1000 and SmartIOC2000 products
> > > >
> > > > Signed-off-by: Raghava Aditya Renukunta
> > > <RaghavaAditya.Renukunta@microsemi.com>
> > > > Signed-off-by: Dave Carroll <David.Carroll@microsemi.com>
> > > >
> > > > ---
> > >
> > > [...]
> > >
> > > >  /*
> > > >   *   Adapter Information Block
> > > >   *
> > > > @@ -1056,7 +1091,28 @@ struct aac_supplement_adapter_info
> > > >       /* StructExpansion == 1 */
> > > >       __le32  FeatureBits3;
> > > >       __le32  SupportedPerformanceModes;
> > > > -     __le32  ReservedForFutureGrowth[80];
> > > > +     u8      HostBusType;            /* uses HOST_BUS_TYPE_xxx defines */
> > > > +     u8      HostBusWidth;           /* actual width in bits or links */
> > > > +     u16     HostBusSpeed;           /* actual bus speed/link rate in MHz */
> > > > +     u8      MaxRRCDrives;           /* max. number of ITP-RRC drives/pool */
> > > > +     u8      MaxDiskXtasks;          /* max. possible num of DiskX Tasks */
> > > > +
> > > > +     u8      CpldVerLoaded;
> > > > +     u8      CpldVerInFlash;
> > > > +
> > > > +     __le64  MaxRRCCapacity;
> > > > +     __le32  CompiledMaxHistLogLevel;
> > > > +     u8      CustomBoardName[12];
> > > > +     u16     SupportedCntlrMode;     /* identify supported controller mode
> > */
> > > > +     u16     ReservedForFuture16;
> > > > +     __le32  SupportedOptions3;      /* reserved for future options */
> > > > +
> > > > +     __le16  VirtDeviceBus;          /* virt. SCSI device for Thor */
> > > > +     __le16  VirtDeviceTarget;
> > > > +     __le16  VirtDeviceLUN;
> > > > +     __le16  Unused;
> > > > +     __le32  ReservedForFutureGrowth[68];
> > > > +
> > 
> > Same here.
> 
> On second thought changing all of the variables here will open up 
> Pandoras  box. I will leave them as it is for now  and change the whole
>  structure and anything attached it in one of my next patch submission series.
> 
> Will that be ok?

Yes that's something I can live with, *iff* it really happens.

Thanks,
	Johannes

-- 
Johannes Thumshirn                                          Storage
jthumshirn@suse.de                                +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850

  reply	other threads:[~2017-01-27  8:08 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-25 18:00 [PATCH V2 00/24] aacraid: Patchset for Smart Family support Raghava Aditya Renukunta
2017-01-25 18:00 ` [PATCH V2 01/24] aacraid: Remove duplicate irq management code Raghava Aditya Renukunta
2017-01-26  8:26   ` Johannes Thumshirn
2017-01-25 18:00 ` [PATCH V2 02/24] aacraid: Added aacraid.h include guard Raghava Aditya Renukunta
2017-01-26  8:27   ` Johannes Thumshirn
2017-01-25 18:00 ` [PATCH V2 03/24] aacraid: added support for init_struct_8 Raghava Aditya Renukunta
2017-01-26  8:37   ` Johannes Thumshirn
2017-01-26 18:42     ` Raghava Aditya Renukunta
2017-01-25 18:00 ` [PATCH V2 04/24] aacraid: Added sa firmware support Raghava Aditya Renukunta
2017-01-26  8:55   ` Johannes Thumshirn
2017-01-26 18:43     ` Raghava Aditya Renukunta
2017-01-25 18:00 ` [PATCH V2 05/24] aacraid: Retrieve and update the device types Raghava Aditya Renukunta
2017-01-26  8:59   ` Johannes Thumshirn
2017-01-26 18:44     ` Raghava Aditya Renukunta
2017-01-26 21:00       ` Raghava Aditya Renukunta
2017-01-27  8:08         ` Johannes Thumshirn [this message]
2017-01-27 18:24           ` Raghava Aditya Renukunta
2017-01-25 18:00 ` [PATCH V2 06/24] aacraid: Reworked scsi command submission path Raghava Aditya Renukunta
2017-01-26  9:05   ` Johannes Thumshirn
2017-01-26 18:52     ` Raghava Aditya Renukunta
2017-01-25 18:00 ` [PATCH V2 07/24] aacraid: Process Error for response I/O Raghava Aditya Renukunta
2017-01-26  9:06   ` Johannes Thumshirn
2017-01-25 18:00 ` [PATCH V2 08/24] aacraid: Added support for response path Raghava Aditya Renukunta
2017-01-25 18:00 ` [PATCH V2 09/24] aacraid: Added support for read medium error Raghava Aditya Renukunta
2017-01-25 18:00 ` [PATCH V2 10/24] aacraid: Reworked aac_command_thread Raghava Aditya Renukunta
2017-01-25 18:00 ` [PATCH V2 11/24] aacraid: Added support for periodic wellness sync Raghava Aditya Renukunta
2017-01-25 18:00 ` [PATCH V2 12/24] aacraid: Retrieve Queue Depth from Adapter FW Raghava Aditya Renukunta
2017-01-25 18:01 ` [PATCH V2 13/24] aacraid: Added support to set QD of attached drives Raghava Aditya Renukunta
2017-01-25 18:01 ` [PATCH V2 14/24] aacraid: Added support for hotplug Raghava Aditya Renukunta
2017-01-25 18:01 ` [PATCH V2 15/24] aacraid: Include HBA direct interface Raghava Aditya Renukunta
2017-01-25 18:01 ` [PATCH V2 16/24] aacraid: Add task management functionality Raghava Aditya Renukunta
2017-01-25 18:01 ` [PATCH V2 17/24] aacraid: Added support to abort cmd and reset lun Raghava Aditya Renukunta
2017-01-25 18:01 ` [PATCH V2 18/24] aacraid: VPD 83 type3 support Raghava Aditya Renukunta
2017-01-25 18:01 ` [PATCH V2 19/24] aacraid: Added new IWBR reset Raghava Aditya Renukunta
2017-01-25 18:01 ` [PATCH V2 20/24] aacraid: Added ioctl to trigger IOP/IWBR reset Raghava Aditya Renukunta
2017-01-25 18:01 ` [PATCH V2 21/24] aacraid: Retrieve HBA host information ioctl Raghava Aditya Renukunta
2017-01-25 18:01 ` [PATCH V2 22/24] aacraid: Update copyrights Raghava Aditya Renukunta
2017-01-25 18:01 ` [PATCH V2 23/24] aacraid: Change Driver Version Prefix Raghava Aditya Renukunta
2017-01-25 18:01 ` [PATCH V2 24/24] aacraid: update version Raghava Aditya Renukunta

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-all 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=20170127080801.GA5746@linux-x5ow.site \
    --to=jthumshirn@suse.de \
    --cc=RaghavaAditya.Renukunta@microsemi.com \
    --cc=david.carroll@microsemi.com \
    --cc=gana.sridaran@microsemi.com \
    --cc=jejb@linux.vnet.ibm.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    --cc=scott.benesh@microsemi.com \
    /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;
as well as URLs for NNTP newsgroup(s).