Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3042578imm; Mon, 10 Sep 2018 10:05:37 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYM5GfoQiQIO4c7iIGdmFNcWnYXMDUQnVuWclAgcxtD6NSbfipTVsCkr7wbMq9cw5in6dtP X-Received: by 2002:a17:902:28aa:: with SMTP id f39-v6mr23188783plb.150.1536599137327; Mon, 10 Sep 2018 10:05:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536599137; cv=none; d=google.com; s=arc-20160816; b=zKZcY9RS4NttncsX0pnU9FJhzXi/fbtqX8PMBV8thImuFUdVDMFOoKkic5IWiQtEZP OVcYVSERizbn/p01LVagWDhTcvQ0EpTlNdKtqeEaQ3weMrvYR4yqJndnAH4E/oXgrhQV DaMtxvYQaVhWVkX2n2oEVbm5cGemw5z8FsPnf0dvClcgOuJPLgP64dd7aBQsCAe1LgjX ez/MlqeTWPP2SdnwpZC2p333u0+LFFu12yBzY4tZKgEFxa7fnyGqI4osSh3xGKwq9wwq bsMcXILA8ppk4RDud3NiQqbEwKq2YnaNIhM0qA3tdmT4vY9cuct0WPLWNOHB/GYDzH9B WkgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=lKxsiHBjxq6DQ522ovMZFcuoQhCWYQgY3emLVEA61W4=; b=fbRPfjjr6Xu8Y4FAzAVUkLKStKO3kNY6oH9UkIKMrl3Rvh7CSbyXdNE924FqKIxeYc M8hNg0Lmj5iyPL5Qg6bN7UWntoP1agfqrgHtYGjXoCr2hXWnW9PaZI0czD76/Oq1ZHyl 5emvPS9nrAJj6tAFnDwaYtomIBEeBqUYiZI+3ppkpGS2A8qjM86r0zUnQJnpdjVswMgs zC+PwnTdOYFqb44P3CsHPQ4V69+5ZagLX2euSBWMVPMiLTsrP6VUvSGIZMudpqVPEW4o Fq1B5yaFYwoMJE31gPjfN3LZAfIavmIovLiE+Xck3cXr/8g20GHl5uAQnE7jiKHHL+9/ YkWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pOSRMp1a; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i128-v6si17222333pfg.93.2018.09.10.10.05.08; Mon, 10 Sep 2018 10:05:37 -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=@kernel.org header.s=default header.b=pOSRMp1a; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728848AbeIJV7q (ORCPT + 99 others); Mon, 10 Sep 2018 17:59:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:38612 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726603AbeIJV7q (ORCPT ); Mon, 10 Sep 2018 17:59:46 -0400 Received: from [10.80.45.152] (unknown [71.69.156.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 58D7F20870; Mon, 10 Sep 2018 17:04:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1536599084; bh=N+EEacqEEELSP1Gnq26pwICuSfOyvsNgWH3ybRXdF0o=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=pOSRMp1an1OAwlc98JwWqdgcKrGCfOV/SByGlentQHMkqvMcPnGkgOr7ivErOU0lG YApOAbiFgsXL/AeChS9u5N/zV2hlfCrpo3pM6mofOnbHWX60fQcHBEXqBFV7QAvhGm X7IOeQJpTKqlsK2dDA/tNhg9qZJbPK/rps2dcBuU= Subject: Re: [Xen-devel] [PATCH V3 1/2] Drivers/PCI: Export pcie_has_flr() interface To: =?UTF-8?B?UGFzaSBLw6Rya2vDpGluZW4=?= 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 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> <20180910095231.GD18222@reaktio.net> From: Sinan Kaya Message-ID: <8b56c803-f8b7-2bb3-79b5-c7aebda6c87c@kernel.org> Date: Mon, 10 Sep 2018 13:04:39 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180910095231.GD18222@reaktio.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 9/10/2018 5:52 AM, Pasi Kärkkäinen wrote: > 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 :) > Yeah, I would go ahead with the implementation. Refactoring can be done independently. > > Thanks, > > -- Pasi > >