From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D4CF3ECBF1; Fri, 12 Jun 2026 13:17:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.158.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781270262; cv=none; b=WMB4ikI3LeXmiyRw8tH0y1iFchR4s7y/J5vw2UI+/aOyAZZNKZNDEUsPa6rzdiOBFPzj7f1QBprVkWztKGYcaviwIurVXsvWT49Sm/3UyCUqzxfIJ5QFJTcxrl3pjBjNxhEai9DlhKTyqmKVdfiwtyQYyY8HEYcsRIxltWXqEqs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781270262; c=relaxed/simple; bh=PfYXBt0fBjT6MGzVL5VRFhrBwB/bw3V8yDlezPkQ3sg=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=ToA16+vb0BHO78AXdHJBPyZ7X4CdZyxCYrZAHYXxzplqEqCMuB/0ecKwGVQgT1BNZ7XTuYm6fJCO4Ped3PTmOx5i7iampmnMEBAw2cnjSzbczYEzI51gVjkwtQyJGRghh+fYoe1iA1rn3aPel909x6qdvmA49lLtHCnsxXR1XTc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=nUfaAwnl; arc=none smtp.client-ip=148.163.158.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="nUfaAwnl" Received: from pps.filterd (m0356516.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 65BM03a91363883; Fri, 12 Jun 2026 13:17:40 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=pp1; bh=CBDkfU DeOtpCvaS0wYGy16Ta1axk4Yq0dcdcv2cI+6s=; b=nUfaAwnlQfCaN10C3vqPIN PitDA6ftOg0LOU+7s5if2wMMjsO9nEN98Qc6EikSOij29FwpajV+j53Udvlxx3aM SjFx5QecrnjCOWweGRXvsrax16OIYb/X4msd9TOSS1igKcTaP15W6vMLaPeXfLIg MyoWqQeHA1lNUYfKAsdTbm385VXuSfDuaSi+7FH4bBNMGktklHQAyIV9wbrZ//t6 LNav0gFehAiBrS64DuUASW4I8R9LRillYtq1U7vxGOppuNvkJ30JacU6aK0D3beS lbQ5wPHMiXTED4JizFB1cfcrjYT18GE6at+jvN5mvplqWjRwwWWXtA4KzdVFdRQQ == Received: from ppma21.wdc07v.mail.ibm.com (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 4eqe8e0quq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Jun 2026 13:17:40 +0000 (GMT) Received: from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1]) by ppma21.wdc07v.mail.ibm.com (8.18.1.7/8.18.1.7) with ESMTP id 65CD4kNt023111; Fri, 12 Jun 2026 13:17:39 GMT Received: from smtprelay04.fra02v.mail.ibm.com ([9.218.2.228]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 4eqe08qysh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Jun 2026 13:17:39 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com [10.20.54.106]) by smtprelay04.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 65CDHZtS15466954 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 12 Jun 2026 13:17:35 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B614220043; Fri, 12 Jun 2026 13:17:35 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8EAB320040; Fri, 12 Jun 2026 13:17:35 +0000 (GMT) Received: from p-imbrenda (unknown [9.224.75.30]) by smtpav07.fra02v.mail.ibm.com (Postfix) with SMTP; Fri, 12 Jun 2026 13:17:35 +0000 (GMT) Date: Fri, 12 Jun 2026 15:16:27 +0200 From: Claudio Imbrenda To: Christoph Schlameuss Cc: linux-s390@vger.kernel.org, Christian Borntraeger , Janosch Frank , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Sven Schnelle , Hendrik Brueckner , Nina Schoetterl-Glausch , kvm@vger.kernel.org Subject: Re: [PATCH v4 0/4] KVM: s390: vsie: Implement ASTFLEIE facility 2 Message-ID: <20260612151627.6d2329d9@p-imbrenda> In-Reply-To: <20260612-vsie-alter-stfle-fac-v4-0-74f0e1559929@linux.ibm.com> References: <20260612-vsie-alter-stfle-fac-v4-0-74f0e1559929@linux.ibm.com> Organization: IBM X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-redhat-linux-gnu) Precedence: bulk X-Mailing-List: linux-s390@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TM-AS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ORIG-GUID: 6tE4JVLYviPJihG8uqm8ZUI7EMOiDLJf X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.125,FMLib:17.12.100.49 definitions=2026-06-12_01,2026-06-12_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 malwarescore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 phishscore=0 suspectscore=0 bulkscore=0 adultscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2606040000 definitions=main-2606120120 On Fri, 12 Jun 2026 14:23:00 +0200 Christoph Schlameuss wrote: > Add support for STFLE format 2 in VSIE guests. > > The change requires qemu support to set the ASTFLEIE2 feature bit. > ASTFLEIE2 is available since IBM z16. > To function G1 has to run this KVM code and G1 and G2 have to run QEMU > > Tests are implemented in kvm-unit-tests and sent as a series to that > list. > > Signed-off-by: Christoph Schlameuss Series: Reviewed-by: Claudio Imbrenda with one nit in patch 4 > --- > The series was originally developed by Nina and only rebased and > slightly adjusted by me. It was not sent earlier since the accompanying > kvm-unit-tests and qemu changes were not ready. > > --- > Changes in v4: > - adjusted struct kvm_s390_flcb2 to make sure reserved0 is always 0 > > Changes in v3: > - renamed struct kvm_s390_f2_flcb to kvm_s390_flcb2 as requested by > Janosch > - rebased > > Changes in v2: > - adjusted variable naming in handle_stfle() > - add some constants for readability > - add struct for format-2 facility list control block > - rebased to v7.0-rc1 > > --- > Nina Schoetterl-Glausch (4): > KVM: s390: Minor refactor of base/ext facility lists > s390/sclp: Detect ASTFLEIE 2 facility > KVM: s390: vsie: Refactor handle_stfle > KVM: s390: vsie: Implement ASTFLEIE facility 2 > > arch/s390/include/asm/kvm_host.h | 12 ++++++ > arch/s390/include/asm/sclp.h | 1 + > arch/s390/include/uapi/asm/kvm.h | 1 + > arch/s390/kvm/kvm-s390.c | 46 ++++++++++------------ > arch/s390/kvm/vsie.c | 85 +++++++++++++++++++++++++++++++--------- > drivers/s390/char/sclp_early.c | 4 +- > 6 files changed, 104 insertions(+), 45 deletions(-) > --- > base-commit: 0e5d0a0b5ca6ea4e391d6786266405c5871e0151 > change-id: 20260129-vsie-alter-stfle-fac-b3d28b948146 > > Best regards,