Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp1390342rdb; Fri, 16 Feb 2024 14:29:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVtt1ALONSJhpK+NM4oK1QejdpiQ6lwp0+IVuzGX4aiG+Jak/ZlUfX8vShR/Kxwtx2uAXBSD9BoEfhAQ75ITl1hy8BDPOtwKVEyuTjzQg== X-Google-Smtp-Source: AGHT+IFJc+oR7a87iPUqcKocxHnhH1X3WPe6/YRWwKLFFb1Hz7Fpco8wSZqOj+COfK0689OiSfnF X-Received: by 2002:a0c:f2cd:0:b0:68f:fd7:fddf with SMTP id c13-20020a0cf2cd000000b0068f0fd7fddfmr2931503qvm.50.1708122560329; Fri, 16 Feb 2024 14:29:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708122560; cv=pass; d=google.com; s=arc-20160816; b=i57ZRlBnhwVTlZuSqL4gtbBGg1YatRpNfMPJ12zOY20O5wQHSPU0DgW923NysxSVtC 5LhD5GQ36IGjS7ABJfadXCir9wep6+BQckmUGLggosG/aivZG4JM7lPKgywKchAu7yP0 JxLdvdMI5HfFgsfnbiSS5npRrRbgjy3xvmVerYmKHrq3lAEJMDpkqRPZlN3WYwwxFSdP NhwnaPgj0qeI1lfv3nwjB3XfNo4RSanbZ5M1UuMBqbm4aw5L3bhbACfM/Jc02f7SqYEk hT+3R8z7J1/pfdzgfIoR2+PgyzKv6iHXcJXv2D+u3EOdFlefiBQYBW1ajidZvRkp46u1 nRnQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=niM6EJ1nlCzrpHZbXv4LQhRZqOh9ZTSscNJIL6EEJIA=; fh=lhjRUz2wmcpZmjTI18ZS/hErEgaXCUZXWCCtBLPzHPs=; b=Qcbk8DCOynbLJEwMg1NSqm2MRjpbxDXNq/YlDVpFulA3eL0tlpdmmPLllOSnXCLsTL vaVnkzNT1Rrk9cm/0IsLf/Fvh4x7AWz3TW0wy5BV33xvYZX6lgLhwSZ3iVzhpzkEWtMj 6n2tkf4IjIO0FXDBtc+NoLBU41sfbQT7hdEuah7q6ZzxY6+PKpaTDgemEDUeYTTqYRB/ Diwq5bVPnAi9xtsUXPxKSi35WmwAugv3CnLGQenXVZ7rS4J/yHMw7WoOcuvivisavAiE 8eQP1cSn/WggzFfbys1o2LZ1Qo41YQFCYpokLnGo2hmm6U1k8T2OzqDWKQDqSl+86tbA Ss3A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=uBrqIOK5; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-69403-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69403-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id jf15-20020a0562142a4f00b0068f2c61c9bdsi812465qvb.397.2024.02.16.14.29.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 14:29:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69403-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=uBrqIOK5; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-69403-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69403-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1B2A31C2304A for ; Fri, 16 Feb 2024 22:29:20 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4C117148310; Fri, 16 Feb 2024 22:29:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="uBrqIOK5"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ApP0/N8I" 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 103511482FE; Fri, 16 Feb 2024 22:29:08 +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=1708122550; cv=none; b=UQY0WWgBx18qTdnersGzOEibNUALdhKTrLKvz7gKIT4QUBdR3CYvt5RomKDL7w2z+/S6QZ67m7Fd+i4w+ihBzK90xi2Oq6QR12Udj8LatAXkCKcfEhsHp4j6rlxnpUpClvQPNmW8EBWmrlhSLbpsoHBCg+ZcJFGQJxZTGX3sbu8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708122550; c=relaxed/simple; bh=Ahi79WbHwBHpuJcwYLh25x58Hq7/EYr7w+p8D+NrmOY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=BBDlyTxuIQGaCmIkFDg3hmzxs1EeaASnmVTHnQrASML5SeUsXqb+3eaWSH9ia2fYRLXpsDIo2HpBgpD9mvi/OT01dCQcZznQzJkMSctku4otDWMXWx/Ew+Ial34DKfOHV5JaIY00nNJIiXGPU84/iI70CLGPc+74bI2zNvGkZ5k= 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=uBrqIOK5; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=ApP0/N8I; 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=1708122547; 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: in-reply-to:in-reply-to:references:references; bh=niM6EJ1nlCzrpHZbXv4LQhRZqOh9ZTSscNJIL6EEJIA=; b=uBrqIOK54zCGcRIedje9EebshN9rcRmtKXFo75nPWo4y46MasBdLUmYZGsbHkG74FxIXm6 mQmt6tXBMDeTGBKDVqxM9m9+sd7B+XCg3Zka5QVUhwBM7gas9cr6aXe1dtvNhQTpf91cuN Qdzb5gBazgHLKJkkn0wuX29apLQCsSypppzcWCxkx8OF6Zd1t1yBriIFDk5Bzca1+R/3tS eUEtDEOe/ZkZGF/yuk9cz5vHIslVIhfX0jQf5PxZft7X6UrpJodoOdAB06MV/MORwIYDzi ZvNNDNt0iZO3/FJoJX0V2qu86v8QYEwDvrFRICHb5kd7J1+jJExfcjiGvyrgEA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1708122547; 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: in-reply-to:in-reply-to:references:references; bh=niM6EJ1nlCzrpHZbXv4LQhRZqOh9ZTSscNJIL6EEJIA=; b=ApP0/N8IAsEE8TuAB2/lNLgg6+Hs+VDT7eF7O4wgtLUx5pkWeX1Afaak/B1XJ6wl62aJQs S0FZAA057qwDucCA== To: Borislav Petkov , 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, Arnd Bergmann Subject: Re: [PATCH] arch/x86/entry_fred: don't set up KVM IRQs if KVM is disabled In-Reply-To: <20240216214617.GBZc_XqVtMuY9_eWWG@fat_crate.local> References: <20240215133631.136538-1-max.kellermann@ionos.com> <5a332064-0a26-4bb9-8a3e-c99604d2d919@redhat.com> <20240216214617.GBZc_XqVtMuY9_eWWG@fat_crate.local> Date: Fri, 16 Feb 2024 23:29:06 +0100 Message-ID: <87le7kavrh.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 On Fri, Feb 16 2024 at 22:46, Borislav Petkov wrote: > On Fri, Feb 16, 2024 at 07:31:46AM +0100, Paolo Bonzini wrote: >> and it seems to be a net improvement to me. The #ifs match in >> the .h and .c files, and there are no unnecessary initializers >> in the sysvec_table. > > Ok, I'll pick up Max' patch tomorrow and we must remember to tell Linus > during the merge window about this. No. Don't. This pointless #ifdeffery in the vector header needs to vanish from the KVM tree. Why would you take the #ifdef mess into tasteful code just because someone decided that #ifdeffing out constants in a header which is maintained by other people is a brilliant idea? The #ifdeffery in the idtentry header is unavoidable and the extra NULL defines are at the right place and not making the actual code unreadable. Thanks, tglx