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.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,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 76ABDC433E0 for ; Tue, 2 Feb 2021 16:44:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 31FD864F7F for ; Tue, 2 Feb 2021 16:44:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232556AbhBBQoB (ORCPT ); Tue, 2 Feb 2021 11:44:01 -0500 Received: from mga04.intel.com ([192.55.52.120]:48231 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236614AbhBBQlw (ORCPT ); Tue, 2 Feb 2021 11:41:52 -0500 IronPort-SDR: 0wocoNJt5zZkb7tf6TGY0rphL87CEjSyGj0jAhLUVXK2VOwf6OeMYqAxGPIVRdpDxNBLYnZSAl 9756zWkuh/0g== X-IronPort-AV: E=McAfee;i="6000,8403,9883"; a="178325272" X-IronPort-AV: E=Sophos;i="5.79,395,1602572400"; d="scan'208";a="178325272" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2021 08:41:04 -0800 IronPort-SDR: Eg+PeupmJB38Swuetqqo43nQrCypvHKzH7vo8Lzx7eWKLBcq1cAlygGlegUyVr2t2BYtaiY6w2 EXjdQ83jzDfA== X-IronPort-AV: E=Sophos;i="5.79,395,1602572400"; d="scan'208";a="413654954" Received: from otc-nc-03.jf.intel.com (HELO otc-nc-03) ([10.54.39.36]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Feb 2021 08:41:04 -0800 Date: Tue, 2 Feb 2021 08:41:02 -0800 From: "Raj, Ashok" To: Lu Baolu Cc: iommu@lists.linux-foundation.org, Yian Chen , Joerg Roedel , linux-kernel@vger.kernel.org, Ashok Raj Subject: Re: [PATCH 2/3] iommu/vt-d: Parse SATC reporting structure Message-ID: <20210202164102.GD39643@otc-nc-03> References: <20210202044057.615277-1-baolu.lu@linux.intel.com> <20210202044057.615277-3-baolu.lu@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210202044057.615277-3-baolu.lu@linux.intel.com> User-Agent: Mutt/1.5.24 (2015-08-30) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.