Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp2340333ima; Thu, 25 Oct 2018 13:34:33 -0700 (PDT) X-Google-Smtp-Source: AJdET5fqJ2joJDz2DIipiFlqhfPvJVALzp3j3aA0e0VISOl/z/D5bTqvM9TPXliZCPUTk7gxLwCy X-Received: by 2002:a63:a064:: with SMTP id u36mr635475pgn.145.1540499673914; Thu, 25 Oct 2018 13:34:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540499673; cv=none; d=google.com; s=arc-20160816; b=j9kH0gIlBmaC7nl/02Q1a830IUTel1rdmlk0nv8pF2KqaVavk9ku//j1Fmr2G6UtNR Ts4WWMxKenIyRP8iZ78Fk1CBFXkF4YuLrJMsO3bs/muhHg5g9lQ31wVnAdF09RsPZ4Zj mop+mD+6CfVMLm3cAN3lznh06LJODRGoy2ViZMQuJ5pwWleZBdUdSaN2o8IxvLgvHant UeSVe2bnzxIy04+tQZz/M+0pxYCHF9+4X94Q3znNroEbix8qTvDfUynZ6J1IU3jxCsFk sJ5+/n3B8gFC7a/gpFXk8owIKm1jXIhZYWPZnghjpzaZTzeLSCzyUHcVcEYQZD/l3/Q6 71oQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=9mc+cUu9+3kBOHiROgxNNx1QR01eTy6jVlFvG76VZMw=; b=RkK9lsydJ5RjyVNvIXaPcl0/P8RjhmDDl1XaSVn/f+WfRMDUhs7HNk8RPf1tyfERqa K1A62DzWpLNeaEa45ny97sEGX7Ol0NfBwJJ4TpUguJmmbor1aRj+hYETpUFeKAR/T46W f53+8+am4V4nmLtkYJwmPZazr9SF/QZqCfyt4WeVt5evFidH+w457GkD4yGZzy+ntA1x DhtXGVgSmH4l4W3oeZlHZmRZeLVk7MVR+47BEY0cXw/D7Rpqa+onCT9Qb4ar7iWa+DgY l9K5lRtx+xjLvAoHWExLrb21Op4CfII+zprRN3iHXl+szn4k8ucRLcIvxMX1D7cS3LuR Cb9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IQhQesyP; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p19-v6si8655373plo.26.2018.10.25.13.34.17; Thu, 25 Oct 2018 13:34:33 -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=@gmail.com header.s=20161025 header.b=IQhQesyP; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726180AbeJZFHe (ORCPT + 99 others); Fri, 26 Oct 2018 01:07:34 -0400 Received: from mail-oi1-f193.google.com ([209.85.167.193]:44730 "EHLO mail-oi1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725842AbeJZFHe (ORCPT ); Fri, 26 Oct 2018 01:07:34 -0400 Received: by mail-oi1-f193.google.com with SMTP id k19-v6so1841042oic.11; Thu, 25 Oct 2018 13:33:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9mc+cUu9+3kBOHiROgxNNx1QR01eTy6jVlFvG76VZMw=; b=IQhQesyP/W4Uob+B/LfIqZacUHeudtSd2A3P0no2k4Uqn3tksh23krLb49mpNMrbe6 KijK4WTcUkesUrKR9jgcbYTr2aGXYYrg4WIogn/YJMSJ3AZUpyeSOtukkuCUUXFXkkj8 mlH78zFRJor6A9r22Xbw7Aisjh+WOaT2luO5Oa3kURQpoZJYbv3x1owrdkQYeKVs69hs y38fEGlfN8L0pDa2GkVwbLmCgAiE8y5lt7GyiGEBKzuZJaX3Q7WfHKjbrSOj197bPSr2 d2Myj/fqTrntlu/3EmSQrAIBx4MNw6XEa6F6CwmwWmERqSXn8520xcfH5BC7c9QPcDOy 2xNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9mc+cUu9+3kBOHiROgxNNx1QR01eTy6jVlFvG76VZMw=; b=TNH/AS36b88zrfxq71ziQ2hWjfHwLkxnjO6hQbsuDvd+casS2TRZZFD08M87L67Ha2 dcGeGQ3AyafjrVIa96evdtGinfWyhXqj1nhlnSueEm6+RfrfHWX5GO+98j8mAd0wD223 wnEAmzm3JAODlWDo+pXSm6OlA3PSdsxk4lNMmO3/j2ZGYL/9MOsnFrgvJA9264IjZ67D +mu8W4bOfEpRHaFOWLew+r5c3LwgocjPwaU8cBDw72v1+O8olyHmfrj1m8SMpj6CK6Lm AvTZJKPFHKlfuMKap4T+xrmJwPuYXuVpFsODT7m8NrPc1QRx6ab6e06pIIco68WDjwzS FsTQ== X-Gm-Message-State: AGRZ1gKeNljSq/gKRb2+QY6JA9Qyh6Ukl6VOIy7lHhdhZQnHn+Hydwzf sz2jSPXWiEP+auut5x6BM+ezvEjNSFjolQr3B/Nahw== X-Received: by 2002:aca:3c56:: with SMTP id j83-v6mr473490oia.155.1540499600305; Thu, 25 Oct 2018 13:33:20 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:2eab:0:0:0:0:0 with HTTP; Thu, 25 Oct 2018 13:33:19 -0700 (PDT) In-Reply-To: <20181025141853.214051-13-sashal@kernel.org> References: <20181025141853.214051-1-sashal@kernel.org> <20181025141853.214051-13-sashal@kernel.org> From: Tom Psyborg Date: Thu, 25 Oct 2018 22:33:19 +0200 Message-ID: Subject: Re: [PATCH AUTOSEL 3.18 13/98] PCI: Mark Atheros AR9580 to avoid bus reset To: Sasha Levin Cc: stable@vger.kernel.org, linux-kernel@vger.kernel.org, Maik Broemme , Bjorn Helgaas , linux-wireless Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/10/2018, Sasha Levin wrote: > From: Maik Broemme > > [ Upstream commit 8e2e03179923479ca0c0b6fdc7c93ecf89bce7a8 ] > > Similar to the AR93xx and the AR94xx series, the AR95xx also have the same > quirk for the Bus Reset. It will lead to instant system reset if the > device is assigned via VFIO to a KVM VM. I've been able reproduce this > behavior with a MikroTik R11e-2HnD. > > Fixes: c3e59ee4e766 ("PCI: Mark Atheros AR93xx to avoid bus reset") > Signed-off-by: Maik Broemme > Signed-off-by: Bjorn Helgaas > CC: stable@vger.kernel.org # v3.14+ > Signed-off-by: Sasha Levin > --- > drivers/pci/quirks.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c > index 9e86ace95832..0b75b47a5329 100644 > --- a/drivers/pci/quirks.c > +++ b/drivers/pci/quirks.c > @@ -3081,6 +3081,7 @@ static void quirk_no_bus_reset(struct pci_dev *dev) > DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_ATHEROS, 0x0030, > quirk_no_bus_reset); > 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); > > #ifdef CONFIG_ACPI > /* > -- > 2.17.1 > > Hi You should CC this to linux-wireless list too