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 X-Spam-Level: X-Spam-Status: No, score=-5.4 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CF75EC433E0 for ; Wed, 3 Feb 2021 00:39:11 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 66CEC64F6C for ; Wed, 3 Feb 2021 00:39:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 66CEC64F6C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3416F868D6; Wed, 3 Feb 2021 00:39:11 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZCE0XuMcSLIG; Wed, 3 Feb 2021 00:39:10 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by whitealder.osuosl.org (Postfix) with ESMTP id 78DF685C90; Wed, 3 Feb 2021 00:39:10 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 47E7EC0FA7; Wed, 3 Feb 2021 00:39:10 +0000 (UTC) Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id E3652C013A for ; Wed, 3 Feb 2021 00:39:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id CA13781B21 for ; Wed, 3 Feb 2021 00:39:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vg6pR3kZhVLg for ; Wed, 3 Feb 2021 00:39:08 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 1CF0D804B5 for ; Wed, 3 Feb 2021 00:39:08 +0000 (UTC) IronPort-SDR: yeI5RXbeTcrYAlzvSg9kBpoQGT4Q+piWA7ptS3tdHHIZAF3IWpBDRN2ZtIYvS/ULYzh+BrLqei mCe2+CkNAoEw== X-IronPort-AV: E=McAfee;i="6000,8403,9883"; a="242473136" X-IronPort-AV: E=Sophos;i="5.79,396,1602572400"; d="scan'208";a="242473136" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2021 16:39:07 -0800 IronPort-SDR: f308Kp4TYGqdN1tyw7K0eIM7AJym0KHs+cYDzK1wXHHnVW23Ndl/3dkIUSpPYfnWq2tFkd0354 WuoQGAsbTxWg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,396,1602572400"; d="scan'208";a="406361276" Received: from allen-box.sh.intel.com (HELO [10.239.159.128]) ([10.239.159.128]) by fmsmga004.fm.intel.com with ESMTP; 02 Feb 2021 16:38:22 -0800 Subject: Re: [PATCH 2/3] iommu/vt-d: Parse SATC reporting structure To: "Raj, Ashok" References: <20210202044057.615277-1-baolu.lu@linux.intel.com> <20210202044057.615277-3-baolu.lu@linux.intel.com> <20210202164102.GD39643@otc-nc-03> From: Lu Baolu Message-ID: <28583efc-1a3a-a863-fb68-cfe3afa9d68a@linux.intel.com> Date: Wed, 3 Feb 2021 08:29:57 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210202164102.GD39643@otc-nc-03> Content-Language: en-US Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" Hi Ashok, On 2/3/21 12:41 AM, Raj, Ashok wrote: > On Tue, Feb 02, 2021 at 12:40:56PM +0800, Lu Baolu wrote: >> From: Yian Chen >> >> Software should parse every SATC table and all devices in the tables >> reported by the BIOS and keep the information in kernel list for further >> SATC policy deployment. >> > The last part seems bit vague? Are you trying to imply, > > if kernel is booted with noats for instance, a device listed in SATC table > as "requires ATS" will fail to load? > > Otherwise its not clear what the policy enforcement means. > Yes. This is a bit vague. The ATS policy is out of the purpose of this patch. It only parses the table and keep the device list for further reference. Best regards, baolu _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu