From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B299FC433F5 for ; Thu, 9 Dec 2021 15:50:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240504AbhLIPxo (ORCPT ); Thu, 9 Dec 2021 10:53:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240533AbhLIPxn (ORCPT ); Thu, 9 Dec 2021 10:53:43 -0500 Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8743FC061D5E for ; Thu, 9 Dec 2021 07:50:08 -0800 (PST) Received: by mail-pf1-x432.google.com with SMTP id u80so5761455pfc.9 for ; Thu, 09 Dec 2021 07:50:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=opll92z9ujZP79gGmlECeOewebbDh/wvZxPmkdeuXT4=; b=rheB96QWK2vg5pjLH0AnVJ3LgtUJc4iwNoQLktg4zUxCIt5jeSPLni54FphDF1KABr bJjtQhqgF0II+TNOqGeH0XWP6ddvYPjg+yBrMdTzeYCgnYmuZLv68eNhq/LJE+uM9TB9 Z2Ix8Qyj9auuVsD8bCkvNkUS9Db5NPL3Eo4M8yzYEkXTSbMTrTwv5MXPwZMXqTBrdIWy dKaIC4vrqwtNTM5l3F3wvqv2b0Ap+gzTS+RIEFWOZrqxpX4+kC94RvxzTa3RM613sTaU hqjqLryWQceVqoe+bgonj/NTIrselTLgJQ2HQm4dEiz26qYf981kN3/PL0BYhx5i3WEE aV9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=opll92z9ujZP79gGmlECeOewebbDh/wvZxPmkdeuXT4=; b=dBmUkR7kTqo4g10EvS4A1cW1P71/wPX+sVx28D3HPfgKob4kVPoPIoSbQFokJ7qpEv SeGVo1jxYf3o3ZWpwuMW2g5Sid06OyQrv4ID6j8n7QyIufIQ79/C1wU2APqbUJd/lPFv QkxHTJUs7BnU8FSw+kqmJU70ZSPEosNKXqw/IKKqqsA/iS1GTMs/DwxP04XJVgTQBp90 lJq2oX4u68WX2RhJTmBBJJnlg6Bsu8GHkXecJgB+LMHkuhsMVQudcBb0vOTLarCUJUlv /dpKf2ZO807R5ObcmHCgrOdP8sYbHnEmJBewq8sgu0hNYgK6iTD/4wrivgzwJhnVtZmx Db4w== X-Gm-Message-State: AOAM53142947wNkSPWeFrV8vwR+08Fce1zrJrahSM6/Px18ybXe7yYma KphMkRdTSIwcQfPXqdLMZtpYqA== X-Google-Smtp-Source: ABdhPJyeqnC/JhNrKE1UZQ5/PYeMe6yyTckxBZB2WNiBS+sShVoLVkpS1ylEYqibl6fhruQB3eltkA== X-Received: by 2002:a65:6251:: with SMTP id q17mr36669117pgv.403.1639065007856; Thu, 09 Dec 2021 07:50:07 -0800 (PST) Received: from google.com (157.214.185.35.bc.googleusercontent.com. [35.185.214.157]) by smtp.gmail.com with ESMTPSA id e14sm148295pfv.18.2021.12.09.07.50.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Dec 2021 07:50:07 -0800 (PST) Date: Thu, 9 Dec 2021 15:50:03 +0000 From: Sean Christopherson To: Paolo Bonzini Cc: Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] KVM: x86: Rep string I/O WARN removal and test Message-ID: References: <20211025201311.1881846-1-seanjc@google.com> <57c83b62-675f-d368-e09f-7f97d3a7e3fb@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57c83b62-675f-d368-e09f-7f97d3a7e3fb@redhat.com> Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Thu, Dec 09, 2021, Paolo Bonzini wrote: > On 12/9/21 06:48, Sean Christopherson wrote: > > On Mon, Oct 25, 2021, Sean Christopherson wrote: > > > Remove a WARN that was added as part of the recent I/O overhaul to play > > > nice with SEV-ES string I/O. > > > > > > For the record, my FIXME in lieu of a WARN was deliberate, as I suspected > > > userspace could trigger a WARN ;-) > > > > > > Based on kvm/master, commit 95e16b4792b0 ("KVM: SEV-ES: go over the > > > sev_pio_data buffer in multiple passes if needed"). > > > > > > Sean Christopherson (2): > > > KVM: x86: Don't WARN if userspace mucks with RCX during string I/O > > > exit > > > KVM: selftests: Add test to verify KVM doesn't explode on "bad" I/O > > > > > > arch/x86/kvm/x86.c | 9 +- > > > tools/testing/selftests/kvm/.gitignore | 1 + > > > tools/testing/selftests/kvm/Makefile | 1 + > > > .../selftests/kvm/x86_64/userspace_io_test.c | 114 ++++++++++++++++++ > > > 4 files changed, 123 insertions(+), 2 deletions(-) > > > create mode 100644 tools/testing/selftests/kvm/x86_64/userspace_io_test.c > > > > Ping. I completely forgot about this too, until I unintentionally ran a > > userspace_io_test that was lying around. > > > > Queued now, thanks. I don't know if I want the honor of having KVM singled > out again on the -rc release message, but these are bugs nevertheless... Heh, you could always wait an -rc to send the fixes and hope Linus has a short memory :-D