Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp280454rdb; Tue, 31 Oct 2023 07:23:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGvERKjLXiKcIPhcbK1fYWpVVkt9lixcQ+vTal0RC88lrOEjiEA3B98q7oL7nuaV3hJ239P X-Received: by 2002:a17:902:ecc6:b0:1cc:4a66:7d83 with SMTP id a6-20020a170902ecc600b001cc4a667d83mr6636144plh.2.1698762196731; Tue, 31 Oct 2023 07:23:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698762196; cv=none; d=google.com; s=arc-20160816; b=tPXcokhWDPxIHvPTNSC6tXrShAFDb8WOH4jPbVztsL3+F5QgLIqJckh0L5D7oQX1xj EBT8zsOgrmeY2JgdcAk2GGC242Pkk67VXX5/2+CgcUDnLMPK0o1MQ1Z4knpX9Gy/Ey8I yeA4nWg+BApWrgAovCOJUt+Wq73v7un0tnbWVmX3eWoCa9e0DZRqa1qNYUVpbnzepI7k kxeB6RWA8pwazM5BVCiJUE7hzw62aOVTnbErL6oVGafp93j/eMgxjV5XzxA/vKT5BtFg 9h1v5Zq6qgds33HVXUW8YHHkjvLjSw+mLmY1U8UJuIkaY5BR9lB0/Gs9c/AJBVGhIKaR 1W5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=xTQ9peqnSDJoBFuGuy2zfzNkYJ1d26aC7/ftaOk3pZs=; fh=qaYm4b6GKYlZ0T3gtLZ7fjEfCEC8jMv5XzYe6fOhw1Y=; b=f+LZqR1THUOSxzMIGTBz6EwQpeG9RFnYQPDhr9QXG1hyMsIgqyDb221hlEeDVvj3Cp QsA4pawB5anLq2m3g6fwZZuWlpwm2UgJHLxjYmxcexaRwTgMJz3dbm6CBkD5eZkcH6Ml cEX3nbBvRIbdzyn+OysB+LPoEHFNT9CEWG2PRZkIsKVTpxvaCLr1Y7jj3rwlg1d53GYf oUoEwxRED9SlPqP6RHNs2wkGozRzI5BwUYW6UbglB4BxXxSfye55RKXgvjPiPQf2f2lW u6ahId6e/T1owtt+tIv3cM50+ofK3SJSk/4ZIY97DTYmLL8ACkCQbeHIU2gu8VCZYwb4 8cGQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YSaCKtM1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id c6-20020a170902d48600b001cc50f67fd9si1106287plg.511.2023.10.31.07.23.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 07:23:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YSaCKtM1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7D918801D661; Tue, 31 Oct 2023 07:23:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343920AbjJaOXN (ORCPT + 99 others); Tue, 31 Oct 2023 10:23:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232389AbjJaOXM (ORCPT ); Tue, 31 Oct 2023 10:23:12 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 047D3BD for ; Tue, 31 Oct 2023 07:22:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1698762145; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xTQ9peqnSDJoBFuGuy2zfzNkYJ1d26aC7/ftaOk3pZs=; b=YSaCKtM1W4teK2AXT16AcJ0/tXumWTVfPHZTLrhhxsC75h2XqEP4+Xzy79EWSW0nWdoW+H nswl9DWXZzQ+M52eE9GYFAq5hygwenOXkXQtoPfqacSN2jBHwJHqS1WQTavBBLP3UHLYBW c9bCx2xpATi7DfbgF901eDW/pLA8Hec= Received: from mail-vs1-f71.google.com (mail-vs1-f71.google.com [209.85.217.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-624-W1F7JidbMIOrSpXk7Kafmw-1; Tue, 31 Oct 2023 10:22:12 -0400 X-MC-Unique: W1F7JidbMIOrSpXk7Kafmw-1 Received: by mail-vs1-f71.google.com with SMTP id ada2fe7eead31-457cd8cf484so2156988137.3 for ; Tue, 31 Oct 2023 07:22:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698762132; x=1699366932; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xTQ9peqnSDJoBFuGuy2zfzNkYJ1d26aC7/ftaOk3pZs=; b=gHi1nKGpN1bJPe6qbf7hIS7FRG57d8/I1IJrHxSPhZYwCWkcD/hOgbDnzNRExpHlDi ranwukRx6TaGdOEGPk4D1tlWphUhYe4Si+r5T1JbI4l6ZZCt9go4or0Rrh0pKMxCo0Um Osq67Z3WqSJBi6irRQCQQmZwF94hQ3JBswf2KeT52Kj5Ik32kjjzHjT+CoNyeehvTgXi FDW2egMEi1K7KRyGgWCcLo5fV0/pTLRlGAYRXShx2Dc2wtXelLDziVMlEUylIxsdQczN l11fCYCTMx3qYgm84lHKP36BLpfcgopGvWVeHt3cLso1S7k2/DiNqxhytK9VCtnzradY LAVQ== X-Gm-Message-State: AOJu0YxsD0u9o9fB6OYhmxJynkjcSSxXyIL5tRs1IdM3QSYIsuKsr3Dv WS0yvPelJVuLOOjoyjVw7tIvBQEVBBDWOilHACjnpMDpNe4FkWGYmurAFzH+I5p9/Wv5zl/79On BTyemImocT87nSM2cpds2RPklIAjho7O962dsEvpD X-Received: by 2002:a67:e08b:0:b0:457:bbd5:23fd with SMTP id f11-20020a67e08b000000b00457bbd523fdmr11490500vsl.9.1698762132335; Tue, 31 Oct 2023 07:22:12 -0700 (PDT) X-Received: by 2002:a67:e08b:0:b0:457:bbd5:23fd with SMTP id f11-20020a67e08b000000b00457bbd523fdmr11490495vsl.9.1698762132102; Tue, 31 Oct 2023 07:22:12 -0700 (PDT) MIME-Version: 1.0 References: <20231027204933.3651381-1-seanjc@google.com> <20231027204933.3651381-8-seanjc@google.com> In-Reply-To: <20231027204933.3651381-8-seanjc@google.com> From: Paolo Bonzini Date: Tue, 31 Oct 2023 15:22:00 +0100 Message-ID: Subject: Re: [GIT PULL] KVM: x86: Xen changes for 6.7 To: Sean Christopherson Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, RCVD_IN_SORBS_WEB,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 31 Oct 2023 07:23:15 -0700 (PDT) On Fri, Oct 27, 2023 at 10:49=E2=80=AFPM Sean Christopherson wrote: > > Read the tag, I couldn't figure out how to summarize this one without sim= ply > regurgitating the tag :-) > > The following changes since commit 5804c19b80bf625c6a9925317f845e497434d6= d3: > > Merge tag 'kvm-riscv-fixes-6.6-1' of https://github.com/kvm-riscv/linux= into HEAD (2023-09-23 05:35:55 -0400) > > are available in the Git repository at: > > https://github.com/kvm-x86/linux.git tags/kvm-x86-xen-6.7 > > for you to fetch changes up to 409f2e92a27a210fc768c5569851b4a419e6a232: > > KVM: x86/xen: ignore the VCPU_SSHOTTMR_future flag (2023-10-04 15:22:58= -0700) Pulled, thanks. Paolo > > ---------------------------------------------------------------- > KVM x86 Xen changes for 6.7: > > - Omit "struct kvm_vcpu_xen" entirely when CONFIG_KVM_XEN=3Dn. > > - Use the fast path directly from the timer callback when delivering Xen= timer > events. Avoid the problematic races with using the fast path by ensur= ing > the hrtimer isn't running when (re)starting the timer or saving the ti= mer > information (for userspace). > > - Follow the lead of upstream Xen and ignore the VCPU_SSHOTTMR_future fl= ag. > > ---------------------------------------------------------------- > David Woodhouse (1): > KVM: x86/xen: Use fast path for Xen timer delivery > > Paul Durrant (1): > KVM: x86/xen: ignore the VCPU_SSHOTTMR_future flag > > Peng Hao (1): > KVM: X86: Reduce size of kvm_vcpu_arch structure when CONFIG_KVM_XE= N=3Dn > > arch/x86/include/asm/kvm_host.h | 5 +++- > arch/x86/kvm/cpuid.c | 2 ++ > arch/x86/kvm/x86.c | 2 ++ > arch/x86/kvm/xen.c | 55 +++++++++++++++++++++++++++++++++++= ++---- > 4 files changed, 58 insertions(+), 6 deletions(-) >