Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753934AbaLDLaU (ORCPT ); Thu, 4 Dec 2014 06:30:20 -0500 Received: from smtp.citrix.com ([66.165.176.89]:48317 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753850AbaLDLaR (ORCPT ); Thu, 4 Dec 2014 06:30:17 -0500 X-IronPort-AV: E=Sophos;i="5.07,515,1413244800"; d="scan'208";a="199656654" Message-ID: <548045C6.2040104@citrix.com> Date: Thu, 4 Dec 2014 11:30:14 +0000 From: David Vrabel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-Version: 1.0 To: Konrad Rzeszutek Wilk , , , , , Subject: Re: [PATCH v5 9/9] xen/pciback: Implement PCI reset slot or bus with 'do_flr' SysFS attribute References: <1417642834-20350-1-git-send-email-konrad.wilk@oracle.com> <1417642834-20350-10-git-send-email-konrad.wilk@oracle.com> In-Reply-To: <1417642834-20350-10-git-send-email-konrad.wilk@oracle.com> Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-DLP: MIA1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/12/14 21:40, Konrad Rzeszutek Wilk wrote: > > Instead of doing all this complex dance, we depend on the toolstack > doing the right thing. As such implement the 'do_flr' SysFS attribute > which 'xl' uses when a device is detached or attached from/to a guest. > It bypasses the need to worry about the PCI lock. No. Get pciback to add its own "reset" sysfs file (as I have repeatedly proposed). David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/