Message ID | 20170627151206.17428.59944.stgit@tlendack-t1.amdoffice.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <xen-devel-bounces@lists.xen.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 24AF960351 for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:14:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 178C2286BC for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:14:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0B029286CF; Tue, 27 Jun 2017 15:14:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 7C699286BC for <patchwork-xen-devel@patchwork.kernel.org>; Tue, 27 Jun 2017 15:14:21 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <xen-devel-bounces@lists.xen.org>) id 1dPsA7-00022i-Ex; Tue, 27 Jun 2017 15:12:19 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from <Thomas.Lendacky@amd.com>) id 1dPsA6-00021e-55 for xen-devel@lists.xen.org; Tue, 27 Jun 2017 15:12:18 +0000 Received: from [193.109.254.147] by server-4.bemta-6.messagelabs.com id 95/28-02962-1D572595; Tue, 27 Jun 2017 15:12:17 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA1VSe0hTYRTvu4/tarv2ORueRlqtJJI0JYn+iR4 UPdAS90esKLvadRtsU+6dNRFCRGW9KNfLppmVGlZmJThRStGsNHuHEkakaJm1UgosFtG9Xk37 /vp95/c458BhSG2hSs/wLicvODibQRVMWVYYkmKeZ6eY4hofRa6uHLtCrUNbOpoDRDLaRVsda ZmufbTFc+MbmVWrdX2orlfnodtzjqAghsIFJDypW3IEBTMIn0JQ2+sh5Y8WFxHQXNxEyyoVXg 49/h+EjMPwLmjtbKNkPBdXEDBwFssGEvtVcO9pt0omCDwfKi5XSUmM1CIKHjQJcpnFW+Dj62c TOUF4K1w80zOBtVK9+9ddtYx1OBJqXhXQij4UOs8PUnIMiZdBXdMKuUziBeDzl5EyBrwQfOPj KnkEwG4Eb91upGQuAe/352pFFAEdT8ooBSdBY+3XidEAL4augu2Kt4qA7t4KUvkcV4F79BytG KKh/f0btUIMqKH0SyWa/NBQMFY8GdtAwagvW8E2uNlYTyh4N/x+eIJWDN009BYOT0b5MVS21K GTKMY7Y1fv9K7eGbtWIPIaWirywgFeiEmITROsZovTzlltMfFxq2LtvChyZt7GpYmx6Zn2O0i 6iVnSa0RHX+1oQ/MYwqBjr0OKSRuSlrk/x8KJllQh28aLbWgpw+DLHflGPeXIdPAGYIuckixU 4M28K8Nqk25sSgmMxjCX7cmSaFbM4uyi1axQXWiRPpz1yT4sE5Zsxz/b1HW+RBH6MBZJM2k1W bxgtzr/50dQOIMMYewlUUrRWB3Of+kjUmNCakyVJ8uNndw0pc9Dup+6Pto+HAidbdKW922zt7 d0Pt0qhI3cijLuXLnm/rHcNfV9iWtzyg4W5vpL/py4oB/a6Pmd2JBQEnd28Jlm6OqvK+rbZSl J7/qNm3z99x6fMxozNuRbRveaTrfqUHrOHs/6F0E7P7MlRvN4SHXR4fjAz01faw59cm8ORHtd palFBkq0cPHRpCByfwGQgjXFmAMAAA== X-Env-Sender: Thomas.Lendacky@amd.com X-Msg-Ref: server-8.tower-27.messagelabs.com!1498576334!99428930!1 X-Originating-IP: [104.47.34.77] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.4.19; banners=-,-,- X-VirusChecked: Checked Received: (qmail 16180 invoked from network); 27 Jun 2017 15:12:16 -0000 Received: from mail-by2nam01on0077.outbound.protection.outlook.com (HELO NAM01-BY2-obe.outbound.protection.outlook.com) (104.47.34.77) by server-8.tower-27.messagelabs.com with AES256-SHA256 encrypted SMTP; 27 Jun 2017 15:12:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=RlOSin9mKIzn1Bq9OWTDW+2tr+FUHEUJGQ24Dz9wFB4=; b=letJKXWxbYdLYorVhC3B9wrHahJ1Dm5EsLHlwCxvFd45TVe9Ag8YyScBqad/7JM9RAWiZel4tzayjXlZsFPFzWn40+HkMSABgI4Lb9jrmAWy11cq7EBZJr0fTcxFCvfGvoUN3YGxhQEVmoDV71ZIeCyhPcSt5mkRHCXDOJtGWNA= Received: from tlendack-t1.amdoffice.net (165.204.77.1) by CY4PR12MB1144.namprd12.prod.outlook.com (10.168.164.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.15; Tue, 27 Jun 2017 15:12:09 +0000 From: Tom Lendacky <thomas.lendacky@amd.com> To: linux-arch@vger.kernel.org, linux-efi@vger.kernel.org, kvm@vger.kernel.org, linux-doc@vger.kernel.org, x86@kernel.org, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, xen-devel@lists.xen.org, linux-mm@kvack.org, iommu@lists.linux-foundation.org Date: Tue, 27 Jun 2017 10:12:06 -0500 Message-ID: <20170627151206.17428.59944.stgit@tlendack-t1.amdoffice.net> In-Reply-To: <20170627150718.17428.81813.stgit@tlendack-t1.amdoffice.net> References: <20170627150718.17428.81813.stgit@tlendack-t1.amdoffice.net> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: BN6PR03CA0002.namprd03.prod.outlook.com (10.168.230.140) To CY4PR12MB1144.namprd12.prod.outlook.com (10.168.164.136) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 296ed46e-868e-4865-5005-08d4bd6ee3be X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095); SRVR:CY4PR12MB1144; X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1144; 3:Teme30IR3aPyAk32Ka09J5lcLG59h0+f9AoX9yvVMSqdfwDbydXfnCqI7JoDFfs5Nkd+1mvnBs5vNYYUfXfMGUgjEGNwu7212gz54SKad2LMwIaeGjZRqeKe+y320dnY68IlHgV1mlblxdOYuoiUhD5JMVIB5J7MuH/AK0O/jqTGEXHydbJv/1eaM7/Ad7wWASV4kXKtaDW1AlEPCPI3CH1P+HpkXRe/b5jBWda0Xxz/R40tZ4M8fzz5u3O4ScW2q87cPg4hvQpRVn9g0EwmYwSGq7sOg5ZQvgDEEcCIeJAOI8Y0mfQQ7f7uknmum01I5O/cGT32My+tNW3hx1lC1sBt5dQp57dl6LqtBZpkuURafe88/itxFbZ+nuxaXUdA6NvDe/qkD7RZGrhf9CD0uuH83JDFJvAQRAB3iVANKCzyX95VcyxpRfFWyD8zQcL4xeWtOkCJGajECEsxj2Ll745qa0yZbZzgKr8mYBFhe7Rld8uTCy0ycGC4Psl9XdtQ4JUD61Jw/7SlMTwTMa4bqgyQs+gSgL0wyy5c2knIzgdPEKAk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ZSbeXxRhG/FFHGnpF40JQqec3shjpr3YnJFENn3UyWNe4vyBetw4RLJF8ilsGWUNyDUbRaOKRZMnzDX2/Xv8XeYUs5aAXT+Dg9o5weqEGCjkCsycSrmHSJwGjqDvi1t9ZrUtXAXMvyTGUo4qUtG2tAfst0roFTUdZItVRikljG1cMHH3kcdlpwcNPau6xoAAyHQ0obqAJF4FkIUP1s1FHzSAjBpGjTrYjI9edpu5EIPWwvjLBPusjZdb1fXXEe4VUko3NF2GE07ewIU0WW0Fo9eNX4Szjp X-Microsoft-Antispam-PRVS: <CY4PR12MB1144EDA6B444E1FE2AC89796ECDC0@CY4PR12MB1144.namprd12.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(133145235818549)(236129657087228)(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(6055026)(6041248)(20161123562025)(20161123560025)(20161123555025)(20161123564025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR12MB1144; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR12MB1144; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTRQUjEyTUIxMTQ0OzQ6MXRnaVFmd0pUZ0cvRzVVbFFMNVRqWitGUnlN?= =?utf-8?B?UkdEVzJDZk1ZeVJNNVRtaU1sQTJVUm1BL3hubVo2MEVsWmV3T3BVeGZSTERD?= =?utf-8?B?VzFMMk1qY2lKMjJJRGx1UUlQeXJtOVRkUzVJNnVmSWZRaXQvL3NmeXhJNVZh?= =?utf-8?B?YUlQQWJ6MTlFWDlwamtQVFZsNUJlbDZUS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zWDVVYWY1Q0RqUVlzekgvV2k1SzY3ck9X?= =?utf-8?B?ZzluV242TDBZc3p0NjJEQUFIbHFOcC9ObFBGRkkwU1dENXlXano0b3NQckNi?= =?utf-8?B?bGdQT1JHdUR1dFZwbGloVm0zMTU4bTRaSWFnZkdUR1BHT0lGOXlMbGxCajNT?= =?utf-8?B?a2JQYjdSTVJyZStMeTNPVThxRGs0SE1xRGdFVVlCcG5BR2lMTlRqWEQ2aXJN?= =?utf-8?B?bjlDRVFGRUM0c3EvdlhUeEUyTGtSaVFtc1FabzlNQVAvOUhmQjU4bHZSeXU3?= =?utf-8?B?RjdCVEcwTFhrWWI1UzJpQUpFeis1NFNKeHVOTXpNVGNsaGFpcXQ0bzIyVk1U?= =?utf-8?B?eXpyUENKNTIzS1lkeXQxZ3lRUWxkdnhkM2N6VXBVTmZzcDJSeCtmQ1VxK2Nh?= =?utf-8?B?S3hxRE9YZUh0eWVtcGF3TWtJQTgxcWUya2dROWpPcDBaU0RVMXdSR0diTUxW?= =?utf-8?B?R0JBeDN4UlduOGs1S1o1a2tmM2Q0Q3BPN0JxcFV3dGpDeis3YjB3VTJCSS8v?= =?utf-8?B?V21kSGpvZFY4Nlp3WmprMTRXVDkxTnkrZW5OTlM0VTVSU0o4VXRJVlpmR1pV?= =?utf-8?Q?IYXk8l2P1ljjGHRbAKI3kNMi6eF9I7tyxMIvcL?= X-Forefront-PRVS: 0351D213B3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39410400002)(39400400002)(39860400002)(39850400002)(39450400003)(39840400002)(4326008)(25786009)(76176999)(8676002)(4001350100001)(2906002)(478600001)(97746001)(50986999)(305945005)(6666003)(2950100002)(23676002)(54356999)(5660300001)(53936002)(86362001)(7736002)(7416002)(7406005)(110136004)(189998001)(47776003)(66066001)(38730400002)(50466002)(53416004)(42186005)(9686003)(103116003)(6506006)(83506001)(54906002)(55016002)(3846002)(81166006)(72206003)(230700001)(33646002)(6116002)(1076002)(921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XADbKcCc7rosHg1Bf5MyRuPQA/ETWMEncLJe6++TyCs3XkNHabKIwrEhCf9fdHUuSHMbsryjkQ= X-Microsoft-Exchange-Diagnostics: 1; CY4PR12MB1144; 20:VZn0wV/G7plM7UwfOPkhHsF7vw9d+ElvdLbr0cu37adW6FCT2tkn1OFwP/s5MQj0H6mnx/ErfBGnCAfush/XQrJFAk5zZmRwLZuYKguZvcFiVLgk3eg+2OwAz8ofi8NVSDnmlqX/Ebj1a9iC3pYico6kQzW7R9vrcZoMDHmHPtdmSr6UHEbaoiO8/cQdsvXrDWvyXIWkguy9YGgWSfWkK3c5vlpLkfRm0LF4XZQPTP53KOxrKxEtrruUYQfFsO3U X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2017 15:12:09.8847 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR12MB1144 Cc: Brijesh Singh <brijesh.singh@amd.com>, Toshimitsu Kani <toshi.kani@hpe.com>, "Michael S. Tsirkin" <mst@redhat.com>, Matt Fleming <matt@codeblueprint.co.uk>, Alexander Potapenko <glider@google.com>, "H. Peter Anvin" <hpa@zytor.com>, Boris Ostrovsky <boris.ostrovsky@oracle.com>, Jonathan Corbet <corbet@lwn.net>, Joerg Roedel <joro@8bytes.org>, Radim =?utf-8?b?S3LEjW3DocWZ?= <rkrcmar@redhat.com>, Larry Woodman <lwoodman@redhat.com>, Ingo Molnar <mingo@redhat.com>, Andrey Ryabinin <aryabinin@virtuozzo.com>, Dave Young <dyoung@redhat.com>, Rik van Riel <riel@redhat.com>, Arnd Bergmann <arnd@arndb.de>, Borislav Petkov <bp@alien8.de>, Andy Lutomirski <luto@kernel.org>, Thomas Gleixner <tglx@linutronix.de>, Dmitry Vyukov <dvyukov@google.com>, Juergen Gross <jgross@suse.com>, Paolo Bonzini <pbonzini@redhat.com> Subject: [Xen-devel] [PATCH v8 RESEND 25/38] swiotlb: Add warnings for use of bounce buffers with SME X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion <xen-devel.lists.xen.org> List-Unsubscribe: <https://lists.xen.org/cgi-bin/mailman/options/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=unsubscribe> List-Post: <mailto:xen-devel@lists.xen.org> List-Help: <mailto:xen-devel-request@lists.xen.org?subject=help> List-Subscribe: <https://lists.xen.org/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xen.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" <xen-devel-bounces@lists.xen.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/include/linux/dma-mapping.h b/include/linux/dma-mapping.h index 4f3eece..a156c40 100644 --- a/include/linux/dma-mapping.h +++ b/include/linux/dma-mapping.h @@ -10,6 +10,7 @@ #include <linux/scatterlist.h> #include <linux/kmemcheck.h> #include <linux/bug.h> +#include <linux/mem_encrypt.h> /** * List of possible attributes associated with a DMA mapping. The semantics @@ -554,6 +555,12 @@ static inline int dma_mapping_error(struct device *dev, dma_addr_t dma_addr) #endif } +static inline void dma_check_mask(struct device *dev, u64 mask) +{ + if (sme_active() && (mask < (((u64)sme_get_me_mask() << 1) - 1))) + dev_warn(dev, "SME is active, device will require DMA bounce buffers\n"); +} + #ifndef HAVE_ARCH_DMA_SUPPORTED static inline int dma_supported(struct device *dev, u64 mask) { @@ -577,6 +584,9 @@ static inline int dma_set_mask(struct device *dev, u64 mask) if (!dev->dma_mask || !dma_supported(dev, mask)) return -EIO; + + dma_check_mask(dev, mask); + *dev->dma_mask = mask; return 0; } @@ -596,6 +606,9 @@ static inline int dma_set_coherent_mask(struct device *dev, u64 mask) { if (!dma_supported(dev, mask)) return -EIO; + + dma_check_mask(dev, mask); + dev->coherent_dma_mask = mask; return 0; } diff --git a/lib/swiotlb.c b/lib/swiotlb.c index 04ac91a..8c6c83e 100644 --- a/lib/swiotlb.c +++ b/lib/swiotlb.c @@ -507,6 +507,9 @@ phys_addr_t swiotlb_tbl_map_single(struct device *hwdev, if (no_iotlb_memory) panic("Can not allocate SWIOTLB buffer earlier and can't now provide you with the DMA bounce buffer"); + if (sme_active()) + pr_warn_once("SME is active and system is using DMA bounce buffers\n"); + mask = dma_get_seg_boundary(hwdev); tbl_dma_addr &= mask;
Add warnings to let the user know when bounce buffers are being used for DMA when SME is active. Since the bounce buffers are not in encrypted memory, these notifications are to allow the user to determine some appropriate action - if necessary. Actions can range from utilizing an IOMMU, replacing the device with another device that can support 64-bit DMA, ignoring the message if the device isn't used much, etc. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> --- include/linux/dma-mapping.h | 13 +++++++++++++ lib/swiotlb.c | 3 +++ 2 files changed, 16 insertions(+)