[S390] hvc_iucv: allocate memory buffers for IUCV in zone DMA
authorHendrik Brueckner <brueckner@linux.vnet.ibm.com>
Mon, 8 Mar 2010 11:25:15 +0000 (12:25 +0100)
committerMartin Schwidefsky <sky@mschwide.boeblingen.de.ibm.com>
Mon, 8 Mar 2010 11:25:29 +0000 (12:25 +0100)
commit91a970d9889c7d6f451ee91ed361d0f0119d3778
tree90cae28b66ac49543b3146194c88205c72f9f926
parent596a95cdf0ba35ea353fb5b65750f596d712041e
[S390] hvc_iucv: allocate memory buffers for IUCV in zone DMA

The device driver must allocate memory for IUCV buffers with GFP_DMA,
because IUCV cannot address memory above 2GB (31bit addresses only).

Because the IUCV ignores the higher bits of the address, sending and
receiving IUCV data with this driver might cause memory corruptions.

Signed-off-by: Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/char/hvc_iucv.c