From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 18517C61DA4 for ; Thu, 16 Feb 2023 10:24:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=NDZiLT6CjlAu+Th0OMNS/VCXaSHqUJGs5Ss89yGabD8=; b=e6Uv2mf86GGmsF LZRUJ1gbwRAsnmqnuPMQB/1SJcuQBsMLzGPYoMn8VZ/N4O7CyzIvgm/1yG6qPdB8JqdFf9715U0Ek LwOb2zYuYVW8bVQaO4p9+vgDefy1il+6sIF2utE9JEdhr/tLfk/RGd+9fZ+0HzXRbcL9wVW+AQ77q 4UMw5uFCiv8PEwPpZ8eTz85FKCQQwSdfGYQOE/ipH0YyQgIxlIVYZzx7afUu+TVwENFri03fF9Gk+ ErcAFS7usKvfAPNyxCCXcU8/0CKZx4Vgxv2zburEK8rUDs1lItH0rVLpUG94tRiegnfTVrfmFCO8b qcSs11Qer8EjR1CRZPsw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pSbQQ-009XRl-Np; Thu, 16 Feb 2023 10:23:38 +0000 Received: from mail.8bytes.org ([85.214.250.239]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pSbQN-009XNM-Bs for linux-arm-kernel@lists.infradead.org; Thu, 16 Feb 2023 10:23:37 +0000 Received: from 8bytes.org (p200300c27714bc0086ad4f9d2505dd0d.dip0.t-ipconnect.de [IPv6:2003:c2:7714:bc00:86ad:4f9d:2505:dd0d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.8bytes.org (Postfix) with ESMTPSA id 101552246CC; Thu, 16 Feb 2023 11:23:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=8bytes.org; s=default; t=1676543011; bh=GzlsKWiPjthaX1/hbOABtB4YHX4tZBMzFva1szyVx2c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wvRBZzXVqL50pYweSrzRifU3RS6TaDbn9kIT2DePHjDB7jD+eRMQ20DYs+ywtITiD nHUTgqQILfZxJDMmRMmAPiH2+qZThFsAWwjB7Rt/iH7QR4DbEsvHNevSYvCaKqeDQM q4zEU33Vzob+uwqqBdSo50X1KuY9oY9sXBVFzXxol1yfBP5rRVYLqz3mxlmafeFo7z iP8aS1+VOtj/IP8eCprJ/v9qQJ7VqErhkj94r1vNmCWNxaJddJGG8488/NCRfIz/QO aWfG0Hv9U2Y+Gaxkzki5BAzJ8JhfcYnzw7ah2BR9ZLV06bJjABtm71IP03NQArGiwY WH0Eg3zXaeGnA== Date: Thu, 16 Feb 2023 11:23:29 +0100 From: Joerg Roedel To: Bjorn Helgaas Cc: Leon Romanovsky , Ganapatrao Kulkarni , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, bhelgaas@google.com, jean-philippe@linaro.org, darren@os.amperecomputing.com, scott@os.amperecomputing.com, Will Deacon , Robin Murphy , linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev Subject: Re: [PATCH] PCI/ATS: Allow to enable ATS on VFs even if it is not enabled on PF Message-ID: References: <20230215205726.GA3213227@bhelgaas> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230215205726.GA3213227@bhelgaas> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230216_022335_653006_3AA5D82E X-CRM114-Status: GOOD ( 12.05 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Feb 15, 2023 at 02:57:26PM -0600, Bjorn Helgaas wrote: > [+cc Will, Robin, Joerg for arm-smmu-v3 page size question] > > On Sun, Feb 12, 2023 at 08:14:48PM +0200, Leon Romanovsky wrote: > > On Wed, Feb 08, 2023 at 10:43:21AM -0800, Ganapatrao Kulkarni wrote: > > > As per PCIe specification(section 10.5), If a VF implements an > > > ATS capability, its associated PF must implement an ATS capability. > > > The ATS Capabilities in VFs and their associated PFs are permitted to > > > be enabled independently. Well, the spec is one thing, existing hardware the other. Have you checked the history of the PF-before-VF requirement before making that change? It is possible that early PASID-capable hardware actually required PF-before-VF enablement of ATS. Regards, Joerg _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel