* [PATCH] Documentation: PCI: Fix typos in msi-howto.rst
@ 2025-12-26 1:45 Shawn Lin
2025-12-26 5:41 ` Randy Dunlap
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Shawn Lin @ 2025-12-26 1:45 UTC (permalink / raw)
To: Bjorn Helgaas; +Cc: linux-pci, linux-doc, Shawn Lin
Fix subjject-verb agreement for "has a requirements" as well as
"neither...or" conjunction mistake. And convert "Message Signalled
Interrupts" to "Message Signaled Interrupts" to match the PCIe spec.
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
---
Documentation/PCI/msi-howto.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/Documentation/PCI/msi-howto.rst b/Documentation/PCI/msi-howto.rst
index 0692c9a..667ebe2 100644
--- a/Documentation/PCI/msi-howto.rst
+++ b/Documentation/PCI/msi-howto.rst
@@ -98,7 +98,7 @@ function::
which allocates up to max_vecs interrupt vectors for a PCI device. It
returns the number of vectors allocated or a negative error. If the device
-has a requirements for a minimum number of vectors the driver can pass a
+has a requirement for a minimum number of vectors the driver can pass a
min_vecs argument set to this limit, and the PCI core will return -ENOSPC
if it can't meet the minimum number of vectors.
@@ -127,7 +127,7 @@ not be able to allocate as many vectors for MSI as it could for MSI-X. On
some platforms, MSI interrupts must all be targeted at the same set of CPUs
whereas MSI-X interrupts can all be targeted at different CPUs.
-If a device supports neither MSI-X or MSI it will fall back to a single
+If a device supports neither MSI-X nor MSI it will fall back to a single
legacy IRQ vector.
The typical usage of MSI or MSI-X interrupts is to allocate as many vectors
@@ -203,7 +203,7 @@ How to tell whether MSI/MSI-X is enabled on a device
----------------------------------------------------
Using 'lspci -v' (as root) may show some devices with "MSI", "Message
-Signalled Interrupts" or "MSI-X" capabilities. Each of these capabilities
+Signaled Interrupts" or "MSI-X" capabilities. Each of these capabilities
has an 'Enable' flag which is followed with either "+" (enabled)
or "-" (disabled).
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] Documentation: PCI: Fix typos in msi-howto.rst
2025-12-26 1:45 [PATCH] Documentation: PCI: Fix typos in msi-howto.rst Shawn Lin
@ 2025-12-26 5:41 ` Randy Dunlap
2025-12-28 11:08 ` Bagas Sanjaya
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2025-12-26 5:41 UTC (permalink / raw)
To: Shawn Lin, Bjorn Helgaas; +Cc: linux-pci, linux-doc
On 12/25/25 5:45 PM, Shawn Lin wrote:
> Fix subjject-verb agreement for "has a requirements" as well as
> "neither...or" conjunction mistake. And convert "Message Signalled
> Interrupts" to "Message Signaled Interrupts" to match the PCIe spec.
>
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.
> ---
>
> Documentation/PCI/msi-howto.rst | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/PCI/msi-howto.rst b/Documentation/PCI/msi-howto.rst
> index 0692c9a..667ebe2 100644
> --- a/Documentation/PCI/msi-howto.rst
> +++ b/Documentation/PCI/msi-howto.rst
> @@ -98,7 +98,7 @@ function::
>
> which allocates up to max_vecs interrupt vectors for a PCI device. It
> returns the number of vectors allocated or a negative error. If the device
> -has a requirements for a minimum number of vectors the driver can pass a
> +has a requirement for a minimum number of vectors the driver can pass a
> min_vecs argument set to this limit, and the PCI core will return -ENOSPC
> if it can't meet the minimum number of vectors.
>
> @@ -127,7 +127,7 @@ not be able to allocate as many vectors for MSI as it could for MSI-X. On
> some platforms, MSI interrupts must all be targeted at the same set of CPUs
> whereas MSI-X interrupts can all be targeted at different CPUs.
>
> -If a device supports neither MSI-X or MSI it will fall back to a single
> +If a device supports neither MSI-X nor MSI it will fall back to a single
> legacy IRQ vector.
>
> The typical usage of MSI or MSI-X interrupts is to allocate as many vectors
> @@ -203,7 +203,7 @@ How to tell whether MSI/MSI-X is enabled on a device
> ----------------------------------------------------
>
> Using 'lspci -v' (as root) may show some devices with "MSI", "Message
> -Signalled Interrupts" or "MSI-X" capabilities. Each of these capabilities
> +Signaled Interrupts" or "MSI-X" capabilities. Each of these capabilities
> has an 'Enable' flag which is followed with either "+" (enabled)
> or "-" (disabled).
>
--
~Randy
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Documentation: PCI: Fix typos in msi-howto.rst
2025-12-26 1:45 [PATCH] Documentation: PCI: Fix typos in msi-howto.rst Shawn Lin
2025-12-26 5:41 ` Randy Dunlap
@ 2025-12-28 11:08 ` Bagas Sanjaya
2025-12-28 16:20 ` Zenghui Yu
2025-12-29 17:24 ` Bjorn Helgaas
3 siblings, 0 replies; 5+ messages in thread
From: Bagas Sanjaya @ 2025-12-28 11:08 UTC (permalink / raw)
To: Shawn Lin, Bjorn Helgaas; +Cc: linux-pci, linux-doc
[-- Attachment #1: Type: text/plain, Size: 1853 bytes --]
On Fri, Dec 26, 2025 at 09:45:28AM +0800, Shawn Lin wrote:
> diff --git a/Documentation/PCI/msi-howto.rst b/Documentation/PCI/msi-howto.rst
> index 0692c9a..667ebe2 100644
> --- a/Documentation/PCI/msi-howto.rst
> +++ b/Documentation/PCI/msi-howto.rst
> @@ -98,7 +98,7 @@ function::
>
> which allocates up to max_vecs interrupt vectors for a PCI device. It
> returns the number of vectors allocated or a negative error. If the device
> -has a requirements for a minimum number of vectors the driver can pass a
> +has a requirement for a minimum number of vectors the driver can pass a
> min_vecs argument set to this limit, and the PCI core will return -ENOSPC
> if it can't meet the minimum number of vectors.
>
> @@ -127,7 +127,7 @@ not be able to allocate as many vectors for MSI as it could for MSI-X. On
> some platforms, MSI interrupts must all be targeted at the same set of CPUs
> whereas MSI-X interrupts can all be targeted at different CPUs.
>
> -If a device supports neither MSI-X or MSI it will fall back to a single
> +If a device supports neither MSI-X nor MSI it will fall back to a single
> legacy IRQ vector.
>
> The typical usage of MSI or MSI-X interrupts is to allocate as many vectors
> @@ -203,7 +203,7 @@ How to tell whether MSI/MSI-X is enabled on a device
> ----------------------------------------------------
>
> Using 'lspci -v' (as root) may show some devices with "MSI", "Message
> -Signalled Interrupts" or "MSI-X" capabilities. Each of these capabilities
> +Signaled Interrupts" or "MSI-X" capabilities. Each of these capabilities
> has an 'Enable' flag which is followed with either "+" (enabled)
> or "-" (disabled).
>
Looks good, thanks!
Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>
--
An old man doll... just what I always wanted! - Clara
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Documentation: PCI: Fix typos in msi-howto.rst
2025-12-26 1:45 [PATCH] Documentation: PCI: Fix typos in msi-howto.rst Shawn Lin
2025-12-26 5:41 ` Randy Dunlap
2025-12-28 11:08 ` Bagas Sanjaya
@ 2025-12-28 16:20 ` Zenghui Yu
2025-12-29 17:24 ` Bjorn Helgaas
3 siblings, 0 replies; 5+ messages in thread
From: Zenghui Yu @ 2025-12-28 16:20 UTC (permalink / raw)
To: Shawn Lin; +Cc: Bjorn Helgaas, linux-pci, linux-doc, Randy Dunlap
On 2025/12/26 09:45, Shawn Lin wrote:
> Fix subjject-verb agreement for "has a requirements" as well as
> "neither...or" conjunction mistake. And convert "Message Signalled
> Interrupts" to "Message Signaled Interrupts" to match the PCIe spec.
>
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
> ---
>
> Documentation/PCI/msi-howto.rst | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/PCI/msi-howto.rst b/Documentation/PCI/msi-howto.rst
> index 0692c9a..667ebe2 100644
> --- a/Documentation/PCI/msi-howto.rst
> +++ b/Documentation/PCI/msi-howto.rst
> @@ -98,7 +98,7 @@ function::
>
> which allocates up to max_vecs interrupt vectors for a PCI device. It
> returns the number of vectors allocated or a negative error. If the device
> -has a requirements for a minimum number of vectors the driver can pass a
> +has a requirement for a minimum number of vectors the driver can pass a
> min_vecs argument set to this limit, and the PCI core will return -ENOSPC
> if it can't meet the minimum number of vectors.
>
> @@ -127,7 +127,7 @@ not be able to allocate as many vectors for MSI as it could for MSI-X. On
> some platforms, MSI interrupts must all be targeted at the same set of CPUs
> whereas MSI-X interrupts can all be targeted at different CPUs.
>
> -If a device supports neither MSI-X or MSI it will fall back to a single
> +If a device supports neither MSI-X nor MSI it will fall back to a single
> legacy IRQ vector.
>
> The typical usage of MSI or MSI-X interrupts is to allocate as many vectors
> @@ -203,7 +203,7 @@ How to tell whether MSI/MSI-X is enabled on a device
> ----------------------------------------------------
>
> Using 'lspci -v' (as root) may show some devices with "MSI", "Message
> -Signalled Interrupts" or "MSI-X" capabilities. Each of these capabilities
> +Signaled Interrupts" or "MSI-X" capabilities. Each of these capabilities
> has an 'Enable' flag which is followed with either "+" (enabled)
> or "-" (disabled).
It was indeed reported as "Message Signalled Interrupts" and was later
changed to "MSI" in [1]. It has been 17 years since then. Probably we
can just drop the outdated (and misspelled) words?
[1] https://github.com/pciutils/pciutils/commit/acbd2e055b65
Thanks,
Zenghui
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Documentation: PCI: Fix typos in msi-howto.rst
2025-12-26 1:45 [PATCH] Documentation: PCI: Fix typos in msi-howto.rst Shawn Lin
` (2 preceding siblings ...)
2025-12-28 16:20 ` Zenghui Yu
@ 2025-12-29 17:24 ` Bjorn Helgaas
3 siblings, 0 replies; 5+ messages in thread
From: Bjorn Helgaas @ 2025-12-29 17:24 UTC (permalink / raw)
To: Shawn Lin; +Cc: Bjorn Helgaas, linux-pci, linux-doc
On Fri, Dec 26, 2025 at 09:45:28AM +0800, Shawn Lin wrote:
> Fix subjject-verb agreement for "has a requirements" as well as
> "neither...or" conjunction mistake. And convert "Message Signalled
> Interrupts" to "Message Signaled Interrupts" to match the PCIe spec.
>
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Applied to pci/misc for v6.20, thanks!
> ---
>
> Documentation/PCI/msi-howto.rst | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/Documentation/PCI/msi-howto.rst b/Documentation/PCI/msi-howto.rst
> index 0692c9a..667ebe2 100644
> --- a/Documentation/PCI/msi-howto.rst
> +++ b/Documentation/PCI/msi-howto.rst
> @@ -98,7 +98,7 @@ function::
>
> which allocates up to max_vecs interrupt vectors for a PCI device. It
> returns the number of vectors allocated or a negative error. If the device
> -has a requirements for a minimum number of vectors the driver can pass a
> +has a requirement for a minimum number of vectors the driver can pass a
> min_vecs argument set to this limit, and the PCI core will return -ENOSPC
> if it can't meet the minimum number of vectors.
>
> @@ -127,7 +127,7 @@ not be able to allocate as many vectors for MSI as it could for MSI-X. On
> some platforms, MSI interrupts must all be targeted at the same set of CPUs
> whereas MSI-X interrupts can all be targeted at different CPUs.
>
> -If a device supports neither MSI-X or MSI it will fall back to a single
> +If a device supports neither MSI-X nor MSI it will fall back to a single
> legacy IRQ vector.
>
> The typical usage of MSI or MSI-X interrupts is to allocate as many vectors
> @@ -203,7 +203,7 @@ How to tell whether MSI/MSI-X is enabled on a device
> ----------------------------------------------------
>
> Using 'lspci -v' (as root) may show some devices with "MSI", "Message
> -Signalled Interrupts" or "MSI-X" capabilities. Each of these capabilities
> +Signaled Interrupts" or "MSI-X" capabilities. Each of these capabilities
> has an 'Enable' flag which is followed with either "+" (enabled)
> or "-" (disabled).
>
> --
> 2.7.4
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-12-29 17:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-26 1:45 [PATCH] Documentation: PCI: Fix typos in msi-howto.rst Shawn Lin
2025-12-26 5:41 ` Randy Dunlap
2025-12-28 11:08 ` Bagas Sanjaya
2025-12-28 16:20 ` Zenghui Yu
2025-12-29 17:24 ` Bjorn Helgaas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).