Subject: port-alpha/4216: alpha bus_space_copy_region doesn't handle overlapping regions
To: None <gnats-bugs@gnats.netbsd.org>
From: None <cgd@NetBSD.ORG>
List: netbsd-bugs
Date: 10/03/1997 23:00:09
>Number:         4216
>Category:       port-alpha
>Synopsis:       alpha bus_space_copy_region doesn't handle overlapping regions
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct  3 16:05:03 1997
>Last-Modified:
>Originator:     Chris G. Demetriou
>Organization:
Kernel Hackers 'r' Us
>Release:        NetBSD-current as of October 1, 1997
>Environment:
System: NetBSD brick.demetriou.com 1.2G NetBSD 1.2G (BRICK) #116: Wed Jul 16 14:03:06 PDT 1997 cgd@brick.demetriou.com:/usr/src/sys/arch/i386/compile/BRICK i386


>Description:
	NetBSD/alpha's bus_space_copy_region_*() functions do not
	handle overlapping regions correctly (per bus_space(9)).

	Looking at the source, they do the right thing for some chipsets,
	but not others.  Those functions used to work correctly for all
	chipsets.

>How-To-Repeat:
	Use bus_space_copy_region_*() to copy overlapping regions, e.g.
	as the NetBSD/alpha VGA driver does.

>Fix:
	None supplied.
>Audit-Trail:
>Unformatted: