From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f202.google.com (mail-pl1-f202.google.com [209.85.214.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 0C93D2101A7 for ; Fri, 2 Aug 2024 14:55:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722610521; cv=none; b=lX3kjc9SPFeDrWk+ZXeSW0dP6UShmrpWvKnF/Haglct3nAfnioON7BaBqOmjjsXrdaAXMQLKOm/cqkuiNYQcPlJcLADutrrW+7PLUMtXHsF2VqLn8dFa/Y4dioWQa9j2p0fJU/TMWhZuwHMg6nJd//oLafrtwY5KDuUq8bi+g28= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722610521; c=relaxed/simple; bh=sIShp8PygITE34fsiiaEoyWsB81wo/QAF8+dAxPe14o=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=AJhczeSI+qxzeGb02rjfvCuuLGmwrsV+xNqAReFXxonqmkfSx6eYgSWPk67waNm5Kw8lKWVo/NnUH4vHBUxZ6YeRMTYCdhT5TLhPOeKWAW9PF7giC9KqWbfpk9/doJcAQ1w6QXqh1fuAbNWHTEvee/zNO+7i4Qw1XHoxBHLMTE0= 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=GU/nwbpI; arc=none smtp.client-ip=209.85.214.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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="GU/nwbpI" Received: by mail-pl1-f202.google.com with SMTP id d9443c01a7336-1fc6db23c74so82639465ad.0 for ; Fri, 02 Aug 2024 07:55:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1722610519; x=1723215319; 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=k+EldIAhaXOwZDf7ZBJIgAZ18Tox4DVTl3CjOfhylXA=; b=GU/nwbpIgiPDQEkalaSYlSdVPA+ZpobhY3uLDVUw7axazg66zLw5yRQKAGkePQz6Un 6JNP/BvJz4FF9PH0SnuQ2qBsHVRE18tfwk0Loq6pkKLQKVU9pOcc1vUN/Z1+2KqtbPCX LWkFx94ZHojsQdICGWaWfO7SthC9T9oU4TRgnKdzqrNAhwkwXlSRXHXpfrWnwsxL0bNZ qU9q251+6vASx13p7I2qH55A6XHnJUEkkzWmzlRYaD/JjNHvEvxb3br640wV11hbKECx 1If2IFtgmTDz3IV9d2bVkRDXLcpMTq9FuyWMFuDaUKxm0SO29AxoC0gm4TkXoWGwIWm0 b+hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722610519; x=1723215319; 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=k+EldIAhaXOwZDf7ZBJIgAZ18Tox4DVTl3CjOfhylXA=; b=wT21tk+50z9T377wFlXmSnEGjuZM5Y+0qH2Uq4HMNvs2CzCrnS6A09csSlF+D/4Qxl HXT9oDB87rVx+xcyqbduAKT/3QN3JclZeRbrNnSQauFXXu4EYQ1d7bENVXm+3aXL9pO8 OIw7PxLOF60d4z1/aKQSD0ZoMUg7Bxgh9YU68rQx7w/SmGbfR0BR/bxRb1v1WXDn+g3H Tju1H1cZjpFkRGI5uLtxpFX1qU9iuIPg/AT7wfGXad/4NCjBsBWVN7ZMPuXn+uxH+04R 5bLRNHbYraVIaEaOKfKIQ1Cz7/MGaCKArInyGxvxlwItrX4eopOxXHz4aqdudmTQUhwF fM9g== X-Forwarded-Encrypted: i=1; AJvYcCVlgCQUKx5NFqY/PIDB2qxgrTdmNlEamF9txk3/8TaPCLOfJ2Eag9tR+ozuRcYoi9l3AlZ8gZ//S+KtY0/3EmgFQ9yjA7TDW02vubuu X-Gm-Message-State: AOJu0YzIIgz6YjCiIExObED2R4yaGxo25KVlvP9+1R1yUmMtBqxGi/1L CrVBv4AuuyH0I4sC3twQoPL63hzs7VaPhmNme98yu/fyNNd7nqFDzZx5dZWynxV14lhjUV63Rqo wjA== X-Google-Smtp-Source: AGHT+IGDrBHggFrxqDLcgkFZ6IvfF7sYOmSA66OWPSAnanySGoaTtmAM8Sq2VGr1qCWq8rCIKRKN7O0JKj0= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a17:903:1ce:b0:1fa:d491:a4a0 with SMTP id d9443c01a7336-1ff57291ca7mr3689455ad.2.1722610519056; Fri, 02 Aug 2024 07:55:19 -0700 (PDT) Date: Fri, 2 Aug 2024 07:55:17 -0700 In-Reply-To: <30eb7680b3c7ae5370dfbf7510e664181f38b80e.camel@infradead.org> Precedence: bulk X-Mailing-List: linux-hyperv@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <1675732476-14401-1-git-send-email-lirongqing@baidu.com> <87ttg42uju.ffs@tglx> <87o76c2hw2.ffs@tglx> <30eb7680b3c7ae5370dfbf7510e664181f38b80e.camel@infradead.org> Message-ID: Subject: Re: [PATCH] clockevents/drivers/i8253: Do not zero timer counter in shutdown From: Sean Christopherson To: David Woodhouse Cc: Thomas Gleixner , Michael Kelley , "lirongqing@baidu.com" , "kys@microsoft.com" , "haiyangz@microsoft.com" , "wei.liu@kernel.org" , "decui@microsoft.com" , "mingo@redhat.com" , "bp@alien8.de" , "dave.hansen@linux.intel.com" , "x86@kernel.org" , "linux-hyperv@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="us-ascii" On Fri, Aug 02, 2024, David Woodhouse wrote: > On Thu, 2024-08-01 at 20:54 +0200, Thomas Gleixner wrote: > > On Thu, Aug 01 2024 at 16:14, Michael Kelley wrote: > > > I don't have a convenient way to test my sequence on KVM. > > > > But still fails in KVM > > By KVM you mean the in-kernel one that we want to kill because everyone > should be using userspace IRQ chips these days? What exactly do you want to kill? In-kernel local APIC obviously needs to stay for APICv/AVIC. And IMO, encouraging userspace I/O APIC emulation is a net negative for KVM and the community as a whole, as the number of VMMs in use these days results in a decent amount of duplicated work in userspace VMMs, especially when accounting for hardware and software quirks.