linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@linux-foundation.org>
To: Peter Xu <peterx@redhat.com>
Cc: kernel test robot <lkp@intel.com>,
	oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>,
	Jason Gunthorpe <jgg@nvidia.com>,
	"Mike Rapoport (IBM)" <rppt@kernel.org>
Subject: Re: [linux-next:master 12265/12944] arch/arm64/include/asm/pgtable.h:904:16: error: implicit declaration of function 'pud_leaf'; did you mean 'pmd_leaf'?
Date: Wed, 13 Mar 2024 12:06:22 -0700	[thread overview]
Message-ID: <20240313120622.62c76d759cc06f80f0aeb48e@linux-foundation.org> (raw)
In-Reply-To: <Ze8vFNV9YSdgC2S7@x1n>

> 
> There's another possibly relevant report for riscv:
> 
> https://lore.kernel.org/r/202403090900.OwPqmRuI-lkp@intel.com
> 
> I think I messed up the nopmd use case.  Since this commit already landed
> mm-stable, I assume there's no way I provide a fixup.
> 
> I attached a formal patch below, but I don't know how to test it myself,

What I do:

Grab https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/13.2.0/x86_64-gcc-13.2.0-nolibc-aarch64-linux.tar.gz

untar that into /opt/crosstool

And my crufty old script does, partly,

	WHAT="$*"

	...
	[ $ARCH = arm64 ] &&    CT=gcc-13.2.0-nolibc && XARCH=aarch64-linux
	...

	PATH=$PATH:/opt/crosstool/$CT/$XARCH/bin export PATH
	export CROSS_COMPILE=/opt/crosstool/$CT/$XARCH/bin/$XARCH-
	export CC="/opt/crosstool/$CT/$XARCH/bin/$XARCH-gcc"
	J=$(grep "^processor" /proc/cpuinfo | wc -l)
	J=$(expr $J \* 2)
	nice -20 make -j$J CC="$CC" $WHAT 2>/tmp/log-$ARCH

setenv ARCH arm64
crufty-old-script vmlinux modules

> and I'm not 100% confident.  Before I post a formal patch, can anyone let
> me know how I can kickoff the test bot to test the patch (or help me do the
> kickoff)?

Worked for me, thanks.




  reply	other threads:[~2024-03-13 19:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-10  8:10 [linux-next:master 12265/12944] arch/arm64/include/asm/pgtable.h:904:16: error: implicit declaration of function 'pud_leaf'; did you mean 'pmd_leaf'? kernel test robot
2024-03-11 16:19 ` Peter Xu
2024-03-13 19:06   ` Andrew Morton [this message]
2024-03-13 19:59     ` Peter Xu

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=20240313120622.62c76d759cc06f80f0aeb48e@linux-foundation.org \
    --to=akpm@linux-foundation.org \
    --cc=jgg@nvidia.com \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=peterx@redhat.com \
    --cc=rppt@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).