Received: by 2002:a25:23cc:0:0:0:0:0 with SMTP id j195csp1539982ybj; Fri, 8 May 2020 03:49:36 -0700 (PDT) X-Google-Smtp-Source: APiQypIh2eiqj8mhK+JTUAiB93b/F3dZmygu05UdDpdgZrq/gdpD8Cf4EVrzM81KLG+7tPnM9EWv X-Received: by 2002:a50:9603:: with SMTP id y3mr1327278eda.80.1588934975928; Fri, 08 May 2020 03:49:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588934975; cv=none; d=google.com; s=arc-20160816; b=Glgsrh8CCu8QpW0X/NkHY6yriEw6Lv1sL1Qa1Db6d6a0DfQYn0NOEdbxHOlbPUAy2n +bmmwfgoFzPzkfA94/bmRurIRbiF6xYmqA/0i7Cku1T56fhgz8xmGvpisAkDZ3+ssAnP ciD5fIy5l79M+79fdlQhcbvDyq7Jsj0vWjLqxJWal1RPZZ+WpKUkF2bNlxzdYjF3J/g9 Wvc8m7oJ1CKfuMlWMmZtUdPYpnM6T0JHHk/dl1x8cWbpx6Ctmm5TUA/DWaan3b0me7/D P10mimM1Vu+c2Bu4heTX/KfPaz7R/fmEoWafjZsrhGFcxOWxVgDUBCOuFj6p1s5d+i0n dZRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=SEDOfW/qGS5s4maaqBjklYq821EFGHUya19S5KaYYO0=; b=MuEFTWkzCr9N0hvLmH5DyqxCLqxWLYLPq3LkyBb8SNDOqwkz33v1fSRO6z+2BaQzG6 d32xtbLtU1v0Pi81pkGAh42I21PJbBkicRxiBnl9hDq2iWT8kC0WhsIR7biTvszN5ptD Rv9Cy6wihC37OJvrajhjBPey/RVXX3UIFjrdmoChUu0Ken0tmIhoetPHr4F4P2DPcZFi /SWL2wbTnPoAmrLEb/eW4HlPP2rm+B8UbXA4Pd/cz6TNVpRijlaYlSqwXz2a7WmZcRTI X6cb4upibvUE84hOIkZW8yEXDyMSYUrD3AZNvA5dasIlMEPcBAlkU2XYZ67XqQOa+foq rh8A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MCimMweN; 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 w7si714145edu.237.2020.05.08.03.49.12; Fri, 08 May 2020 03:49:35 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=MCimMweN; 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 S1726906AbgEHKre (ORCPT + 99 others); Fri, 8 May 2020 06:47:34 -0400 Received: from us-smtp-2.mimecast.com ([205.139.110.61]:25423 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726751AbgEHKrd (ORCPT ); Fri, 8 May 2020 06:47:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1588934852; 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=SEDOfW/qGS5s4maaqBjklYq821EFGHUya19S5KaYYO0=; b=MCimMweN4YB4XbNtXceo93h1e4E9PghNB1orckyqBWutqCfO8gIWmeusLxubSK1Ir/ZoTQ 0iqJXPmij35nwd65Fn6LWVFYHJdgHowUcWB2bB1wYQxVdRWMarDMUx37F+b1VMgYbJFL+Y sbb5D6TKInKLEOTZ3cZraDQcun5R6Sg= 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-484-dJ3cNptYMiC7WzVScgx75w-1; Fri, 08 May 2020 06:47:30 -0400 X-MC-Unique: dJ3cNptYMiC7WzVScgx75w-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7A9E680058A; Fri, 8 May 2020 10:47:29 +0000 (UTC) Received: from gondolin (ovpn-112-144.ams2.redhat.com [10.36.112.144]) by smtp.corp.redhat.com (Postfix) with ESMTP id 12DD510013BD; Fri, 8 May 2020 10:47:27 +0000 (UTC) Date: Fri, 8 May 2020 12:47:25 +0200 From: Cornelia Huck To: Jared Rossi Cc: Eric Farman , Halil Pasic , linux-s390@vger.kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 1/1] vfio-ccw: Enable transparent CCW IPL from DASD Message-ID: <20200508124725.58fb985a.cohuck@redhat.com> In-Reply-To: <20200506212440.31323-2-jrossi@linux.ibm.com> References: <20200506212440.31323-1-jrossi@linux.ibm.com> <20200506212440.31323-2-jrossi@linux.ibm.com> Organization: Red Hat GmbH MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 6 May 2020 17:24:40 -0400 Jared Rossi wrote: > Remove the explicit prefetch check when using vfio-ccw devices. > This check does not trigger in practice as all Linux channel programs > are intended to use prefetch. > > It is expected that all ORBs issued by Linux will request prefetch. > Although non-prefetching ORBs are not rejected, they will prefetch > nonetheless. A warning is issued up to once per 5 seconds when a > forced prefetch occurs. > > A non-prefetch ORB does not necessarily result in an error, however > frequent encounters with non-prefetch ORBs indicate that channel > programs are being executed in a way that is inconsistent with what > the guest is requesting. While there is currently no known case of an > error caused by forced prefetch, it is possible in theory that forced > prefetch could result in an error if applied to a channel program that > is dependent on non-prefetch. > > Signed-off-by: Jared Rossi > --- > Documentation/s390/vfio-ccw.rst | 6 ++++++ > drivers/s390/cio/vfio_ccw_cp.c | 19 ++++++++++++------- > 2 files changed, 18 insertions(+), 7 deletions(-) > Thanks, applied.