Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2152671imu; Sun, 18 Nov 2018 17:11:33 -0800 (PST) X-Google-Smtp-Source: AJdET5dZOkLGPdfUgdvwpc+J8xWU5M8FXLfXJ8dzsi4sU8LKChMQ00lRhKTYUBfewZ7Xvm/MAt5q X-Received: by 2002:a17:902:a9:: with SMTP id a38-v6mr20378820pla.7.1542589893114; Sun, 18 Nov 2018 17:11:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542589893; cv=none; d=google.com; s=arc-20160816; b=EghZgu23iHoj0jRcOFMO5S/i0EzeWev5iy2dpmbzLDskiiYOFmRUlAQLohnywheRBD SWeKtG4bHdhOFvBwDm0XIYYY/kZnNEXL8W0ABR5POiop9oLM9lDTYgI1Z0WJYDC0jkdO pGe911lUQxcXXv6B+5dXpkcgtkSkfvvJtxUtLrB57eU4nCzmmYoUm1f1UP9SmIHVh7HJ ka0zYxYN5FRZCDgd2qXOJkg632hx4PgNLIxFwMTGxeQFaWk+U4fPYRVLFln6Ga8qTwma 8LFq2WO8XXot53PexIiP/FHODYaoeqgEvTAsYuTN2/bV+1LSd2fk/tbymx8cQH+OdkWy 3Swg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=XvXdQECW/B/a24K3lJQawYWy3N51kKoNizG8YcS7oOM=; b=xeEoQV0HHiWGjFkDuQHPDi+3wtkYpCxDFQ5HCuFhrxaK8tDRy9bdN6fugh3UsGQAY7 O9vUQMkBAtItElVey+WFOaBRgbegbKhR88Vg024sZoX6/3cHk7Ehlf+lNfhSvCKcTBuE NBbZx4TDAfQyDtKEetcS11z5D8+WP5aDCCiC9md6VLuZxGyYg/4MEGOu/RegJdit5n6z hZAR+zMFIN5+2HwjLiZ7GgIh6uzVF4jeFzlK+kuY8ysBqsdFte1Yc7I51n7jIGbEzsYF 26MqzlFKZuY+g62W5aCMNsGzepC71GJSuo74mtIc7e4bH00DSaa1ZikTdhDcbjaiJT8X jvXg== 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 h10si11338001pgi.562.2018.11.18.17.11.18; Sun, 18 Nov 2018 17:11:33 -0800 (PST) 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 S1727432AbeKSLah convert rfc822-to-8bit (ORCPT + 99 others); Mon, 19 Nov 2018 06:30:37 -0500 Received: from mx01.hxt-semitech.com ([223.203.96.7]:57452 "EHLO barracuda.hxt-semitech.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726520AbeKSLag (ORCPT ); Mon, 19 Nov 2018 06:30:36 -0500 X-ASG-Debug-ID: 1542589700-093b7e362426430001-xx1T2L Received: from HXTBJIDCEMVIW02.hxtcorp.net ([10.128.0.15]) by barracuda.hxt-semitech.com with ESMTP id YCaUFfwBa1wMAHBC (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NO); Mon, 19 Nov 2018 09:08:21 +0800 (CST) X-Barracuda-Envelope-From: shunyong.yang@hxt-semitech.com Received: from HXTBJIDCEMVIW01.hxtcorp.net (10.128.0.14) by HXTBJIDCEMVIW02.hxtcorp.net (10.128.0.15) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 19 Nov 2018 09:07:40 +0800 Received: from HXTBJIDCEMVIW01.hxtcorp.net ([fe80::f451:a443:c0b5:87d1]) by HXTBJIDCEMVIW01.hxtcorp.net ([fe80::f451:a443:c0b5:87d1%12]) with mapi id 15.00.1395.000; Mon, 19 Nov 2018 09:07:40 +0800 From: "Yang, Shunyong" To: "bhelgaas@google.com" CC: "okaya@kernel.org" , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Zheng, Joey" Subject: Re: [PATCH v2 2/2] PCI: pciehp: Add HXT quirk for Command Completed errata Thread-Topic: [PATCH v2 2/2] PCI: pciehp: Add HXT quirk for Command Completed errata X-ASG-Orig-Subj: Re: [PATCH v2 2/2] PCI: pciehp: Add HXT quirk for Command Completed errata Thread-Index: AQHUdmrzK+cv2Db6mkeg7e7p7Mrs0A== Date: Mon, 19 Nov 2018 01:07:39 +0000 Message-ID: <77c4a0a9a9174e0aa5d94dada2e0be15@HXTBJIDCEMVIW01.hxtcorp.net> References: <5e88860c8426df537c5a5f2d0e6add6df8955a0f.1541574331.git.shunyong.yang@hxt-semitech.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.64.6.155] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-Barracuda-Connect: UNKNOWN[10.128.0.15] X-Barracuda-Start-Time: 1542589701 X-Barracuda-Encrypted: ECDHE-RSA-AES256-SHA384 X-Barracuda-URL: https://192.168.50.101:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at hxt-semitech.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0247 1.0000 -1.8606 X-Barracuda-Spam-Score: -1.86 X-Barracuda-Spam-Status: No, SCORE=-1.86 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.62008 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Bjorn, Would you please help to review and pull these two quirk patches to your branch if there is no problem? Thanks. Shunyong. On 2018/11/7 15:24, Yang, Shunyong wrote: > The HXT SD4800 PCI controller does not set the Command Completed > bit unless writes to the Slot Command register change "Control" > bits. > > This patch adds SD4800 to the quirk. > > Cc: Joey Zheng > Signed-off-by: Shunyong Yang > > diff --git a/drivers/pci/hotplug/pciehp_hpc.c b/drivers/pci/hotplug/pciehp_hpc.c > index 7dd443aea5a5..91db67963aea 100644 > --- a/drivers/pci/hotplug/pciehp_hpc.c > +++ b/drivers/pci/hotplug/pciehp_hpc.c > @@ -920,3 +920,5 @@ static void quirk_cmd_compl(struct pci_dev *pdev) > PCI_CLASS_BRIDGE_PCI, 8, quirk_cmd_compl); > DECLARE_PCI_FIXUP_CLASS_EARLY(PCI_VENDOR_ID_QCOM, 0x0401, > PCI_CLASS_BRIDGE_PCI, 8, quirk_cmd_compl); > +DECLARE_PCI_FIXUP_CLASS_EARLY(PCI_VENDOR_ID_HXT, 0x0401, > + PCI_CLASS_BRIDGE_PCI, 8, quirk_cmd_compl); >