diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2021-07-08 08:32:46 +0200 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2021-08-18 10:01:27 +0200 |
commit | eade5f61a56f7589ebc5d321bfa2fdf349552e45 (patch) | |
tree | 863da30324ab0a25ae0f14032d52427572c24769 /drivers/s390/cio | |
parent | d3683c055212bf910d4e318f7944910ce10dbee6 (diff) | |
download | linux-eade5f61a56f7589ebc5d321bfa2fdf349552e45.tar.bz2 |
s390/qdio: use absolute data address in ESTABLISH ccw
Clean up yet another path where HW wants an absolute address, and we've
been implicitly relying on V=R.
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 'drivers/s390/cio')
-rw-r--r-- | drivers/s390/cio/qdio_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/qdio_main.c b/drivers/s390/cio/qdio_main.c index 42a2e2b3cda9..4e861a9e825c 100644 --- a/drivers/s390/cio/qdio_main.c +++ b/drivers/s390/cio/qdio_main.c @@ -998,7 +998,7 @@ int qdio_establish(struct ccw_device *cdev, irq_ptr->ccw.cmd_code = irq_ptr->equeue.cmd; irq_ptr->ccw.flags = CCW_FLAG_SLI; irq_ptr->ccw.count = irq_ptr->equeue.count; - irq_ptr->ccw.cda = (u32)((addr_t)irq_ptr->qdr); + irq_ptr->ccw.cda = (u32) virt_to_phys(irq_ptr->qdr); spin_lock_irq(get_ccwdev_lock(cdev)); ccw_device_set_options_mask(cdev, 0); |