Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp595379ybz; Fri, 24 Apr 2020 06:06:17 -0700 (PDT) X-Google-Smtp-Source: APiQypLSH+r4ySDfpVuQMkkpMFCPDUJNn5xqAYYOvxBeLOhQbSR7mZuuy6ZoUhuLO1zmatjAPev/ X-Received: by 2002:a17:906:5287:: with SMTP id c7mr7167027ejm.141.1587733577792; Fri, 24 Apr 2020 06:06:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587733577; cv=none; d=google.com; s=arc-20160816; b=x5xva3DTujuYRYNYo2au4Dzq7SduVGQwAEm8Po4+oykXegk8s0lHfUheFVJR5o/acr /qwHuKVCyoO+aJvPLYmG4x4BjjlYBR9iMVXsQZVjc+VoQqEjwrWie20WKdcAV/t4K0r+ hiY4qS6YvT/DD3dIE4QEtrhRugM1q4zURIF3RlSkrXRAHTMaE3sNkB0IDmL0JDNcUe1F 1y45eB2o9hq9Xbwd1/TmZS0msEClcjKBtp2D010945bzS9yjq5ZF7zi7Udv3vr/0eLcI rzmZ4N8T+cmk+eMuPLpPKfUFLZAKLPcu4iSS6sJxgxHuBirlduKXoT++FkiSWwSb1eVR MYTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:organization:references:in-reply-to:subject:cc:to:from :date; bh=6WnbXB9eT1/D7zmtf5SkLdH17PAzEy0d/MUVCPQJhvk=; b=CHsBaTBA6OyqeRq4oyR5b7qFSLVCv9DP5jc4VMs3+7XZrtQPbzAW2QAyFa/678NZEm 0Ti3HtTmaosuWsQhJNVoIzDlrq7B6BFEiSYKeJergsA4nfS8TWHv+ORATMQCqiT3TEh2 Io2s1vGivv0fl+PjaQCuEO2cLcCEkwaofUUSVfZCKtG5n7AW8WhCO+xU9B+RcHt/PT0F b8Q/PfiNW+kAHiw6dmYzP9CiWlCd2ftYOeG+R5c+273Fd3BkWe3x7SUdxKnCnYZ/L+U4 CmMhQ1DFVL8xjbizyvrCAnNWUx9bH3bU9dBKyIW3wxPOsGcW0G3bHHdHPxGRG3Gp32O5 Lxhg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (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 s12si2705889edx.72.2020.04.24.06.05.33; Fri, 24 Apr 2020 06:06:17 -0700 (PDT) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726950AbgDXNDC (ORCPT + 99 others); Fri, 24 Apr 2020 09:03:02 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:13806 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726798AbgDXNDB (ORCPT ); Fri, 24 Apr 2020 09:03:01 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 03OCqGpZ142696 for ; Fri, 24 Apr 2020 09:03:00 -0400 Received: from e06smtp02.uk.ibm.com (e06smtp02.uk.ibm.com [195.75.94.98]) by mx0b-001b2d01.pphosted.com with ESMTP id 30ghua2k7g-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 24 Apr 2020 09:03:00 -0400 Received: from localhost by e06smtp02.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 24 Apr 2020 14:02:21 +0100 Received: from b06avi18878370.portsmouth.uk.ibm.com (9.149.26.194) by e06smtp02.uk.ibm.com (192.168.101.132) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 24 Apr 2020 14:02:17 +0100 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06avi18878370.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 03OD2s6g63832566 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 24 Apr 2020 13:02:54 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 61307A4057; Fri, 24 Apr 2020 13:02:54 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 02D82A4040; Fri, 24 Apr 2020 13:02:54 +0000 (GMT) Received: from oc2783563651 (unknown [9.145.37.140]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 24 Apr 2020 13:02:53 +0000 (GMT) Date: Fri, 24 Apr 2020 15:02:40 +0200 From: Halil Pasic To: Cornelia Huck Cc: Jared Rossi , Eric Farman , linux-s390@vger.kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] vfio-ccw: Enable transparent CCW IPL from DASD In-Reply-To: <20200420141317.4537498f.cohuck@redhat.com> References: <20200417182939.11460-1-jrossi@linux.ibm.com> <20200417182939.11460-2-jrossi@linux.ibm.com> <20200420141317.4537498f.cohuck@redhat.com> Organization: IBM X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 20042413-0008-0000-0000-000003768122 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20042413-0009-0000-0000-00004A9851E9 Message-Id: <20200424150240.6fdede81.pasic@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.676 definitions=2020-04-24_04:2020-04-23,2020-04-24 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=814 suspectscore=0 bulkscore=0 spamscore=0 phishscore=0 adultscore=0 clxscore=1015 malwarescore=0 priorityscore=1501 lowpriorityscore=0 mlxscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2004240097 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 20 Apr 2020 14:13:17 +0200 Cornelia Huck wrote: > > Remove the explicit prefetch check when using vfio-ccw devices. > > This check is not needed as all Linux channel programs are intended > > to use prefetch and will be executed in the same way regardless. > > Hm... my understanding is that we have the reasonable expectation that > our guests will always issue channel programs that work fine with > prefetch even if the bit is not set in the orb (including CCW IPL, in > the way it is implemented in the s390-ccw QEMU bios), and therefore > this patch is just making things less complicated. AFAIR the problem is not s390-ccw QEMU bios. We could easily fix that. The practical problem is some channel programs generated by zipl that simply fail to set the bit (although they could). That is a perfectly legit thing to do, because the prefetch bit was originally about performance. Sorry I missed your mail, so complained about the same issues. Regards, Halil