From mboxrd@z Thu Jan 1 00:00:00 1970 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 AD3BE242D84 for ; Tue, 21 Jul 2026 12:42:38 +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=1784637759; cv=none; b=VOFO0OxNBAEZFTcDnsdosDTQIPeg7zHMtFjgwjm06Xi6+d84RgXe7x+qC8hDyPkeHysPoI7GuZGmlxSQ+P5cQPJsFG4MB7HA4WdpmDzfOYUdF1MF3osquAsitJDgcXGnnLx8BhGMOy7gFkQhpzOMIJmbgE4fS7IyR87aTnH/Hyc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784637759; c=relaxed/simple; bh=GF4BmCqUB2GZolroJcSf2QZWVqvDG0q7BuWO2vV06mA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=SYECZY+gHBqKwE0brVABZV4kO/IEQnZrBb4FP4k6WyHF6CkKMHxUZomVg+dDektenkMar08HYi1ug9iAYAcZYsOSkFPADwtBXp2y5NL2NxUW/+B8KCV5IN/7skKe1pM1SbxR75p0pQis190r0HXUjV6yp7wQagLeeCv1XQuUlUM= 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=aIn+RfVv; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=x8GO0uTT; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="aIn+RfVv"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="x8GO0uTT" From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1784637756; 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=80FzrqnZJ6BP1uJLoo0YQ0eoHi/6m4QMf6sagd6JZlI=; b=aIn+RfVvQ9VgqFg8SaTQBM4XAequ+JMpGlDiJ6e+NAZTbkfnZ1C+BYrahvhhEUvQdBqIlx R9HUuQj45cuYrOqUGz5tWBSVV0U4ha7Ul/mFMqEVvoT3DUrPlwo8hsCF3fyaxXfYiXQsTS GKSAUL4O8mXJxGANneXAfVrE8n2mTgZji5yM2lppuLrntsDEQl8rp8xAZJzDHyQaihg/HE QlQtLrtXur/qfhL3tEzlruivltIYKAxQmJP06Vmnz9iy00YrxsnM3v3Tc63EGq3N9PP/RZ 16NR1JWyoZdtfUoR7ZY0C9fYgCs4WL3Cpvf1aVdhUuSiFWkf9d+qWv988raoOg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1784637756; 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=80FzrqnZJ6BP1uJLoo0YQ0eoHi/6m4QMf6sagd6JZlI=; b=x8GO0uTTQn009ZtPDTwiy0X/8rb+GHqykSPfBuM/3qqOcej+kv0/n5RQFDzRv1Zc+N9PHS TEjTlu4Qy7TYn1Dw== To: "Naveen N Rao (AMD)" , Borislav Petkov , Dave Hansen Cc: linux-kernel@vger.kernel.org, x86@kernel.org, Nikunj A Dadhania , Manali Shukla , Bharata B Rao , "H. Peter Anvin" Subject: Re: [PATCH v3 2/3] x86/apic: Introduce a variable to track the number of EILVT registers In-Reply-To: <39d39c3b91d174f4090fb954c6690edae9ed8295.1784619898.git.naveen@kernel.org> References: <39d39c3b91d174f4090fb954c6690edae9ed8295.1784619898.git.naveen@kernel.org> Date: Tue, 21 Jul 2026 14:42:35 +0200 Message-ID: <878q74ldj8.ffs@fw13> 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 Tue, Jul 21 2026 at 13:33, Naveen N. Rao wrote: > > +extern unsigned int apic_eilvt_count; Please do not create yet another global variable. It's an APIC property, so struct apic is the obvious place for it, no? Thanks, tglx