[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH RFC 2/5] s390x: implement diag260
From: |
David Hildenbrand |
Subject: |
Re: [PATCH RFC 2/5] s390x: implement diag260 |
Date: |
Fri, 10 Jul 2020 17:24:07 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 |
On 10.07.20 17:18, Heiko Carstens wrote:
> On Fri, Jul 10, 2020 at 02:12:33PM +0200, David Hildenbrand wrote:
>>> Note: Reading about diag260 subcode 0xc, we could modify Linux to query
>>> the maximum possible pfn via diag260 0xc. Then, we maybe could avoid
>>> indicating maxram size via SCLP, and keep diag260-unaware OSs keep
>>> working as before. Thoughts?
>>
>> Implemented it, seems to work fine.
>
> The returned value would not include standby/reserved memory within
> z/VM. So this seems not to work.
Which value exactly are you referencing? diag 0xc returns two values.
One of them seems to do exactly what we need.
See
https://github.com/davidhildenbrand/linux/commit/a235f9fb20df7c04ae89bc0d134332d1a01842c7
for my current Linux approach.
> Also: why do you want to change this
Which change exactly do you mean?
If we limit the value returned via SCLP to initial memory, we cannot
break any guest (e.g., Linux pre 4.2, kvm-unit-tests). diag260 is then
purely optional.
--
Thanks,
David / dhildenb
Re: [PATCH RFC 2/5] s390x: implement diag260, Christian Borntraeger, 2020/07/09
- Re: [PATCH RFC 2/5] s390x: implement diag260, David Hildenbrand, 2020/07/09
- Re: [PATCH RFC 2/5] s390x: implement diag260, David Hildenbrand, 2020/07/10
- Re: [PATCH RFC 2/5] s390x: implement diag260, David Hildenbrand, 2020/07/10
- Re: [PATCH RFC 2/5] s390x: implement diag260, Heiko Carstens, 2020/07/10
- Re: [PATCH RFC 2/5] s390x: implement diag260,
David Hildenbrand <=
- Re: [PATCH RFC 2/5] s390x: implement diag260, Heiko Carstens, 2020/07/10
- Re: [PATCH RFC 2/5] s390x: implement diag260, David Hildenbrand, 2020/07/10
Re: [PATCH RFC 2/5] s390x: implement diag260, Heiko Carstens, 2020/07/13
Re: [PATCH RFC 2/5] s390x: implement diag260, David Hildenbrand, 2020/07/13
Re: [PATCH RFC 2/5] s390x: implement diag260, Christian Borntraeger, 2020/07/13
Re: [PATCH RFC 2/5] s390x: implement diag260, David Hildenbrand, 2020/07/15
Re: [PATCH RFC 2/5] s390x: implement diag260, Heiko Carstens, 2020/07/15
Re: [PATCH RFC 2/5] s390x: implement diag260, David Hildenbrand, 2020/07/15
Re: [PATCH RFC 2/5] s390x: implement diag260, Heiko Carstens, 2020/07/15
Re: [PATCH RFC 2/5] s390x: implement diag260, David Hildenbrand, 2020/07/15