NetBSD Problem Report #58309

From www@netbsd.org  Tue Jun  4 21:31:57 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits)
	 client-signature RSA-PSS (2048 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 118E11A9238
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  4 Jun 2024 21:31:57 +0000 (UTC)
Message-Id: <20240604213125.ED2A41A923A@mollari.NetBSD.org>
Date: Tue,  4 Jun 2024 21:31:25 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: BUS_DMA_PREFETCHABLE is undocumented
X-Send-Pr-Version: www-1.0

>Number:         58309
>Category:       kern
>Synopsis:       BUS_DMA_PREFETCHABLE is undocumented
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    riastradh
>State:          closed
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 04 21:35:00 +0000 2024
>Closed-Date:    Wed Oct 09 00:13:40 +0000 2024
>Last-Modified:  Wed Oct 09 00:13:40 +0000 2024
>Originator:     Taylor R Campbell
>Release:        current, 10, 9, ...
>Organization:
The BusDMA Prefetchation
>Environment:
>Description:
BUS_DMA_PREFETCHABLE is undocumented.
>How-To-Repeat:
man bus_dma
>Fix:
Yes, please!

>Release-Note:

>Audit-Trail:
From: "Taylor R Campbell" <riastradh@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/58309 CVS commit: src/share/man/man9
Date: Tue, 4 Jun 2024 21:43:13 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Tue Jun  4 21:43:13 UTC 2024

 Modified Files:
 	src/share/man/man9: bus_dma.9

 Log Message:
 bus_dma(9): Document BUS_DMA_PREFETCHABLE.

 Like BUS_DMA_NOCACHE.  Doesn't absolve you of the need for
 bus_dmamap_sync, but if you later pass the vaddr to bus_dmamap_load,
 the DMA map might notice the mapping is write-combining and use this
 to make bus_dmamap_sync cheaper.

 PR kern/58309


 To generate a diff of this commit:
 cvs rdiff -u -r1.68 -r1.69 src/share/man/man9/bus_dma.9

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->needs-pullups
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Tue, 04 Jun 2024 22:16:31 +0000
State-Changed-Why:
needs pullup-10, pullup-9


Responsible-Changed-From-To: kern-bug-people->riastradh
Responsible-Changed-By: riastradh@NetBSD.org
Responsible-Changed-When: Tue, 04 Jun 2024 22:29:57 +0000
Responsible-Changed-Why:
mine


State-Changed-From-To: needs-pullups->closed
State-Changed-By: riastradh@NetBSD.org
State-Changed-When: Wed, 09 Oct 2024 00:13:40 +0000
State-Changed-Why:
fixed in HEAD, pulled up to 10, not sure I care enough about 9
https://mail-index.netbsd.org/source-changes/2024/10/04/msg153702.html


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.