Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1265080ybl; Thu, 22 Aug 2019 11:49:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxbgqeI5glBTueHjq92xhIVspjqKEjjDHoMGN31nwseytahv30LHmmvYq6+z7NMBT91ZvJT X-Received: by 2002:a17:902:6b4c:: with SMTP id g12mr294741plt.118.1566499774523; Thu, 22 Aug 2019 11:49:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566499774; cv=none; d=google.com; s=arc-20160816; b=jVhFTpuXEIpqG8JHDrHf1ke2XEctQ1hfPzvE2SCUvSScZ5EpwQteOWrH7O8PT8rW+g RJDwPuPKDVtNm8qiVgzAsTO0hOb/a9qS2sQVUwKvL4SlhrecQ20d7OSQ7pF0sdu/pqLA 61NS2UrHplVLBizPFHqGosrOKHn964GVH0XLShmZVD3nK7tULK9bjCznYakSLmYX40U3 KhaUuaQCR1Msdrn9d7UkbrY7bYOrXfCh4XWBOPO6QPcCeAAIFIrhDhGsSKk3asSDKvA2 kX2xZ+FHuVS4dwuUBwiFWIG9lDN8PjJ1H3+Ugfqeysx7rcrQSaFVR+41v38tCGHLH0TE jpQg== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=+PrZ+29TAwefFW+f4fRtmO2vl1bCqqLYdbUqO6DiuWE=; b=ZKwELTj4KOFyUJ0zJRN95xt5cnAH9DimgG1q0Zb0IzWe1R4jeqIGHzDQgdF9z3c/Nx SGtQN3XgHDgvttv+YzrcE5z6GpnssHJDX7JkgS8AeKO4YELDdNvF4Hw33cIOIi4XNr0y 2xQch25jYDkbzGZFBGGdr+WDU3+Z/zzmq+AmMoxapAx0kE7eTRd0n5BlBnUYac04oMRH ZryZF7CkGy3U84w3FGGzZlaO5eJ5pvRbm5q7XiL+NhZf1WEQ4uEm7Yd4ps7qsiGkkkwe Ddfdfx5uZYq50ApmBElOEyR0uH/FSCK0FUSexBEkGgVwkFFvVGlM5vmLadXXQE/Qe+ub rqlQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a63si105963pge.113.2019.08.22.11.49.18; Thu, 22 Aug 2019 11:49:34 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731780AbfHVNem (ORCPT + 99 others); Thu, 22 Aug 2019 09:34:42 -0400 Received: from mx2.suse.de ([195.135.220.15]:59826 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730621AbfHVNem (ORCPT ); Thu, 22 Aug 2019 09:34:42 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id CA486AAB2; Thu, 22 Aug 2019 13:34:40 +0000 (UTC) Date: Thu, 22 Aug 2019 15:34:40 +0200 From: Borislav Petkov To: "Singh, Brijesh" Cc: "kvm@vger.kernel.org" , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , Joerg Roedel , "Lendacky, Thomas" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v3 02/11] KVM: SVM: Add KVM_SEND_UPDATE_DATA command Message-ID: <20190822133440.GD11845@zn.tnic> References: <20190710201244.25195-1-brijesh.singh@amd.com> <20190710201244.25195-3-brijesh.singh@amd.com> <20190822120254.GC11845@zn.tnic> <9c8fd645-8908-7ece-b60d-20de6f246df8@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9c8fd645-8908-7ece-b60d-20de6f246df8@amd.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 22, 2019 at 01:27:25PM +0000, Singh, Brijesh wrote: > FW accepts the system physical address but the userspace does not know > the system physical instead it will give host virtual address and we > will find its corresponding system physical address and make a FW > call. This is a userspace interface and not the FW. That fact could be in a sentence or two as a comment above the struct definition. > Okay, I will take a look and will probably reuse your functions. thank you. Sure, and pls see if you can simplify the other command-sending functions in a similar manner. Thx. -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Mary Higgins, Sri Rasiah, HRB 21284 (AG Nürnberg)