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 14ADAC678D4 for ; Thu, 2 Mar 2023 04:25:24 +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:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2Nf5OsHKtaSagXNVb875wclZXaguCvGGYsIxWOaTouQ=; b=sy3ZDsxDw2C6RA BR4YTFs2GEasvU/0iMGtwUCp3ny89TgXuV62FXeCOY1stiiLrobC0M6dlaj9JAdK9Vp9I+LR+aBGb te+VymqfSQLRot4so4E2QeOczeA8yE+eU8mN9pJlZ8B9azyc4xs1WFZV4qQFRPm3VhjfekH1K8z3A NDMM9UTW6AQzgB0Ag0tr8yCuhCbDEcIlhRhAk9nN3JX3P3jL2lqjtVahoKv9XOd8F4+w5T8ZqJjJg PVW2oVDQa3Qp0YAiKSTTCvXEEv1Ae9ZgPp6aH3gfexNhWrQoVqjit1MB//D73rkIXgEKk8c0zW5HZ hqZBrlKuhdrdlUMt8QSA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pXaUN-000ncb-09; Thu, 02 Mar 2023 04:24:19 +0000 Received: from mga05.intel.com ([192.55.52.43]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pXaUJ-000nb6-KO for linux-arm-kernel@lists.infradead.org; Thu, 02 Mar 2023 04:24:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1677731055; x=1709267055; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=v5b7ljPO/DDlID9gofehMryLNcSPUQ8+e5skFkdCs8E=; b=V3zAVgD7X2Rgu0zg46wmh4qAz+0OFlxAB9SJ4TNLSh8T9k4JabLkMcJK IUPW3t25KzuzBeHy7TA7tn933nTS0rHBGUeCnspl5jZt0sGtrJfcktHiH /xF3148kJktvqdBsmphPSu4IkgLKE1w5SlK+7zFr9gs3cI6yCz5GcnaBv 6zGK4gu9Epka8nwB7CXokjUZcor92baXGa0YYTkDH+GfyANBU5klC0R/q nFx73jy1gfGEeHaht8ZGdJhsyov+Eumwx3Lz2l8ig0hsNgOz6ZOP9suET DRUWJBtagMMti550cJHl5TZKOnm9uMqTV+oizQBOD2gt/UJhRonsyTRki g==; X-IronPort-AV: E=McAfee;i="6500,9779,10636"; a="420873172" X-IronPort-AV: E=Sophos;i="5.98,226,1673942400"; d="scan'208";a="420873172" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2023 20:24:12 -0800 X-IronPort-AV: E=McAfee;i="6500,9779,10636"; a="817836706" X-IronPort-AV: E=Sophos;i="5.98,226,1673942400"; d="scan'208";a="817836706" Received: from rmarti10-mobl2.amr.corp.intel.com (HELO [10.212.193.233]) ([10.212.193.233]) by fmsmga001-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2023 20:24:11 -0800 Message-ID: <917b1d52-54c2-ea8b-5382-dbd8ce71a76c@linux.intel.com> Date: Wed, 1 Mar 2023 20:24:10 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0 Thunderbird/102.4.2 Subject: Re: [PATCH v2 0/2] Add support to enable ATS on VFs independently Content-Language: en-US To: Ganapatrao Kulkarni , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, iommu@lists.linux.dev, joro@8bytes.org, bhelgaas@google.com, robin.murphy@arm.com, will@kernel.org Cc: jean-philippe@linaro.org, darren@os.amperecomputing.com, scott@os.amperecomputing.com References: <20230228042137.1941024-1-gankulkarni@os.amperecomputing.com> From: Sathyanarayanan Kuppuswamy In-Reply-To: <20230228042137.1941024-1-gankulkarni@os.amperecomputing.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230301_202415_734658_53EF1D3A X-CRM114-Status: GOOD ( 11.18 ) 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 2/27/23 8:21 PM, Ganapatrao Kulkarni wrote: > As discussed in [1], adding a helper function to configure the STU of an > ATS capability. Function pci_ats_stu_configure() can be called to program > the STU while enumerating the PF, to support scenarios like PF is not > enabled with ATS, whereas VFs can enable it. > > In SMMU-V3 driver, calling pci_ats_stu_configure() to confgiure the STU > while enumerating a PF in passthrough mode. It looks like you are fixing this issue only for your platform. Is there any way to generically program PF STU? May be from pci_ats_init()? -- Sathyanarayanan Kuppuswamy Linux Kernel Developer _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel