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=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham 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 C33B3C433E6 for ; Tue, 2 Feb 2021 04:53:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 85B5864ED9 for ; Tue, 2 Feb 2021 04:53:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231797AbhBBEwu (ORCPT ); Mon, 1 Feb 2021 23:52:50 -0500 Received: from mga14.intel.com ([192.55.52.115]:54657 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231597AbhBBEwq (ORCPT ); Mon, 1 Feb 2021 23:52:46 -0500 IronPort-SDR: hdoM7WeHwap2ft3IFB+MW7tI9UoCsqft7ouvGdOWONKRsO4di8UeHfWtr7ebj5PYMwA5ZmzubT qsfOUK3h4Viw== X-IronPort-AV: E=McAfee;i="6000,8403,9882"; a="180020411" X-IronPort-AV: E=Sophos;i="5.79,394,1602572400"; d="scan'208";a="180020411" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2021 20:49:25 -0800 IronPort-SDR: 1lAE3OWH1MDJokNweNf9yHQ+WZ8pajDbquDw52AHFbF93hyDajy5+HMrR6BxbxX9dJFgPKxLfZ cgAHU5OjOzOw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,394,1602572400"; d="scan'208";a="479423171" Received: from allen-box.sh.intel.com ([10.239.159.128]) by fmsmga001.fm.intel.com with ESMTP; 01 Feb 2021 20:49:23 -0800 From: Lu Baolu To: iommu@lists.linux-foundation.org Cc: Yian Chen , Joerg Roedel , Ashok Raj , linux-kernel@vger.kernel.org, Lu Baolu Subject: [PATCH 0/3] iommu/vt-d: Add support for ACPI/SATC table Date: Tue, 2 Feb 2021 12:40:54 +0800 Message-Id: <20210202044057.615277-1-baolu.lu@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Intel platform VT-d (v3.2) comes with a new type of DMAR subtable SATC. The SATC table includes a list of SoC integrated devices that require SATC. OS software can use this table to enable ATS only for the devices in the list. Yian Chen (3): iommu/vt-d: Add new enum value and structure for SATC iommu/vt-d: Parse SATC reporting structure iommu/vt-d: Apply SATC policy drivers/iommu/intel/dmar.c | 9 ++ drivers/iommu/intel/iommu.c | 161 +++++++++++++++++++++++++++++++++++- include/acpi/actbl1.h | 11 ++- include/linux/dmar.h | 2 + 4 files changed, 178 insertions(+), 5 deletions(-) -- 2.25.1 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=-11.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 58A9AC433DB for ; Tue, 2 Feb 2021 04:49:31 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (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 E164564DD9 for ; Tue, 2 Feb 2021 04:49:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E164564DD9 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 hemlock.osuosl.org (Postfix) with ESMTP id 7D03186DF0; Tue, 2 Feb 2021 04:49:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6N3g8BX51w3s; Tue, 2 Feb 2021 04:49:28 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by hemlock.osuosl.org (Postfix) with ESMTP id 0AC2886DB0; Tue, 2 Feb 2021 04:49:28 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id E93EEC0FA7; Tue, 2 Feb 2021 04:49:27 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 8B5BCC013A for ; Tue, 2 Feb 2021 04:49:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 72B3F8667A for ; Tue, 2 Feb 2021 04:49:26 +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 faaufwhHDihW for ; Tue, 2 Feb 2021 04:49:26 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by whitealder.osuosl.org (Postfix) with ESMTPS id D41508665D for ; Tue, 2 Feb 2021 04:49:25 +0000 (UTC) IronPort-SDR: FYwTY/EIb/9i+lIA3KrSrAkZaGMlWyujaRRvPw4/dsqT3he9FP8Tor7Pjp6qB6nVJK6VIvUXnj xhcBh/X2zgtg== X-IronPort-AV: E=McAfee;i="6000,8403,9882"; a="199708349" X-IronPort-AV: E=Sophos;i="5.79,394,1602572400"; d="scan'208";a="199708349" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2021 20:49:25 -0800 IronPort-SDR: 1lAE3OWH1MDJokNweNf9yHQ+WZ8pajDbquDw52AHFbF93hyDajy5+HMrR6BxbxX9dJFgPKxLfZ cgAHU5OjOzOw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,394,1602572400"; d="scan'208";a="479423171" Received: from allen-box.sh.intel.com ([10.239.159.128]) by fmsmga001.fm.intel.com with ESMTP; 01 Feb 2021 20:49:23 -0800 From: Lu Baolu To: iommu@lists.linux-foundation.org Subject: [PATCH 0/3] iommu/vt-d: Add support for ACPI/SATC table Date: Tue, 2 Feb 2021 12:40:54 +0800 Message-Id: <20210202044057.615277-1-baolu.lu@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Cc: Ashok Raj , 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-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" Intel platform VT-d (v3.2) comes with a new type of DMAR subtable SATC. The SATC table includes a list of SoC integrated devices that require SATC. OS software can use this table to enable ATS only for the devices in the list. Yian Chen (3): iommu/vt-d: Add new enum value and structure for SATC iommu/vt-d: Parse SATC reporting structure iommu/vt-d: Apply SATC policy drivers/iommu/intel/dmar.c | 9 ++ drivers/iommu/intel/iommu.c | 161 +++++++++++++++++++++++++++++++++++- include/acpi/actbl1.h | 11 ++- include/linux/dmar.h | 2 + 4 files changed, 178 insertions(+), 5 deletions(-) -- 2.25.1 _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu