Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp407703rdb; Sat, 17 Feb 2024 14:28:08 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWOA5xJZPosgNgWMYtbQV2q6mRO0OLo+2UMVzAG9P4UNCZ2jFkXA1D0OrXUGiyjadt+9+q5dL+/4WMSPtAEsqUruF2Tt73cVBMhsNAwJQ== X-Google-Smtp-Source: AGHT+IHLohOR9w8kX25CRzG9nw5SdSHNigbTX4oAnG2RSCBLeUo30HPzklKcrvFl140AUKXRUn+P X-Received: by 2002:a17:903:1106:b0:1d9:e18b:d916 with SMTP id n6-20020a170903110600b001d9e18bd916mr11864240plh.28.1708208887794; Sat, 17 Feb 2024 14:28:07 -0800 (PST) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id b17-20020a170902e95100b001d95ef48eddsi1958309pll.312.2024.02.17.14.28.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Feb 2024 14:28:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70107-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linutronix.de header.s=2020 header.b=eqUYcdTC; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-70107-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70107-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 8401DB217E5 for ; Sat, 17 Feb 2024 22:28:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4A66980046; Sat, 17 Feb 2024 22:25:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="eqUYcdTC"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="zzKGGxxK" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 334177CF0D; Sat, 17 Feb 2024 22:25:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708208714; cv=none; b=aSAE6gVKLGgNWpDdZjPhLv8QyZzgEJXECwSZcqV1FxJ1r/ffxwWuTVGa9pTJnTt2VZYFVFAQDtaBA1Id6QEQrtoxEcok8lv+IYfYaYJ4JzduDWRGVBx5xbiRuLab/2NmjA01ToHvbwo5BsSIy60iBX/VUfLOVLMDBML/DjfNJm4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708208714; c=relaxed/simple; bh=mPrz0sxbq360lVAhO6Nco2fa8QwM8JkWcxuMbCde+bg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=oWFtlw69wsfZx9Gz/G58EQgXPxA486OSZkpw+nDo5shT3b46PNIiqNImpd9yGLxRtjOIF8cqALXVg3ndXJYVMu5g9NeRSzZWJfvf/A2HgqRezLLqr8K2CAa8vEHHR+NLTwDgNkAFUuV0cOxPCYOBkEK+T9s7c5Ckyx4cC0zKfNo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=eqUYcdTC; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=zzKGGxxK; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1708208704; 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=NXB8872lLT9TPOhV6sEx8QOr0X4RsbukNkY28IHdLYQ=; b=eqUYcdTC78WFXZI5cTrXIWaJex17r2CcaPrhdl0oyi9GGjKVGhRLSslopwUnLAOby5HIEf Putaj8cYhEyQSk8jSfrupz3ikHmTFIDA5w0jCkm2J+L6yDZzmXz/OZ0+1sbwfheGwO378X ghjIxkG3nSlfh9gnamXjuKqEp3xu13s6/Yvbos8jBHug26bLh3hK2ZXlz+VtBsEmr+4z+Y F2QwVWek+mbkf5zuErATFIJsqMF+vYZiglLKPSZf1+49ux9xAYfNbiCQCAtlMibU8ODrNs /BBwQC7jESHzF0ddAdRq7U/W06HoENMRK94W0Stb9NXyBjyaAyfVOCndpmigjg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1708208704; 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=NXB8872lLT9TPOhV6sEx8QOr0X4RsbukNkY28IHdLYQ=; b=zzKGGxxKDcUvYNGqk7GLoBnt0kis0k5MUSB3xs08t6gQJOk3fhdlxu885oP4sWxXesKoXu PHs51IIOT9HsnRBQ== To: Paolo Bonzini Cc: Xin Li , Sean Christopherson , Max Kellermann , hpa@zytor.com, x86@kernel.org, linux-kernel@vger.kernel.org, Stephen Rothwell , kvm@vger.kernel.org Subject: Re: [PATCH] arch/x86/entry_fred: don't set up KVM IRQs if KVM is disabled In-Reply-To: References: <20240215133631.136538-1-max.kellermann@ionos.com> <5a332064-0a26-4bb9-8a3e-c99604d2d919@redhat.com> <87ttm8axrq.ffs@tglx> Date: Sat, 17 Feb 2024 23:25:03 +0100 Message-ID: <87cysubuf4.ffs@tglx> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Sat, Feb 17 2024 at 10:52, Paolo Bonzini wrote: > On Fri, Feb 16, 2024 at 10:45=E2=80=AFPM Thomas Gleixner wrote: >> #ifdeffing out the vector numbers is silly to begin with because these >> vector numbers stay assigned to KVM whether KVM is enabled or not. > > No problem---it seems that I misunderstood or read too much into the > usage of CONFIG_HAVE_KVM up to 6.8, so I'm happy to follow whatever > FRED support did for thermal vector and the like, and remove the > #ifdef for the vector numbers. Thank you! Appreciated! tglx