Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3227285pxb; Fri, 4 Feb 2022 04:19:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJwzO+xBiMTfXzuKgn8NEJRzHCSU6ESGjRSXXFpdhnpQvO6CU1wz75yh7KnaaoYFjIwba3td X-Received: by 2002:a17:903:18b:: with SMTP id z11mr2972219plg.47.1643977151881; Fri, 04 Feb 2022 04:19:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643977151; cv=none; d=google.com; s=arc-20160816; b=MBjvQCaZICC0pf37CjkN7Ejors+Ge8HYUy65xneBWqQoMeOMcYPNy8wKed3egDMocI NNtMORiNqV5iPPq5p9DWaWZ6s+5J53+rIgSWPdPY82YS/3kB6DHnfSyvDT+kCXGJRKP3 Uu7wkJ8O/Ske1Cc6zyw9pRmb2SeuWoaw6+g+Qftre9AKKSN+gWAtN1WOkX5bEyup6S3c 5EHC23ctueMdOLkHGmd3Tqo0o42Y2zAVUky1EXcxvxXMMw6coAlIjadnhcbVEyihoECE KDwr5b5/JYvxWTtJ0GIMmo12v70M0P27THKV0Ni8Kshz2TYlLzG2wFSLekY4yvnEPXkc nqfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=CG7qhRTZqFuGbV5KI21kTvEgW0iKHq6T7r1QvRxD/2M=; b=JddHecHHoTN2/bQkb/zK42+31lvqX4hGP+fMBmFjlQE7zX4Xp4OaWql6gCEvIDmQ0r /zy8l2WIUK+jYWkxWZhhkGJFlTY6BjNeT5bsYVKUSaqQFnMNs4qHzAdQXuigxhuobZEF 8uIyvaq1REGe6Xy1hlb5uCc10aEkvXkD+SWXuqliQ9pponJYVFCA1pXoSn0f6TfogJ1G vhT2ZLzOJUAoYjj0Cztu8Z7b7OFsP22mA6uV/iW2Fz0bY3kMiGhBG/gy+aemU1XPm/Wj dWxnm9Vx09cNSA5jLNQ901cL21tOPrxU6u+GZU7FQ+quOeY1wSYzNjGUpieYGA88pysC I1bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="eW+lm/Xg"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l11si1769293plg.151.2022.02.04.04.18.56; Fri, 04 Feb 2022 04:19:11 -0800 (PST) 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=@infradead.org header.s=bombadil.20210309 header.b="eW+lm/Xg"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350952AbiBCOBA (ORCPT + 99 others); Thu, 3 Feb 2022 09:01:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232957AbiBCOA7 (ORCPT ); Thu, 3 Feb 2022 09:00:59 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26999C061714 for ; Thu, 3 Feb 2022 06:00:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=CG7qhRTZqFuGbV5KI21kTvEgW0iKHq6T7r1QvRxD/2M=; b=eW+lm/XgE3echvTFXo9YykT+Jb aLS0JyHij9OJeRzd2cYEU3K5iuPvKXoD01Ye7n7tdf25z+hJk1M+ZPIb0fQ7YudqWZF+pOjfjuyjH J6bNvWp8r+NSkwsROi7U/vxuzahTka5HBgedkmhZUZlgdm9wifsNoHQTRfPMz3eMJXbLxVwegWMju jDa++Z8ubTXt52cFO1HVN/dyusGtGZTCXLnmcCk/63yci45VhbEMJLxv5cwFa58rZ0cOyESJbOHS7 wPiA//K8IkHtMeBzj1XXcr7pdX+c63F9B7GOnXu4zkZbmU1wrEE7p0njSGEt5u3QI9/jWB4Jaz9jk 083LxB9A==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nFcfD-001VeD-Nr; Thu, 03 Feb 2022 14:00:43 +0000 Date: Thu, 3 Feb 2022 06:00:43 -0800 From: Christoph Hellwig To: John Hubbard Cc: Andrew Morton , Peter Xu , Jason Gunthorpe , David Hildenbrand , Lukas Bulwahn , Jan Kara , Claudio Imbrenda , "Kirill A . Shutemov" , Alex Williamson , Andrea Arcangeli , LKML , linux-mm@kvack.org Subject: Re: [PATCH v3 1/4] mm: Fix invalid page pointer returned with FOLL_PIN gups Message-ID: References: <20220203093232.572380-1-jhubbard@nvidia.com> <20220203093232.572380-2-jhubbard@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220203093232.572380-2-jhubbard@nvidia.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 03, 2022 at 01:32:29AM -0800, John Hubbard wrote: > From: Peter Xu > > Alex reported invalid page pointer returned with pin_user_pages_remote() from > vfio after upstream commit 4b6c33b32296 ("vfio/type1: Prepare for batched > pinning with struct vfio_batch"). This problem breaks NVIDIA vfio mdev. There still isn't any nvidia vfio mdev driver in the tree, so this changelog stilldoesn't make sense.