freebsd-dev/sys/arm
Ian Lepore 77f4973eec Strengthen the sanity checking of busdma tag parameters.
It turns out an alignment of zero can lead to an endless loop in the
vm reservations code, so specifically disallow that.  The manpage says
hardware which can do dma at any address should use a value of one, which
hints at the forbiddeness of zero without exactly saying it.  Several
other conditions which could lead to insanity in working with the tag are
also checked now.

Every existing call to bus_dma_tag_create() (about 680 of them) was
eyeballed for violations of these things, and two alignment=0 glitches
were fixed.  It's possible something was missed, but overall this
shouldn't lead to any arm users suddenly experiencing failures.
2014-11-06 19:14:58 +00:00
..
allwinner Make the GPIO children attach to the first unit available and not only to 2014-10-28 18:33:59 +00:00
altera/socfpga Provide a character device allowing us to access BERI memory regions. 2014-10-22 11:30:03 +00:00
arm Strengthen the sanity checking of busdma tag parameters. 2014-11-06 19:14:58 +00:00
at91 Remove the ARM_DEVICE_MULTIPASS option and make its effect be the default. 2014-10-26 18:30:35 +00:00
broadcom/bcm2835 Make the GPIO children attach to the first unit available and not only to 2014-10-28 18:33:59 +00:00
cavium/cns11xx Mechanically convert to if_inc_counter(). 2014-09-19 09:20:16 +00:00
conf Add COMPAT_FREEBSD9 and COMPAT_FREEBSD10 options to wrap code that 2014-10-24 19:58:24 +00:00
freescale Make the GPIO children attach to the first unit available and not only to 2014-10-28 18:33:59 +00:00
include Add fueword(9) and casueword(9) functions. They are like fuword(9) 2014-10-28 15:22:13 +00:00
lpc Make the GPIO children attach to the first unit available and not only to 2014-10-28 18:33:59 +00:00
mv
rockchip Make the GPIO children attach to the first unit available and not only to 2014-10-28 18:33:59 +00:00
samsung Make the GPIO children attach to the first unit available and not only to 2014-10-28 18:33:59 +00:00
ti Make the GPIO children attach to the first unit available and not only to 2014-10-28 18:33:59 +00:00
versatile
xilinx Make the GPIO children attach to the first unit available and not only to 2014-10-28 18:33:59 +00:00
xscale Make the GPIO children attach to the first unit available and not only to 2014-10-28 18:33:59 +00:00