From nobody Wed Dec 17 08:53:04 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B96C325F789; Wed, 19 Mar 2025 09:33:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742376801; cv=none; b=CERJwhQz0CBpoi/E/r1wG7Izh3s9V8KCn4eX70LlH+MZpcq+B96P4UhthWX0EEE1ZsEnqBoCN+ZSxmy0X/vPuDN32Rchfxt9LPzUZyz4cPvOxOQDcRo9Hi4E+RxIoUaLZBanqIEL+Wbd+mkMYDaw0kNDPrXMEhjwHDijawJYAPM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1742376801; c=relaxed/simple; bh=dsnO03vflDPM3U5wnWk1Hio9rfg5sKAr73z1/gt+U0Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=gWThqr7tjF43ppzkRKyKSAZWKKRRVFIQo9QI5QeAEUMCQaH+RtgDvXlMBVoDkxQe1/3bi1GevkO2JrdksQEvBK4dszX9bDGiLWZ2dIhNrYjB5DVmrMxK19M2eo9/jhhVBxxfGZTA6t/Il1Tlud+z8k2HVoOZyDVz2/WJMTz/s6Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=ahZUF/SI; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="ahZUF/SI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 05804C4CEEA; Wed, 19 Mar 2025 09:33:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1742376801; bh=dsnO03vflDPM3U5wnWk1Hio9rfg5sKAr73z1/gt+U0Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ahZUF/SIZlYuqdQyeagjqTMby1Rl4vLvz5hrXUHoSYbPf2spMIpunYhFCKAuomKqg DroIRfo72rQXCsV6yT8yNTA/17wX7Wcu2HX8Tvvz4mH3cyfgFjOMtVB7dbZGSCsEMe ehmAdatG1tKFWkVTuCmil9RIw6UcClHktllzKo9+dNT05Gi01K6pptU1N4xKgk8KGu uTGbL6UvEjUWzZaxYdNmMDcKtGtDX3AeotBIbcqEHg8ijHcQeMpDptp1S0zSWJKnr/ wclllW8wA0S4aFCRnQ5Vbfqi2RvvN0WtvMdxWrmpcyosxnvA5u7OEbWuKfef8jWOUx AcUlMyO7reLZw== From: "Jiri Slaby (SUSE)" To: tglx@linutronix.de Cc: maz@kernel.org, linux-kernel@vger.kernel.org, "Jiri Slaby (SUSE)" , Jonathan Corbet , linux-doc@vger.kernel.org, Randy Dunlap Subject: [PATCH v2 54/57] docs: irq/concepts: Minor improvements Date: Wed, 19 Mar 2025 10:29:47 +0100 Message-ID: <20250319092951.37667-55-jirislaby@kernel.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250319092951.37667-1-jirislaby@kernel.org> References: <20250319092951.37667-1-jirislaby@kernel.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" Just note in the docs: 1) A PCI as an example for shared interrupts, 2) a sparse tree can be used for interrupts too, and 3) two i8259s have 8 pins. Signed-off-by: Jiri Slaby (SUSE) Cc: Jonathan Corbet Cc: linux-doc@vger.kernel.org Cc: Randy Dunlap --- Documentation/core-api/irq/concepts.rst | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Documentation/core-api/irq/concepts.rst b/Documentation/core-a= pi/irq/concepts.rst index f166006a81f6..7c4564f3cbdf 100644 --- a/Documentation/core-api/irq/concepts.rst +++ b/Documentation/core-api/irq/concepts.rst @@ -4,18 +4,20 @@ What is an IRQ? =20 An IRQ is an interrupt request from a device. Currently, they can come in over a pin, or over a packet. Several devices may be connected to -the same pin thus sharing an IRQ. +the same pin thus sharing an IRQ. Such as on legacy PCI bus: All devices +typically share 4 lanes/pins. Note that each device can request an +interrupt on each of the lanes. =20 An IRQ number is a kernel identifier used to talk about a hardware interrupt source. Typically, this is an index into the global irq_desc -array, but except for what linux/interrupt.h implements, the details -are architecture specific. +array or sparse_irqs tree. But except for what linux/interrupt.h +implements, the details are architecture specific. =20 An IRQ number is an enumeration of the possible interrupt sources on a machine. Typically, what is enumerated is the number of input pins on all of the interrupt controllers in the system. In the case of ISA, -what is enumerated are the 16 input pins on the two i8259 interrupt -controllers. +what is enumerated are the 8 input pins on each of the two i8259 +interrupt controllers. =20 Architectures can assign additional meaning to the IRQ numbers, and are encouraged to in the case where there is any manual configuration --=20 2.49.0