From nobody Fri Dec 10 03:18:58 2021 X-Original-To: dev-commits-src-all@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 CD90618CF9C8; Fri, 10 Dec 2021 03:18:58 +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 4J9GMk4HB6z3G4t; Fri, 10 Dec 2021 03:18:58 +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 724BE131D3; Fri, 10 Dec 2021 03:18:58 +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 1BA3Iw70016626; Fri, 10 Dec 2021 03:18:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BA3Iwti016625; Fri, 10 Dec 2021 03:18:58 GMT (envelope-from git) Date: Fri, 10 Dec 2021 03:18:58 GMT Message-Id: <202112100318.1BA3Iwti016625@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Alexander Motin Subject: git: 849391886815 - main - busdma: Remove outdated comments about Giant. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: 8493918868151d3d000fa11c0feb635c51702c95 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639106338; 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=MA0GXw4yiMZw+D4IT1Z0PbxkcLejHFaCBeUPlJl1HR4=; b=pC9ZGmDNYMdWzwVYovW/VBEv3dLnyibI0ktGsks2fSrgNy6/N4eoAKuLrAnfKXgEJv3MTX Fs7eAR0gd3Y8Em/pi3yUvz0E2hMqnt4JVv6/1uCi7CfbiH2cO7KnjLnFdQSL0OT4izGKrs bikmwY9FiqptAe2GIlrXPJdfoXsUadb7Mo6KNbyMTQUlbSuNCK3IxUdCgWHIR2vAKp4S5m wKJsAQDpeiba+kwP110SNLhgcXuZFxYJ9oEWA6UC5tsxAPAEnH+x5n63gJAhVgs2PZflCo XCR9Oez8AmphLKoWIARa/Z7xblRRfQUZv2UUadw7hRAsIgp+deXl4YzGQpjvFA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639106338; a=rsa-sha256; cv=none; b=Ilk0WojEGDNWzVPvW4c7nFVV5y/kLV0bvfk7+6zNzY8ApySiEoG1SajIMtqEwpXpcPgwW3 fxOj6Y5iyYKPBgS72ifBv/n0WV9JgGWBas2RhtcvR4TIiRepnP3iRc0rP85RmIkOQ5dqD8 FMu/4BXPndbeFkCAyVtp+7Ye33XtigBiJPS4zOQTqv/lrz4g3LZjookPVhNFtdSdr/zftF 4l9DxtwkePh9GAPK+SaG/jdmG8ezjp8crBN04M/zYDb772zTGucxNqzRecb45WcR8X1QXd rDbjEK6sCa47MZWOHKUqBV1W9ocesNj8fSD8D25FpROGEA5Z0mkihrRCUQeyhA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=8493918868151d3d000fa11c0feb635c51702c95 commit 8493918868151d3d000fa11c0feb635c51702c95 Author: Alexander Motin AuthorDate: 2021-12-10 03:17:54 +0000 Commit: Alexander Motin 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)