Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3406742pxu; Sun, 20 Dec 2020 01:42:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJxmJ5AOwtg3uISPhEEtYckAN+oxgkCY3mdNVsLmsN0twks9+wyCF3ey0+abR52HmmR3tuIr X-Received: by 2002:a17:907:271c:: with SMTP id w28mr11204592ejk.140.1608457357397; Sun, 20 Dec 2020 01:42:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608457357; cv=none; d=google.com; s=arc-20160816; b=MsivM2oTWaePY0TPCCisugZD51Ly6DrNL1mnfxGIGc+1WjUUA8vBgjMXnN0fAMpMux /ldsT5r/BuSbmOI1QR/hbadJ0/8H6TADPfLI1CtZNm70pgrKze/CbO1ra9QKEDKz55CT EqzYZFNmXcdEVWY7DIbyUwU8RLbRAqekypTWhmUxIFdSw3cEzpdLW1TlJ1oWzgNZl1ip i4a+iX2sYWxfxBLeESOCd4TSq1CT9IPMHQ5XfbOpiio9eZyO3QAU8I8hrobuMLxsPJkG rQpYcXXcDgJSdErmlAzAfh6+00lH8GpMyl37e86rMNLn5gP9V2DJANH6dP+Nr3LVVmuo er1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:dkim-signature; bh=Qu181/SxorcHfWdvdcSj+pkwAFVA8G1yAvMSmmXwoBY=; b=l35CIPAWFEX4VZPvrsvIgU5erbyBkqDpDuZhL6oiJHZxmlQiZnuQ2nL/qNU0XYk/l6 gOXQUoSospvzcH+ymIbMlBWhI6GzDrCTtabte7hn07GYFVsrQF0aImQTUUDJ9JUl8xVx IzWcD7AEr774oKS2ktf/MYEiMb4X3KQLeTo23Mtactxa2R1O30CWK8SJ7CtQLAfbWUZT /KyitXklMwCOBfBWAloT47GewSH9wJ4OjYmnGexL9ygRp4RolSQESFTpDoE1DYrve/BF lfyEX1SLrwh4GDICBn9K7Q4OKgyuUJg0Yf3kpcJTLYDRcGI0F8pFBo2YJnulHmJYZ11n rXPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OTgqvvLa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l6si9011049edq.274.2020.12.20.01.42.15; Sun, 20 Dec 2020 01:42:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=OTgqvvLa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727322AbgLTJl7 (ORCPT + 99 others); Sun, 20 Dec 2020 04:41:59 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:22377 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727159AbgLTJl7 (ORCPT ); Sun, 20 Dec 2020 04:41:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1608457232; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Qu181/SxorcHfWdvdcSj+pkwAFVA8G1yAvMSmmXwoBY=; b=OTgqvvLaaV9F2TkJxisc/Ara2Xtm0ktSN0x6lqlHwELMMkVhSgME+dctV1/sNBz03/RhIq VP05HAWOZpfX7Rr0x20IYyd0V9wdX9WGROJQuUrTZjfDsr/ryisY5fzTmTluj4tK2Va0W/ cPurN3tji28VaY7V52B8bUu4+94zWTo= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-217-BXSYY0nONT25flmeROQzhA-1; Sun, 20 Dec 2020 04:40:30 -0500 X-MC-Unique: BXSYY0nONT25flmeROQzhA-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 744291005504; Sun, 20 Dec 2020 09:40:29 +0000 (UTC) Received: from [10.36.112.16] (ovpn-112-16.ams2.redhat.com [10.36.112.16]) by smtp.corp.redhat.com (Postfix) with ESMTP id 438AD2CD65; Sun, 20 Dec 2020 09:40:28 +0000 (UTC) Subject: Re: [PATCH v1 0/4] s390/kvm: fix MVPG when in VSIE To: Claudio Imbrenda , linux-kernel@vger.kernel.org Cc: borntraeger@de.ibm.com, frankja@linux.ibm.com, kvm@vger.kernel.org, linux-s390@vger.kernel.org References: <20201218141811.310267-1-imbrenda@linux.ibm.com> From: David Hildenbrand Organization: Red Hat GmbH Message-ID: <5947ede7-7f9f-cdaa-b827-75a5715e4f12@redhat.com> Date: Sun, 20 Dec 2020 10:40:27 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <20201218141811.310267-1-imbrenda@linux.ibm.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18.12.20 15:18, Claudio Imbrenda wrote: > The current handling of the MVPG instruction when executed in a nested > guest is wrong, and can lead to the nested guest hanging. Hi, thanks for spotting and debugging! Is this related to nested guests hanging while migrating (mentioned by Janosch at some point)? Or can this not be reproduced with actual Linux guests? Thanks! > > This patchset fixes the behaviour to be more architecturally correct, > and fixes the hangs observed. > > Claudio Imbrenda (4): > s390/kvm: VSIE: stop leaking host addresses > s390/kvm: extend guest_translate for MVPG interpretation > s390/kvm: add kvm_s390_vsie_mvpg_check needed for VSIE MVPG > s390/kvm: VSIE: correctly handle MVPG when in VSIE > > arch/s390/kvm/gaccess.c | 88 ++++++++++++++++++++++++++++++++++++++--- > arch/s390/kvm/gaccess.h | 3 ++ > arch/s390/kvm/vsie.c | 78 +++++++++++++++++++++++++++++++++--- > 3 files changed, 159 insertions(+), 10 deletions(-) > -- Thanks, David / dhildenb