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 45643C433EF for ; Fri, 18 Feb 2022 15:45:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237147AbiBRPpP (ORCPT ); Fri, 18 Feb 2022 10:45:15 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:44976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237144AbiBRPpN (ORCPT ); Fri, 18 Feb 2022 10:45:13 -0500 Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com [IPv6:2607:f8b0:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AE0A25B6FC for ; Fri, 18 Feb 2022 07:44:57 -0800 (PST) Received: by mail-pg1-x52e.google.com with SMTP id 12so4650947pgd.0 for ; Fri, 18 Feb 2022 07:44:57 -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=WW1+9zlpyrV60I92VVXb9m5yf74JuacJkWT5mx40gBM=; b=CHWiCXwwPvKo9/bgi4ri6u/BwPAT5eVvnPTUZhRwp7vIPLf8wQPBieipeC1uSokNha bv+JG1huaegKmj2UbZWmi88/pCeC2lLsvGeZtqkMNKmenZQmyOjukqkssQyy/fX7zM0V NBiLli6Mig1KBvYCrVf45gvTZ5coPP1zpD4itua/4N8CK1giSizWCpDTsxEPzG0OdWYQ kriX0pmD4maVL0mm46MlcLqBmpLvND7YNu373e+9Tvg54nP8BsblrFgQ3a8gQPaZuac5 X0/CJu6KUPWvw0zbGREWYZngSj0HOZk1MtYrfVrCwrohHO3alpD8t7gk1XqJuMpPWdVs KNhg== 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=WW1+9zlpyrV60I92VVXb9m5yf74JuacJkWT5mx40gBM=; b=ViB73B0kppA05/gLFvV/iAPKwOmovQtvSNfpLy1YOhYR2C0DpjByD/GAqo6i4m3DrO 853eGtDqua5aftNEfwD1FM8nNLI0ACKnSJ635rOQnFotnXxMU3jxhcjOj1+cb+bgFanQ p6499ClhHx8jy4e/tqcWoMHiu6OMw8WhHky0ee5PZg0C95lqGeVFw/t6xVWtzReOihGI IjHkRuGIx8wuwp4d2exzXnpu0j/FWLdad4q28MMjuic+XWB4GQ7cO2YC/zfMdoMC1jYY wOSKTel0eICazFN2JQ/BROWOqdr8EDMN3UuLI2vEUIVzaOw7gNvP+ZqMXAqibKYLe/EB ihTw== X-Gm-Message-State: AOAM5335747Md6hzsKBxNdmaBjUJQKy0MzdrkLHeBmgGPUsJHvrYrIZj HjiAfixaPahh6SGeWbrrCq9DZQ== X-Google-Smtp-Source: ABdhPJz9uQx/hS2fxrIv0RK1Gx3Q5+yEY15wQk9lfou5+Sa5RxMM++1F+vDNJ2nbbIdnLWdYYFGvwA== X-Received: by 2002:a05:6a00:8c5:b0:4c7:f9a5:ebc6 with SMTP id s5-20020a056a0008c500b004c7f9a5ebc6mr8503794pfu.34.1645199096658; Fri, 18 Feb 2022 07:44:56 -0800 (PST) Received: from google.com (157.214.185.35.bc.googleusercontent.com. [35.185.214.157]) by smtp.gmail.com with ESMTPSA id m25sm11951828pgv.4.2022.02.18.07.44.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Feb 2022 07:44:55 -0800 (PST) Date: Fri, 18 Feb 2022 15:44:52 +0000 From: Sean Christopherson To: Paolo Bonzini Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org Subject: Re: [PATCH v3 1/6] KVM: x86: return 1 unconditionally for availability of KVM_CAP_VAPIC Message-ID: References: <20220217180831.288210-1-pbonzini@redhat.com> <20220217180831.288210-2-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220217180831.288210-2-pbonzini@redhat.com> Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org On Thu, Feb 17, 2022, Paolo Bonzini wrote: > The two ioctl used to implement userspace-accelerated TPR, Hmm, are ioctl like LEGO? > KVM_TPR_ACCESS_REPORTING and KVM_SET_VAPIC_ADDR, are available > even if hardware-accelerated TPR can be used. So there is > no reason not to report KVM_CAP_VAPIC. > > Signed-off-by: Paolo Bonzini > --- Reviewed-by: Sean Christopherson