mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 14:24:11 +08:00
s390/cio: fix virtual vs physical address confusion
Fix virtual vs physical address confusion (which currently are the same). Reviewed-by: Vineeth Vijayan <vneethv@linux.ibm.com> Signed-off-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
This commit is contained in:
parent
f48781d220
commit
e78002aa9a
@ -881,8 +881,8 @@ int __chsc_do_secm(struct channel_subsystem *css, int enable)
|
||||
secm_area->request.code = 0x0016;
|
||||
|
||||
secm_area->key = PAGE_DEFAULT_KEY >> 4;
|
||||
secm_area->cub_addr1 = (u64)(unsigned long)css->cub_addr1;
|
||||
secm_area->cub_addr2 = (u64)(unsigned long)css->cub_addr2;
|
||||
secm_area->cub_addr1 = virt_to_phys(css->cub_addr1);
|
||||
secm_area->cub_addr2 = virt_to_phys(css->cub_addr2);
|
||||
|
||||
secm_area->operation_code = enable ? 0 : 1;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user