From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f202.google.com (mail-pf1-f202.google.com [209.85.210.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 59EE628A3FA for ; Fri, 5 Dec 2025 18:28:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.202 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764959281; cv=none; b=aZLtSGAiiyaKc25aoTiK/xdskBHsoG9UC9CBMYq/bXd2BpLtEWk9ZvTIFB7jmuLVZzPt/VQ0CC9pqBxvWr8jV2gQvTpjS1gUpvcAG51cjkqoNZ2lP6Rcfuxj3iiLeYyh6fDttHjAlFIwkbNMy8FSGk64cv+0egK2TAJw2cNOmo0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764959281; c=relaxed/simple; bh=DnVI7DhZdcq11uuulyz1U4nW2pWbeNIWrCYrcbpan+g=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=igokKT9Ii4SZmomFATf5BoQ2uWrXqURgyUT7rU4KCdCOmvQPiioATK+EF4+3uGRpyoFYbRC1X7H7UBhPUgWsznUPdqzBP/PHt2ZKDfjwyiiUBZnVMJRx897opTsFA678agN0QaYLTSzdjO5z1/9VbodPTUsD5GUM2M5dUGg8GwA= 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=BcjtHmvr; arc=none smtp.client-ip=209.85.210.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="BcjtHmvr" Received: by mail-pf1-f202.google.com with SMTP id d2e1a72fcca58-7b895b520a2so2455080b3a.0 for ; Fri, 05 Dec 2025 10:28:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1764959279; x=1765564079; 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=7snApl4b9rZr+hFDiStuSOtel4ebSlHz2B6IoQxbkT4=; b=BcjtHmvrQosEYVxCjrSORU3ZEvxeQbr5ZsyDJ59pUPUNTdiaF+u5HRMPCX4wUzn5S3 p3wK9BJz3glIsmeLv2qrUfSL69HM3GbpPdXzb/AYzZkPzMSMCX/L1N2NPrk6Qr+sjqhY zH+BFAuLobKKxjFfEhzjtES3nefrK4J5ix2JW8yH4glGyMOJbMDCQlxnbhw+V+Gemfj7 IBrnRkdF2jgUcovhj/gLTm6WCasY098Bzl/Z8rFnmUymkyXzzLPTUXxOlnMhATz38+ns oXnqc4X+PXPZPCqoTUxGbVChLIiNyitS7AhZHnaLeQxboCjKaoP+gOtqW7siCf2Z2ogE 0Uig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764959279; x=1765564079; 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=7snApl4b9rZr+hFDiStuSOtel4ebSlHz2B6IoQxbkT4=; b=DczVIYzYYvFwLgEFa6eYr859YAyCcqiMB+6/Ccu4hxAa5dpras7TMs0aE9vDMoVIIk I61Un5yMhJEpId2bIY0Jc34PfkBBkIfwN880iiUugtfgxwq/BOgZrHjoyCwh01HiCakN FmsIBfXCtHtl01NEOh4fdvXQ9TgUdC5mlZ4rFb+Z8tlaKxH4qcCpAAnSlFQg6C4QrK8+ rU6i73170pjHvhVtue5zLKQ0wJZOuRlpZ+tlRiuvTIBoDoxHIXGVb0fjQ5kw1LStxiRP IHLqd6LYP5DBefq9jgAhFk3N+yk+O0YDOVePF19WkPz7T/2/1PGpzOl55hUewvYmkKC7 HjrQ== X-Forwarded-Encrypted: i=1; AJvYcCU5KaVw2WQt8WorspQXlTIeI5wBZZFMvOEr+1QVh3LY1hjvSFMHnFR/GulZVE3y883cXIr0klEvmaP85bM=@vger.kernel.org X-Gm-Message-State: AOJu0YxxOU+NZCecddqwE+F2sSPkcGV0QOeV9/iKQ94eW0acgUh29hHX qDIejcLycaVtLL+0gWA7LgQ0y6xb3M/u5rgDuQUvYkRpPaNICQ8fF24dXr+brX0/KPTX091/Kcu XdJw9Mg== X-Google-Smtp-Source: AGHT+IFGg9fLLRWBimoWcnU6Z3Ll6wJmyiuH3avDXa5xiHQ/2NjphiH7uOFLRwRcK2cvFBWB7ZNAmOD2o+4= X-Received: from pgbfm13.prod.google.com ([2002:a05:6a02:498d:b0:bc1:88dc:1946]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a20:729b:b0:35d:d477:a7e7 with SMTP id adf61e73a8af0-36617e6f074mr225591637.22.1764959279389; Fri, 05 Dec 2025 10:27:59 -0800 (PST) Date: Fri, 5 Dec 2025 10:27:57 -0800 In-Reply-To: <2b0de566-0602-4a9e-9c5c-b947617f684f@oracle.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20251110063212.34902-1-dongli.zhang@oracle.com> <72da0532-908b-40c2-a4e4-7ef1895547c7@oracle.com> <2b0de566-0602-4a9e-9c5c-b947617f684f@oracle.com> Message-ID: Subject: Re: [PATCH v2 1/1] KVM: VMX: configure SVI during runtime APICv activation From: Sean Christopherson To: Dongli Zhang Cc: kvm@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, chao.gao@intel.com, pbonzini@redhat.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, hpa@zytor.com, joe.jin@oracle.com, alejandro.j.jimenez@oracle.com Content-Type: text/plain; charset="us-ascii" On Fri, Dec 05, 2025, Dongli Zhang wrote: > > But they're most definitely NOT stable material. So my plan is to grab this > > and the below for 6.19, and then do the cleanup for 6.20 or later. > > > > Oh, almost forgot. We can also sink the hwapic_isr_update() call into > > kvm_apic_update_apicv() and drop kvm_apic_update_hwapic_isr() entirely, which is > > another argument for your approach. That's actually a really good fit, because > > that's where KVM parses the vISR when APICv is being _disabled_. > > > > I'll post a v3 with everything tomorrow (hopefully) after running the changes > > through more normal test flow. > > Looking forward for how it looks like. The only concern is if it is simple > enough to backport to prior older kernel version, i.e. v5.15.196. Oh, the fixes for stable/LTS are literally your patches. The other stuff is going on top; I've no intention of it being backported to 6.18, let alone 5.15 :-)