From nobody Fri Dec 24 01:16:30 2021 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 215FE190DB22; Fri, 24 Dec 2021 01:16:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JKpzy5bgcz3CNG; Fri, 24 Dec 2021 01:16:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8C7B41B12E; Fri, 24 Dec 2021 01:16:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BO1GU5G030843; Fri, 24 Dec 2021 01:16:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BO1GUap030842; Fri, 24 Dec 2021 01:16:30 GMT (envelope-from git) Date: Fri, 24 Dec 2021 01:16:30 GMT Message-Id: <202112240116.1BO1GUap030842@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alexander Motin Subject: git: 0d3b432779bd - stable/13 - busdma: Remove outdated comments about Giant. List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mav X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 0d3b432779bd79d6f5c95f08784a660ea86d29c7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640308591; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jwRXUmCLvIrBfDBm73IRTeYttMHPQh1uqzsSeKDYAxg=; b=LaLCfTX6A2nguyqUqBeP5MkhnNcQoMeBtOsyCoVD6kKkCpk3MsTIE9l6pUI+2ZbtzwfkFn kFd3Fik3dU05lKH9HbEWk7qozToP/K/v3iLUUWjdIVoaIiTVJWSv6UdLn81MZf4maXgkhR RZkxDxYttWdT09pGFoahdPsIL7n/L9ghiktZDGdrTPi3C/QUg4XPAu0Ce/1Vu+ayMPsFOQ S1uHvr5BDmOqBeQNEKHSc2UkFwb8642sq8Zmys1VYR+lFiqp4NvIKnWhb+pvf75YTrrDoc Az8p+2EPw8o/CoboXB26Wd84dgPRYQ2p6f8EAkcm89cR1WjmZ/HIR+VENO/kGA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640308591; a=rsa-sha256; cv=none; b=jWFPlGBauaC/YLDHwfCogaKdZNfPNsfNFqTDxayBbyw2GWu37LG5US+RPemmBGqz9r6jgb rvDi1cHK6R4KnywlNbFNL1+f5yoxt0F/BjCQMqu4ZQsmEWFePG+YqQUUgSl07zHk9pBPId Zp0E9NRG27UBGYroEJTQ6My0QAAhSz8P0CWtCB7rLuNZzMn9r5cxy2LZNbNsbeLfxBQo3T miUjDw59bgtm5CIfOsk8W6Q/nTpEjvQBvuXM11Fff3zaudZclK2UtQXNyYtPvl6w60p1LZ Gho+RHjRYqr7ivTKD4kjkqdocM9/7cPU592rkGEh8mO//OVTJIkUJxFgbYWpPQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=0d3b432779bd79d6f5c95f08784a660ea86d29c7 commit 0d3b432779bd79d6f5c95f08784a660ea86d29c7 Author: Alexander Motin AuthorDate: 2021-12-10 03:17:54 +0000 Commit: Alexander Motin CommitDate: 2021-12-24 01:05:17 +0000 busdma: Remove outdated comments about Giant. MFC after: 2 weeks (cherry picked from commit 8493918868151d3d000fa11c0feb635c51702c95) --- 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)