Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6865588rwr; Tue, 2 May 2023 06:38:19 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6rLPC8ohBmYSoo6RtPywezD+7vOa75CiyD0J+24SI2IdN3Xp4ch9AlastdJSFqswPfVxmW X-Received: by 2002:a17:902:da83:b0:1a5:1109:f58e with SMTP id j3-20020a170902da8300b001a51109f58emr21052944plx.29.1683034699015; Tue, 02 May 2023 06:38:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683034699; cv=none; d=google.com; s=arc-20160816; b=lr57QCovmSdhXSqhBjuXVZY+yHwOyFavZ7oqPhCdcgySmfvdDT7vVHFPk+Oh2VVFbq RhtXLK6OslFbROh12EhuUu5yuWcZad8FFaSfUEa1m3r7me5FLfGmmnn48h73plR2snx2 ueJXAzGDqY7gEu5OTLffBgopyMz64um2cQVoiufCcjv+iWjLcZu5/VYQHPcsmpuPJB7Y oanv52Vr3cMv81HBJ4pI1RNVKEfNG421nsSK8gm3vKt9ZyyTGUTYhWV6TtgsqwYilFN8 7Cw+bMF46nL8H0JFURQaR6jSHGoLinzl73DJDTQep738RmdLVQlx6i4ecvp6qc8y7bcp 219Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :organization:from:references:cc:to:content-language:user-agent :mime-version:date:message-id:dkim-signature; bh=IROBYfVezUGUOMHt+Xf+RoziNZv7xK7RsTQX0q9IseM=; b=ONb9CgVcbD3dzRHvnlnz4L7WmvGhMJXuiAdovJPwPKch0+5UB8kAn8DMlQFGV8um4o w1RWssuuVixNh3ULrm88HYzFlyNnb4ea9eI73GdZ5NVuBiO5BGTb619cA8Y0II4oLjXH REN41u+BE8cgjLDn9w1jYuA3uTDxFttUa9nVjoKEv/ihI8i/Dwqj7pjIsunSCz5E9hXA 5XNvo67kjYZDTSJcQ+S4rKdaVeee/IcFN5xRVY5QwJhBSvNIqxfLTKXUMWzi0CqSD7/k ia0mOxwsKbtVh31LqfVJdjPzEA4hA/QPvBdCco8fPMDBEFXsD6ybKbfZMfxw3yTb/PEm 69cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HwCmDOsx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j16-20020a170902759000b001aae90dbcc1si6407985pll.225.2023.05.02.06.38.06; Tue, 02 May 2023 06:38:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HwCmDOsx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S234228AbjEBN3f (ORCPT + 99 others); Tue, 2 May 2023 09:29:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233793AbjEBN3d (ORCPT ); Tue, 2 May 2023 09:29:33 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 915215B8E for ; Tue, 2 May 2023 06:28:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1683034125; 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=IROBYfVezUGUOMHt+Xf+RoziNZv7xK7RsTQX0q9IseM=; b=HwCmDOsxVeDP30hvheU4OJ+dXmcM7Cnj/B8kPx2//x4qVUhWecQCHF431MMymBlEIRcXlV jSsd5L2mUd0fnRuQAsLP1HHbGNLEuoD180qSXZySxoXVpxfNnX8hUWyRB/jro4Qj/HgUl7 SkiF7FBIYnreHJtAh/d1d+TqH0gTrk4= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-306-Qs_tP9dmNoystyplRNMcGw-1; Tue, 02 May 2023 09:28:44 -0400 X-MC-Unique: Qs_tP9dmNoystyplRNMcGw-1 Received: by mail-wm1-f71.google.com with SMTP id 5b1f17b1804b1-3f3157128b4so105404055e9.0 for ; Tue, 02 May 2023 06:28:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683034123; x=1685626123; h=content-transfer-encoding:in-reply-to:subject:organization:from :references:cc:to:content-language:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=IROBYfVezUGUOMHt+Xf+RoziNZv7xK7RsTQX0q9IseM=; b=C2wtOx2BIa4myw/AAV+z6urV+JZU4coPE/QZoASDYidPmXByw3WfvPAR7YFzg0SUjq HtaHunkx7cDBqaRNQo2i9YjugmxVWOdwFsH14OBIUFaewhHYqFl/xNfZkR6LFlaacATU NoXqa/j3RP1ip4xxituXM9F7+5kPHxJMjqW6aIWSGNm50wgcy7fHtIgRUu424qyFD3jy YSrfP/FmEufs7TZjMFlKtbdrkmbrn3UJah17l9yCX5ksyab/xRFN4syivxoqmHZlZJVH ZSbzKZsPkNHvbw6h332yaCyZB3YXsajs+og+VTiy3nrZAfhBG2/8AOhrrekYksTcmoz3 UEZQ== X-Gm-Message-State: AC+VfDxpGK7P7dj+GW+n18vAHZIqlFqzJvqdHPWa1qZesfR5jN6/3S4u EPaWegjOrWwLRblz3skJmHMMkRJfRfwtitJx6+7smOEKiqJDEJZNE43Jbj2jGxkUMqABFYwEQXq Nxyh52lLACWD4KhUvcXqIIp0H X-Received: by 2002:a7b:c7c4:0:b0:3f1:6f57:6fd1 with SMTP id z4-20020a7bc7c4000000b003f16f576fd1mr12572122wmk.9.1683034123615; Tue, 02 May 2023 06:28:43 -0700 (PDT) X-Received: by 2002:a7b:c7c4:0:b0:3f1:6f57:6fd1 with SMTP id z4-20020a7bc7c4000000b003f16f576fd1mr12572106wmk.9.1683034123289; Tue, 02 May 2023 06:28:43 -0700 (PDT) Received: from ?IPV6:2003:cb:c700:2400:6b79:2aa:9602:7016? (p200300cbc70024006b7902aa96027016.dip0.t-ipconnect.de. [2003:cb:c700:2400:6b79:2aa:9602:7016]) by smtp.gmail.com with ESMTPSA id p5-20020a05600c468500b003f18141a016sm38716313wmo.18.2023.05.02.06.28.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 02 May 2023 06:28:42 -0700 (PDT) Message-ID: Date: Tue, 2 May 2023 15:28:40 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Content-Language: en-US To: Jason Gunthorpe , Christian Borntraeger Cc: Lorenzo Stoakes , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Morton , Jens Axboe , Matthew Wilcox , Dennis Dalessandro , Leon Romanovsky , Christian Benvenuti , Nelson Escobar , Bernard Metzler , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , Bjorn Topel , Magnus Karlsson , Maciej Fijalkowski , Jonathan Lemon , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Christian Brauner , Richard Cochran , Alexei Starovoitov , Daniel Borkmann , Jesper Dangaard Brouer , John Fastabend , linux-fsdevel@vger.kernel.org, linux-perf-users@vger.kernel.org, netdev@vger.kernel.org, bpf@vger.kernel.org, Oleg Nesterov , John Hubbard , Jan Kara , "Kirill A . Shutemov" , Pavel Begunkov , Mika Penttila , Dave Chinner , Theodore Ts'o , Peter Xu , Matthew Rosato References: <7d56b424-ba79-4b21-b02c-c89705533852@lucifer.local> From: David Hildenbrand Organization: Red Hat Subject: Re: [PATCH v6 3/3] mm/gup: disallow FOLL_LONGTERM GUP-fast writing to file-backed mappings In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02.05.23 15:10, Jason Gunthorpe wrote: > On Tue, May 02, 2023 at 03:04:27PM +0200, Christian Borntraeger wrote: > \> > We can reintroduce a flag to permit exceptions if this is really broken, are you >>> able to test? I don't have an s390 sat around :) >> >> Matt (Rosato on cc) probably can. In the end, it would mean having >> >> >> > > This s390 code is the least of the problems, after this series VFIO > won't startup at all with this configuration. Good question if the domain would fail to start. I recall that IOMMUs for zPCI are special on s390x. [1] Well, zPCI is special. I cannot immediately tell when we would trigger long-term pinning. [1] https://www.mail-archive.com/qemu-devel@nongnu.org/msg875728.html -- Thanks, David / dhildenb