Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp726950pxb; Fri, 14 Jan 2022 15:07:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJxRjy6fA5INxvac0qujWc9NcShwv9DRh0vqWrUecNVQrg6ACV5Hh6CHS6eAC59NcmKTD1cZ X-Received: by 2002:a17:907:2cc4:: with SMTP id hg4mr8598633ejc.150.1642201649041; Fri, 14 Jan 2022 15:07:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642201649; cv=none; d=google.com; s=arc-20160816; b=xWuM6/g+g4A4W7gSuL0a83t5+yLwVp0zaR2SbQBO9kQDqCY0KpXzS3GQgnzhs33cPS R5sWcuOU8Psqk/3j7hbDcVLdvPfZpZr70AiwFfhmthHrG4pN/65KZhjI0V3dhw2jR+zW ZrUoPSWacNHk8qRSTTax0obKgUQ2qEWJBABYD5qBCuA595QwFesz6W13OwTPTHChnE3t rKmNSar3Exu+z9SF9f7JZ7+owU+vYjIFi8/ScNRkyfpB+DrAzxa87UZ2a1m6PLmceig+ 8k0BMRymB8sohBKSf3xXcaoBPfkitA2ICcgJjFwfquh8hk7l2nCTl1sAUuopromGI0PH XTpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:references:cc:to:from:content-language:subject :user-agent:date:message-id:dkim-signature; bh=csIhtdMRlj3CCvNrbOPC2pB7XgtNFNYHDZm03Ic9q+Y=; b=ww8BzXDG5Fu416QH9g/jHqCzUhufbuNVWGlCsYUcA5uuTIBKHJs7SuUaUwvyz+jBCP HY5Mqq7lbql//bMma1HhvMdhigKM8iMrIjnPm2S9DKa1ODj5bI5LiN8vIzL7VxSRK4J1 4DzcD80ddJdLZfUNuYezF5SlzcvYDT7o4U3qO+zJ/XF9SG0gslCgVFWwFwE78aDESJsc 3eXJ5ShbK9/H4dTP1utD/uhc4o8VgSHOTeK1Aiyrmy7E4tBI4ZZQrhJMVTZwhzW+Tjo6 5iXh9ppPtF+HDN3d/ImN+y7k3gNK7nBjIKSP97jrKxFKtveFo9+rCVlxhed8SmJZT46a +Agg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=paUZOVcs; 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hp5si3584157ejc.630.2022.01.14.15.07.04; Fri, 14 Jan 2022 15:07:29 -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=@ibm.com header.s=pp1 header.b=paUZOVcs; 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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244365AbiANUtx (ORCPT + 99 others); Fri, 14 Jan 2022 15:49:53 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:63048 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231162AbiANUtw (ORCPT ); Fri, 14 Jan 2022 15:49:52 -0500 Received: from pps.filterd (m0127361.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 20EK1mL5008938; Fri, 14 Jan 2022 20:49:52 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : subject : from : to : cc : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pp1; bh=csIhtdMRlj3CCvNrbOPC2pB7XgtNFNYHDZm03Ic9q+Y=; b=paUZOVcsTT+05j/Noh5u/1fKoVYBkS6Hcea9BMegRjpHohn6yuB8ov5/Yqj5i/OqPFoC 14jSuLMTqJ8Qi8YmmmN2vwZKJhB719oGriOT4Tkx2ymx/siFUR+SJTV7aC433Dj8Q6RP 6cmvddI6ZmvCH7osQFeWq/Nj7BTJexMs78OwQYZJJHvX56G37lDa3UmXeHT3D+xzOuAf jsoNJDCMIJTaG1iKiYAYlclzX5s4yPec3cF/52+feEwNX2LTul4umXnOjJJWdDQMh9aq 0noqGZ/YpllSBZdHUNtkphRzuXZ9D1Cw+eVEQDZgO2sWogA9Qqb2v1HApjsdcD2E6uwn JQ== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 3dkfutgtt3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Jan 2022 20:49:51 +0000 Received: from m0127361.ppops.net (m0127361.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 20EKjmnG029531; Fri, 14 Jan 2022 20:49:51 GMT Received: from ppma01wdc.us.ibm.com (fd.55.37a9.ip4.static.sl-reverse.com [169.55.85.253]) by mx0a-001b2d01.pphosted.com with ESMTP id 3dkfutgtsu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Jan 2022 20:49:51 +0000 Received: from pps.filterd (ppma01wdc.us.ibm.com [127.0.0.1]) by ppma01wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 20EKNW4c014848; Fri, 14 Jan 2022 20:49:50 GMT Received: from b03cxnp08027.gho.boulder.ibm.com (b03cxnp08027.gho.boulder.ibm.com [9.17.130.19]) by ppma01wdc.us.ibm.com with ESMTP id 3df28cfgkb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Jan 2022 20:49:50 +0000 Received: from b03ledav002.gho.boulder.ibm.com (b03ledav002.gho.boulder.ibm.com [9.17.130.233]) by b03cxnp08027.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 20EKnmIH17171050 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 14 Jan 2022 20:49:48 GMT Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 330C013604F; Fri, 14 Jan 2022 20:49:48 +0000 (GMT) Received: from b03ledav002.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 80504136061; Fri, 14 Jan 2022 20:49:46 +0000 (GMT) Received: from [9.211.65.142] (unknown [9.211.65.142]) by b03ledav002.gho.boulder.ibm.com (Postfix) with ESMTP; Fri, 14 Jan 2022 20:49:46 +0000 (GMT) Message-ID: <03721ec1-0f13-a766-d1c2-d69c88c2d335@linux.ibm.com> Date: Fri, 14 Jan 2022 15:49:45 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [PATCH v2 00/30] KVM: s390: enable zPCI for interpretive execution Content-Language: en-US From: Matthew Rosato To: linux-s390@vger.kernel.org Cc: alex.williamson@redhat.com, cohuck@redhat.com, schnelle@linux.ibm.com, farman@linux.ibm.com, pmorel@linux.ibm.com, borntraeger@linux.ibm.com, hca@linux.ibm.com, gor@linux.ibm.com, gerald.schaefer@linux.ibm.com, agordeev@linux.ibm.com, frankja@linux.ibm.com, david@redhat.com, imbrenda@linux.ibm.com, vneethv@linux.ibm.com, oberpar@linux.ibm.com, freude@linux.ibm.com, thuth@redhat.com, pasic@linux.ibm.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220114203145.242984-1-mjrosato@linux.ibm.com> In-Reply-To: <20220114203145.242984-1-mjrosato@linux.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed X-TM-AS-GCONF: 00 X-Proofpoint-GUID: 0p8h00ldR3IQ22zBy6SNitADJ2SQXn5c X-Proofpoint-ORIG-GUID: k9QJ2FFGe2aBSEtACkR30gxDyr0GL8Bb Content-Transfer-Encoding: 7bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-14_06,2022-01-14_01,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 impostorscore=0 malwarescore=0 spamscore=0 priorityscore=1501 suspectscore=0 clxscore=1015 lowpriorityscore=0 mlxlogscore=920 adultscore=0 bulkscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2201140120 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/14/22 3:31 PM, Matthew Rosato wrote: > Enable interpretive execution of zPCI instructions + adapter interruption > forwarding for s390x KVM vfio-pci. This is done by introducing a series > of new vfio-pci feature ioctls that are unique vfio-pci-zdev (s390x) and > are used to negotiate the various aspects of zPCI interpretation setup. > By allowing intepretation of zPCI instructions and firmware delivery of > interrupts to guests, we can significantly reduce the frequency of guest > SIE exits for zPCI. We then see additional gains by handling a hot-path > instruction that can still intercept to the hypervisor (RPCIT) directly > in kvm. > > From the perspective of guest configuration, you passthrough zPCI devices > in the same manner as before, with intepretation support being used by > default if available in kernel+qemu. > > Will reply with a link to the associated QEMU series. https://lore.kernel.org/qemu-devel/20220114203849.243657-1-mjrosato@linux.ibm.com/