Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1419598rdh; Fri, 27 Oct 2023 13:50:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG+n66Cu04P8F0mdJ4r+ZqG+fD+i5cYQFa27Gm5JpPWi+m/Lg7tz7xWHikzffaCZbPfBVEk X-Received: by 2002:a81:4c82:0:b0:5a7:fcad:e865 with SMTP id z124-20020a814c82000000b005a7fcade865mr11993090ywa.2.1698439823386; Fri, 27 Oct 2023 13:50:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698439823; cv=none; d=google.com; s=arc-20160816; b=LjqQUo1V2wFFl2u3PoSHGx/Pe2a91kdkVqcLaWgTo0rUhdNDOaxN6wZgzVidSk9+MY ApSaG54C52Y3TeXibqNVjH0ReQou8XoP62UjQ2h3neYfwalJIronH6btzVR3bDsGIXGS Astm5gCodUyZwLMXbfSlSwXnpoVsjUnESBmrz5v2QW3VH5PbYmHFHiPPbortG8wF2czQ 1Ty8czipQuE4nzvODTIOL5ZqThdTe6uvqq8vMEfJciyIARDk5DX+IIGYaZLUbjDTEC4J NfM/qqhFege8CXzEySc4oeCiOl9/ElkXmZjcHxz+fDP1I6+F9isavoIBaqbfem3Ies7J gRJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:message-id:references :mime-version:in-reply-to:date:reply-to:dkim-signature; bh=EEVVIsdWWT2F4uMf1c4FvIiobmGg9JUhgceROHEWR+A=; fh=dogxdQWc7Q2U5Ekp9F18wEHwMgE3kRwQ/60KgTj3654=; b=voh2PzdeafHJWVi5IZab0AXoI/78YLtqA40pCRKzml7AEp+Gx/TCwcMChEvZvhDyWB gS3C0WSL3/Ypf5voDSd7p/q1dkoOoOJ1dGtaVWaj7ZfX9cs51DN9hvI8uM0eM6YUxouw P7mmYdm5TJSV6TPbOBCIAmuz5NsQwOlw1jvkmlZsYcmoodrj3kG8mid05q1zfwCL/BaO Q97sqLZJCzkL7HXrhnVstljQIu8S2pHO5EKEi0WrRPwXkIFqd5mS7VJd5AJ0/OBKKgTi r8DTe7r7Nh6nVYeOWL4QuIY5EdbxwmBs5N/fchJZ3uZgGdzEOJ5hwQchDoXeK8e1K+vS UrDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="KM//VnsN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id d195-20020a0ddbcc000000b0058cda79ef9csi3327756ywe.106.2023.10.27.13.50.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 13:50:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b="KM//VnsN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 0A55F82EDB0C; Fri, 27 Oct 2023 13:50:22 -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 S1346605AbjJ0UuN (ORCPT + 99 others); Fri, 27 Oct 2023 16:50:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235228AbjJ0UuC (ORCPT ); Fri, 27 Oct 2023 16:50:02 -0400 Received: from mail-pl1-x64a.google.com (mail-pl1-x64a.google.com [IPv6:2607:f8b0:4864:20::64a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77EC110F5 for ; Fri, 27 Oct 2023 13:49:53 -0700 (PDT) Received: by mail-pl1-x64a.google.com with SMTP id d9443c01a7336-1cc1397321fso16511605ad.3 for ; Fri, 27 Oct 2023 13:49:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1698439790; x=1699044590; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:reply-to:from:to:cc:subject:date:message-id:reply-to; bh=EEVVIsdWWT2F4uMf1c4FvIiobmGg9JUhgceROHEWR+A=; b=KM//VnsNn9eRKvDQY5CbQMCsyot6SVvJBRSEFbCBEe3Ubg1X9gqXnF6n1n2SgLIzEj Q5l5ReWlTt3NvpdovcR9ZZ5UIXThZfSsA8EXafz31XVlD3zdAjcF7pJ9BQpJlvlikmrT 3f5GuCPfxC70ejEcl4eZF85NsjzZkqn6GttHQpxVXFE13Ic9TNSZCxV7MsXJZ8ODxoiN yG22nYcIwafWSuy9KDvEQNjvqUNHmnH5NMbQty1FyP99BZ6ND4dCSWmIzqMWLXqejKPU Rx927EwVFuNGm3FpdOnshsPFyD5hEz00lwXuYqq8ECE2jq8eP8Yr6dTIEc/YdSNacEQa HE9g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698439790; x=1699044590; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:reply-to:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EEVVIsdWWT2F4uMf1c4FvIiobmGg9JUhgceROHEWR+A=; b=fvTBCZFOJgUcH7YKQbTtE+psQUypMy6HYWCnkEpmz046KYK1i/nOVeTAnvLdbE1P+e OwtD5LzWIjDCrU7VBv3ToDfEiI6mWgOAt2l1mODJDAkWqEwOmZ+6x0vW4N2k3Y+DDG3N EjiaGDc4XDLuaRNVgxPT4mBFA2+zCNH89oyhO8evfHTwIw68rOAiZoY7CS3DiE57+L9a W7FpsPCvnf6JrVqfleyggVJ9HJ0evy1FspLr672qvDIDXbYH+0sZOtUDErgG0nJt6eOB EfseBTxqUP03WZKtXOAaKHJIUgaqUbm2KcqLbjGaRO7ufngMcVX/UDWExiSIDt/wicoC fMKQ== X-Gm-Message-State: AOJu0YwzIeEX2GDssmvK+0pCLRJ0t+vCsC9bRUNli0xqxRhzQgi8pJRp MC3nuuEw7B9AVJ2ISQbonaZQh5b66cQ= X-Received: from zagreus.c.googlers.com ([fda3:e722:ac3:cc00:7f:e700:c0a8:5c37]) (user=seanjc job=sendgmr) by 2002:a17:902:a411:b0:1c9:c879:ee82 with SMTP id p17-20020a170902a41100b001c9c879ee82mr61492plq.11.1698439790722; Fri, 27 Oct 2023 13:49:50 -0700 (PDT) Reply-To: Sean Christopherson Date: Fri, 27 Oct 2023 13:49:31 -0700 In-Reply-To: <20231027204933.3651381-1-seanjc@google.com> Mime-Version: 1.0 References: <20231027204933.3651381-1-seanjc@google.com> X-Mailer: git-send-email 2.42.0.820.g83a721a137-goog Message-ID: <20231027204933.3651381-8-seanjc@google.com> Subject: [GIT PULL] KVM: x86: Xen changes for 6.7 From: Sean Christopherson To: Paolo Bonzini Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Sean Christopherson Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-9.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable 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]); Fri, 27 Oct 2023 13:50:22 -0700 (PDT) Read the tag, I couldn't figure out how to summarize this one without simply regurgitating the tag :-) The following changes since commit 5804c19b80bf625c6a9925317f845e497434d6d3: 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) ---------------------------------------------------------------- KVM x86 Xen changes for 6.7: - Omit "struct kvm_vcpu_xen" entirely when CONFIG_KVM_XEN=n. - Use the fast path directly from the timer callback when delivering Xen timer events. Avoid the problematic races with using the fast path by ensuring the hrtimer isn't running when (re)starting the timer or saving the timer information (for userspace). - Follow the lead of upstream Xen and ignore the VCPU_SSHOTTMR_future flag. ---------------------------------------------------------------- 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_XEN=n 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(-)