Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2546972imm; Mon, 10 Sep 2018 02:54:33 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYdw/H1pKWs4/cGYZgoDx3xn3WYUCpPTmq9QzgaWIIK+78CCaVjXFhdxfRGUIZSf/KkrrVB X-Received: by 2002:a62:54c7:: with SMTP id i190-v6mr22520765pfb.155.1536573273097; Mon, 10 Sep 2018 02:54:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536573273; cv=none; d=google.com; s=arc-20160816; b=ZuSdovLnCWzyhYpA7R0n+xy98/0KGSCX+Cnz0+JWFleTdQymbvv7NKhLh3xesbGgUw OM4R1c77oQczY/O/do28f9o4EsEh0EPfc+gW+CVn7GOaWBKad98AGMap70gA202Dqlqi WnM/0Aj4jguHaJGOtQ4yq4h2j+PE/Ze444P/4rF14Me4x1tt39FNzXwbRqlZ+nAVafCg v18dvUBeakdJglKAtwT8oYdO+PxdetRP+cUevgaanDi5obhydcVwFZBTF7AyGyB/e2sn tIo/5T+hFRf+wk/Eq++BlchsrOC2XitgHYljeDZdHEMz+rSb6rM1NGEL6zJ2N5GLQgYd 8Yvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=3B+lF6WYGZ+wxVflCXn4LN5LmIRUandnECiGH7O4AtM=; b=B8ZaVnfLSRUVOYITIODwRrkHINznJS4sfe087zNbYlxopPU3UqKqE/ZKQbP1hRt5cg LKdzUmysmHXhvj+GO1cGRbggtpauC3wVu3se45tyd5SJfUxFeP6liE8ysX3ADMovg1Xh Ut/Rm+uGwZzG4OyI68Ka+mNAOTh4lPgQxmOzaowyFq0YjQ9Zl9TBSgwQNiwZs+HbCoWS KFbRhu8zaLOodstW2PfSs5vD0+a09q4CL5NrahpoHqcn3AiQpBzhQPQe6qpE8aACGqSQ PH34I2b/IQRemLrnV/8uoIlUKxekUSpiXKWwb34Do+8dy218QnjaOG00ht8wm2hbKD7o Jx8A== 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=iki.fi Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m10-v6si18031218pgc.105.2018.09.10.02.54.17; Mon, 10 Sep 2018 02:54: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; 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=iki.fi Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728169AbeIJOpt (ORCPT + 99 others); Mon, 10 Sep 2018 10:45:49 -0400 Received: from emh03.mail.saunalahti.fi ([62.142.5.109]:52536 "EHLO emh03.mail.saunalahti.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727714AbeIJOpt (ORCPT ); Mon, 10 Sep 2018 10:45:49 -0400 Received: from ydin.reaktio.net (reaktio.net [85.76.255.15]) by emh03.mail.saunalahti.fi (Postfix) with ESMTP id 2846C400D7; Mon, 10 Sep 2018 12:52:32 +0300 (EEST) Received: by ydin.reaktio.net (Postfix, from userid 1001) id BE5AC36C0F6; Mon, 10 Sep 2018 12:52:31 +0300 (EEST) Date: Mon, 10 Sep 2018 12:52:31 +0300 From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= To: Sinan Kaya Cc: Christoph Hellwig , Bjorn Helgaas , jgross@suse.com, Sinan Kaya , Govinda Tatti , Herbert Xu , Satanand Burla , linux-pci@vger.kernel.org, Felix Manlunas , linux-kernel@vger.kernel.org, Derek Chickles , Srikanth Jampala , JBeulich@suse.com, Russell Currey , bhelgaas@google.com, xen-devel@lists.xenproject.org, boris.ostrovsky@Oracle.COM, Raghu Vatsavayi , roger.pau@citrix.com Subject: Re: [Xen-devel] [PATCH V3 1/2] Drivers/PCI: Export pcie_has_flr() interface Message-ID: <20180910095231.GD18222@reaktio.net> References: <20171208202424.GC12367@bhelgaas-glaptop.roam.corp.google.com> <426eeeab-0dcd-8de3-9c5f-a166acf2c130@Oracle.COM> <20171212005919.GB30595@bhelgaas-glaptop.roam.corp.google.com> <49956aaf-5fd5-939d-5fc7-231ffdb98b70@Oracle.COM> <20171213212420.GH30595@bhelgaas-glaptop.roam.corp.google.com> <20171215181801.GU30595@bhelgaas-glaptop.roam.corp.google.com> <20171218122629.GA18423@infradead.org> <20180909185944.GC18222@reaktio.net> <9ffe43d2-a44b-974c-85c9-9923d71c5dba@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9ffe43d2-a44b-974c-85c9-9923d71c5dba@kernel.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Sun, Sep 09, 2018 at 10:33:02PM -0400, Sinan Kaya wrote: > On 9/9/2018 2:59 PM, Pasi K?rkk?inen wrote: > >I noticed pcie_has_flr() has been recently exported in upstream Linux: > >https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2d2917f7747805a1f4188672f308d82a8ba01700 > > > >Are there more changes / cleanups planned to these interfaces, as mentioned last year? > > > >(context: xen-pciback reset/do_flr features upstreaming, which kind of stalled last year when pcie_has_flr() wasn't exported at the time) > > Exporting pcie_has_flr() is a very simple change which could have been done > by the XEN porting effort. > > Maybe, the right question is what is so special about XEN reset? > > What feature PCI core is missing to support XEN FLR reset that caused > the effort to stall? > Well one of the reasons probably was because Christoph was planning to deprecate the pcie_has_flr() functionality.. https://lists.xen.org/archives/html/xen-devel/2017-12/msg01057.html https://lists.xen.org/archives/html/xen-devel/2017-12/msg01252.html But now that pcie_has_flr() is exported and available I guess it's fine to continue using it also for xen-pciback :) Thanks, -- Pasi