Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3519493pxb; Mon, 24 Jan 2022 11:15:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJy2wT9Ou+hYKi4WlrnKC1l1fwuvGGK0i3MtgnTSIs2H+caD3upfF60HNbb9oj+Jk8tdzTS8 X-Received: by 2002:a17:90a:d584:: with SMTP id v4mr3337788pju.10.1643051756540; Mon, 24 Jan 2022 11:15:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643051756; cv=none; d=google.com; s=arc-20160816; b=zaxz7Mvlj9c7BBT6PbGC1KlRexPjs9ZfVd7DF/enL1ohaRK/ZmH9bM5YvNV1x9oCec 1oNjpLOx3dnDNUWH3qRtXOkUyCECA2GORhUKM3yuhQX+AHv61ugftRG2yP2ZIErqMRGl wiU9Gqdb1pwSJTLUX2QaIvg3GSfXgWXe9JeoIhpKW4rEy3x5DfAkbt9JAJpMu7J0Wvlv iRijKaXAUFkUXHiPbJaeGJsVPiLBuD79x1Sf5b/m1IvLwYCn6anQX02J/gdDVKlwUKmB MQJ59WW8R3/+6woqJVtttl68Gb1OIyWYWD6X6zKFqrbSQ1LZyNMq6DXdEIwyD9fLKyjh ItBw== 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:from:subject:cc:to:message-id:date; bh=NGQYWdKrt3wS6ig2ruouoj10gDHfhlcWLkUUwx0+BS0=; b=rMDxyEeZyiQZGRe7dxUJ94wPzg36qiUjjidQKRyOOfeet2nSwAhnX8cFRniDlkEJWf +oJOb4FtfVR0x6TJwoHhobQpJFiBQOZSrzJ2fCT1bGFjX+dbWUfDtmwlwbbxMgLfUZ70 B0ujgfZUAUFNumilf0MdeRkmeIqiRUMnLo98DB9s8stQ/TvLOIcXgJTy7eLzl5SVIAEE fH5hzcNBKE5VCkHo2EkKROGHN+2GZwDIQDLTwdhBGu3UHnVvisRlcBqY8E6iUI/pu63/ Ab9ouqWH5wjH+5XsZ9nhiZSNVgbdwXA4rKhLjxi8QdKCIGfp+SwsPDl2h4yq+LuW5V0c A8WA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 t6si14698601pgm.779.2022.01.24.11.15.42; Mon, 24 Jan 2022 11:15:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242921AbiAXM7P (ORCPT + 99 others); Mon, 24 Jan 2022 07:59:15 -0500 Received: from shards.monkeyblade.net ([23.128.96.9]:41644 "EHLO mail.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242918AbiAXM7B (ORCPT ); Mon, 24 Jan 2022 07:59:01 -0500 Received: from localhost (cpc147930-brnt3-2-0-cust60.4-2.cable.virginm.net [86.15.196.61]) by mail.monkeyblade.net (Postfix) with ESMTPSA id DD61F83FD219; Mon, 24 Jan 2022 04:58:58 -0800 (PST) Date: Mon, 24 Jan 2022 12:58:54 +0000 (GMT) Message-Id: <20220124.125854.376101757936359699.davem@davemloft.net> To: anshuman.khandual@arm.com Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, hch@infradead.org, akpm@linux-foundation.org, khalid.aziz@oracle.com, sparclinux@vger.kernel.org Subject: Re: [RFC V1 06/31] sparc/mm: Enable ARCH_HAS_VM_GET_PAGE_PROT From: David Miller In-Reply-To: <1643029028-12710-7-git-send-email-anshuman.khandual@arm.com> References: <1643029028-12710-1-git-send-email-anshuman.khandual@arm.com> <1643029028-12710-7-git-send-email-anshuman.khandual@arm.com> X-Mailer: Mew version 6.8 on Emacs 27.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (mail.monkeyblade.net [0.0.0.0]); Mon, 24 Jan 2022 04:59:00 -0800 (PST) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Anshuman Khandual Date: Mon, 24 Jan 2022 18:26:43 +0530 > This defines and exports a platform specific custom vm_get_page_prot() via > subscribing ARCH_HAS_VM_GET_PAGE_PROT. Subsequently all __SXXX and __PXXX > macros can be dropped which are no longer needed. > > Cc: "David S. Miller" > Cc: Khalid Aziz > Cc: sparclinux@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Anshuman Khandual Acked-by: David S. Miller