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 lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 259AFC77B7C for ; Mon, 23 Jun 2025 15:18:09 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4bQsCh1W5Pz30VZ; Tue, 24 Jun 2025 01:18:08 +1000 (AEST) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=217.140.110.172 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1750691888; cv=none; b=JRv/h/sNOJ49fIQGcsYS2k2bjNjIi4uMUjHEaXs/uKrMrkxURIr84ToBXw6Cd92HLvNSM0PiOOPMe5YYZiRZkatbYn0L40sJEn458ztZB5zQ6AUAd+4YyGQJTpU8c2CyXzmtE8O336DMKZ3SwUipfzgHGC4QMnuzsPkeF1Gk37Gbj1AE6LyPKfggUEObnVIlZ1VqesmuLLxIMOmXoTC00K4u+XTQxIp35X5EgfDkUtVLXUUty7go0/fCPgY8SY9boDtThv17SfZ2QOGX0PxYStgqDlahWSHqIc1wFSOkfWp1euLFxFuzLRM30yHDPvJJy3LLqrxv28ZPSGaJUzqAAg== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1750691888; c=relaxed/relaxed; bh=1pnkdULQMLH34JGzxBVgROBZvKeoHZTQ3GU4iLN1k/Q=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Ug0y9qPnKFnUFSXKqlXtDqKXc3pWWx3Q9eaPDL1u3MpSTUeRuyXIWe1paUQBKHd4kHT5O7Wds0Dqzycm7i4rw5DwTZVkNMXmAtr0irA0C6FMRnBRxNPpinPI8wdAjUy5oXts/lMjoYhz5JWh+J9Q+mr3ldia1xvb4qYltp7y1heuszVHf0uVPzAbgapxtN9VCqMVfT644WZ/ucHpcTv/0qJC5nUXcqTPw5G4sm7kr54ExrojnKtzmMWBJL+teumCioQRSoXyHqmnY4w0QC81Tc+9TL8/2iKVu+tWxVvWZYLZEc58SB/Eb1kK596QwkeydlrKPy8WTMH01W0HX4NK+A== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass (client-ip=217.140.110.172; helo=foss.arm.com; envelope-from=catalin.marinas@arm.com; receiver=lists.ozlabs.org) smtp.mailfrom=arm.com Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=arm.com (client-ip=217.140.110.172; helo=foss.arm.com; envelope-from=catalin.marinas@arm.com; receiver=lists.ozlabs.org) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lists.ozlabs.org (Postfix) with ESMTP id 4bQsCf4hGcz30VV for ; Tue, 24 Jun 2025 01:18:05 +1000 (AEST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A2A48113E; Mon, 23 Jun 2025 08:17:14 -0700 (PDT) Received: from arm.com (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 21A233F58B; Mon, 23 Jun 2025 08:17:25 -0700 (PDT) Date: Mon, 23 Jun 2025 16:17:22 +0100 From: Catalin Marinas To: Lorenzo Stoakes Cc: Andrew Morton , Russell King , Will Deacon , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , Christophe Leroy , "David S . Miller" , Andreas Larsson , Jarkko Sakkinen , Dave Hansen , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" , Andy Lutomirski , Peter Zijlstra , Alexander Viro , Christian Brauner , Jan Kara , Kees Cook , Peter Xu , David Hildenbrand , Zi Yan , Baolin Wang , "Liam R . Howlett" , Nico Pache , Ryan Roberts , Dev Jain , Barry Song , Xu Xin , Chengming Zhou , Hugh Dickins , Vlastimil Babka , Mike Rapoport , Suren Baghdasaryan , Michal Hocko , Rik van Riel , Harry Yoo , Dan Williams , Matthew Wilcox , Steven Rostedt , Masami Hiramatsu , Mathieu Desnoyers , Jason Gunthorpe , John Hubbard , Muchun Song , Oscar Salvador , Jann Horn , Pedro Falcato , Johannes Weiner , Qi Zheng , Shakeel Butt , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kvm@vger.kernel.org, sparclinux@vger.kernel.org, linux-sgx@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, nvdimm@lists.linux.dev, linux-trace-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] mm: change vm_get_page_prot() to accept vm_flags_t argument Message-ID: References: X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Jun 18, 2025 at 08:42:52PM +0100, Lorenzo Stoakes wrote: > We abstract the type of the VMA flags to vm_flags_t, however in may places > it is simply assumed this is unsigned long, which is simply incorrect. > > At the moment this is simply an incongruity, however in future we plan to > change this type and therefore this change is a critical requirement for > doing so. > > Overall, this patch does not introduce any functional change. > > Signed-off-by: Lorenzo Stoakes > --- > arch/arm64/mm/mmap.c | 2 +- For arm64: Acked-by: Catalin Marinas