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=-10.2 required=3.0 tests=BAYES_00,DATE_IN_PAST_06_12, 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 4304FC433DB for ; Fri, 19 Feb 2021 06:06:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EDC0164EC4 for ; Fri, 19 Feb 2021 06:06:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229658AbhBSGFr (ORCPT ); Fri, 19 Feb 2021 01:05:47 -0500 Received: from mga18.intel.com ([134.134.136.126]:39731 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbhBSGFk (ORCPT ); Fri, 19 Feb 2021 01:05:40 -0500 IronPort-SDR: /Q6ZtINnRJH+DR7eFJs9ckqN8l5g5Wlcp5mHLU+taIp1CV0kzBXEIiYijS0krcRqfMnMGGV+mP Ev+1JMrHjC4Q== X-IronPort-AV: E=McAfee;i="6000,8403,9899"; a="171424151" X-IronPort-AV: E=Sophos;i="5.81,189,1610438400"; d="scan'208";a="171424151" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Feb 2021 22:02:29 -0800 IronPort-SDR: wVmcecK3h7qBCj4zzziKZys3Iw1DkVS7eSN/rsaWKImrHK0ShrNBbNlX/WFq1NR52Zg0TbyUcT I38LJLHfev0Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,189,1610438400"; d="scan'208";a="362829341" Received: from otc-wp-03.jf.intel.com ([10.54.39.79]) by orsmga003.jf.intel.com with ESMTP; 18 Feb 2021 22:02:29 -0800 From: Jacob Pan To: LKML , iommu@lists.linux-foundation.org, Joerg Roedel , "Lu Baolu" Cc: Yi Liu , Raj Ashok , "Tian, Kevin" , Wu Hao , Yi Sun , Dave Jiang , Eric Auger , Jean-Philippe Brucker , Jacob Pan Subject: [PATCH 0/4] Misc vSVA fixes for VT-d Date: Thu, 18 Feb 2021 13:31:14 -0800 Message-Id: <1613683878-89946-1-git-send-email-jacob.jun.pan@linux.intel.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Baolu et al, This is a collection of SVA-related fixes. Thanks, Jacob Jacob Pan (4): iommu/vt-d: Enable write protect for supervisor SVM iommu/vt-d: Enable write protect propagation from guest iommu/vt-d: Reject unsupported page request modes iommu/vt-d: Calculate and set flags for handle_mm_fault drivers/iommu/intel/pasid.c | 31 +++++++++++++++++++++++++++++++ drivers/iommu/intel/svm.c | 21 +++++++++++++++++---- include/uapi/linux/iommu.h | 3 ++- 3 files changed, 50 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=-10.2 required=3.0 tests=BAYES_00,DATE_IN_PAST_06_12, 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 363EAC433DB for ; Fri, 19 Feb 2021 06:02:38 +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 982E064EC0 for ; Fri, 19 Feb 2021 06:02:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 982E064EC0 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 3DD8A86DFC; Fri, 19 Feb 2021 06:02:37 +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 mvUFatYUp9Zk; Fri, 19 Feb 2021 06:02:35 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by whitealder.osuosl.org (Postfix) with ESMTP id 0A55086F97; Fri, 19 Feb 2021 06:02:35 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 05375C0016; Fri, 19 Feb 2021 06:02:35 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 59296C000D for ; Fri, 19 Feb 2021 06:02:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 4FF7987302 for ; Fri, 19 Feb 2021 06:02:31 +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 1II3OyGuOVmF for ; Fri, 19 Feb 2021 06:02:31 +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 hemlock.osuosl.org (Postfix) with ESMTPS id EC93787427 for ; Fri, 19 Feb 2021 06:02:30 +0000 (UTC) IronPort-SDR: 2Fm0YOFYsVfxlo0yrCpxloTxr3NBvLakFHITUUgI7i4o+tI1HvzIXs6pyXX1MVrDS2BRfYBymd XsK+A2u5I/qA== X-IronPort-AV: E=McAfee;i="6000,8403,9899"; a="245198109" X-IronPort-AV: E=Sophos;i="5.81,189,1610438400"; d="scan'208";a="245198109" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Feb 2021 22:02:29 -0800 IronPort-SDR: wVmcecK3h7qBCj4zzziKZys3Iw1DkVS7eSN/rsaWKImrHK0ShrNBbNlX/WFq1NR52Zg0TbyUcT I38LJLHfev0Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,189,1610438400"; d="scan'208";a="362829341" Received: from otc-wp-03.jf.intel.com ([10.54.39.79]) by orsmga003.jf.intel.com with ESMTP; 18 Feb 2021 22:02:29 -0800 From: Jacob Pan To: LKML , iommu@lists.linux-foundation.org, Joerg Roedel , "Lu Baolu" Subject: [PATCH 0/4] Misc vSVA fixes for VT-d Date: Thu, 18 Feb 2021 13:31:14 -0800 Message-Id: <1613683878-89946-1-git-send-email-jacob.jun.pan@linux.intel.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Cc: "Tian, Kevin" , Dave Jiang , Raj Ashok , Yi Sun , Jean-Philippe Brucker , Wu Hao 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" Hi Baolu et al, This is a collection of SVA-related fixes. Thanks, Jacob Jacob Pan (4): iommu/vt-d: Enable write protect for supervisor SVM iommu/vt-d: Enable write protect propagation from guest iommu/vt-d: Reject unsupported page request modes iommu/vt-d: Calculate and set flags for handle_mm_fault drivers/iommu/intel/pasid.c | 31 +++++++++++++++++++++++++++++++ drivers/iommu/intel/svm.c | 21 +++++++++++++++++---- include/uapi/linux/iommu.h | 3 ++- 3 files changed, 50 insertions(+), 5 deletions(-) -- 2.25.1 _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu