From patchwork Wed Jul 18 14:14:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 142287 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp594759ljj; Wed, 18 Jul 2018 07:16:59 -0700 (PDT) X-Google-Smtp-Source: AAOMgpc4EgftFiB8MXxbL8CdRcFLAAFwv3Q1MLkxQIHBGsuEMefy+DSIavDJSdWCttrWTlKGRQyf X-Received: by 2002:a17:902:3281:: with SMTP id z1-v6mr6198051plb.226.1531923419818; Wed, 18 Jul 2018 07:16:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531923419; cv=none; d=google.com; s=arc-20160816; b=kJ1GBdn7UK4YoeSkeIcnrmZ1yunRSCbcWsdr2DCHrsuPf9LjvDScU+QiVRzc2ww/cR NQ9D2UzdlkfnjrBSCDo/9JpJYDzqiqUe2pwLQJuPFMULIzuYwINZLri29ZoRGaQr5b1K l9RxW6a2p9l7iVZ2yZSzMnWjhyyWaoDOQRTkzMkP+Bu4vTORujzUf9W98pORyNiSrJaM b3BJ6NmcikNYSu3beXcMIVDw7pRMnisHhaeXRynWymflxhPnnGqYo1UCQfIMqvBCcHIt zXkvqCukg2+P41tnKUK5yVKDRrRtc4+SnBjgR9gfItoGsYoQfXCf5/GopKePP3l6QRYP uNaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:arc-authentication-results; bh=GZWOFmlEY8hMoc+Z1ZhqAtqFUIC074yxjyUXA3Yr6Xg=; b=kVlcE/LcLyJ86/gvXSgcUreE5IPe3bc16/F6NPTFtizvky35/rmc6CErwo1Z/zbhIl rEAB+V7A9Cu7Sacws4xUZ2p7bhmlHNVjNOGD6EJukrW6KIIuOcPT0IiT0CUsuQwBF515 bai2emQh4STAmVrHxJcWssjeH/y353Wh2APh3ZzBzK9RmVYsQ6IK7DU3512kvDjn8L9l s2xNP50birp8nuTIoFwgV3MdLiEFGy05FoEiiQvX8ACYknR76ESBYivPPdD4lUhZB+pE AByGhxDK+nkiTfxmOXITQS3uAFUm26Wfo/AYoA8XHw0gPXMgyclS8Njuf3OH+os51S7s NFLw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3-v6si3501710plh.34.2018.07.18.07.16.59; Wed, 18 Jul 2018 07:16:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731213AbeGROy0 (ORCPT + 31 others); Wed, 18 Jul 2018 10:54:26 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:9690 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730987AbeGROyZ (ORCPT ); Wed, 18 Jul 2018 10:54:25 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id B46627C5111B5; Wed, 18 Jul 2018 22:16:03 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.382.0; Wed, 18 Jul 2018 22:15:54 +0800 From: John Garry To: , CC: , , , John Garry Subject: [PATCH 0/9] hisi_sas: Some misc patches Date: Wed, 18 Jul 2018 22:14:24 +0800 Message-ID: <1531923273-193768-1-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset introduces some misc patches, generally more minor in importance. However there is a patch to add a CPU barrier to the delivery path for each hw version. We only saw this issue on v3 hw in hip08 chipset, where the host CPU exhibits a looser memory model than in predecessors, and software must enforce SMP coherency. John Garry (1): scsi: hisi_sas: Drop hisi_sas_slot_abort() Xiang Chen (2): scsi: hisi_sas: Tidy hisi_sas_task_prep() scsi: hisi_sas: Add SATA FIS check for v3 hw Xiaofei Tan (6): scsi: hisi_sas: tidy channel interrupt handler for v3 hw scsi: hisi_sas: Fix the failure of recovering PHY from STP link timeout scsi: hisi_sas: tidy host controller reset function a bit scsi: hisi_sas: relocate some common code for v3 hw scsi: hisi_sas: Implement handlers of PCIe FLR for v3 hw scsi: hisi_sas: add memory barrier in task delivery function drivers/scsi/hisi_sas/hisi_sas.h | 4 +- drivers/scsi/hisi_sas/hisi_sas_main.c | 113 ++++++-------- drivers/scsi/hisi_sas/hisi_sas_v1_hw.c | 20 +-- drivers/scsi/hisi_sas/hisi_sas_v2_hw.c | 18 ++- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 274 ++++++++++++++++++++------------- 5 files changed, 239 insertions(+), 190 deletions(-) -- 1.9.1