Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp660387lqd; Wed, 24 Apr 2024 12:57:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXeiqcaS1meqIYsaoh81fhgb9/H/Ij8JZrbEgekZKF7/mTO68yCWR6YraEDqX7acj8MWEqUK+rq6jltgx4lLaNtQIoXUq19HSkchogDiA== X-Google-Smtp-Source: AGHT+IGBGmXBrdBBu8xJ/ttC5WUrPWJSc4SIHhxaxWEEvwFfS9S2Zvzqscb6oEVe6WyWAGvEqsMq X-Received: by 2002:a17:902:d4c9:b0:1e8:4063:6dfe with SMTP id o9-20020a170902d4c900b001e840636dfemr4521794plg.10.1713988676057; Wed, 24 Apr 2024 12:57:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713988676; cv=pass; d=google.com; s=arc-20160816; b=0QIwKuktoeQzKM8MWyRAMWcNJ3dX9oyE/WImmKEgeee/WIt+2dJXdFybT6gWBi7kPW yb9QAJ/yUtmkhEzzncr6Dt5K2GdG6YwwfRUAyTPb7S1nNk0JnuGqLiH/annseS0HzNvV BirINkKef8GpaZSZKWiYWaIEXbyHrkglPZys3NrzdnSzlU/qKB9zuhrzYmA+jc/ge7pq zp7464eoeRX8CGD5GN35gACdX4ID9vt18LyYqMU1hBdyutAOypH5024niJuDZ0MNsoQV FB7HYr70y4cCMdYqpzw/M9JzadK6OD/d03k4KKo6VWjv8zMwObblngfNOBwV5GPCTgo5 sSzw== 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=+FjCbTQKQdYpMLda6Jiyq7iBjTjuhXyZh4wh3ChdsfU=; fh=VfGH7y4iFCw5k78mrCgse5I7V7xYpAW7mcv8nlpdVx0=; b=lXtYudrWUwJKNU2/ImzQFkFTkYVT30F8zFpmvqWndfa/mozYHE8qkuS7LJjTLBVeIp mjaBloklyyvq50uJo298XEZUk79t+UMGBBngkhHggtQjVjKojj5eSi0xrBKBUbCQ1Aw9 Sw421+9bkNtjOcHV9k5xHdm5omri94uVbStq0faSTU4P3C/AM39JQ0S5bzLHahF6FIMD G4V8qsXFNGtdlGvS4YgLBSp3tZR25Pur+VN7JtP25u6/GRNst13OjgbB3BYUpt+STbX1 tcn+z15sHdKWV6Ge2gxPSCHFxubPvcD6Z7ibxElB2vai0c0XzxJe26UzqlJUiPDZmFST 1ykg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=xdlI8AQz; 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-157633-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157633-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k1-20020a170902760100b001ddc7f33e57si11740480pll.417.2024.04.24.12.57.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 12:57:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-157633-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=xdlI8AQz; 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-157633-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-157633-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id CAEE4287B77 for ; Wed, 24 Apr 2024 19:57:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E82E413BC3A; Wed, 24 Apr 2024 19:57:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="xdlI8AQz" Received: from mail-yb1-f202.google.com (mail-yb1-f202.google.com [209.85.219.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 D86D17443E for ; Wed, 24 Apr 2024 19:57:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713988667; cv=none; b=gcivP74/VzzDDdheCBn1QSN6VI6mGLEELf/H8ASCtrwkQz//q2hwCecCnBFC/vZyHWWhADJ1ps/Ir1FHsH+aQX7xtGY2m6eDNR6uPwQJdt3+dTg4jNBeZUV0kKWYOtUfKYRRgJ5ZCFQ7E9q6FfFppSpgjgR+N8CgrfzcNJlfpdk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713988667; c=relaxed/simple; bh=Ezf8HcOmGibT6Ls3EvM1xGDK2E4Z50zZWeh+sz0kp6A=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=rjo+a26Pl7E0kyb1U0ef0leoJnVOaFBh43WehKH+p8P2msvFCZry/DA2zUDg3gcqjlzCTWeaFiPEi2nngGIl4h+xUc4hghiWYjfGGGC2Wb6RY04qAJ2pEsIpO3O/7O30avPjWTzA6sy23y5dqj/Ju96CUzreIRr9rdBlD5DHXxA= 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=xdlI8AQz; arc=none smtp.client-ip=209.85.219.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-yb1-f202.google.com with SMTP id 3f1490d57ef6-dc6b269686aso478433276.1 for ; Wed, 24 Apr 2024 12:57:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1713988665; x=1714593465; 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=+FjCbTQKQdYpMLda6Jiyq7iBjTjuhXyZh4wh3ChdsfU=; b=xdlI8AQzarmXF9PJauLE+TL7w4k0wKS9mfgmykURAMH1UC4r4weXICM4V97W52O0sy /4bWrkS2gBeji58c/J721ZeJ4tswHyQSDJtlx8vIgtXt0ri0dJ3R6TdP1XWVF+EoEOFf 313G6j50kWugLmN6ICsPH4Qb5Ybgf4MJTXoQDeurtHZo79U0Bul8Q2exvU0p/g2iHh5z VEzykE1/4alSzVvsCxFtVeHJ4V6gsKddofdM73SqWuNiR+cSQACfwT7o8QSwnWhNVhhr CK7QjCtsXYLMwZdXEGIW0X6FGCzrDt8patxBxOPvr74HEojphv1MWJeRR+R8WaEY6+DV Hphg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713988665; x=1714593465; 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=+FjCbTQKQdYpMLda6Jiyq7iBjTjuhXyZh4wh3ChdsfU=; b=kYBAmROiqtidUA0mhVGei7FobWE07anpjKXkui3+INvvZP+PtdmEGNfWA0ThhkZxAw srOFjhXVOnR6+RLEYTVuHIfaJiKmdeoHjJp2oDORqnUYSi8xDwOJlTFazlgncsC9Q3ZB HfCsbqOx0q25pn7a3DZsc4MwJZERjuDTyRLiGg9NvtyMqiEuaHr/PI9B6U2Doabo+cxz SzRGzbLLgFsjRbGVYiuDY9wfF4dQUDv2OmOO9iOHwPfcK1MVTmnhLu++CpnYCpO1TxWH AHuT0HnSHoQ/SVdBEigkFimZmacbnEPWoHtqubwgfPQMhh2biuZL2RGd4KGuFDwkMaAW pa7A== X-Forwarded-Encrypted: i=1; AJvYcCU1emrhVJWWbz1WHdEWk1LmOET3r4V/2BILfIAUOa29MOScYtQt2KGFYwxFTfwM4p6rdvBdTutQfQnIww6hjzYNY2Qwsj7ZbN17sou8 X-Gm-Message-State: AOJu0YyVwGOC+9bvKtd4W/yzh3p1b+FW8Gc6ADnMAA0O2iovmyGMJKTm qqGJnWJtrtkzdEJBAxSKPTDzhR0nggEwdckQVHAbSLmYBcpfgl5SBna48xODr2Z8+sMZglC5Y0p YkQ== X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a25:ce81:0:b0:de5:5304:3206 with SMTP id x123-20020a25ce81000000b00de553043206mr373600ybe.11.1713988664900; Wed, 24 Apr 2024 12:57:44 -0700 (PDT) Date: Wed, 24 Apr 2024 12:57:43 -0700 In-Reply-To: <6f476d85cdb9dfdc0893e9eb762dca08f0f5f19b.camel@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <6fae9b07de98d7f56b903031be4490490042ff90.camel@intel.com> <26073e608fc450c6c0dcfe1f5cb1590f14c71e96.camel@intel.com> <6f476d85cdb9dfdc0893e9eb762dca08f0f5f19b.camel@intel.com> Message-ID: Subject: Re: [PATCH V4 0/4] KVM: x86: Make bus clock frequency for vAPIC timer configurable From: Sean Christopherson To: Rick P Edgecombe Cc: "jmattson@google.com" , Chao Gao , "vkuznets@redhat.com" , Vishal Annapurve , Xiaoyao Li , "linux-kernel@vger.kernel.org" , Vishal L Verma , Reinette Chatre , "pbonzini@redhat.com" , Erdem Aktas , Isaku Yamahata , "mlevitsk@redhat.com" , "kvm@vger.kernel.org" Content-Type: text/plain; charset="us-ascii" On Wed, Apr 24, 2024, Rick P Edgecombe wrote: > Long term though, I have been wondering about how to prevent TDX regressions > especially on the MMU pieces. It is one thing to have the TDX setups available > for maintainers, but most normal developers will likely not have access to TDX > HW for a bit. Just a problem without a solution. I wouldn't worry too much about hardware availability. As you said, it's not a problem we can really solve, and we already have to be concious of the fact that not all developers have comparable hardware. E.g. most people don't have a 4-sock, multi-hundred CPU system with TiBs of RAM. Not being able to test at all is obviously a little different, but it's not entirely new. Instead, I would encourage spending time and effort (after things have settled down patch wise) to build out selftests. I tried to run a "real" SEV-ES VM and gave up because I needed the "right" OVMF build, blah blah blah. At some point I'll probably bite the bullet and get a "full" CoCo setup working, but it's not exactly at the top of my todo list, in no small part because the triage and debug experience when things go wrong is miles and miles better in selftests.