Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp338538lqr; Wed, 5 Jun 2024 07:36:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWXyxTO8oyd0QlC7gc8PVkbDsX5gzTZrr24Pwmd+7zfgJcL9ZXMVTAqBJ4oTZAq6mR8ptBU6PDpNWw1UxgOwN6it4LKkFRR0xtrJ1zHGw== X-Google-Smtp-Source: AGHT+IHn5YGaaeD0oqbsG8eHMQggM3YqeveALhXIOQCpUqtun0OFQNoNJfdXtJ5o2aLhFkq5LmNR X-Received: by 2002:a17:902:cccc:b0:1f3:33b:ff18 with SMTP id d9443c01a7336-1f6a5905e39mr30725935ad.11.1717598184756; Wed, 05 Jun 2024 07:36:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717598184; cv=pass; d=google.com; s=arc-20160816; b=OBgjsrxDiqhd4v4tolHc+rpwa4zBUTIrxDI7fWxIoyMl55X8WPa5XTQJQsOl8Ceu3u 9UpT6gqiHycWaQRfoFnDg93MjRY6OQUSBAM8fu0rc22W/VziLBaJb4KqKcrW/C1+hn6Y Nt6GLu4u38BZOqk4OmtrmtE/rbZRsGP6ttfMwi59VgH7U4YjOvf+WFgw7X/JFNvqDxBw 4yBbfq4OEUz0lJJPO7NlKmLggYaYuCLJtUuY6V1Fcq2j2lPfbcnV+AvR9xM0ayfPrRWq twvAx5oe1a9VT2To09vuw2hTkAvJS8QuJGgAueoidItKwI47mN/yAw1hnmmglo6DrVI1 PDbg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:from:subject:message-id:references:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:in-reply-to:date :dkim-signature; bh=BL138jN66e7d4oRS9LVO/0u1phYBQ+x8xQzsbL5QTlo=; fh=/WfxYkWqa+Aq/GLCpC9fF0AVs1qrkV/TmsAD98iVHpc=; b=XK6ZjBVCCIKk6Otrvgsl+VemOgHSMRMthr9Omp3SMMb4cKKiooz9jNuiOT7v2JbHHp O/bO37pVeCmDTqRtjieD0hJPhvx6ZVz/VwfygrB5qU4wQaleMbqMdO1n3VVYq5nkoQka fdzfQmXUPJ3HwTkzOycMcag7uPlzSgQt9YgR/nlm3FdwZ2QOT6HsRqhh5FDxjTGo9UQ+ tMu4Cb9Wz00smb2C3SWE5aekC/xuj+HlEA1h4h9jia/zTJOEqFynaa5rlZmRQS1fhHP7 3vk7FcuMu3wDEYLTdnIXCbbYHn4aqhIfMSt4QP/xkFTn0QXJhxfL5rT4tJzORbR02vEr A+yQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=jR5JlSHx; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-202754-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202754-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1f6a43f632bsi19954125ad.332.2024.06.05.07.36.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 07:36:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202754-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=jR5JlSHx; arc=pass (i=1 spf=pass spfdomain=flex--seanjc.bounces.google.com dkim=pass dkdomain=google.com dmarc=pass fromdomain=google.com); spf=pass (google.com: domain of linux-kernel+bounces-202754-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202754-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 52657B30881 for ; Wed, 5 Jun 2024 14:07:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 495BC1DFED; Wed, 5 Jun 2024 14:06:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="jR5JlSHx" Received: from mail-yw1-f202.google.com (mail-yw1-f202.google.com [209.85.128.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 73B7417BBF for ; Wed, 5 Jun 2024 14:06:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717596410; cv=none; b=AcSWyeZFWYqOwINTki33NTTfrU2lL/ghRO20hXbo1YdU0NrSVAXZaZcESMcDja3hH5rYP+TfDBRn8EnUA+V7aqjx+TceDUFgCMGhRlfjTjfiIcy/og3GiBPBDOqtYNbdOba3cRZNWuanxaQpaxD0h3cKfbrCD8dhDIvuWXCMdSQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717596410; c=relaxed/simple; bh=RLigTN6QlgfnN8MmaEOoLfcZ90fDVBpjgvMkiBaFCMo=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=ev/0BDtBKjYDtbPKlaTDww53TBuZwJiZXH57blAUGScsOpBqFQImfXA162vPRvizEysNR/HU1w006BzJth6KtcApAhzCjliPy9ULEwNFYG9oeDxp7TAsWCf9Nb/Lps5EgfcSFGIL9Xa45fv77bcdhh/2kwEQlD4okBxzzXeotu0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=jR5JlSHx; arc=none smtp.client-ip=209.85.128.202 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--seanjc.bounces.google.com Received: by mail-yw1-f202.google.com with SMTP id 00721157ae682-627f20cff42so114353587b3.0 for ; Wed, 05 Jun 2024 07:06:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1717596407; x=1718201207; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=BL138jN66e7d4oRS9LVO/0u1phYBQ+x8xQzsbL5QTlo=; b=jR5JlSHxwJBVnwKlYd2q3dAIa5VvoPsvGkmI7dq5336WqvGRPa64jtwoiKusLudxNJ wRo6BlVYYk/5rzubjsIrmZXk9ewEG5JJ8BCTLVgJyzNQVlxLFVx/Akc4vA8p8Scjkqje puvdvN1viiVX/5foJxJ/sxvUZJJBJfd0JjxM0U77CePNn9PXsNeYLXejZdc6FQWJXThA 84V7lPg0nLvtcwdAv7S1eSLnmZgdT+BP/cKPuKUfXA4IbPibkh+ajfitxR1t0Mk9KKBb Oty/o87QsZbZiWrjRlx/5FMzvMkOP3s1ZAOVenNUNnCYIK+pDB1DRFHCMXxiIyTPrsca Nj5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717596407; x=1718201207; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=BL138jN66e7d4oRS9LVO/0u1phYBQ+x8xQzsbL5QTlo=; b=G6hzd1bzazVnXDJsStv59DyeVw9EEOy3xkkAy+Tvs1ZOhcW2HtBnc4r2vXWyfOEJoy 7j/+CYvJhrxgCTs4IaOVVj6DdByEAH29FU2GoFS9NuAIXpYg5B9OVB+LLVf/ZGiKXgam xUMUkyAeZbswlgupdUHeSm+yY+9yYGjZX8vX/T5/roS1omkkSHVNXuRegBhEHyPOwFCW wl1mpP0cS9rYB5viHicZI6wKZL0bBY0lLHN3nUVeW/vBqQwwitx+chkVQWsjIxqLMda7 cg5SgzIe/cjKzyd8Nxc7/I6QXhqoueI6fBCLwDztie16weeIIRpe7Y964ny1AdvXSfI9 bWXA== X-Forwarded-Encrypted: i=1; AJvYcCU+/dXhbsWu+XBBh7ylb6amTSqDoXvR3IF2H+teF391BNcQyTGWFgIJxGMMDxH0lMJAzTihWmR/4j1vpTb56LQ24Fuo6Tw7w/6OhzbL X-Gm-Message-State: AOJu0YwOt2Uwroy4ZhHdL27QwyzCJb+Y/rN7cZm3ytkGJQSw3By0IbpX +x4fHSLXV0fFIbt/a8l15LPGi4c7c5qmt9iFayD0twd5WCMsCX4COg+f3kw487hc3B11Vj3/gpu ROw== X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a05:6902:2991:b0:dfa:4b20:bdaf with SMTP id 3f1490d57ef6-dfacad0f465mr254997276.13.1717596407332; Wed, 05 Jun 2024 07:06:47 -0700 (PDT) Date: Wed, 5 Jun 2024 07:06:45 -0700 In-Reply-To: <171754361450.2780320.9936421038178572773.b4-ty@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <171754361450.2780320.9936421038178572773.b4-ty@google.com> Message-ID: Subject: Re: [PATCH V5 0/4] KVM: x86: Make bus clock frequency for vAPIC timer configurable From: Sean Christopherson To: isaku.yamahata@intel.com, pbonzini@redhat.com, erdemaktas@google.com, vkuznets@redhat.com, vannapurve@google.com, jmattson@google.com, mlevitsk@redhat.com, xiaoyao.li@intel.com, chao.gao@intel.com, rick.p.edgecombe@intel.com, Reinette Chatre Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" On Tue, Jun 04, 2024, Sean Christopherson wrote: > On Thu, 25 Apr 2024 15:06:58 -0700, Reinette Chatre wrote: > > Changes from v4: > > - v4: https://lore.kernel.org/lkml/cover.1711035400.git.reinette.chatre@intel.com/ > > - Rename capability from KVM_CAP_X86_APIC_BUS_FREQUENCY to > > KVM_CAP_X86_APIC_BUS_CYCLES_NS. (Xiaoyao Li). > > - Include "Testing" section in cover letter. > > - Add Rick's Reviewed-by tags. > > - Rebased on latest of "next" branch of https://github.com/kvm-x86/linux.git > > > > [...] > > Applied the KVM changes to kvm-x86 misc (I'm feeling lucky). Please prioritize > refreshing the selftests patch, I'd like to get it applied sooner than later > for obvious reasons (I'm not feeling _that_ lucky). > > [1/4] KVM: x86: hyper-v: Calculate APIC bus frequency for Hyper-V > https://github.com/kvm-x86/linux/commit/41c7b1bb656c > [2/4] KVM: x86: Make nsec per APIC bus cycle a VM variable > https://github.com/kvm-x86/linux/commit/01de6ce03b1e > [3/4] KVM: x86: Add a capability to configure bus frequency for APIC timer > https://github.com/kvm-x86/linux/commit/937296fd3deb > [4/4] KVM: selftests: Add test for configure of x86 APIC bus frequency > (not applied) FYI, the hashes changed as I had to drop an unrelated commit. [1/3] KVM: x86: hyper-v: Calculate APIC bus frequency for Hyper-V https://github.com/kvm-x86/linux/commit/f9e1cbf1805e [2/3] KVM: x86: Make nanoseconds per APIC bus cycle a VM variable https://github.com/kvm-x86/linux/commit/b460256b162d [3/3] KVM: x86: Add a capability to configure bus frequency for APIC timer https://github.com/kvm-x86/linux/commit/6fef518594bc