Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1619957

Re: [PATCH 2/6] scsi: hisi_sas: workaround a SoC SATA IO processing bug

From Johannes Thumshirn <jthumshirn@suse.de>
Newsgroups linux.kernel
Subject Re: [PATCH 2/6] scsi: hisi_sas: workaround a SoC SATA IO processing bug
Date 2017-04-10 16:10 +0200
Message-ID <tuIaZ-1GU-11@gated-at.bofh.it> (permalink)
References <tuH5g-M6-5@gated-at.bofh.it> <tuH5h-M6-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Apr 10, 2017 at 09:21:57PM +0800, John Garry wrote:
> From: Xiaofei Tan <tanxiaofei@huawei.com>
> 
> This patch provides a workaround a SoC bug where SATA IPTTs for
> different devices may conflict.
> 
> The workaround solution requests the following:
> 1. SATA device id must be even and not equal to SAS IPTT.
> 2. SATA device can not share the same IPTT with other SAS or
> SATA device.
> 
> Besides we shall consider IPTT value 0 is reserved for another SoC
> bug (STP device open link at firstly after SAS controller reset).
> 
> To sum up, the solution is:
> Each SATA device uses independent and continuous 32 even IPTT from
> 64 to 4094, then v2 hw can only support 63 SATA devices.
> All SAS device(SSP/SMP devices) share odd IPTT value from 1 to
> 4095.
> 
> Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
> Signed-off-by: John Garry <john.garry@huawei.com>
> ---

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
-- 
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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/6] hisi_sas: v2 hw SoC bug workarounds John Garry <john.garry@huawei.com> - 2017-04-10 15:00 +0200
  [PATCH 4/6] scsi: hisi_sas: add v2 hw internal abort timeout workaround John Garry <john.garry@huawei.com> - 2017-04-10 15:00 +0200
  [PATCH 1/6] scsi: hisi_sas: workaround STP link SoC bug John Garry <john.garry@huawei.com> - 2017-04-10 15:00 +0200
    Re: [PATCH 1/6] scsi: hisi_sas: workaround STP link SoC bug Johannes Thumshirn <jthumshirn@suse.de> - 2017-04-10 15:20 +0200
  [PATCH 3/6] scsi: hisi_sas: workaround SoC about abort timeout bug John Garry <john.garry@huawei.com> - 2017-04-10 15:00 +0200
  [PATCH 2/6] scsi: hisi_sas: workaround a SoC SATA IO processing bug John Garry <john.garry@huawei.com> - 2017-04-10 15:00 +0200
    Re: [PATCH 2/6] scsi: hisi_sas: workaround a SoC SATA IO processing  bug Johannes Thumshirn <jthumshirn@suse.de> - 2017-04-10 16:10 +0200
  Re: [PATCH 0/6] hisi_sas: v2 hw SoC bug workarounds "Martin K. Petersen" <martin.petersen@oracle.com> - 2017-04-12 04:10 +0200

csiph-web