Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp900266pxb; Fri, 28 Jan 2022 12:40:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJyw5oj0o4mBjlTWpaC5XYzmH21LV5uTDKKLIfsm9C2FqIhZxowEk9jL+0AtcNPNpyguqF0j X-Received: by 2002:a17:907:7f88:: with SMTP id qk8mr4389006ejc.622.1643402453712; Fri, 28 Jan 2022 12:40:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643402453; cv=none; d=google.com; s=arc-20160816; b=eP+UVReehAPXHY2Zl0Z10D/RQY41KD3Sv8vkhoNLGXYv8VwqIho81/HbRtqwDeUU6D FWNrhywFaRmGtI6Lbf5/63VH4LQFEI10AA3btpOoDErJQ9xzpSVDs+aVwOPPiI3Z0UxO UJHHspvSb+ewSAyRCpG9B/WcFIgx0neRXBTZTAic2lRwDiSQvBsOWNQ7uK4thGN5X5QH gMLpXiGrVJv9wVhRKeIZmHawRq6UGE8EJDBsfhJf+mbtRKkad4DcGmMvmH9JD+8HpnK4 FZphkafd3RTqbQhNkyM2mAqmQZAw60eN5llxMmrgJRg5EgVjXJ+0w5pakB2UKqLk5I0T +80Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=Bon3B4OHoaCSeQyW9vyK2HnCa0R/VADgJ6krW9SGSqg=; b=aeBnr9R8bJEJ2JKY9TBuqE3sMXZfBtWA3i6hCl/cbQBgoD7S8CgUY5GwybLQnr0kq2 Dom0aL1yig29m8gAB8IicCMyYBLXkTCGm3EIDzliHFLcmxCwCNEKpHM2dV+2dia+myhT RN+0QALCd5wxlYyAw5Q9YIkCDxO+MyWNg1UwUhbbpFGeN/FSj1RKvVT7iKNrwT1ZUbzv 25FinW4a2DnzP3lgXTKhweRDDSntDpvTB815wURoDVsxnTqDnKgGUEmxFgCVH0xh4lYf jeBFQRi4vyj9HbG4D8804Al4Lpq4IpcMHXxWnwnMhwnUOrduyBNX21uHYm1MMh1t019x xacQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=fP5wmZtd; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qf19si4035225ejc.799.2022.01.28.12.40.24; Fri, 28 Jan 2022 12:40:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-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=@linux-foundation.org header.s=korg header.b=fP5wmZtd; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244315AbiA0WdD (ORCPT + 99 others); Thu, 27 Jan 2022 17:33:03 -0500 Received: from ams.source.kernel.org ([145.40.68.75]:59514 "EHLO ams.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239018AbiA0WdC (ORCPT ); Thu, 27 Jan 2022 17:33:02 -0500 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 58858B801BC; Thu, 27 Jan 2022 22:33:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9F867C340E4; Thu, 27 Jan 2022 22:32:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1643322780; bh=KyW09W85IPjR9zNAkKrCh5PNjr0Umrx44954UKFP4jQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=fP5wmZtdgiZu/FrP7PhOokkdSv2iz/JRlELCy8KE3PxjZuPikwpGG5u5M86BQ8QMB YREDewXYuQr0LO2GLNCUrm5xL3I2VEh6uMOCa4PMzmbgQscCQY6FGwQC1Pb/zu6qoU n+kfJ6iphf95sdN39zm7Uy1KfETp70xNuWJ1zn54= Date: Thu, 27 Jan 2022 14:32:58 -0800 From: Andrew Morton To: Alex Sierra Cc: , , , , , , , , , , , Subject: Re: [PATCH v4 00/10] Add MEMORY_DEVICE_COHERENT for coherent device memory mapping Message-Id: <20220127143258.8da663659948ad1e6f0c0ea8@linux-foundation.org> In-Reply-To: <20220127030949.19396-1-alex.sierra@amd.com> References: <20220127030949.19396-1-alex.sierra@amd.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, 26 Jan 2022 21:09:39 -0600 Alex Sierra wrote: > This patch series introduces MEMORY_DEVICE_COHERENT, a type of memory > owned by a device that can be mapped into CPU page tables like > MEMORY_DEVICE_GENERIC and can also be migrated like > MEMORY_DEVICE_PRIVATE. Some more reviewer input appears to be desirable here. I was going to tentatively add it to -mm and -next, but problems. 5.17-rc1's mm/migrate.c:migrate_vma_check_page() is rather different from the tree you patched. Please redo, refresh and resend?