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=-3.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS 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 5D819C10F25 for ; Mon, 9 Mar 2020 20:48:51 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (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 2FD6424649 for ; Mon, 9 Mar 2020 20:48:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Td5WY/jx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2FD6424649 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:49598 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBPKU-0004cJ-6S for qemu-devel@archiver.kernel.org; Mon, 09 Mar 2020 16:48:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35340) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBPIy-00039Q-M7 for qemu-devel@nongnu.org; Mon, 09 Mar 2020 16:47:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jBPIx-0003Au-Ll for qemu-devel@nongnu.org; Mon, 09 Mar 2020 16:47:16 -0400 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:39324 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jBPIx-0003Ac-I2 for qemu-devel@nongnu.org; Mon, 09 Mar 2020 16:47:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583786834; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+kS1zLFSPjGuSSGnVJ7CKIyWH9v4uCgmEuqTVMWVya8=; b=Td5WY/jxiSjOlQ2qRZ0m8eWvYLn3upTWiCrNEL6MYBunxs9KMABCrNLCLGxn0N9GTNaErN DkR4/b7yq74YoeFz8zr0RwMFCdHu7VwAoIqLgZrhQ/NnnfiUV3QvdQRUgE7b1qkaqk6cXS Oy6UIasmH1R8wgrCZ6ByPldaejt9Ygw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-298-HNDgzS3tOwW7teK9pM2yow-1; Mon, 09 Mar 2020 16:47:12 -0400 X-MC-Unique: HNDgzS3tOwW7teK9pM2yow-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4319D800D4E; Mon, 9 Mar 2020 20:47:11 +0000 (UTC) Received: from localhost (ovpn-121-235.rdu2.redhat.com [10.10.121.235]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8A6CD26370; Mon, 9 Mar 2020 20:47:10 +0000 (UTC) Date: Mon, 9 Mar 2020 16:47:05 -0400 From: Eduardo Habkost To: "Dr. David Alan Gilbert (git)" Subject: Re: [PATCH] machine/memory encryption: Disable mem merge Message-ID: <20200309204705.GE1187748@habkost.net> References: <20200130175046.85850-1-dgilbert@redhat.com> MIME-Version: 1.0 In-Reply-To: <20200130175046.85850-1-dgilbert@redhat.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 205.139.110.120 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: aarcange@redhat.com, brijesh.singh@amd.com, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" On Thu, Jan 30, 2020 at 05:50:46PM +0000, Dr. David Alan Gilbert (git) wrot= e: > From: "Dr. David Alan Gilbert" >=20 > When a host is running with memory encryption, the memory isn't visible > to the host kernel; attempts to merge that memory are futile because > what it's really comparing is encrypted memory, usually encrypted > with different keys. >=20 > Automatically turn mem-merge off when memory encryption is specified. >=20 > https://bugzilla.redhat.com/show_bug.cgi?id=3D1796356 >=20 > Signed-off-by: Dr. David Alan Gilbert Queued, thanks. --=20 Eduardo