From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752784AbdJKScJ (ORCPT ); Wed, 11 Oct 2017 14:32:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:55422 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751963AbdJKScH (ORCPT ); Wed, 11 Oct 2017 14:32:07 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E575A218D7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=helgaas@kernel.org Date: Wed, 11 Oct 2017 13:32:01 -0500 From: Bjorn Helgaas To: Jan Glauber Cc: Bjorn Helgaas , kvm@vger.kernel.org, david.daney@cavium.com, linux-pci@vger.kernel.org, Robert Richter , linux-kernel@vger.kernel.org, Alex Williamson , Jon Masters , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 0/3] Workaround for bus/slot reset on Cavium cn8xxx root ports Message-ID: <20171011183201.GK25517@bhelgaas-glaptop.roam.corp.google.com> References: <20170908081033.3025-1-jglauber@cavium.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170908081033.3025-1-jglauber@cavium.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 08, 2017 at 10:10:30AM +0200, Jan Glauber wrote: > Using vfio-pci on a combination of cn8xxx and some PCI devices results in > a kernel panic. This is triggered by issuing a bus or a slot reset > on the PCI device. > > With this series both checks indicate that the reset is not possible > preventing the kernel panic. > > David Daney (2): > PCI: Allow PCI_DEV_FLAGS_NO_BUS_RESET to be used on bus device > PCI: Avoid bus reset for Cavium cn8xxx root ports > > Jan Glauber (1): > PCI: Avoid slot reset if bus reset is not possible > > drivers/pci/pci.c | 8 ++++++++ > drivers/pci/quirks.c | 8 ++++++++ > 2 files changed, 16 insertions(+) Applied to pci/host-thunder for v4.15, thanks. I reordered and renamed them like this: PCI: Mark Cavium CN8xxx to avoid bus reset PCI: Avoid bus reset if bridge itself is broken PCI: Avoid slot reset if bridge itself is broken