From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755496AbcAHPfv (ORCPT ); Fri, 8 Jan 2016 10:35:51 -0500 Received: from szxga03-in.huawei.com ([119.145.14.66]:8876 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755175AbcAHPft (ORCPT ); Fri, 8 Jan 2016 10:35:49 -0500 Subject: Re: [PATCH 01/23] devicetree: bindings: hisi_sas: add v2 HW bindings To: Mark Rutland References: <1452262542-64589-1-git-send-email-john.garry@huawei.com> <1452262542-64589-2-git-send-email-john.garry@huawei.com> <20160108145256.GG3097@leverpostej> <568FD281.4050207@huawei.com> <20160108151934.GA32692@leverpostej> CC: , , , , , , , , , , , , , From: John Garry Message-ID: <568FD70D.1090303@huawei.com> Date: Fri, 8 Jan 2016 15:34:37 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20160108151934.GA32692@leverpostej> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.203.181.152] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090205.568FD725.0023,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 71f561b40822aec3ae73c78864416961 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>>> +Optional main node properties: >>>> + - am-max-trans : limit controller for am max transmissions >>> >>> Is this a boolean? Number? >>> >> >> This is a boolean. It is for dealing with a quirk in the chipset: an >> instance of the controller in the hip06 chipset requires registers >> set with a different init value. > > Ok. I think the property at needs a better description for that. > > It's not clear to me how "limit controller for am max transmissions" > maps to writing a specific value to some registers, but I don't know > much about SAS. > > Is this some well-known thing, or values specific to hip06? > > Thanks, > Mark. > This is a specific issue for hip06 chipset. There is a bug in the HW on hip06 where controller #1 has to set to 2 registers to non-default values to limit "am-max-transmissions". This would not be a common SAS/SCSI controller property and is specific to our HW. Thanks, John