Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp2687764ybh; Mon, 5 Aug 2019 05:15:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqzH3erb2rQnPxVQ+J1IJL2wMwCLUfZzLfnD+OgxCJe9ZDazJ5T72gqKZ+mD4qzePv9rxxs4 X-Received: by 2002:a62:15c3:: with SMTP id 186mr75361592pfv.141.1565007313661; Mon, 05 Aug 2019 05:15:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565007313; cv=none; d=google.com; s=arc-20160816; b=d/u+GgmOpm9Nrp5HorapAQp2GQaKxsMpIl33xt2yt/6DbfH2HlkC81hLx2Xr5RYeaC crfXLJDNPKoHl69T58VmJE9mE+5Uf2hWnz0cFQ+VS2Z5kkA2LGEeIjQapBA9gy+Ezupi DuXG6T0OMD4Ues5eS7DHQ/uEpRJncPLY8OqwtLHSHA9nC4aihRH+v4VJK+lgptvjWQIK nrfviJKz1nbpInjpSrufUW47SDQ/I9XWoL3wmNaCnY319EhzxxrPFtLsIUS6Dp7Datcm 3X/P/jjV1zfnA4wvkBAelYsVtW6vNvP0Zj2sC4QSKub2hcP71kUBhvLGY9laBiZx/+HG prBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=0wxhgVqa1i5HebLBuhj43emhxcpL4j6myhHfva4riI0=; b=YmbPf1i7KEe6kXdONZJrCDGAAKlt5kT9Gy1aYchWJUmSGK2H8Qp9pddQxj7+kCoXbD vNsNlrAzx43mL23XHMggr+dEaS8otj7Wf6ywNMIp6MdFAY45EeE9x9oXpnYRi6jg+u/e Fi5IBdd9VquuRISCHlEG98eB4JBGjJUJSQnGnzba0p8eTyPMfo0Z5ZpykEB4IDn/qapy 12q+XkxuByOi7cYLCzl4liyzAnC2RkpO52vyYl5ulQ9czHg7CMV+2cxg6R2cS2orpuBQ NtThMk8yFeE9EBrdnMmN3yMyR0AbOQx7ZuSm+CLdpLFnEXcxDctVx5GNXMKusXSmVdYW 66BA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=D9rI32Di; 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 a190si44570594pgc.25.2019.08.05.05.14.58; Mon, 05 Aug 2019 05:15:13 -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=pass header.i=@brainfault-org.20150623.gappssmtp.com header.s=20150623 header.b=D9rI32Di; 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 S1728698AbfHEMNm (ORCPT + 99 others); Mon, 5 Aug 2019 08:13:42 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:53071 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728455AbfHEMNl (ORCPT ); Mon, 5 Aug 2019 08:13:41 -0400 Received: by mail-wm1-f66.google.com with SMTP id s3so74481729wms.2 for ; Mon, 05 Aug 2019 05:13:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brainfault-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0wxhgVqa1i5HebLBuhj43emhxcpL4j6myhHfva4riI0=; b=D9rI32DitY/CLc62d2LYXuif0Sbwy/BVZgEu6va3gBgeD8+1ddHIfdW7ic1Zh2gEhq W44Qc3nNnlpInYGMKMRkxAcobDCOl3hPWqCvlhgC7zWJKahoO7xyygJx7raDpU3RdEHL 9vMB9ahaW6qDtb29DKRiWz5r+OL6qvF+gUoOahe7ndwA6mWCAzaAuzjivLCFSWILYRVF jvGOFLNavph0BxW02G76lSInbZ60CNfUihG89FP99cZxyY2eZNJ8132Qz2EzW3pgj9Mj esX4XUebXFy3HmJ4zOxgr5B5FJn+vD5Vv9WbihVVGNAGfERb5klJIdJL86Tfaz2mIzne Xwkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0wxhgVqa1i5HebLBuhj43emhxcpL4j6myhHfva4riI0=; b=R2R0fJ1Nj6ilzYvyPC0URYdgGMXwUqmO592+JgOJVyCDwMPb5qVeJJ5SezOsttSN41 2EZ8KHnjyjUeJB2Sgl/W71/lpAdHgC6qaAPUMCu4q/hdwAXAgVXsjv0ELitIJPGlXUXJ b9n96IiN3vaX37m2fEtPIhX+9YTE/VFqg5k6S6Wo6YcjNxrNF/C58kLsCka+GMZyIhpr 2yXcLUokWH6OdrnLYNaw9ta17pq39ofMLlknsMSx54mrB+vxgTlZYjyVcLeTenBJk7Nk N4Q9KNdpMMz4WdGISbUpG6xJmmkMTeNYIRzyeyjvbXWSUEbkLua2hjj6QbgrJeL5/dVp RN8Q== X-Gm-Message-State: APjAAAUOEeS1jMa4f6DArWimC6zMafukJ2PjqB1vgk2PO70qtGodFfhF MaedmRXwfT0wS/UfuvsR1ygcVJQhPAxG5rjyalI= X-Received: by 2002:a05:600c:254b:: with SMTP id e11mr17300244wma.171.1565007219377; Mon, 05 Aug 2019 05:13:39 -0700 (PDT) MIME-Version: 1.0 References: <20190802074620.115029-1-anup.patel@wdc.com> <20190802074620.115029-8-anup.patel@wdc.com> <09417197-36e8-718f-f106-29466ef406e3@redhat.com> In-Reply-To: <09417197-36e8-718f-f106-29466ef406e3@redhat.com> From: Anup Patel Date: Mon, 5 Aug 2019 17:43:27 +0530 Message-ID: Subject: Re: [RFC PATCH v2 07/19] RISC-V: KVM: Implement KVM_GET_ONE_REG/KVM_SET_ONE_REG ioctls To: Paolo Bonzini Cc: Christian Borntraeger , Anup Patel , Palmer Dabbelt , Paul Walmsley , Radim K , Daniel Lezcano , Thomas Gleixner , Atish Patra , Alistair Francis , Damien Le Moal , Christoph Hellwig , "kvm@vger.kernel.org" , "linux-riscv@lists.infradead.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 5, 2019 at 5:31 PM Paolo Bonzini wrote: > > On 05/08/19 13:56, Anup Patel wrote: > > We will certainly explore sync_regs interface. Reducing exits to user-space > > will definitely help. > > sync_regs does not reduce exits to userspace, it reduces ioctls from > userspace but there is a real benefit only if userspace actually makes > many syscalls for each vmexit. Thanks, got it. Regards, Anup