{"id":817726,"url":"http://patchwork.ozlabs.org/api/patches/817726/?format=json","web_url":"http://patchwork.ozlabs.org/project/ubuntu-kernel/patch/20170922214651.23816-3-dann.frazier@canonical.com/","project":{"id":15,"url":"http://patchwork.ozlabs.org/api/projects/15/?format=json","name":"Ubuntu Kernel","link_name":"ubuntu-kernel","list_id":"kernel-team.lists.ubuntu.com","list_email":"kernel-team@lists.ubuntu.com","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170922214651.23816-3-dann.frazier@canonical.com>","list_archive_url":null,"date":"2017-09-22T21:46:51","name":"[2/2,Artful] UBUNTU: SAUCE: ahci: thunderx2: stop engine fix update","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"353da9a2898e8d4acf28c131435e311e6f203894","submitter":{"id":9337,"url":"http://patchwork.ozlabs.org/api/people/9337/?format=json","name":"dann frazier","email":"dann.frazier@canonical.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/ubuntu-kernel/patch/20170922214651.23816-3-dann.frazier@canonical.com/mbox/","series":[{"id":4714,"url":"http://patchwork.ozlabs.org/api/series/4714/?format=json","web_url":"http://patchwork.ozlabs.org/project/ubuntu-kernel/list/?series=4714","date":"2017-09-22T21:46:49","name":"Workaround SATA issue w/ early thunderx2 silicon","version":1,"mbox":"http://patchwork.ozlabs.org/series/4714/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/817726/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/817726/checks/","tags":{},"related":[],"headers":{"Return-Path":"<kernel-team-bounces@lists.ubuntu.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.ubuntu.com\n\t(client-ip=91.189.94.19; helo=huckleberry.canonical.com;\n\tenvelope-from=kernel-team-bounces@lists.ubuntu.com;\n\treceiver=<UNKNOWN>)","Received":["from huckleberry.canonical.com (huckleberry.canonical.com\n\t[91.189.94.19])\n\tby ozlabs.org (Postfix) with ESMTP id 3xzRsD2tPhz9t2l;\n\tSat, 23 Sep 2017 07:47:12 +1000 (AEST)","from localhost ([127.0.0.1] helo=huckleberry.canonical.com)\n\tby huckleberry.canonical.com with esmtp (Exim 4.86_2)\n\t(envelope-from <kernel-team-bounces@lists.ubuntu.com>)\n\tid 1dvVmr-0006Eq-0U; Fri, 22 Sep 2017 21:47:05 +0000","from complete.lackof.org ([198.49.126.79])\n\tby huckleberry.canonical.com with esmtps\n\t(TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2)\n\t(envelope-from <dannf@dannf.org>) id 1dvVmm-00069I-Mh\n\tfor kernel-team@lists.ubuntu.com; Fri, 22 Sep 2017 21:47:00 +0000","from localhost (c-107-2-141-92.hsd1.co.comcast.net [107.2.141.92])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (Client did not present a certificate)\n\tby complete.lackof.org (Postfix) with ESMTPSA id 7E03B33E01E4\n\tfor <kernel-team@lists.ubuntu.com>;\n\tFri, 22 Sep 2017 15:46:59 -0600 (MDT)"],"From":"dann frazier <dann.frazier@canonical.com>","To":"kernel-team@lists.ubuntu.com","Subject":"[PATCH 2/2][Artful] UBUNTU: SAUCE: ahci: thunderx2: stop engine fix\n\tupdate","Date":"Fri, 22 Sep 2017 15:46:51 -0600","Message-Id":"<20170922214651.23816-3-dann.frazier@canonical.com>","X-Mailer":"git-send-email 2.14.1","In-Reply-To":"<20170922214651.23816-1-dann.frazier@canonical.com>","References":"<20170922214651.23816-1-dann.frazier@canonical.com>","X-Spam-Status":"No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY\n\tautolearn=unavailable version=3.3.2","X-Spam-Checker-Version":"SpamAssassin 3.3.2 (2011-06-06) on\n\tcomplete.lackof.org","X-BeenThere":"kernel-team@lists.ubuntu.com","X-Mailman-Version":"2.1.20","Precedence":"list","List-Id":"Kernel team discussions <kernel-team.lists.ubuntu.com>","List-Unsubscribe":"<https://lists.ubuntu.com/mailman/options/kernel-team>,\n\t<mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe>","List-Archive":"<https://lists.ubuntu.com/archives/kernel-team>","List-Post":"<mailto:kernel-team@lists.ubuntu.com>","List-Help":"<mailto:kernel-team-request@lists.ubuntu.com?subject=help>","List-Subscribe":"<https://lists.ubuntu.com/mailman/listinfo/kernel-team>,\n\t<mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"kernel-team-bounces@lists.ubuntu.com","Sender":"\"kernel-team\" <kernel-team-bounces@lists.ubuntu.com>"},"content":"From: Jayachandran C <jnair@caviumnetworks.com>\n\nBugLink: https://bugs.launchpad.net/bugs/1719031\n\nThe stop engine errata fix currently checks only for the CN99XX Ax MIDR, so\nthe changes are applied even to external SATA controllers connected to the\nCN99XX board.\n\nFix the errata check to include PCI ID so that the fix is applied only\nto th onboard SATA.\n\n[ dannf: *** There is no need to carry this forward beyond artful *** ]\nSigned-off-by: dann frazier <dann.frazier@canonical.com>\n---\n drivers/ata/libahci.c | 5 ++++-\n 1 file changed, 4 insertions(+), 1 deletion(-)","diff":"diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c\nindex 22eacef13bab..9116bba1b07d 100644\n--- a/drivers/ata/libahci.c\n+++ b/drivers/ata/libahci.c\n@@ -671,7 +671,10 @@ int ahci_stop_engine(struct ata_port *ap)\n \n #ifdef CONFIG_ARM64\n \t/* Rev Ax of Cavium CN99XX needs a hack for port stop */\n-\tif (MIDR_IS_CPU_MODEL_RANGE(read_cpuid_id(),\n+\tif (dev_is_pci(ap->host->dev) &&\n+\t    to_pci_dev(ap->host->dev)->vendor == 0x14e4 &&\n+\t    to_pci_dev(ap->host->dev)->device == 0x9027 &&\n+\t    MIDR_IS_CPU_MODEL_RANGE(read_cpuid_id(),\n \t\t\tMIDR_CPU_MODEL(ARM_CPU_IMP_BRCM, BRCM_CPU_PART_VULCAN),\n \t\t\tMIDR_CPU_VAR_REV(0, 0),\n \t\t\tMIDR_CPU_VAR_REV(0, MIDR_REVISION_MASK))) {\n","prefixes":["2/2","Artful"]}