dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu@kernel.org>
To: Christoph Hellwig <hch@lst.de>
Cc: linux-hyperv@vger.kernel.org, David Airlie <airlied@linux.ie>,
	dri-devel@lists.freedesktop.org,
	Michael Kelley <mikelley@microsoft.com>,
	linux-mm@kvack.org, "K. Y. Srinivasan" <kys@microsoft.com>,
	linux-arch@vger.kernel.org, linux-s390@vger.kernel.org,
	Wei Liu <wei.liu@kernel.org>,
	Stephen Hemminger <sthemmin@microsoft.com>,
	x86@kernel.org, Peter Zijlstra <peterz@infradead.org>,
	Gao Xiang <xiang@kernel.org>, Laura Abbott <labbott@redhat.com>,
	Nitin Gupta <ngupta@vflare.org>,
	Haiyang Zhang <haiyangz@microsoft.com>,
	linaro-mm-sig@lists.linaro.org, bpf@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Christophe Leroy <christophe.leroy@c-s.fr>,
	Robin Murphy <robin.murphy@arm.com>,
	linux-kernel@vger.kernel.org, Minchan Kim <minchan@kernel.org>,
	iommu@lists.linux-foundation.org,
	Sakari Ailus <sakari.ailus@linux.intel.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	linuxppc-dev@lists.ozlabs.org
Subject: Re: [PATCH 21/29] mm: remove the pgprot argument to __vmalloc
Date: Tue, 14 Apr 2020 16:13:44 +0100	[thread overview]
Message-ID: <20200414151344.zgt2pnq7cjq2bgv6@debian> (raw)
In-Reply-To: <20200414131348.444715-22-hch@lst.de>

On Tue, Apr 14, 2020 at 03:13:40PM +0200, Christoph Hellwig wrote:
> The pgprot argument to __vmalloc is always PROT_KERNEL now, so remove
> it.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> Reviewed-by: Michael Kelley <mikelley@microsoft.com> [hyperv]
> Acked-by: Gao Xiang <xiang@kernel.org> [erofs]
> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
> ---
>  arch/x86/hyperv/hv_init.c              |  3 +--
[...]
> 
> diff --git a/arch/x86/hyperv/hv_init.c b/arch/x86/hyperv/hv_init.c
> index 5a4b363ba67b..a3d689dfc745 100644
> --- a/arch/x86/hyperv/hv_init.c
> +++ b/arch/x86/hyperv/hv_init.c
> @@ -95,8 +95,7 @@ static int hv_cpu_init(unsigned int cpu)
>  	 * not be stopped in the case of CPU offlining and the VM will hang.
>  	 */
>  	if (!*hvp) {
> -		*hvp = __vmalloc(PAGE_SIZE, GFP_KERNEL | __GFP_ZERO,
> -				 PAGE_KERNEL);
> +		*hvp = __vmalloc(PAGE_SIZE, GFP_KERNEL | __GFP_ZERO);
>  	}

Acked-by: Wei Liu <wei.liu@kernel.org>
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

       reply	other threads:[~2020-04-14 15:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20200414131348.444715-1-hch@lst.de>
     [not found] ` <20200414131348.444715-22-hch@lst.de>
2020-04-14 15:13   ` Wei Liu [this message]
2020-05-01  2:33     ` [PATCH 21/29] mm: remove the pgprot argument to __vmalloc John Dorminy
2020-05-01  2:38       ` John Dorminy
2020-05-01 22:09         ` Andrew Morton
     [not found] ` <20200414131348.444715-12-hch@lst.de>
2020-04-16 20:43   ` [PATCH 11/29] mm: only allow page table mappings for built-in zsmalloc Minchan Kim
     [not found] ` <20200414131348.444715-27-hch@lst.de>
2020-04-20  9:26   ` [PATCH 26/29] mm: remove vmalloc_user_node_flags Geert Uytterhoeven
     [not found] ` <20200414131348.444715-25-hch@lst.de>
2020-04-20  9:27   ` [PATCH 24/29] mm: remove __vmalloc_node_flags_caller Geert Uytterhoeven
     [not found] ` <20200414131348.444715-5-hch@lst.de>
2020-04-23 10:32   ` [PATCH 04/29] staging: media: ipu3: use vmap instead of reimplementing it Sakari Ailus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200414151344.zgt2pnq7cjq2bgv6@debian \
    --to=wei.liu@kernel.org \
    --cc=airlied@linux.ie \
    --cc=akpm@linux-foundation.org \
    --cc=bpf@vger.kernel.org \
    --cc=christophe.leroy@c-s.fr \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=haiyangz@microsoft.com \
    --cc=hch@lst.de \
    --cc=iommu@lists.linux-foundation.org \
    --cc=kys@microsoft.com \
    --cc=labbott@redhat.com \
    --cc=linaro-mm-sig@lists.linaro.org \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-hyperv@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mikelley@microsoft.com \
    --cc=minchan@kernel.org \
    --cc=ngupta@vflare.org \
    --cc=peterz@infradead.org \
    --cc=robin.murphy@arm.com \
    --cc=sakari.ailus@linux.intel.com \
    --cc=sthemmin@microsoft.com \
    --cc=x86@kernel.org \
    --cc=xiang@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).