summaryrefslogtreecommitdiffstats
path: root/arch/s390
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2020-02-11 09:27:38 +0100
committerVasily Gorbik <gor@linux.ibm.com>2020-02-19 17:26:32 +0100
commit2db01da8d25f0420c411e788a9e1ba39269ae37b (patch)
tree13f883706b04688ead86f6a0857e7cefb337545d /arch/s390
parente9091ffd6a0aaced111b5d6ead5eaab5cd7101bc (diff)
downloadlinux-2db01da8d25f0420c411e788a9e1ba39269ae37b.tar.gz
linux-2db01da8d25f0420c411e788a9e1ba39269ae37b.tar.bz2
linux-2db01da8d25f0420c411e788a9e1ba39269ae37b.zip
s390/qdio: fill SBALEs with absolute addresses
sbale->addr holds an absolute address (or for some FCP usage, an opaque request ID), and should only be used with proper virt/phys translation. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Reviewed-by: Benjamin Block <bblock@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r--arch/s390/include/asm/qdio.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/s390/include/asm/qdio.h b/arch/s390/include/asm/qdio.h
index 7870cf834533..1e3517b0518b 100644
--- a/arch/s390/include/asm/qdio.h
+++ b/arch/s390/include/asm/qdio.h
@@ -201,7 +201,7 @@ struct slib {
* @scount: SBAL count
* @sflags: whole SBAL flags
* @length: length
- * @addr: address
+ * @addr: absolute data address
*/
struct qdio_buffer_element {
u8 eflags;
@@ -211,7 +211,7 @@ struct qdio_buffer_element {
u8 scount;
u8 sflags;
u32 length;
- void *addr;
+ u64 addr;
} __attribute__ ((packed, aligned(16)));
/**