Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp40752pxx; Wed, 28 Oct 2020 17:31:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxoiik11XsY35ojyVoaLPR66rZVz+AmN/xJ9iBEvzz17v0BXwftY/Ylfztg+yfuc0gZatGY X-Received: by 2002:a17:906:8385:: with SMTP id p5mr1594566ejx.538.1603931500148; Wed, 28 Oct 2020 17:31:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603931500; cv=none; d=google.com; s=arc-20160816; b=Sn9MdgIL4ARc6TvswgTj9cn9tXDd4O+kBrawnUpH/IpbExHGroYU94hSVG5cg8ujGL Qf5DTiuy+8bu6R0gHpIYIYkir/o37fIJtT+ungfmUp+Hh3lrJrZqNAz4xGx0ptIbzamf vQedxD5uo2UWoq33FduBCTWwPLKKpNQ5Wya+wmL1S5gXp54VErfMWoFvDSklAl/PGTVp +WYp2w8AyQ9CQj+FbNf8rXdSUqdIPkBb/FlQoPyd3Db6Qj9ZlU3WxAhqQnI9BGAamptr 7JFGjMr5PqTdXcpb+ogO0gH64vpTqu9honKbHb6iGnKIpxAQv+BbfC2qG7S6HBriz907 VPUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=8CKd37u/v45qthbIQ/LPMEnNcfPP+1b1Sy8r+Z57HSY=; b=paTlvHqCKcGcf9/89GxyNkyS+o5MmkCYMcX19FxJYbpIdcg6odIts0BzFpa7XfJK+N RZEV1UTcaNy8xqjCy+3DdIBQzOjxl8afFkQ3nhvDjM3lu5DG22QcO+aH1Qv36z91FkU1 Cq8xYURFAggJy1JmhUxUT3MUDy86+e/yqgHliejimuTag2lOAUAEfVd2ERKS7LD/JcDf +WsnlQvXfb9lENz03O7kQlUt2LSrS1JRvbKxWwvTRODaeSWS/jk2y/rkk+16M3Tx8zpo O4tipe5iDtsYC5Bhg3vWJJtxJHSkvQV08nrIpmVGHo0a9YE8L0FIE9q2ISfnx9i3asSm CYvA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f4si891922edn.495.2020.10.28.17.31.18; Wed, 28 Oct 2020 17:31:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728595AbgJ1Vxv (ORCPT + 99 others); Wed, 28 Oct 2020 17:53:51 -0400 Received: from mx2.suse.de ([195.135.220.15]:43394 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727827AbgJ1Vxm (ORCPT ); Wed, 28 Oct 2020 17:53:42 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 12B82ACB5; Wed, 28 Oct 2020 09:49:54 +0000 (UTC) Date: Wed, 28 Oct 2020 10:49:52 +0100 From: Joerg Roedel To: Erdem Aktas Cc: linux-kernel@vger.kernel.org, "Lendacky, Thomas" , linux-tip-commits@vger.kernel.org, Borislav Petkov , x86 Subject: Re: [tip: x86/seves] x86/kvm: Add KVM-specific VMMCALL handling under SEV-ES Message-ID: <20201028094952.GI22179@suse.de> References: <20200907131613.12703-64-joro@8bytes.org> <159972972598.20229.12880317872521101289.tip-bot2@tip-bot2> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 27, 2020 at 04:14:15PM -0700, Erdem Aktas wrote: > It seems to me that the kvm_sev_es_hcall_prepare is leaking more > information than it is needed. Is this an expected behavior? What exactly is leaked? The kvm hypercall uses RAX, RBX, RCX, RDX and RSI for parameters. Regards, Joerg