git: 849391886815 - main - busdma: Remove outdated comments about Giant.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 10 Dec 2021 03:18:58 UTC
The branch main has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=8493918868151d3d000fa11c0feb635c51702c95 commit 8493918868151d3d000fa11c0feb635c51702c95 Author: Alexander Motin <mav@FreeBSD.org> AuthorDate: 2021-12-10 03:17:54 +0000 Commit: Alexander Motin <mav@FreeBSD.org> CommitDate: 2021-12-10 03:18:53 +0000 busdma: Remove outdated comments about Giant. MFC after: 2 weeks --- sys/arm/arm/busdma_machdep.c | 4 +--- sys/arm64/arm64/busdma_machdep.c | 4 +--- sys/mips/mips/busdma_machdep.c | 4 +--- sys/powerpc/powerpc/busdma_machdep.c | 4 +--- sys/riscv/riscv/busdma_machdep.c | 4 +--- sys/x86/x86/busdma_machdep.c | 4 +--- 6 files changed, 6 insertions(+), 18 deletions(-) diff --git a/sys/arm/arm/busdma_machdep.c b/sys/arm/arm/busdma_machdep.c index 8a06e7245cd9..caa9ae43834e 100644 --- a/sys/arm/arm/busdma_machdep.c +++ b/sys/arm/arm/busdma_machdep.c @@ -419,9 +419,7 @@ must_bounce(bus_dma_tag_t dmat, bus_dmamap_t map, bus_addr_t paddr, /* * Convenience function for manipulating driver locks from busdma (during - * busdma_swi, for example). Drivers that don't provide their own locks - * should specify &Giant to dmat->lockfuncarg. Drivers that use their own - * non-mutex locking scheme don't have to use this at all. + * busdma_swi, for example). */ void busdma_lock_mutex(void *arg, bus_dma_lock_op_t op) diff --git a/sys/arm64/arm64/busdma_machdep.c b/sys/arm64/arm64/busdma_machdep.c index a4c6d2065584..5d42d4e58c22 100644 --- a/sys/arm64/arm64/busdma_machdep.c +++ b/sys/arm64/arm64/busdma_machdep.c @@ -53,9 +53,7 @@ __FBSDID("$FreeBSD$"); /* * Convenience function for manipulating driver locks from busdma (during - * busdma_swi, for example). Drivers that don't provide their own locks - * should specify &Giant to dmat->lockfuncarg. Drivers that use their own - * non-mutex locking scheme don't have to use this at all. + * busdma_swi, for example). */ void busdma_lock_mutex(void *arg, bus_dma_lock_op_t op) diff --git a/sys/mips/mips/busdma_machdep.c b/sys/mips/mips/busdma_machdep.c index c707af167ab6..80e57cd0414f 100644 --- a/sys/mips/mips/busdma_machdep.c +++ b/sys/mips/mips/busdma_machdep.c @@ -298,9 +298,7 @@ _bus_dma_can_bounce(vm_offset_t lowaddr, vm_offset_t highaddr) /* * Convenience function for manipulating driver locks from busdma (during - * busdma_swi, for example). Drivers that don't provide their own locks - * should specify &Giant to dmat->lockfuncarg. Drivers that use their own - * non-mutex locking scheme don't have to use this at all. + * busdma_swi, for example). */ void busdma_lock_mutex(void *arg, bus_dma_lock_op_t op) diff --git a/sys/powerpc/powerpc/busdma_machdep.c b/sys/powerpc/powerpc/busdma_machdep.c index 94f5f5015019..d513b7e65538 100644 --- a/sys/powerpc/powerpc/busdma_machdep.c +++ b/sys/powerpc/powerpc/busdma_machdep.c @@ -186,9 +186,7 @@ run_filter(bus_dma_tag_t dmat, bus_addr_t paddr) /* * Convenience function for manipulating driver locks from busdma (during - * busdma_swi, for example). Drivers that don't provide their own locks - * should specify &Giant to dmat->lockfuncarg. Drivers that use their own - * non-mutex locking scheme don't have to use this at all. + * busdma_swi, for example). */ void busdma_lock_mutex(void *arg, bus_dma_lock_op_t op) diff --git a/sys/riscv/riscv/busdma_machdep.c b/sys/riscv/riscv/busdma_machdep.c index 7b1c3027badb..f510a3c437d0 100644 --- a/sys/riscv/riscv/busdma_machdep.c +++ b/sys/riscv/riscv/busdma_machdep.c @@ -53,9 +53,7 @@ __FBSDID("$FreeBSD$"); /* * Convenience function for manipulating driver locks from busdma (during - * busdma_swi, for example). Drivers that don't provide their own locks - * should specify &Giant to dmat->lockfuncarg. Drivers that use their own - * non-mutex locking scheme don't have to use this at all. + * busdma_swi, for example). */ void busdma_lock_mutex(void *arg, bus_dma_lock_op_t op) diff --git a/sys/x86/x86/busdma_machdep.c b/sys/x86/x86/busdma_machdep.c index d0f0526a75c7..d07cad21c475 100644 --- a/sys/x86/x86/busdma_machdep.c +++ b/sys/x86/x86/busdma_machdep.c @@ -57,9 +57,7 @@ __FBSDID("$FreeBSD$"); /* * Convenience function for manipulating driver locks from busdma (during - * busdma_swi, for example). Drivers that don't provide their own locks - * should specify &Giant to dmat->lockfuncarg. Drivers that use their own - * non-mutex locking scheme don't have to use this at all. + * busdma_swi, for example). */ void busdma_lock_mutex(void *arg, bus_dma_lock_op_t op)