Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1510111pxf; Fri, 19 Mar 2021 08:39:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwG/ocfo6vDf9DkBLsXTcRlIi1yvYela4WfcfM+0Zc4KvEM6DaLB6rkmCFhkiYGL8U70b7t X-Received: by 2002:aa7:d7da:: with SMTP id e26mr10411615eds.269.1616168355994; Fri, 19 Mar 2021 08:39:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616168355; cv=none; d=google.com; s=arc-20160816; b=MEPFz7m55Yj0sc7RTDk9nDlOaE7NnEldsS4VTpyFROgs7ELXY7wzqT1/9FISwQVC0k ueiUFzhBXLUR54iaAYi89ipIcaAEAkCWHOm2iYQ2KJQDQO1hkAvltjxOWPa3Y9TKYFUr WvgUpueYfEYKfmHxVXfq240WfVdYgiszkI250PTemOK3PNFlCf12AUfOhIy3hm79f2sF S2DyE3f+QH5HuYR2DTWehJKyKRFY0s92QB1NG9nrQvNcxzdKMh3RRa4X0ikc+/hYRdgY hroVe3g3oA9GM45oaDXcYxRXcG7TblkkyyEZHAezojvJ3Q/XQAAhYqzaxXwGLek9CsFx TT+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bdyzQI7CjjVH0S1pf5KfORxn537z/0zPMNLtnCn7lgo=; b=T1sP1YsCO+EVy+YuaL+YeIsvA6UP4xqxmBiELPjzt8L6CYXZqC7ZzKl9PBjKgQ7+VR BCgZn+IyqdeAcBkQK2KyT80n23kBJwiy7fD1EU2QaeLXvmqtcdKXVNBypK5YZoJgxugM W0FKoiORJf3jYK/UEwq8wn2I/xNkELImqgpbXnQkdYRZTrsqigFLO0FTtQEa2KKN0LhJ HCqgSmhxuwoierW0ZkSX0L2qZRgPwIqfb82P4fGCCIbBM0ciyrQ7BhRudXgQY/e7bn12 mgBZN6043P6iqoflTaRCYV3JO1Zhs1lJLOwiHHwb7os2GP1j/Mp5l4+/U1Lxjg0uQxcZ AkOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OFWIBUK1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id f11si4407698ejr.284.2021.03.19.08.38.52; Fri, 19 Mar 2021 08:39:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=OFWIBUK1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230140AbhCSPhs (ORCPT + 99 others); Fri, 19 Mar 2021 11:37:48 -0400 Received: from mail.kernel.org ([198.145.29.99]:53042 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230002AbhCSPh2 (ORCPT ); Fri, 19 Mar 2021 11:37:28 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C5BA661939; Fri, 19 Mar 2021 15:37:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1616168248; bh=LlMhMwfyj68qC3d2kJUST0g5iZ0H8DWxAAFzPo3YAqE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OFWIBUK1vaKjrogvtAdNjakrLHuZGnDnwwWeNVxlTSsQUFOWL1li2ru3hPTgfPy0l 7+alNk+RlUZpDOJnBPT1haY6CqqREQxCqw1UyMT8c0tE/MamCp2xiye+ASG0IsZHpk Nwz6rU86Vh5T9dUUJEyj9PaXrZhUytRilj64SdFA3mWUNlltpQlxko0X+QhRhRWkKk Q1JacBUD+dmC97Q6izh80CBSVZ9dX3yIq1GzkppMlsUvw0031qjuXrzlHk4VFZfH3k qZr84Er4sD7tvjYACK79DWk9cKtuWUOXKqXxDyD8SH098mxA1mBkGT3neRWaMND/Uk MVskgiHd2B+Yw== Date: Fri, 19 Mar 2021 17:37:24 +0200 From: Leon Romanovsky To: Amey Narkhede Cc: raphael.norwitz@nutanix.com, linux-pci@vger.kernel.org, bhelgaas@google.com, linux-kernel@vger.kernel.org, alay.shah@nutanix.com, suresh.gumpula@nutanix.com, shyam.rajendran@nutanix.com, felipe@nutanix.com, alex.williamson@redhat.com Subject: Re: [PATCH 4/4] PCI/sysfs: Allow userspace to query and set device reset mechanism Message-ID: References: <20210317113140.3de56d6c@omen.home.shazbot.org> <20210318142252.fqi3das3mtct4yje@archlinux> <20210318170143.ustrbjaqdl644ozj@archlinux> <20210318174344.yslqpfyct6ziwypd@archlinux> <20210319152317.babevldyslat2gqa@archlinux> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210319152317.babevldyslat2gqa@archlinux> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 19, 2021 at 08:53:17PM +0530, Amey Narkhede wrote: > On 21/03/19 03:05PM, Leon Romanovsky wrote: <...> > > > > It was exactly the reason why I think that VM usecase presented by > > > > you is not viable. > > > > > > > Well I didn't present it as new use case. I just gave existing > > > usecase based on existing reset attribute. Nothing new here. > > > Nothing really changes wrt that use case. > > > > Of course it is new, please see Alex's response, he said that vfio uses > > in-kernel API and not sysfs. > > > Still it doesn't change in-kernel API either. Right, but the issue is with user space part of this proposal and not in-kernel API. <...> > > > As mentioned earlier not all vendors care about Linux and not > > > all of the population can afford to buy new HW just to run Linux. > > > > Sorry, but you are not consistent. At the beginning, we talked about new HW > > that has bugs but don't have quirks yet. Here we are talking about old HW > > that still doesn't have quirks. > > > > Thanks > > > Does it really matter whether HW is old or new? > If old HW doesn't have quirks yet how can we expect > new one to have quirks? What if new HW is made by same vendors > who don't have any interest in Linux? It is pretty clear that this sysfs won't improve quirks situation but has all potential to reduce their amount even more. Let's stop this discussion here. Thanks > > Thanks, > Amey