NetBSD Problem Report #35781
From www@NetBSD.org Thu Feb 22 12:15:28 2007
Return-Path: <www@NetBSD.org>
Received: by narn.NetBSD.org (Postfix, from userid 31301)
id EA96B63B879; Thu, 22 Feb 2007 12:15:28 +0000 (UTC)
Message-Id: <20070222121528.EA96B63B879@narn.NetBSD.org>
Date: Thu, 22 Feb 2007 12:15:28 +0000 (UTC)
From: Christoph_Egger@gmx.de
Reply-To: Christoph_Egger@gmx.de
To: gnats-bugs@NetBSD.org
Subject: bus_space(9) and bus_dma(9) atomic?
X-Send-Pr-Version: www-1.0
>Number: 35781
>Category: kern
>Synopsis: bus_space(9) and bus_dma(9) atomic?
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 22 12:20:00 +0000 2007
>Last-Modified: Thu Feb 22 14:50:03 +0000 2007
>Originator: Christoph Egger
>Release:
>Organization:
>Environment:
>Description:
The bus_space(9) and bus_dma(9) manpages do not clearly
describe if the functions are atomic or if they are
interruptable by e.g. an ISR.
>How-To-Repeat:
>Fix:
>Audit-Trail:
From: Martin Husemann <martin@duskware.de>
To: Christoph_Egger@gmx.de
Cc: gnats-bugs@netbsd.org
Subject: Re: kern/35781: bus_space(9) and bus_dma(9) atomic?
Date: Thu, 22 Feb 2007 15:45:18 +0100
On Thu, Feb 22, 2007 at 12:20:00PM +0000, Christoph_Egger@gmx.de wrote:
> The bus_space(9) and bus_dma(9) manpages do not clearly
> describe if the functions are atomic or if they are
> interruptable by e.g. an ISR.
They are (in general) not atomic and could be interrupted by an ISR,
but since you are touching the hardware, you would need to serialize
access by other means anyway.
Martin
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.