Received: by 2002:a4a:301c:0:0:0:0:0 with SMTP id q28-v6csp811112oof; Tue, 25 Sep 2018 05:06:40 -0700 (PDT) X-Google-Smtp-Source: ACcGV60OXcIIiH5PL6D1aAqABWaEwQLILO0YtNIHUZ15RtEbdjznwx0yxZN2EwmMLlhduj9zPzSf X-Received: by 2002:a62:1456:: with SMTP id 83-v6mr890124pfu.50.1537877200761; Tue, 25 Sep 2018 05:06:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537877200; cv=none; d=google.com; s=arc-20160816; b=R/ZWWpSHV0b820Yu0EOcdx0V/pGs3ZbpXtaghhBzMMiQ0WUMlQKgaoa14R3bKRpi4w w3m7QEVsVS+B1UMMT2sEaKlgY0fF315VLKg2azqHmhvMHMqJBHZfGAJoXMWyXnnItOeB WN9KF2sbqTEOFNEtVS0E33anO+E2xyjKPwa2PbzLc2fEAuBbxXh8vljhPYkKDzNWLZPy A+WzeC2mzw2WUbr9TloZVVRY1jnNhCRx4hNiScytiiEniBbM5ZOT1BSTEt4dNKGrI1WU istCyWl4v95YVD04tIujVUSZbIXVNjsH2XJRxxv1Gb+IMzPYBBwFoHKi3p7YgU9GoOB4 XC+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=0h5RLBO+YJvTMAvQ8tyUH5TkCQGKPlbazq5hYfuUJ6U=; b=a8KiDeEQtMXr7ALOToUejufSaJK9COfSa4jMrytsB673FuP0c25CYewE/eV5K+E6g9 5ZXVXVl4d47a4zw/yqvO0nPNQgX7J0O7EkphdyfsCwFBtfbTsPkKTJDXz2CBB2WWZUg/ B/gJaeBg0k8gRQTHm44MeYrwL4zz8dL/aK0V03uzOxaZA0CsP5mVYLNAPTJrMAALrXyo bN/klIf7HJmw6/oDd+IzPmZlzcKd5Hx5vvLCXyVfGFbXgRNvUiKg0mrAuVNluWzFQd4G zfeVb8TZnnSOrKA4tipW27m1/8xjGAUirqB6ss5yhfL0FX70R9bdzLn03pbfJbA69a5O GOAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@8bytes.org header.s=mail-1 header.b=IV86liLK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e3-v6si2312072pgh.385.2018.09.25.05.06.24; Tue, 25 Sep 2018 05:06:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@8bytes.org header.s=mail-1 header.b=IV86liLK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728955AbeIYSL6 (ORCPT + 99 others); Tue, 25 Sep 2018 14:11:58 -0400 Received: from 8bytes.org ([81.169.241.247]:35008 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726934AbeIYSL6 (ORCPT ); Tue, 25 Sep 2018 14:11:58 -0400 Received: by theia.8bytes.org (Postfix, from userid 1000) id AAB26702; Tue, 25 Sep 2018 14:04:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=8bytes.org; s=mail-1; t=1537877083; bh=04Cn/K0u9GAcRb4iu5/4a391WY+QTWd3TVYEscwLE7U=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IV86liLKBv/4vnVVkj/Ce4cexOp17fZmtI+fFWcrI7SGGH12xhOMJC1w8veUhX5U0 teBo4zB5Vmf0cUYCZ4leHdISVubuclQUf1K+u0NP2Fwn8E8ZoIuVgjWb6jn31/9vgf gA6hj+ne7OkUdT4gK8Gf2seNnbKbIaS9+OU5sENbSUt0jdVJ3FzZ79+wtV6yAPDwhy mJS+w0xAtMVfGHLCCIaAimLUSBvXp/auVN11vRlLyUBU11+RSAF/n6c2/pyp4Z3z2J Pc9UZYG5e7hcJL8q06dLsa7M5AH+wbdK4ffLr5e5X+ODjsgy0OhrEUgosDp7UPPQ4L t05uRY2z5wO/g== Date: Tue, 25 Sep 2018 14:04:42 +0200 From: Joerg Roedel To: Lianbo Jiang Cc: linux-kernel@vger.kernel.org, mingo@redhat.com, tglx@linutronix.de, hpa@zytor.com, ebiederm@xmission.com, thomas.lendacky@amd.com, dyoung@redhat.com, kexec@lists.infradead.org, iommu@lists.linux-foundation.org, bhe@redhat.com Subject: Re: [PATCH 3/4 v7] amd_iommu: remap the device table of IOMMU with the memory encryption mask for kdump Message-ID: <20180925120442.wmh6fjpdghxjyvio@8bytes.org> References: <20180907081805.368-1-lijiang@redhat.com> <20180907081805.368-4-lijiang@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180907081805.368-4-lijiang@redhat.com> User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 07, 2018 at 04:18:04PM +0800, Lianbo Jiang wrote: > In kdump kernel, it will copy the device table of IOMMU from the old device > table, which is encrypted when SME is enabled in the first kernel. So we > have to remap the old device table with the memory encryption mask. > > Signed-off-by: Lianbo Jiang Please change the subject to: iommu/amd: Remap the device table of IOMMU with the memory encryption mask for kdump With that you can add my: Acked-by: Joerg Roedel