From: Preetham Chandru <pchandru-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
To: Mikko Perttunen <cyndis-/1wQRMveznE@public.gmane.org>,
"thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org"
<thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
"tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org"
<tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: "linux-ide-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-ide-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Laxman Dewangan
<ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
"preetham260-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org"
<preetham260-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Venu Byravarasu
<vbyravarasu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
Pavan Kunapuli
<pkunapuli-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
"linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: RE: [PATCH V3 1/3] ata: ahci_tegra: Add AHCI support for tegra210
Date: Thu, 25 May 2017 11:11:45 +0000 [thread overview]
Message-ID: <3759eceaaf5d452e9d09563bb94503ee@bgmail103.nvidia.com> (raw)
In-Reply-To: <6a39df12-c51d-d5b5-c126-1f264bb00ad0-/1wQRMveznE@public.gmane.org>
>>>>> + ahci_tegra_port_info.flags |= ATA_FLAG_NO_DIPM;
>>>
>>> Looking at the downstream device trees, it looks like DIPM and DEVSLP
>>> are still disabled for Tegra186 - so why don't we just hardcode these
>>> quirks, by always writing the MISC_CNTL_1_0 register and just adding
>>> ATA_FLAG_NO_DIPM to ahci_tegra_port_info's static definition.
>>>
>>
>> For Tegra186 the devslp pin is shared with PCIE clk req pin.
>> In downstream PCIe driver by default assumes that CLKREQ is present and it
>owns it.
>> So by default devslp is disabled. We verify devslp by making sure that
>> pcie does not own this pin. This issue will be fixed in future chips.
>
>Ok. How about DIPM, can we hardcode that? If not, or if it is fixed in Xavier, I
>think it would be cleaner to have two static port_info structs and select between
>then based on the quirk, so that we don't need to mutate the static data.
>
No, DIPM is not fixed in that chip as well. I will hardcode it now and in future when it gets fixed we can have two port_info structs as suggested.
next prev parent reply other threads:[~2017-05-25 11:11 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-12 9:34 [PATCH V3 0/3] ADD AHCI support for tegra210 Preetham Chandru Ramchandra
2017-05-12 9:34 ` [PATCH V3 1/3] ata: ahci_tegra: Add " Preetham Chandru Ramchandra
2017-05-12 9:45 ` Preetham Chandru
[not found] ` <1494581650-11115-2-git-send-email-pchandru-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2017-05-12 9:55 ` Preetham Chandru
[not found] ` <c3457c8e12b0402293bdea825883277f-7W72rfoJkVnYuxH7O460wFaTQe2KTcn/@public.gmane.org>
2017-05-14 11:18 ` Mikko Perttunen
[not found] ` <3dfdc451-794a-832e-4985-ac56d7e1843e-/1wQRMveznE@public.gmane.org>
2017-05-24 5:44 ` Preetham Chandru
[not found] ` <db35147839414c609a5dc2cde44dd998-gjLx+0+SZqK6sJks/06JalaTQe2KTcn/@public.gmane.org>
2017-05-24 7:14 ` Mikko Perttunen
[not found] ` <6a39df12-c51d-d5b5-c126-1f264bb00ad0-/1wQRMveznE@public.gmane.org>
2017-05-24 7:15 ` Mikko Perttunen
[not found] ` <e7a2cbef-71c7-cffb-58d5-aac998c8e156-/1wQRMveznE@public.gmane.org>
2017-05-25 11:15 ` Preetham Chandru
2017-05-25 11:11 ` Preetham Chandru [this message]
2017-05-22 18:30 ` [V3,1/3] " Vagrant Cascadian
2017-05-12 9:34 ` [PATCH V3 2/3] dt-bindings: tegra: Add tegra210 AHCI Preetham Chandru Ramchandra
[not found] ` <1494581650-11115-3-git-send-email-pchandru-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2017-05-12 9:55 ` Preetham Chandru
[not found] ` <66578c4b5f77447aa6c4e3c7ce0cf8db-7W72rfoJkVnYuxH7O460wFaTQe2KTcn/@public.gmane.org>
2017-05-14 11:26 ` Mikko Perttunen
[not found] ` <8b842356-90ef-8214-7104-ea1f417717cb-/1wQRMveznE@public.gmane.org>
2017-05-24 4:56 ` Preetham Chandru
2017-05-12 9:34 ` [PATCH V3 3/3] arm64: tegra: Enable SATA on Tegra210 Preetham Chandru Ramchandra
[not found] ` <1494581650-11115-4-git-send-email-pchandru-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2017-05-12 9:56 ` Preetham Chandru
[not found] ` <1f54292e718c4bb5a02d547d041804b0-7W72rfoJkVnYuxH7O460wFaTQe2KTcn/@public.gmane.org>
2017-05-14 11:29 ` Mikko Perttunen
[not found] ` <3279be02-37b3-7869-4fe6-5bd20f107f38-/1wQRMveznE@public.gmane.org>
2017-05-24 4:43 ` Preetham Chandru
[not found] ` <1494581650-11115-1-git-send-email-pchandru-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2017-05-12 9:45 ` [PATCH V3 0/3] ADD AHCI support for tegra210 Preetham Chandru
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=3759eceaaf5d452e9d09563bb94503ee@bgmail103.nvidia.com \
--to=pchandru-ddmlm1+adcrqt0dzr+alfa@public.gmane.org \
--cc=cyndis-/1wQRMveznE@public.gmane.org \
--cc=ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=linux-ide-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=pkunapuli-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
--cc=preetham260-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=tj-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=vbyravarasu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.