]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitfc637c69ffd8074c6b74b65ee9f9e4429900457f
tree90cae28b66ac49543b3146194c88205c72f9f926
parentdbc9d7509f8e5d6a88e153073b3f6d5e206d623e
[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