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 6144AC4332F for ; Mon, 17 Oct 2022 18:09:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230164AbiJQSI6 (ORCPT ); Mon, 17 Oct 2022 14:08:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230321AbiJQSIy (ORCPT ); Mon, 17 Oct 2022 14:08:54 -0400 Received: from mail-pj1-x102e.google.com (mail-pj1-x102e.google.com [IPv6:2607:f8b0:4864:20::102e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E438874B9A for ; Mon, 17 Oct 2022 11:08:52 -0700 (PDT) Received: by mail-pj1-x102e.google.com with SMTP id x1-20020a17090ab00100b001fda21bbc90so14989500pjq.3 for ; Mon, 17 Oct 2022 11:08:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=L9A07l58gYnh7KAA0iXhOrnBqUc773E6KyrOSccVOeI=; b=VEW8NrH9pYWqGDvIZkdrS5zE1KyrBYrxMV/OFT8xI++Zos03GTAy4kuS4+FYASo15T vM0kH4ym0hozzgAK5k3fiBmg1i7avcGAUw2qzOK2sD4Bys1dpmBa9MV9D5SmkzFHqgxr Qo/AT+amKP5u7jpv49MWo8TrOSib/79/eBpB6rxAcSr9fGeYmBsTH0dJ/TYKFuIag2Tv 73VGvVPZrNSrJgTRvomtlRITXBj/voR6b4QUthdiYg+3bejNxmdeSACLiPOFHnuYEUAB lchGF110Oo6fwO+VAqhIYulZdloa+ZKOw7IPEx7WHRSwI2ujMBy0UFAJHxjzwTsOg0rd AEbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=L9A07l58gYnh7KAA0iXhOrnBqUc773E6KyrOSccVOeI=; b=INt3IVTofC/6lkWSYwR+S0WyVcGFaz09iLZb9Uav+zn/uIemvl3xywU0edB0pVMy5h YTpY9E+vAmLEbmWAwkEGlg3/5L99fBSS5l+UN64puhUiGdpMw7vK9JfqMUYKuyNDuQTD saOEYDGt/XTHET1xxV1Kazrg21fOEQ0THH6G8uDx87lub8LOXDldtD82XN6/weH4Ov7O YxyWXWCpDQc0V00p9IueqTF/Bb4kxiWkkkm8sb7LuLm3D38Th4lV6tMt+T7JPxwA+IIf rQhQiI9/7LHG/1+3ieBvDa5EO0yfRXQ0CuO8O4S8jI4edkrH62cg+Sf6xvM5JoIxJBXm AcLg== X-Gm-Message-State: ACrzQf3zxhyw65yran+vYEDu9+KNLQYDWOEKmFwnkU7/jlZcAftlBvvf RgK/6B2cEKqMq+qDN7k4d7OUPpi8vQ3QqA== X-Google-Smtp-Source: AMsMyM5/2r1LHGQfBAhdn0WDF+kLf6ME/hYhjaFUfzyQ8DsiO0ibgWcC8AAcfRM1UTz/1uTAvXZbOQ== X-Received: by 2002:a17:902:b286:b0:17f:9db0:2334 with SMTP id u6-20020a170902b28600b0017f9db02334mr12977811plr.131.1666030132316; Mon, 17 Oct 2022 11:08:52 -0700 (PDT) Received: from google.com (7.104.168.34.bc.googleusercontent.com. [34.168.104.7]) by smtp.gmail.com with ESMTPSA id n12-20020a17090a2bcc00b00208c58d5a0esm9999071pje.40.2022.10.17.11.08.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Oct 2022 11:08:51 -0700 (PDT) Date: Mon, 17 Oct 2022 18:08:47 +0000 From: Sean Christopherson To: Vishal Annapurve Cc: x86@kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, pbonzini@redhat.com, vkuznets@redhat.com, wanpengli@tencent.com, jmattson@google.com, joro@8bytes.org, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, shuah@kernel.org, yang.zhong@intel.com, drjones@redhat.com, ricarkol@google.com, aaronlewis@google.com, wei.w.wang@intel.com, kirill.shutemov@linux.intel.com, corbet@lwn.net, hughd@google.com, jlayton@kernel.org, bfields@fieldses.org, akpm@linux-foundation.org, chao.p.peng@linux.intel.com, yu.c.zhang@linux.intel.com, jun.nakajima@intel.com, dave.hansen@intel.com, michael.roth@amd.com, qperret@google.com, steven.price@arm.com, ak@linux.intel.com, david@redhat.com, luto@kernel.org, vbabka@suse.cz, marcorr@google.com, erdemaktas@google.com, pgonda@google.com, nikunj@amd.com, diviness@google.com, maz@kernel.org, dmatlack@google.com, axelrasmussen@google.com, maciej.szmigiero@oracle.com, mizhang@google.com, bgardon@google.com Subject: Re: [RFC V3 PATCH 3/6] selftests: kvm: ucall: Allow querying ucall pool gpa Message-ID: References: <20220819174659.2427983-1-vannapurve@google.com> <20220819174659.2427983-4-vannapurve@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 17, 2022, Vishal Annapurve wrote: > This is much sleeker and will avoid hacking KVM for testing. Only > caveat here is that these tests will not be able to exercise implicit > conversion path if we go this route. Yeah, I think that's a perfectly fine tradeoff. Implicit conversion isn't strictly a UPM feature, e.g. if TDX and SNP "architecturally" disallowed implicit conversions, then KVM wouldn't need to support implicit conversions at all, i.e. that testing can be punted to SNP and/or TDX selftests.