From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f201.google.com (mail-pl1-f201.google.com [209.85.214.201]) (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 9BA742652A4 for ; Fri, 23 Jan 2026 19:55:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769198139; cv=none; b=d6rH1DunycjZOy4JPzVBDSZWyNWQ4S5/JdjuBRY73x0TOo7E6Jr636CBkW18mz1AiP3MjrbpVLlnDrR54KEizupbdTRX7s1tDYk3gOIOezx8T0lSidqcA8LV/WDpY3U1K9SamAm1k9U5i/UJ7kryO06Rmp9RKrx33FndKP3NHbI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769198139; c=relaxed/simple; bh=/iHTAtlUfKZ7bjqT/eoeDMP7AxJkXO/6TW0k6Ct13JI=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=XNzwUlmM9SZKTt6a5TsusVh50jxOcCPQDDBkaTHsWvKQ3P7xveeQUix8IbJX8ZGz/HqRtX9PX5FJPOf1VOIpdHpgijRiZJar4AIV6p56B3O7rTtShr/P+W/4Eg75oqdm+5f9hXuq/tl4qxY62dq8a8b0SM4+DhDheP24tqY6kkw= 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=x8zUkbQU; arc=none smtp.client-ip=209.85.214.201 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="x8zUkbQU" Received: by mail-pl1-f201.google.com with SMTP id d9443c01a7336-2a0e952f153so34865735ad.0 for ; Fri, 23 Jan 2026 11:55:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1769198138; x=1769802938; 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=7oUCISiugP7Y041nkb2bRCMgZt2WzvvJ4k3wS41Ljo0=; b=x8zUkbQUGNzNsJOtHO1xpqpavY+3dAG4J5+TTIruxiJdwDVbhYNNiDeBcUzeLIhmPa RdRZ9ATMqazA1CwK2kW1piMDZ12WJJk4LY0TFAsX0uTd4oevX2slivntYX4ss5ZsfVti ZgYZQZke4A9Bhb4Qsayigf7cKRJf0aA/myK1ooqmkL7o6nPHFx9uDROddDzQ47uWVKUy 89RgDVMbZf+5MVWKAX+llAFAiitB4eH839JXyDS9OiZLAD2nl21expWJhzNPkrLnfUCh NyyiXD1pJua5TYkfzO0U2POinib1EZCmm8aj9uOkSth1ndtn560dVI88dt6cB3Mkd2FD ZcUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769198138; x=1769802938; 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=7oUCISiugP7Y041nkb2bRCMgZt2WzvvJ4k3wS41Ljo0=; b=axaHN6aXTnpFOXdO4CbszdQvjP5XFVTaWkLjh2VvM3KzcZKbPyj1SD0N5996mWw8pK pBF+X2j928CMbJXje5bi86En63AfpxQRghmoYMEVdDvBD3FzfRz0SzzOxneJCf+xylgz Ip20KgWDWsieFovS0sYnV1USkVf3IvIFcVyu1pQZEbr9eliQzTnAbDjlyOecZamqz7uL txGGqNmF9Uy9Xhaf62wgnAuSwRoeSCraFZltXfUN2NMZtJXw3tyrjQeVfPU7Fcy1La6Y HSv9ag6rugd4cjKZKnDh93C4C2STKPHAXIEbCr0lK4WOgrs0iv6ApRg+Kkv4rFHfOkdl xH/g== X-Forwarded-Encrypted: i=1; AJvYcCVShoCEXtz3SbKnqe2Z9h0sy8sVO4QP/iAJR0hWVYtT4IYMcGGY5w0L79xCms3uEy2ujN0fi0VZf2qof7Q=@vger.kernel.org X-Gm-Message-State: AOJu0Yw0IL5G6wf5/D2BYyk9B4q8WsHC/QVtsgSh4HiudLjuz/P9COCU AZtq+9cEECGCzMyJZ+xH35l0Zsta8k125AAl3eyex224K/wbfKj6mdHVXaUTFdbQp3d+Pd5zzT4 kJYEvCA== X-Received: from pge4.prod.google.com ([2002:a05:6a02:2d04:b0:c0e:c1b4:51a5]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a05:6a20:7484:b0:364:144a:d21c with SMTP id adf61e73a8af0-38e6f70c5d7mr4592927637.26.1769198137865; Fri, 23 Jan 2026 11:55:37 -0800 (PST) Date: Fri, 23 Jan 2026 11:55:36 -0800 In-Reply-To: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <26732815475bf1c5ba672bc3b1785265f1a994e6.1752819570.git.naveen@kernel.org> Message-ID: Subject: Re: [RFC PATCH 2/3] KVM: SVM: Fix IRQ window inhibit handling across multiple vCPUs From: Sean Christopherson To: Naveen N Rao Cc: Paolo Bonzini , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Maxim Levitsky , Vasant Hegde , Suravee Suthikulpanit Content-Type: text/plain; charset="us-ascii" On Thu, Jan 22, 2026, Naveen N Rao wrote: > On Wed, Jan 14, 2026 at 11:55:57AM -0800, Sean Christopherson wrote: > > I also want to land the optimization separately, so that it can be properly > > documented, justified, and analyzed by others. > > > > I pushed a rebased version (compile-tested only at this time) with the above change to: > > > > https://github.com/sean-jc/linux.git svm/avic_irq_window > > > > Can you run you perf tests to see if that aproach also eliminates the degredation > > relative to avic=0 that you observed? > > Yes, this definitely seems to be helping get rid of that odd performance > drop I was seeing earlier. I'll run a couple more tests and report back > by next week if I see anything off. Otherwise, this is looking good to > me and if you want to apply this to -next, I'm fine with that: > Tested-by: Naveen N Rao (AMD) Nice, thanks for testing! I'll post a proper series later today (or early next week), and will wait until after the merge window to apply (a little too close for comfort at this point).