File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -9655,6 +9655,7 @@ F: Documentation/virt/kvm/s390*
9655
9655
F: arch/s390/include/asm/gmap.h
9656
9656
F: arch/s390/include/asm/kvm*
9657
9657
F: arch/s390/include/uapi/asm/kvm*
9658
+ F: arch/s390/kernel/uv.c
9658
9659
F: arch/s390/kvm/
9659
9660
F: arch/s390/mm/gmap.c
9660
9661
F: tools/testing/selftests/kvm/*/s390x/
Original file line number Diff line number Diff line change @@ -129,8 +129,15 @@ int uv_destroy_page(unsigned long paddr)
129
129
.paddr = paddr
130
130
};
131
131
132
- if (uv_call (0 , (u64 )& uvcb ))
132
+ if (uv_call (0 , (u64 )& uvcb )) {
133
+ /*
134
+ * Older firmware uses 107/d as an indication of a non secure
135
+ * page. Let us emulate the newer variant (no-op).
136
+ */
137
+ if (uvcb .header .rc == 0x107 && uvcb .header .rrc == 0xd )
138
+ return 0 ;
133
139
return - EINVAL ;
140
+ }
134
141
return 0 ;
135
142
}
136
143
You can’t perform that action at this time.
0 commit comments