From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E004C43334 for ; Mon, 25 Jul 2022 22:29:55 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id BDA938E0002; Mon, 25 Jul 2022 18:29:54 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B8A858E0001; Mon, 25 Jul 2022 18:29:54 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A795B8E0002; Mon, 25 Jul 2022 18:29:54 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0017.hostedemail.com [216.40.44.17]) by kanga.kvack.org (Postfix) with ESMTP id 947298E0001 for ; Mon, 25 Jul 2022 18:29:54 -0400 (EDT) Received: from smtpin31.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay03.hostedemail.com (Postfix) with ESMTP id 6988FA0790 for ; Mon, 25 Jul 2022 22:29:54 +0000 (UTC) X-FDA: 79727065908.31.4698FBB Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf05.hostedemail.com (Postfix) with ESMTP id DDCDD100097 for ; Mon, 25 Jul 2022 22:29:53 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id CCB30B80E4E; Mon, 25 Jul 2022 22:29:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 29C71C341C8; Mon, 25 Jul 2022 22:29:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1658788190; bh=Cf8o5Q0CsmckHZeoI8+tJWavBNKyWR+KrnNniuELBBA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=bReKxi/EtmInFu1ZTPdIdyzCAr1cSd5VdE6iephFXo4m4PcZI2vVocG8XAvWhkQpL JK96eBLamrWBEQtzjpeU6iJHXCiPoqCSvTJDSHE8C1LRnukiPZJu3SjE3uRLZytYbB lw1o9zi6qiq+/MxGI7LwZ+XSd/etj7jOzS3qTlRQ= Date: Mon, 25 Jul 2022 15:29:49 -0700 From: Andrew Morton To: Ralph Campbell Cc: linux-mm@kvack.org, Felix Kuehling , Philip Yang , Alistair Popple , Jason Gunthorpe , stable@vger.kernel.org Subject: Re: [PATCH] mm/hmm: fault non-owner device private entries Message-Id: <20220725152949.04dc23648a21eded666deb97@linux-foundation.org> In-Reply-To: References: <20220722225632.4101276-1-rcampbell@nvidia.com> <20220725114953.7e53ca4b296e0e753ca7bfda@linux-foundation.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1658788194; a=rsa-sha256; cv=none; b=5bkhNR2s0QYtTV/r74QMCyF5LUEppgaQbS5y+7ERlkOzWaGYPXxVEg9lDJ380c7TDW5z+v KCrww9KPrIHD+we0D6/4IQXHOmBMuKEbqElL+zC2/+8BRaBJx4NhZZtTHFMavB7X71VxaG qJLbWuG3X+X7AcBywpAFMFCepg3r8Xg= ARC-Authentication-Results: i=1; imf05.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b="bReKxi/E"; spf=pass (imf05.hostedemail.com: domain of akpm@linux-foundation.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1658788194; h=from:from:sender: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:dkim-signature; bh=kvKaQA77gSYIm9hwlxHk0K5boIbhwD4fZriFeluhH/A=; b=dvah+Yjo5AZL/F1MWITaeVfwAmQKIis0yhrF92Sd9LrObFETtWuDURVYVioiYcZXGH0WkG DHxMEIWPa1pLJEgy5Ha5wVcP6wpX2gPIyg5cqHXbGDUpABhVxoPdIEaCQvbGMTL59v7XSk ZoPNTYZVFcmsmh0KLCjidvfA0j4rXbI= X-Stat-Signature: gt5id4mymk8b5xe1tnet5bpkx8bygnfq X-Rspamd-Queue-Id: DDCDD100097 X-Rspamd-Server: rspam08 X-Rspam-User: Authentication-Results: imf05.hostedemail.com; dkim=pass header.d=linux-foundation.org header.s=korg header.b="bReKxi/E"; spf=pass (imf05.hostedemail.com: domain of akpm@linux-foundation.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=akpm@linux-foundation.org; dmarc=none X-HE-Tag: 1658788193-321580 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, 25 Jul 2022 12:07:27 -0700 Ralph Campbell wrote: > >> to fault in the page. > > Could we please include here a description of the end-user visible > > effects of the bug? > > > >> Cc: stable@vger.kernel.org > > Especially when proposing a -stable backport. > > If I add the following, would that be sufficient? > Should I post a v3? > > For example, if a page is migrated to GPU private > memory and a RDMA fault capable NIC tries to read the migrated page, > without this patch it will get an error. With this patch, the page will > be migrated back to system memory and the NIC will be able to read the > data. I added it, thanks.