Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4272492ybi; Mon, 29 Jul 2019 22:58:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyMuanHxbiE95CJaElIBER0aZWIbZAtEbo2/5e1+XddVlGgqxwhyyB//FcZu/Yjyrx6Vu73 X-Received: by 2002:a17:902:2862:: with SMTP id e89mr114249431plb.258.1564466289983; Mon, 29 Jul 2019 22:58:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564466289; cv=none; d=google.com; s=arc-20160816; b=zo26HP1RJ4uPEPwHxP5a8XwGypwqk+ciNzH+kUxdQM8GH4K2jCFGh9cxh6vTKekeDk Lj80+ANYQKBP//nLEUKKAv8bQEaEFzM0VJ348uSO5+TjU8GO8Af4glod1fvD43AzcNBg AxW6QIbYK6hQ/tMNDms20c/PEqnjc9qVWz/mqr4e9lU+N9CjmpHWgKyUSVqcZri0Ug1A HOxOzPcOlg7LNgJJ1l0wNkkG4D3eYvgUqJvUjq2L8/Q7SloOkW61pnDL196amM2smavr PO/+mQa8LRgRGT60X6eHy17tSV1jvmARUG8iArhvqcK79nSNr+jwGObhC+hs4U/sP3Ty C1JQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=oeVqzqKgfl2aD6OHsHwpo1ch5592YFZchzgyQdMtYkM=; b=NtK9Wz/XFSa1BlBJotjutC/1nyntxnAVwUQU2zI/cFrTfh3/FJAyLC0+RqCfVaagEJ 4RRmP1akDgbBZYcQYW3mH1+SRB/puB7zLBzbwQWSXbKoI9Ay40VRx+rlVjQUz88Qk5Ef d0LEFlnoKb65R59DWOvckP+skpGkyw8Y0H/aTBgbL4rrfxCSFTwz3pNSCVW2qyL5ZzZH mLIVvfjGGBYzGBNQuIPwU7bf/xe212yKYV+VkAR3bPYfF7qbLkNQhQMCDpwXI8Ps7COx 4LNugUD9W6ZqIUvh88X8LqzzjzJY78sxHxeFUNYv6WfWaohd9S8fxmprKtV0DoYtNXKx S1VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=nqj2e5EI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p97si27120926pjp.34.2019.07.29.22.57.55; Mon, 29 Jul 2019 22:58:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=nqj2e5EI; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729752AbfG3FxB (ORCPT + 99 others); Tue, 30 Jul 2019 01:53:01 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:47530 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729741AbfG3Fw5 (ORCPT ); Tue, 30 Jul 2019 01:52:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=oeVqzqKgfl2aD6OHsHwpo1ch5592YFZchzgyQdMtYkM=; b=nqj2e5EIZMkVf+8w9hLeGVYCxs wdgEDivjCVoIGZbSaAkz3m0Aa7F44xnNI9z9ymc+9rjF5EAY5xgPXlBSUFqXLwPFeeVU3p8Kny9Ci fVesCkD2VXf5mq/sNI7dWav6POKUDEzzF4PFZkU+Sp4ftE+haMVcYARlpyIu8wUu3FtqOLhPpXRx4 rD/U9jRX3Vp4sKK2FXFKTxABMdp8hILpluwAqHq1MSeceWcuDL5ShI5QKZN89NMwkOt6aavp3OD+F /euujoS2VqYYiPfYoUIBTNX2wbHkZ3H2aeas2hZTAbQ5Gzd5tys/swezApCF2bDC6z1pzrN2v5hnW AibQy3Zg==; Received: from [195.167.85.94] (helo=localhost) by bombadil.infradead.org with esmtpsa (Exim 4.92 #3 (Red Hat Linux)) id 1hsL49-0001W7-9f; Tue, 30 Jul 2019 05:52:53 +0000 From: Christoph Hellwig To: =?UTF-8?q?J=C3=A9r=C3=B4me=20Glisse?= , Jason Gunthorpe , Ben Skeggs , Felix Kuehling Cc: Ralph Campbell , linux-mm@kvack.org, nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH 13/13] mm: allow HMM_MIRROR on all architectures with MMU Date: Tue, 30 Jul 2019 08:52:03 +0300 Message-Id: <20190730055203.28467-14-hch@lst.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190730055203.28467-1-hch@lst.de> References: <20190730055203.28467-1-hch@lst.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There isn't really any architecture specific code in this page table walk implementation, so drop the dependencies. Signed-off-by: Christoph Hellwig --- mm/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mm/Kconfig b/mm/Kconfig index 56cec636a1fc..b18782be969c 100644 --- a/mm/Kconfig +++ b/mm/Kconfig @@ -677,8 +677,7 @@ config DEV_PAGEMAP_OPS config HMM_MIRROR bool "HMM mirror CPU page table into a device page table" - depends on (X86_64 || PPC64) - depends on MMU && 64BIT + depends on MMU select MMU_NOTIFIER help Select HMM_MIRROR if you want to mirror range of the CPU page table of a -- 2.20.1