From nobody Tue Dec 2 02:30:42 2025 Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) (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 E51FD32ED5D for ; Wed, 19 Nov 2025 15:45:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763567131; cv=none; b=iLmmG/VQMV0YB2AVj1TdtmSbLdkpxb8J4hqBS9dBnI+slB8f9kTZDGLMrH6bv5capVm+aRsf8V3RJsbl7HvK0Q4wfZUir455qxPYktz0n0Phz8lA5w/UHD+5NBSF2gdPwkOTDSNL9e6ptRcYAZvSFP+dNSz+8YN6d4Ky94GWWQk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763567131; c=relaxed/simple; bh=uHw2K4abduiDzGpZ4eX0j1eSGliuYPoG3xQUhEMZuY4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=RCkIi4CqV61qKcoPmGalZJK1iJ7c6r5gaiCnjpGlQmsXhQEPFhuDYyFKH3yBp5aEF5Tnd8AXFFqGoh23vkIDEPVuY4HtXoDgFY1nBfP+MX4lRO/X2W/SSTNNdak01zLAIJzm8wmkNhVK/6+6JEECOnNSYis04iINCOff6TDL5gI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=POzM0FwJ; arc=none smtp.client-ip=209.85.221.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="POzM0FwJ" Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-42b3ad51fecso5104990f8f.1 for ; Wed, 19 Nov 2025 07:45:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1763567125; x=1764171925; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=3irtgR9V6ILkzi6aCmzqNOzM4wzsrVUTWgR/+hcFNWM=; b=POzM0FwJqd/SdL87jP2GMAUIGjXey4fOCpL7ccvdQFlLBGoh6TpPgeAOPAXKPy3rC6 2f3BvlcDX4lGoOR84lem+RbdtLt8RPGa2tbgMBuPxaKNO9opaYqdf80cop3Q/VowQgGH YYkotKtpK0JABL5JcU1bH7o5RsJIPKV6mp4ED0W7ecl9GKcdZ79YCxbL0muGEPLcKqMz V6THVAxGDvUJThgal+ibL1TYjlGAVALilt5bF29kE3NJAqCBjI75PkcU1CeyuwyN4uq4 O4kcmlKLnYIOJl89JsWU9g848fXyvYpsKSEPvVHwlzHnJpQY5MTIgruFA6oe0bBx7Hqs kNYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763567125; x=1764171925; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=3irtgR9V6ILkzi6aCmzqNOzM4wzsrVUTWgR/+hcFNWM=; b=Xda3dApPRxmhj2ytvUY5AHwhK862Ez/L5TNpaNBpJJ5OXSXl2S9De//zJ1QRD5vaTz +k9sNCR67V8HASRhvTHiTABNN5QLAttvS6YsQe3Nt7Dx+Tv7ZslYOvoUpcAv7apxuBPh MhvyegwOpL+vHAAY9tR0ksx/KpBzifeLSf8fjDemYjrbZa8koADHnLY7+LzIOxr0AQ5E XtxXFVRetpVy32QmbBabCLi+XX0lM9YxcMqFtJK3NMl0qDe29Qs3z6W068Peg0UmsXv/ se2NnEZ0Hmjhr6rJ6ydqibjqfzZkxP+yrnzDvA7GTKFpbtrelj5ER39S6ADtDtqHZ7sL FZNg== X-Forwarded-Encrypted: i=1; AJvYcCU8yLxRXEm0u87hMSXYnmxtwYtBS5zKmRnPr3CImHwf137VjbXokPEoNn9BkLf+pff+VUd/ohDFWBImwic=@vger.kernel.org X-Gm-Message-State: AOJu0YzHdiFXvuLq22ROB8z6Xy5rCztTDL+gvxgrMHSalTYiWxdycLpW Z7EJYCMNpcNd4LaUvYchOUTquGisZre940g1VV6HTJ/sAqjNv3+qncMQnXtcbVySRWw= X-Gm-Gg: ASbGncus4GgjAVfHNe37Bd+r81kLIa2XBUOSGHcC1vNIwbGG/6wQa8UNjnzHmWPHyKQ q9NbrOOVa95ODN45jjrqm2+KW45FLSfOk23d13bR4kOfZpaywBynfL0EMpP7b0AY4u77ZMvA9cb 8ze8dYaxTtTzLTDTuek/FFXyKW33yACt+jX/s+wipx5m8Qq1Cqg+mdgPZ4eei0hC2235OAjlDma KtmEnW5SA+qQDnXqzNG2+Qlrkayw8+DbDzHUh2PLuvUuZ3dHzFMNw3BS7cHUAdYZqIzLKTYPsdt XNXx5WYmH1YvgLcHIzlDNiX+MIumIhI1Ly+O2SO8nwd0jDjMtcH7rhPKer5Euqu0zc2KRQFSwxr Fqy8437WV8HZ6MMtJf3Nbu356DjBIsi4JUlbgaQTyB56xEaIyGfjecc/1BwgGMnqHJbzfcwBp5L u4szH/7vwwOcZLWf+DUai+ANavn6ubbQ== X-Google-Smtp-Source: AGHT+IH7OiMHuWdKqmUscjGj0hpAhy0+8U72IgAGXn7ATooehRTT7HxTJk0qp9VlE6dzqjBsHdcltA== X-Received: by 2002:a05:6000:2901:b0:42b:3e60:18cd with SMTP id ffacd0b85a97d-42b5933dfdemr19022522f8f.11.1763567125510; Wed, 19 Nov 2025 07:45:25 -0800 (PST) Received: from eugen-station.. ([82.76.24.202]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42b53dea1c9sm38765632f8f.0.2025.11.19.07.45.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Nov 2025 07:45:25 -0800 (PST) From: Eugen Hristev To: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, tglx@linutronix.de, andersson@kernel.org, pmladek@suse.com, rdunlap@infradead.org, corbet@lwn.net, david@redhat.com, mhocko@suse.com Cc: tudor.ambarus@linaro.org, mukesh.ojha@oss.qualcomm.com, linux-arm-kernel@lists.infradead.org, linux-hardening@vger.kernel.org, jonechou@google.com, rostedt@goodmis.org, linux-doc@vger.kernel.org, devicetree@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-arch@vger.kernel.org, tony.luck@intel.com, kees@kernel.org, Eugen Hristev Subject: [PATCH 05/26] genirq/irqdesc: Annotate static information into meminspect Date: Wed, 19 Nov 2025 17:44:06 +0200 Message-ID: <20251119154427.1033475-6-eugen.hristev@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20251119154427.1033475-1-eugen.hristev@linaro.org> References: <20251119154427.1033475-1-eugen.hristev@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Annotate vital static information into inspection table: - nr_irqs Information on these variables is stored into dedicated inspection section. Signed-off-by: Eugen Hristev --- kernel/irq/irqdesc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/irq/irqdesc.c b/kernel/irq/irqdesc.c index db714d3014b5..89538324a95a 100644 --- a/kernel/irq/irqdesc.c +++ b/kernel/irq/irqdesc.c @@ -16,6 +16,7 @@ #include #include #include +#include =20 #include "internals.h" =20 @@ -140,6 +141,7 @@ static void desc_set_defaults(unsigned int irq, struct = irq_desc *desc, int node, } =20 static unsigned int nr_irqs =3D NR_IRQS; +MEMINSPECT_SIMPLE_ENTRY(nr_irqs); =20 /** * irq_get_nr_irqs() - Number of interrupts supported by the system. --=20 2.43.0