Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp2188208ybm; Thu, 23 May 2019 12:49:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqyQb7cVkK+65kjewYQ85ZyXJCFjussiJVTrdwDAJqSf7tElhQPOHQGvDvKGpSj3okkcKwEz X-Received: by 2002:a17:90a:778b:: with SMTP id v11mr3843872pjk.132.1558640958802; Thu, 23 May 2019 12:49:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558640958; cv=none; d=google.com; s=arc-20160816; b=wOoTDzyU/13t0y0VMV+oH2UsUFSzvlmp7MgnKhWtJJnL4JkVBzzoVt7KRdeWr55D4i Z1g3jMuIzNIYqUMoqbKK+qepAytKY+LdxmIJxpmqYCN2jJDOtfW/nhR2voyjhzn+yO0r U/2WuVCr5WmfkUfflyj0A5Y3MsrEGM3jD+k0K5QbP7D9pwAUtTcEXznN598Xswn0wCZX WAEBs95VRGw+jRhjQDITy3gUSatQxY447ie7YBgOGjz2ZHt6jhydXvS6sEBOgLvvcYDd O+yYq8aQ+ej1WpdyuqjsacR2ReOYYvkAhdeirXOKFXIezsazVbejHECc3FWCv1a8vqx/ 6KiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=KzmtqBdAns9Y+qIfNNrWycSJSvDQhwX7XpB6OB9W81M=; b=jUGArYRegZxoLOvPiIo3ZV9vF59oP3Oum3bxBP2AivIMJ1bEIlMt5UL6yQkaG/UlER YdEiqdmjSGk+b1YdPe+cGrVSfitcxlZBMpUZndLZjbzFlfQWNJjGA4MDvKI6KpOj/PCq 6+PdtDMdFgxqtmL6dTGUVbPAOINgu1QTLDNQ9SsktROKaMDqkJcnjkuib08MHjJ6hUjo vdq+C/AuqbY5bV0+9JMrkc3uvehlA9GY85lixTCOrjo9Qaix+1cjj0/pAzFGMrTvHO5t KiIpAZBdkDt7KLRwiNEcLT1haRzRsURPjvLfLsRpkPMJ8uujzwomY143+2f6LNDKXyhm oOAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pNah54Mo; 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 v14si491462pfa.252.2019.05.23.12.49.03; Thu, 23 May 2019 12:49:18 -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; dkim=pass header.i=@kernel.org header.s=default header.b=pNah54Mo; 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 S1731615AbfEWTMc (ORCPT + 99 others); Thu, 23 May 2019 15:12:32 -0400 Received: from mail.kernel.org ([198.145.29.99]:46258 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388474AbfEWTM2 (ORCPT ); Thu, 23 May 2019 15:12:28 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id D3D0720863; Thu, 23 May 2019 19:12:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558638748; bh=GfdQrzFnILVL/cZ7o1nFes1sgizpbXYSspF2anDWiXg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pNah54MoBLFcq+fF+XzGOmz6VbTKzz5f1mG4Q5cxzslvW2RacOijBAYDen/wxQu70 COmUqPa3/VEtOnM/5nJKMtblqBNjmaUM6Vg80j2oFvAho9kcM9GWxcbPXSWzi7NUgR kYO4gcewqjYDWw6vFDP6s/w80vvFThP+T9oNqTC8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, James Prestwood , Bjorn Helgaas Subject: [PATCH 4.14 50/77] PCI: Mark Atheros AR9462 to avoid bus reset Date: Thu, 23 May 2019 21:06:08 +0200 Message-Id: <20190523181726.950315112@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190523181719.982121681@linuxfoundation.org> References: <20190523181719.982121681@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: James Prestwood commit 6afb7e26978da5e86e57e540fdce65c8b04f398a upstream. When using PCI passthrough with this device, the host machine locks up completely when starting the VM, requiring a hard reboot. Add a quirk to avoid bus resets on this device. Fixes: c3e59ee4e766 ("PCI: Mark Atheros AR93xx to avoid bus reset") Link: https://lore.kernel.org/linux-pci/20190107213248.3034-1-james.prestwood@linux.intel.com Signed-off-by: James Prestwood Signed-off-by: Bjorn Helgaas CC: stable@vger.kernel.org # v3.14+ Signed-off-by: Greg Kroah-Hartman --- drivers/pci/quirks.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/pci/quirks.c +++ b/drivers/pci/quirks.c @@ -3369,6 +3369,7 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_A DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATHEROS, 0x0032, quirk_no_bus_reset); DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATHEROS, 0x003c, quirk_no_bus_reset); DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATHEROS, 0x0033, quirk_no_bus_reset); +DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATHEROS, 0x0034, quirk_no_bus_reset); static void quirk_no_pm_reset(struct pci_dev *dev) {