Received: by 10.223.164.202 with SMTP id h10csp4783399wrb; Wed, 29 Nov 2017 11:46:40 -0800 (PST) X-Google-Smtp-Source: AGs4zMbiMXEnVFrpO6DmNFmBkW+KovM6xZKJA+QXQ6x4GD1GOnJnIL/oS5k3pqH/PT+3I/S3sobm X-Received: by 10.159.216.152 with SMTP id s24mr3876857plp.447.1511984800673; Wed, 29 Nov 2017 11:46:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511984800; cv=none; d=google.com; s=arc-20160816; b=1Aidde3bEULPcOIHIhDyvpjB2/IyJKVGaK23SZHByy6PXSCqVRy3VjV8bnyQwD7r1e 9tW8eN58aR8SWY6TjYOizV5BeVXQPHlqkaCaNH78cPxGNLpGpHmyojRbQLVL6P3P7Z3p tSC1Itw4FMfsX8aIlFv1ZjQWehhtK0MXxyh5qb4oXQqaOOqODoL8M75ZjzhHx48nM6o5 93IrA5Px825rbzVsbx7kjIvsxI1+xNDuXvuqXa8oS0M4KKh7Hq4I+T9GjOD/LUrpoYgy /OsLRAX+LPKmYwWxX6EtQggT2khRAQB9kxHNUwoxmMzs4SNhNlKz+4efpUFNZuSrLD87 DB3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :arc-authentication-results; bh=CTRvqXRpUFdONnuHGNmGfib7mva2JJ+Thhhx2mEOnro=; b=LbMfX54ngpsGW0hzzPCBNsRYd1/PMXMcGLp/fK/eh3DAJ+ZZLIQK5RDVE11Ji0QJxM 9bkbEodxu+Zjk0yAe9pLtRbDyw7Vs1Ecby4VTvWoQWt8HQgHCWf2gdsxAY3L8uwGGebn WQi2cYyQ+u66q9WxUayiLVhKTK20GFh6QQs9Nk68RdN3fMVMwJDo65mnIFc2Y1HBwKTa x9HvF+Epnh4O1Xtdjgn1GHyKqcfQrsmBD8HXCAMg3SRC+Nm8NKsp9ctnXlhDLq3vOhuK Z5mhfZRbCKQ/5eyJPTOxIriwV3hH73wRYG38j9bHYq0w0IPVDmJJ0vprzyvdQmns66hC JKLw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v124si1720767pgb.127.2017.11.29.11.46.27; Wed, 29 Nov 2017 11:46:40 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752804AbdK2To7 (ORCPT + 99 others); Wed, 29 Nov 2017 14:44:59 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:35032 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752189AbdK2Toy (ORCPT ); Wed, 29 Nov 2017 14:44:54 -0500 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id vATJinX4028819 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 29 Nov 2017 19:44:49 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id vATJinxh004222 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 29 Nov 2017 19:44:49 GMT Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id vATJinAq008149; Wed, 29 Nov 2017 19:44:49 GMT Received: from [10.135.190.159] (/10.135.190.159) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 29 Nov 2017 11:44:48 -0800 Subject: Re: [Xen-devel] [PATCH] Xen/pciback: Implement PCI slot or bus reset with 'do_flr' SysFS attribute To: Konrad Rzeszutek Wilk , Jan Beulich Cc: Juergen Gross , xen-devel@lists.xenproject.org, Boris Ostrovsky , linux-kernel@vger.kernel.org References: <20171106174842.20276-1-Govinda.Tatti@Oracle.COM> <5A01D3F3020000780018CE86@prv-mh.provo.novell.com> <8940b38d-715c-9fcb-cc74-46574d416703@oracle.com> <5A041FB9020000780018D6E8@prv-mh.provo.novell.com> <5A1EE1D50200007800193318@prv-mh.provo.novell.com> <20171129162907.GO31092@char.us.oracle.com> <5A1EF1040200007800193425@prv-mh.provo.novell.com> <20171129192630.GS31092@char.us.oracle.com> From: Govinda Tatti Organization: Oracle Corporation Message-ID: Date: Wed, 29 Nov 2017 13:44:43 -0600 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <20171129192630.GS31092@char.us.oracle.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Source-IP: aserv0021.oracle.com [141.146.126.233] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Thanks Konrad for your response. Please see below for my comments. >>>> Well, that's more a question to Konrad as the maintainer. >>>> Personally I'd prefer just "reset", as "pci" is redundant and "bus" >>> Can't do 'reset'. >> Why? > B/c I forgot that this attribute is not per device, but on the module sub-directory: > > /sys/bus/pci/drivers/pciback/do_flr > > It can be indeed called 'reset'. Good.  We will rename sysfs attribute from "do_flr" to "reset" >>>> doesn't cover the slot variant. >>> 'bus_reset' sounds lovely? >> Lovely sounding or not, it may end up misleading, and even more so >> if - like asked for - FLR would be tried first. > Fair enough. Reset should work then. So, we will use the following sequence to reset the requested device/function. - FLR (as first option) - BUS/SLOT reset (as fall-back option) if FLR is not supported or any issue with FLR Cheers GOVINDA From 1585429891876838542@xxx Wed Nov 29 19:29:28 +0000 2017 X-GM-THRID: 1583346318922306893 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread