From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH] KVM: selftests: enable pgste option for the linker on s390 References: <20190523164309.13345-1-thuth@redhat.com> <20190524103301.87017-1-borntraeger@de.ibm.com> From: Thomas Huth Message-ID: <798bd397-d44f-0076-3f87-ea0214ceb614@redhat.com> Date: Fri, 24 May 2019 20:16:46 +0200 MIME-Version: 1.0 In-Reply-To: <20190524103301.87017-1-borntraeger@de.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: kvm-owner@vger.kernel.org List-Archive: List-Post: To: Christian Borntraeger , Janosch Frank Cc: KVM , Cornelia Huck , David Hildenbrand , Paolo Bonzini , =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= , Shuah Khan , Andrew Jones , linux-kselftest@vger.kernel.org, linux-s390 List-ID: On 24/05/2019 12.33, Christian Borntraeger wrote: > To avoid testcase failures we need to enable the pgstes. This can be > done with /proc/sys/vm/allocate_pgste or with a linker option that > creates an S390_PGSTE program header. Oh, right, I initially enabled it on my LPAR via "sysctl vm.allocate_pgste=1" when I started working on the selftests and then completely forgot about this... The linker option is certainly the better way to do this, thanks for the patch! Reviewed-by: Thomas Huth From mboxrd@z Thu Jan 1 00:00:00 1970 From: thuth at redhat.com (Thomas Huth) Date: Fri, 24 May 2019 20:16:46 +0200 Subject: [PATCH] KVM: selftests: enable pgste option for the linker on s390 In-Reply-To: <20190524103301.87017-1-borntraeger@de.ibm.com> References: <20190523164309.13345-1-thuth@redhat.com> <20190524103301.87017-1-borntraeger@de.ibm.com> Message-ID: <798bd397-d44f-0076-3f87-ea0214ceb614@redhat.com> On 24/05/2019 12.33, Christian Borntraeger wrote: > To avoid testcase failures we need to enable the pgstes. This can be > done with /proc/sys/vm/allocate_pgste or with a linker option that > creates an S390_PGSTE program header. Oh, right, I initially enabled it on my LPAR via "sysctl vm.allocate_pgste=1" when I started working on the selftests and then completely forgot about this... The linker option is certainly the better way to do this, thanks for the patch! Reviewed-by: Thomas Huth From mboxrd@z Thu Jan 1 00:00:00 1970 From: thuth@redhat.com (Thomas Huth) Date: Fri, 24 May 2019 20:16:46 +0200 Subject: [PATCH] KVM: selftests: enable pgste option for the linker on s390 In-Reply-To: <20190524103301.87017-1-borntraeger@de.ibm.com> References: <20190523164309.13345-1-thuth@redhat.com> <20190524103301.87017-1-borntraeger@de.ibm.com> Message-ID: <798bd397-d44f-0076-3f87-ea0214ceb614@redhat.com> Content-Type: text/plain; charset="UTF-8" Message-ID: <20190524181646.JeQctRz9tTHq2ih3Nd7i0gxIrXdIg8uCi5G-hP3qkCg@z> On 24/05/2019 12.33, Christian Borntraeger wrote: > To avoid testcase failures we need to enable the pgstes. This can be > done with /proc/sys/vm/allocate_pgste or with a linker option that > creates an S390_PGSTE program header. Oh, right, I initially enabled it on my LPAR via "sysctl vm.allocate_pgste=1" when I started working on the selftests and then completely forgot about this... The linker option is certainly the better way to do this, thanks for the patch! Reviewed-by: Thomas Huth