From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f74.google.com (mail-pj1-f74.google.com [209.85.216.74]) (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 4600E3D3481 for ; Thu, 15 Jan 2026 18:07:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.74 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768500426; cv=none; b=nwHWr5lEpUIqA8nNhHWS4mV8wHh18yRZlqamzfjsrWGJbMTd1aUD0gvPqSYdf6MQvC4n+rd0uww7SGrJa1xhUprxoSI/1zB9tptecafPKorjGFnhqHzi0n9PXegPzFzMn7b8fnm2NgZ4sQoejVup5mGLiHGqEM1NjAkuhvP6WZA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768500426; c=relaxed/simple; bh=i5+1/Qsa02xgC7Sf+rEcgx1r6GniEdhsqrbook1edTU=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=YW9fuIo8+bTtKB1hdSd7QE97IcNmM61fdXJzU9L+xtku7RDj7vd70XSQ8lTQZY5TT+jgOjYhXxkgpuEvqD7PX/GFYGegIv2vT2ETO8HloS94e3YIMEvhn0NeCWQU1nwH+WgepHNOclll+J5EevLJc39Rje1M92MCh6bH0xfpxiA= 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=vZRbbKIJ; arc=none smtp.client-ip=209.85.216.74 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="vZRbbKIJ" Received: by mail-pj1-f74.google.com with SMTP id 98e67ed59e1d1-34ab459c051so2323140a91.0 for ; Thu, 15 Jan 2026 10:07:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1768500424; x=1769105224; 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=N/82cpt0Uas4F64KP8DFk8U21kh16fYHAGtRjudiizI=; b=vZRbbKIJTJKWPoSi1DmBjhQQG4a5D5tT+jB7UD6nEM8449rZJ0eh1XxPpDVtFtbKSL JXsvdhFbx/121gkLXp/AUlC+mRj7J4XwcYy9ZN5Ov+k4Cjl20UZsWAHtLfi+aSbyTPS3 Dgbq/lXFl9tOKJNcugw9ukHqgW7ndmOsrO9eJnXPv4uuHintc9Az2Gd0cDSK/0KPrdu+ 8LmML6IFFpGWR89Ok0FWpABNmwA72BNBDh7cna8yrTfQwHGQ5HpL7UJB9QexAjhkOv9j /H0mMJlT94+CFKRQeR0JgEV2ZwD1ownxfTJ0GidyijJzvrczQ5ajn1BrnkY21p6xeNVi 2zjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768500424; x=1769105224; 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=N/82cpt0Uas4F64KP8DFk8U21kh16fYHAGtRjudiizI=; b=dizN79Sym3aYx480paX4hlpybr5tE1WiYuXIkpQQ5hF9OjdTtdoNfTOTrUbVqreOw0 R/6gz7Rm8blfADwDlaUq2XAl0lg9p2yA3ZvF3mz8gax2CATo2E9qq67vvKMoMS26ttN/ 9DdtcDAU4j4pKnxFMo6PLm7riYmuPCcXAK9EjVdQZMFJ6mko8yWETBxl5j3Q54YvUgje ZqAZO0x6PJlp8GZM3alN9v+Obta2fEoTtCTalbd9JWDTUXGIM2KuU1u/BZvHmpGM9XUZ wVh5AusDv4WBQBnl76hqtfzxk/sBkBayLiGQIdPC5fgrvJXvGHBZfRxrQ+L/OvBR1l/9 yPxw== X-Forwarded-Encrypted: i=1; AJvYcCXidkJzc4v+inb7N52RHhvyw6Lccyv4tLsfinGxMxeTRZUG1H/le+L+FXAcs6X8cpodWFcReyts+FBGh6c=@vger.kernel.org X-Gm-Message-State: AOJu0Yyj6TsAkWWZ2T7ESBomXRsxSEFdU6C48iPPlLON9+7HuIq4WMKs bn4h9IFwZpMnJ/3kR6m9LDF9JX0zBn9Bmlo9Ea8wK5laQoJ9Dqcql4I6whcuvubu3ce/4cC8Php ulUFDHg== X-Received: from pjbfs21.prod.google.com ([2002:a17:90a:f295:b0:34a:a1c5:9df9]) (user=seanjc job=prod-delivery.src-stubby-dispatcher) by 2002:a17:90b:1fcc:b0:34a:b8e0:dd59 with SMTP id 98e67ed59e1d1-35272f1253cmr243948a91.15.1768500424577; Thu, 15 Jan 2026 10:07:04 -0800 (PST) Date: Thu, 15 Jan 2026 10:03:36 -0800 In-Reply-To: <20260109035037.1015073-1-seanjc@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260109035037.1015073-1-seanjc@google.com> X-Mailer: git-send-email 2.52.0.457.g6b5491de43-goog Message-ID: <176849887444.718912.15225828841384052421.b4-ty@google.com> Subject: Re: [PATCH v2] KVM: SVM: Fix an off-by-one typo in the comment for enabling AVIC by default From: Sean Christopherson To: Sean Christopherson , Paolo Bonzini Cc: kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Naveen N Rao Content-Type: text/plain; charset="utf-8" On Thu, 08 Jan 2026 19:50:37 -0800, Sean Christopherson wrote: > Fix a goof in the comment that documents KVM's logic for enabling AVIC by > default to reference Zen5+ as family 0x1A (Zen5), not family 0x19 (Zen4). > The code is correct (checks for _greater_ than 0x19), only the comment is > flawed. > > Opportunistically tweak the check too, even though it's already correct, > so that both the comment and the code reference 0x1A, and so that the > checks are "ascending", i.e. check Zen4 and then Zen5+. > > [...] Applied to kvm-x86 svm, thanks! [1/1] KVM: SVM: Fix an off-by-one typo in the comment for enabling AVIC by default https://github.com/kvm-x86/linux/commit/69555130dccb -- https://github.com/kvm-x86/linux/tree/next