linux-scsi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Yaniv Gardi" <ygardi@codeaurora.org>
To: 'Subhash Jadavani' <subhashj@codeaurora.org>,
	'Seungwon Jeon' <tgih.jun@samsung.com>
Cc: linux-scsi@vger.kernel.org,
	'Vinayak Holikatti' <vinholikatti@gmail.com>,
	'Santosh Y' <santoshsy@gmail.com>,
	"'James E.J. Bottomley'" <James.Bottomley@HansenPartnership.com>
Subject: RE: [PATCH v3 4/6] scsi: ufs: add unipro attribute IDs
Date: Wed, 28 Aug 2013 15:46:46 +0300	[thread overview]
Message-ID: <009f01cea3ec$aa6ecac0$ff4c6040$@codeaurora.org> (raw)
In-Reply-To: <521C6E05.5060906@codeaurora.org>

Tested-by: Yaniv Gardi <ygardi@codeaurora.org>

QUALCOMM ISRAEL, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation


= > -----Original Message-----
= > From: linux-scsi-owner@vger.kernel.org [mailto:linux-scsi-
= > owner@vger.kernel.org] On Behalf Of Subhash Jadavani
= > Sent: Tuesday, August 27, 2013 12:15 PM
= > To: Seungwon Jeon
= > Cc: linux-scsi@vger.kernel.org; 'Vinayak Holikatti'; 'Santosh Y'; 'James E.J.
= > Bottomley'
= > Subject: Re: [PATCH v3 4/6] scsi: ufs: add unipro attribute IDs
= > 
= > 
= > Looks good to me.
= > Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
= > 
= > On 8/26/2013 8:10 PM, Seungwon Jeon wrote:
= > > 'drivers/scsi/ufs/unipro.h' is added.
= > > Attributes in the layers of the UNIPRO stack can be read and written
= > > via the DME.
= > >
= > > Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
= > > Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org>
= > > ---
= > >   drivers/scsi/ufs/unipro.h |  130
= > +++++++++++++++++++++++++++++++++++++++++++++
= > >   1 files changed, 130 insertions(+), 0 deletions(-)
= > >   create mode 100644 drivers/scsi/ufs/unipro.h
= > >
= > > diff --git a/drivers/scsi/ufs/unipro.h b/drivers/scsi/ufs/unipro.h new
= > > file mode 100644 index 0000000..3a710eb
= > > --- /dev/null
= > > +++ b/drivers/scsi/ufs/unipro.h
= > > @@ -0,0 +1,130 @@
= > > +/*
= > > + * drivers/scsi/ufs/unipro.h
= > > + *
= > > + * Copyright (C) 2013 Samsung Electronics Co., Ltd.
= > > + *
= > > + * This program is free software; you can redistribute it and/or
= > > +modify
= > > + * it under the terms of the GNU General Public License as published
= > > +by
= > > + * the Free Software Foundation; either version 2 of the License, or
= > > + * (at your option) any later version.
= > > + */
= > > +
= > > +#ifndef _UNIPRO_H_
= > > +#define _UNIPRO_H_
= > > +
= > > +/*
= > > + * PHY Adpater attributes
= > > + */
= > > +#define PA_ACTIVETXDATALANES	0x1560
= > > +#define PA_ACTIVERXDATALANES	0x1580
= > > +#define PA_TXTRAILINGCLOCKS	0x1564
= > > +#define PA_PHY_TYPE		0x1500
= > > +#define PA_AVAILTXDATALANES	0x1520
= > > +#define PA_AVAILRXDATALANES	0x1540
= > > +#define PA_MINRXTRAILINGCLOCKS	0x1543
= > > +#define PA_TXPWRSTATUS		0x1567
= > > +#define PA_RXPWRSTATUS		0x1582
= > > +#define PA_TXFORCECLOCK		0x1562
= > > +#define PA_TXPWRMODE		0x1563
= > > +#define PA_LEGACYDPHYESCDL	0x1570
= > > +#define PA_MAXTXSPEEDFAST	0x1521
= > > +#define PA_MAXTXSPEEDSLOW	0x1522
= > > +#define PA_MAXRXSPEEDFAST	0x1541
= > > +#define PA_MAXRXSPEEDSLOW	0x1542
= > > +#define PA_TXLINKSTARTUPHS	0x1544
= > > +#define PA_TXSPEEDFAST		0x1565
= > > +#define PA_TXSPEEDSLOW		0x1566
= > > +#define PA_REMOTEVERINFO	0x15A0
= > > +#define PA_TXGEAR		0x1568
= > > +#define PA_TXTERMINATION	0x1569
= > > +#define PA_HSSERIES		0x156A
= > > +#define PA_PWRMODE		0x1571
= > > +#define PA_RXGEAR		0x1583
= > > +#define PA_RXTERMINATION	0x1584
= > > +#define PA_MAXRXPWMGEAR		0x1586
= > > +#define PA_MAXRXHSGEAR		0x1587
= > > +#define PA_RXHSUNTERMCAP	0x15A5
= > > +#define PA_RXLSTERMCAP		0x15A6
= > > +#define PA_PACPREQTIMEOUT	0x1590
= > > +#define PA_PACPREQEOBTIMEOUT	0x1591
= > > +#define PA_HIBERN8TIME		0x15A7
= > > +#define PA_LOCALVERINFO		0x15A9
= > > +#define PA_TACTIVATE		0x15A8
= > > +#define PA_PACPFRAMECOUNT	0x15C0
= > > +#define PA_PACPERRORCOUNT	0x15C1
= > > +#define PA_PHYTESTCONTROL	0x15C2
= > > +#define PA_PWRMODEUSERDATA0	0x15B0
= > > +#define PA_PWRMODEUSERDATA1	0x15B1
= > > +#define PA_PWRMODEUSERDATA2	0x15B2
= > > +#define PA_PWRMODEUSERDATA3	0x15B3
= > > +#define PA_PWRMODEUSERDATA4	0x15B4
= > > +#define PA_PWRMODEUSERDATA5	0x15B5
= > > +#define PA_PWRMODEUSERDATA6	0x15B6
= > > +#define PA_PWRMODEUSERDATA7	0x15B7
= > > +#define PA_PWRMODEUSERDATA8	0x15B8
= > > +#define PA_PWRMODEUSERDATA9	0x15B9
= > > +#define PA_PWRMODEUSERDATA10	0x15BA
= > > +#define PA_PWRMODEUSERDATA11	0x15BB
= > > +#define PA_CONNECTEDTXDATALANES	0x1561
= > > +#define PA_CONNECTEDRXDATALANES	0x1581
= > > +#define PA_LOGICALLANEMAP	0x15A1
= > > +#define PA_SLEEPNOCONFIGTIME	0x15A2
= > > +#define PA_STALLNOCONFIGTIME	0x15A3
= > > +#define PA_SAVECONFIGTIME	0x15A4
= > > +
= > > +/*
= > > + * Data Link Layer Attributes
= > > + */
= > > +#define DL_TC0TXFCTHRESHOLD	0x2040
= > > +#define DL_FC0PROTTIMEOUTVAL	0x2041
= > > +#define DL_TC0REPLAYTIMEOUTVAL	0x2042
= > > +#define DL_AFC0REQTIMEOUTVAL	0x2043
= > > +#define DL_AFC0CREDITTHRESHOLD	0x2044
= > > +#define DL_TC0OUTACKTHRESHOLD	0x2045
= > > +#define DL_TC1TXFCTHRESHOLD	0x2060
= > > +#define DL_FC1PROTTIMEOUTVAL	0x2061
= > > +#define DL_TC1REPLAYTIMEOUTVAL	0x2062
= > > +#define DL_AFC1REQTIMEOUTVAL	0x2063
= > > +#define DL_AFC1CREDITTHRESHOLD	0x2064
= > > +#define DL_TC1OUTACKTHRESHOLD	0x2065
= > > +#define DL_TXPREEMPTIONCAP	0x2000
= > > +#define DL_TC0TXMAXSDUSIZE	0x2001
= > > +#define DL_TC0RXINITCREDITVAL	0x2002
= > > +#define DL_TC0TXBUFFERSIZE	0x2005
= > > +#define DL_PEERTC0PRESENT	0x2046
= > > +#define DL_PEERTC0RXINITCREVAL	0x2047
= > > +#define DL_TC1TXMAXSDUSIZE	0x2003
= > > +#define DL_TC1RXINITCREDITVAL	0x2004
= > > +#define DL_TC1TXBUFFERSIZE	0x2006
= > > +#define DL_PEERTC1PRESENT	0x2066
= > > +#define DL_PEERTC1RXINITCREVAL	0x2067
= > > +
= > > +/*
= > > + * Network Layer Attributes
= > > + */
= > > +#define N_DEVICEID		0x3000
= > > +#define N_DEVICEID_VALID	0x3001
= > > +#define N_TC0TXMAXSDUSIZE	0x3020
= > > +#define N_TC1TXMAXSDUSIZE	0x3021
= > > +
= > > +/*
= > > + * Transport Layer Attributes
= > > + */
= > > +#define T_NUMCPORTS		0x4000
= > > +#define T_NUMTESTFEATURES	0x4001
= > > +#define T_CONNECTIONSTATE	0x4020
= > > +#define T_PEERDEVICEID		0x4021
= > > +#define T_PEERCPORTID		0x4022
= > > +#define T_TRAFFICCLASS		0x4023
= > > +#define T_PROTOCOLID		0x4024
= > > +#define T_CPORTFLAGS		0x4025
= > > +#define T_TXTOKENVALUE		0x4026
= > > +#define T_RXTOKENVALUE		0x4027
= > > +#define T_LOCALBUFFERSPACE	0x4028
= > > +#define T_PEERBUFFERSPACE	0x4029
= > > +#define T_CREDITSTOSEND		0x402A
= > > +#define T_CPORTMODE		0x402B
= > > +#define T_TC0TXMAXSDUSIZE	0x4060
= > > +#define T_TC1TXMAXSDUSIZE	0x4061
= > > +
= > > +#endif /* _UNIPRO_H_ */
= > 
= > --
= > To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the
= > body of a message to majordomo@vger.kernel.org More majordomo info
= > at  http://vger.kernel.org/majordomo-info.html


  reply	other threads:[~2013-08-28 12:46 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-20  0:41 [PATCH v2 0/3] ufs: fix bugs in probing and removing driver paths Akinobu Mita
2013-07-20  0:41 ` [PATCH v2 1/3] ufshcd-pci: release ioremapped region during removing driver Akinobu Mita
2013-07-26 13:45   ` [PATCH 1/7] scsi: ufs: amend the ocs handling with fatal error Seungwon Jeon
2013-07-29  6:17     ` Subhash Jadavani
2013-07-29 10:05       ` Seungwon Jeon
2013-07-29 10:27         ` Subhash Jadavani
2013-07-29 10:51       ` Sujit Reddy Thumma
2013-07-30 13:02         ` Seungwon Jeon
2013-08-12  7:17           ` Subhash Jadavani
2013-08-13 11:50             ` Seungwon Jeon
2013-08-13 13:39               ` Subhash Jadavani
2013-07-29 18:03     ` Santosh Y
2013-07-20  0:41 ` [PATCH v2 2/3] ufs: don't disable_irq() if the IRQ can be shared among devices Akinobu Mita
2013-07-26 13:44   ` [PATCH 0/7] scsi: ufs: some fixes and updates Seungwon Jeon
2013-08-23 13:00     ` [PATCH v2 0/6] " Seungwon Jeon
2013-08-25 11:23       ` Dolev Raviv
2013-08-26 14:40     ` [PATCH v3 " Seungwon Jeon
2013-08-28 10:46       ` Subhash Jadavani
2013-07-20  0:41 ` [PATCH v2 3/3] ufs: don't stop controller before scsi_remove_host() Akinobu Mita
2013-07-26 13:46 ` [PATCH 2/7] scsi: ufs: find out sense data over scsi status values Seungwon Jeon
2013-07-29  6:35   ` Subhash Jadavani
2013-07-30 13:00     ` Seungwon Jeon
2013-07-29 10:51   ` Sujit Reddy Thumma
2013-07-30 13:03     ` Seungwon Jeon
2013-07-30  3:53   ` Santosh Y
2013-07-30 13:03     ` Seungwon Jeon
2013-07-31  0:15       ` Elliott, Robert (Server Storage)
2013-08-06 12:08         ` Seungwon Jeon
2013-08-23 13:00   ` [PATCH v2 1/6] " Seungwon Jeon
2013-08-23 13:00   ` [PATCH v2 2/6] scsi: ufs: fix the setting interrupt aggregation counter Seungwon Jeon
2013-08-23 13:00   ` [PATCH v2 3/6] scsi: ufs: add dme configuration primitives Seungwon Jeon
2013-08-23 13:00   ` [PATCH v2 4/6] scsi: ufs: add unipro attribute IDs Seungwon Jeon
2013-08-23 13:00   ` [PATCH v2 5/6] scsi: ufs: add operation for the uic power mode change Seungwon Jeon
2013-08-23 13:00   ` [PATCH v2 6/6] scsi: ufs: configure the attribute for power mode Seungwon Jeon
2013-08-26 14:40   ` [PATCH v3 1/6] scsi: ufs: find out sense data over scsi status values Seungwon Jeon
2013-08-27  8:53     ` Subhash Jadavani
2013-08-28 12:43       ` Yaniv Gardi
2013-08-26 14:40   ` [PATCH v3 2/6] scsi: ufs: fix the setting interrupt aggregation counter Seungwon Jeon
2013-08-27  9:01     ` Subhash Jadavani
2013-08-28 12:43       ` Yaniv Gardi
2013-08-26 14:40   ` [PATCH v3 3/6] scsi: ufs: add dme configuration primitives Seungwon Jeon
2013-08-27  9:15     ` Subhash Jadavani
2013-08-28 12:44       ` Yaniv Gardi
2013-08-26 14:40   ` [PATCH v3 4/6] scsi: ufs: add unipro attribute IDs Seungwon Jeon
2013-08-27  9:14     ` Subhash Jadavani
2013-08-28 12:46       ` Yaniv Gardi [this message]
2013-08-26 14:40   ` [PATCH v3 5/6] scsi: ufs: add operation for the uic power mode change Seungwon Jeon
2013-08-27  9:53     ` Subhash Jadavani
2013-08-27 11:28       ` Seungwon Jeon
2013-08-27 11:47         ` Subhash Jadavani
2013-08-27 11:58           ` Seungwon Jeon
2013-08-28 12:45             ` Yaniv Gardi
2013-08-26 14:41   ` [PATCH v3 6/6] scsi: ufs: configure the attribute for power mode Seungwon Jeon
2013-08-27 10:21     ` Subhash Jadavani
2013-08-27 10:27       ` Subhash Jadavani
2013-09-09 11:51   ` [PATCH] scsi: ufs: export the helper functions for vender probe/remove Seungwon Jeon
2013-07-26 13:46 ` [PATCH 3/7] scsi: ufs: fix the setting interrupt aggregation counter Seungwon Jeon
2013-07-29  7:03   ` Subhash Jadavani
2013-07-30 13:01     ` Seungwon Jeon
2013-07-26 13:47 ` [PATCH 4/7] scsi: ufs: add dme configuration primitives Seungwon Jeon
2013-07-29  9:24   ` Subhash Jadavani
2013-07-30 13:02     ` Seungwon Jeon
2013-08-13  6:56       ` Subhash Jadavani
2013-07-26 13:48 ` [PATCH 5/7] scsi: ufs: add unipro attribute IDs Seungwon Jeon
2013-07-29  9:26   ` Subhash Jadavani
2013-07-26 13:48 ` [PATCH 6/7] scsi: ufs: add operation for the uic power mode change Seungwon Jeon
2013-07-29  9:53   ` Subhash Jadavani
2013-07-30 13:02     ` Seungwon Jeon
2013-07-26 13:49 ` [PATCH 7/7] scsi: ufs: configure the attribute for power mode Seungwon Jeon
2013-07-31 13:28   ` Subhash Jadavani
2013-08-06 12:08     ` Seungwon Jeon
2013-08-13  7:00       ` Subhash Jadavani

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='009f01cea3ec$aa6ecac0$ff4c6040$@codeaurora.org' \
    --to=ygardi@codeaurora.org \
    --cc=James.Bottomley@HansenPartnership.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=santoshsy@gmail.com \
    --cc=subhashj@codeaurora.org \
    --cc=tgih.jun@samsung.com \
    --cc=vinholikatti@gmail.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).