Skip to contentSkip to conversation

docs: arch/x86/sva: Fix two grammar errors under Background and FAQ

PATCH Superseded Brian Ochoa 2 participants 2 messages Feb 11, 2025

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: arch/x86/sva: Fix two grammar errors under Background and FAQ

- Insert missing "to" to a sentence under Background
- Insert missing "an" to a sentence under FAQ

---
 Documentation/arch/x86/sva.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/arch/x86/sva.rst +2 -2
index 33cb05005982..6a759984d471 100644
@@ -25,7 +25,7 @@ to cache translations for virtual addresses. The IOMMU driver uses the
 mmu_notifier() support to keep the device TLB cache and the CPU cache in
 sync. When an ATS lookup fails for a virtual address, the device should
 use the PRI in order to request the virtual address to be paged into the
-CPU page tables. The device must use ATS again in order the fetch the
+CPU page tables. The device must use ATS again in order to fetch the
 translation before use.
 
 Shared Hardware Workqueues
@@ -216,7 +216,7 @@ submitting work and processing completions.
 
 Single Root I/O Virtualization (SR-IOV) focuses on providing independent
 hardware interfaces for virtualizing hardware. Hence, it's required to be
-almost fully functional interface to software supporting the traditional
+an almost fully functional interface to software supporting the traditional
 BARs, space for interrupts via MSI-X, its own register layout.
 Virtual Functions (VFs) are assisted by the Physical Function (PF)
 driver.
Signature · 1 line
2.34.1
#1 lore raw
Quoted 34 lines · Brian Ochoa

- Insert missing "to" to a sentence under Background
- Insert missing "an" to a sentence under FAQ

---
 Documentation/arch/x86/sva.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/arch/x86/sva.rst +2 -2
index 33cb05005982..6a759984d471 100644
@@ -25,7 +25,7 @@ to cache translations for virtual addresses. The IOMMU driver uses the
 mmu_notifier() support to keep the device TLB cache and the CPU cache in
 sync. When an ATS lookup fails for a virtual address, the device should
 use the PRI in order to request the virtual address to be paged into the
-CPU page tables. The device must use ATS again in order the fetch the
+CPU page tables. The device must use ATS again in order to fetch the
 translation before use.
 
 Shared Hardware Workqueues
@@ -216,7 +216,7 @@ submitting work and processing completions.
 
 Single Root I/O Virtualization (SR-IOV) focuses on providing independent
 hardware interfaces for virtualizing hardware. Hence, it's required to be
-almost fully functional interface to software supporting the traditional
+an almost fully functional interface to software supporting the traditional
 BARs, space for interrupts via MSI-X, its own register layout.
 Virtual Functions (VFs) are assisted by the Physical Function (PF)
 driver.
Signature · 1 line
2.34.1

Hello Brian,

It looks good to me, though the commit message is kinda redundant and confusing.

Quoted 2 lines

- Insert missing "to" to a sentence under Background
- Insert missing "an" to a sentence under FAQ

"a sentence" doesn't really help us understand which sentence you are refering to, use "insert" here is kind of weird to me, too. Maybe something like the following will be more direct

- Correct "in order" to "in order to"
- Append missing quantifier

What do you think?

Best regards,
I Hsin Cheng