From: <Viswas.G@microchip.com>
To: <martin.petersen@oracle.com>, <Viswas.G@microchip.com.com>
Cc: <linux-scsi@vger.kernel.org>,
<Vasanthalakshmi.Tharmarajan@microchip.com>,
<Deepak.Ukey@microchip.com>, <yuuzheng@google.com>,
<auradkar@google.com>, <vishakhavc@google.com>,
<bjashnani@google.com>, <radha@google.com>,
<akshatzen@google.com>
Subject: RE: [PATCH v8 1/2] pm80xx : Support for get phy profile functionality.
Date: Wed, 2 Sep 2020 06:35:51 +0000 [thread overview]
Message-ID: <SN6PR11MB348809CB28AA66A7905490949D2F0@SN6PR11MB3488.namprd11.prod.outlook.com> (raw)
In-Reply-To: <yq1pn75f09i.fsf@ca-mkp.ca.oracle.com>
> -----Original Message-----
> From: Martin K. Petersen <martin.petersen@oracle.com>
> Sent: Wednesday, September 2, 2020 6:50 AM
> To: Viswas G <Viswas.G@microchip.com.com>
> Cc: linux-scsi@vger.kernel.org; Vasanthalakshmi Tharmarajan - I30664
> <Vasanthalakshmi.Tharmarajan@microchip.com>; Viswas G - I30667
> <Viswas.G@microchip.com>; Deepak Ukey - I31172
> <Deepak.Ukey@microchip.com>; martin.petersen@oracle.com;
> yuuzheng@google.com; auradkar@google.com; vishakhavc@google.com;
> bjashnani@google.com; radha@google.com; akshatzen@google.com
> Subject: Re: [PATCH v8 1/2] pm80xx : Support for get phy profile
> functionality.
>
> EXTERNAL EMAIL: Do not click links or open attachments unless you know
> the content is safe
>
> Viswas,
>
> > Added the support to get the phy profile which gives information about
> > the phy states, port and errors on phy.
>
> Where are these parameters made visible?
>
> Also, why not make the phy_errcnt members __le32 instead of using
> __force?
This was added to avoid sparse compiler warnings reported.
>
> + } else if (page_code == SAS_PHY_ERR_COUNTERS_PAGE) {
> + phy_err = (struct phy_errcnt *)ccb->resp_buf;
> + phy_err_cnt =
> + (struct phy_errcnt *)pPayload->ppc_specific_rsp;
> + phy_err->InvalidDword =
> + le32_to_cpu((__force __le32)phy_err_cnt->InvalidDword);
> + phy_err->runningDisparityError = le32_to_cpu
> + ((__force __le32)phy_err_cnt->runningDisparityError);
> + phy_err->LossOfSyncDW = le32_to_cpu
> + ((__force __le32)phy_err_cnt->LossOfSyncDW);
> + phy_err->phyResetProblem = le32_to_cpu
> + ((__force __le32)phy_err_cnt->phyResetProblem);
> + }
>
> --
> Martin K. Petersen Oracle Linux Engineering
next prev parent reply other threads:[~2020-09-02 6:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-20 18:51 [PATCH v8 0/2] pm80xx : Updates for the driver version 0.1.39 Viswas G
2020-08-20 18:51 ` [PATCH v8 1/2] pm80xx : Support for get phy profile functionality Viswas G
2020-09-02 1:19 ` Martin K. Petersen
2020-09-02 6:35 ` Viswas.G [this message]
2020-09-03 1:17 ` Martin K. Petersen
2020-09-09 10:15 ` Viswas.G
2020-08-20 18:51 ` [PATCH v8 2/2] pm80xx : Staggered spin up support Viswas G
2020-09-02 1:20 ` Martin K. Petersen
2020-09-02 6:38 ` Viswas.G
2020-09-11 5:41 ` Viswas.G
2020-09-11 7:30 ` John Garry
[not found] ` <SN6PR11MB348877970A45BA993C95D14D9D5B0@SN6PR11MB3488.namprd11.prod.outlook.com>
2020-09-02 14:05 ` Jinpu Wang
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=SN6PR11MB348809CB28AA66A7905490949D2F0@SN6PR11MB3488.namprd11.prod.outlook.com \
--to=viswas.g@microchip.com \
--cc=Deepak.Ukey@microchip.com \
--cc=Vasanthalakshmi.Tharmarajan@microchip.com \
--cc=Viswas.G@microchip.com.com \
--cc=akshatzen@google.com \
--cc=auradkar@google.com \
--cc=bjashnani@google.com \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=radha@google.com \
--cc=vishakhavc@google.com \
--cc=yuuzheng@google.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).