All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Aneesh Kumar K.V" <aneesh.kumar@linux.ibm.com>
To: linux-mm@kvack.org
Cc: akpm@linux-foundation.org
Subject: Re: [PATCH v2 2/2] mm: rename p4d_page_vaddr to p4d_pgtable and make it return pud_t *
Date: Wed, 16 Jun 2021 19:52:32 +0530	[thread overview]
Message-ID: <87tulxnb2v.fsf@linux.ibm.com> (raw)
In-Reply-To: <20210615110859.320299-2-aneesh.kumar@linux.ibm.com>


Hi Andrew,

With all the mailing list on Cc: I find the mails are not reaching the
list? Hence private email


"Aneesh Kumar K.V" <aneesh.kumar@linux.ibm.com> writes:

> No functional change in this patch.
>
> Cc: linux-alpha@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-ia64@vger.kernel.org
> Cc: linux-m68k@lists.linux-m68k.org
> Cc: linux-mips@vger.kernel.org
> Cc: linux-parisc@vger.kernel.org
> Cc: linuxppc-dev@lists.ozlabs.org
> Cc: linux-riscv@lists.infradead.org
> Cc: linux-sh@vger.kernel.org
> Cc: sparclinux@vger.kernel.org
> Cc: linux-um@lists.infradead.org
> Cc: linux-arch@vger.kernel.org


m68k build error reported by kernel robot.

  We may want to fixup pgd_page_vaddr correctly later. pgd_page_vaddr() gets
  cast to different pointer types based on architecture. But for now this
  should work? This ensure we keep the pgd_page_vaddr() same as before. 



diff --git a/include/asm-generic/pgtable-nop4d.h b/include/asm-generic/pgtable-nop4d.h
index 982de5102fc1..2f1d0aad645c 100644
--- a/include/asm-generic/pgtable-nop4d.h
+++ b/include/asm-generic/pgtable-nop4d.h
@@ -42,7 +42,7 @@ static inline p4d_t *p4d_offset(pgd_t *pgd, unsigned long address)
 #define __p4d(x)				((p4d_t) { __pgd(x) })
 
 #define pgd_page(pgd)				(p4d_page((p4d_t){ pgd }))
-#define pgd_page_vaddr(pgd)			(p4d_pgtable((p4d_t){ pgd }))
+#define pgd_page_vaddr(pgd)			((unsigned long)(p4d_pgtable((p4d_t){ pgd })))
 
 /*
  * allocating and freeing a p4d is trivial: the 1-entry p4d is


  parent reply	other threads:[~2021-06-16 14:22 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-15 11:08 [PATCH v2 1/2] mm: rename pud_page_vaddr to pud_pgtable and make it return pmd_t * Aneesh Kumar K.V
2021-06-15 11:20 ` Aneesh Kumar K.V
2021-06-15 11:08 ` Aneesh Kumar K.V
2021-06-15 11:08 ` Aneesh Kumar K.V
2021-06-15 11:08 ` Aneesh Kumar K.V
2021-06-15 11:08 ` [PATCH v2 2/2] mm: rename p4d_page_vaddr to p4d_pgtable and make it return pud_t * Aneesh Kumar K.V
2021-06-15 11:20   ` Aneesh Kumar K.V
2021-06-15 11:08   ` Aneesh Kumar K.V
2021-06-15 11:08   ` Aneesh Kumar K.V
2021-06-15 11:08   ` Aneesh Kumar K.V
2021-06-16 13:36   ` kernel test robot
2021-06-16 14:22   ` Aneesh Kumar K.V [this message]
2021-06-15 11:41 ` [PATCH v2 1/2] mm: rename pud_page_vaddr to pud_pgtable and make it return pmd_t * Geert Uytterhoeven
2021-06-15 11:41   ` Geert Uytterhoeven
2021-06-15 11:41   ` Geert Uytterhoeven
2021-06-15 11:41   ` Geert Uytterhoeven
2021-06-15 11:41   ` Geert Uytterhoeven
2021-06-15 11:41   ` Geert Uytterhoeven
2021-06-16 13:48 ` kernel test robot
2021-06-16 14:20 ` Aneesh Kumar K.V

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=87tulxnb2v.fsf@linux.ibm.com \
    --to=aneesh.kumar@linux.ibm.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-mm@kvack.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.