All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Heiko Stübner" <heiko@sntech.de>
To: kernel test robot <lkp@intel.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Palmer Dabbelt <palmer@rivosinc.com>
Subject: Re: [linux-next:master 10411/13468] arch/riscv/include/asm/pgtable-64.h:210:2: error: invalid input constraint '0' in asm
Date: Sun, 22 May 2022 11:32:38 +0200	[thread overview]
Message-ID: <1913172.usQuhbGJ8B@diego> (raw)
In-Reply-To: <202205220805.wrw5woEk-lkp@intel.com>

Am Sonntag, 22. Mai 2022, 02:38:05 CEST schrieb kernel test robot:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   18ecd30af1a8402c162cca1bd58771c0e5be7815
> commit: a35707c3d850dda0ceefb75b1b3bd191921d5765 [10411/13468] riscv: add memory-type errata for T-Head
> config: riscv-randconfig-r032-20220522 (https://download.01.org/0day-ci/archive/20220522/202205220805.wrw5woEk-lkp@intel.com/config)
> compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project b369762beb70dfef22c7e793aed79b94d7dc0757)
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # install riscv cross compiling tool for clang build
>         # apt-get install binutils-riscv64-linux-gnu
>         # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=a35707c3d850dda0ceefb75b1b3bd191921d5765
>         git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>         git fetch --no-tags linux-next master
>         git checkout a35707c3d850dda0ceefb75b1b3bd191921d5765
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv prepare
> 
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>    In file included from arch/riscv/kernel/asm-offsets.c:10:
>    In file included from include/linux/mm.h:29:
>    In file included from include/linux/pgtable.h:6:
>    In file included from arch/riscv/include/asm/pgtable.h:114:
> >> arch/riscv/include/asm/pgtable-64.h:210:2: error: invalid input constraint '0' in asm
>            ALT_THEAD_PMA(prot_val);
>            ^
>    arch/riscv/include/asm/errata_list.h:88:4: note: expanded from macro 'ALT_THEAD_PMA'
>            : "0"(_val),                                                    \

This should be fixed by the pending patch
"riscv: Fix ALT_THEAD_PMA's asm parameters" [0]


Heiko

[0] https://lore.kernel.org/all/20220518184529.454008-1-nathan@kernel.org/




WARNING: multiple messages have this Message-ID (diff)
From: Heiko Stübner <heiko@sntech.de>
To: kbuild-all@lists.01.org
Subject: Re: [linux-next:master 10411/13468] arch/riscv/include/asm/pgtable-64.h:210:2: error: invalid input constraint '0' in asm
Date: Sun, 22 May 2022 11:32:38 +0200	[thread overview]
Message-ID: <1913172.usQuhbGJ8B@diego> (raw)
In-Reply-To: <202205220805.wrw5woEk-lkp@intel.com>

[-- Attachment #1: Type: text/plain, Size: 2329 bytes --]

Am Sonntag, 22. Mai 2022, 02:38:05 CEST schrieb kernel test robot:
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
> head:   18ecd30af1a8402c162cca1bd58771c0e5be7815
> commit: a35707c3d850dda0ceefb75b1b3bd191921d5765 [10411/13468] riscv: add memory-type errata for T-Head
> config: riscv-randconfig-r032-20220522 (https://download.01.org/0day-ci/archive/20220522/202205220805.wrw5woEk-lkp(a)intel.com/config)
> compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project b369762beb70dfef22c7e793aed79b94d7dc0757)
> reproduce (this is a W=1 build):
>         wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
>         chmod +x ~/bin/make.cross
>         # install riscv cross compiling tool for clang build
>         # apt-get install binutils-riscv64-linux-gnu
>         # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=a35707c3d850dda0ceefb75b1b3bd191921d5765
>         git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
>         git fetch --no-tags linux-next master
>         git checkout a35707c3d850dda0ceefb75b1b3bd191921d5765
>         # save the config file
>         mkdir build_dir && cp config build_dir/.config
>         COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv prepare
> 
> If you fix the issue, kindly add following tag where applicable
> Reported-by: kernel test robot <lkp@intel.com>
> 
> All errors (new ones prefixed by >>):
> 
>    In file included from arch/riscv/kernel/asm-offsets.c:10:
>    In file included from include/linux/mm.h:29:
>    In file included from include/linux/pgtable.h:6:
>    In file included from arch/riscv/include/asm/pgtable.h:114:
> >> arch/riscv/include/asm/pgtable-64.h:210:2: error: invalid input constraint '0' in asm
>            ALT_THEAD_PMA(prot_val);
>            ^
>    arch/riscv/include/asm/errata_list.h:88:4: note: expanded from macro 'ALT_THEAD_PMA'
>            : "0"(_val),                                                    \

This should be fixed by the pending patch
"riscv: Fix ALT_THEAD_PMA's asm parameters" [0]


Heiko

[0] https://lore.kernel.org/all/20220518184529.454008-1-nathan(a)kernel.org/



  reply	other threads:[~2022-05-22  9:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-22  0:38 [linux-next:master 10411/13468] arch/riscv/include/asm/pgtable-64.h:210:2: error: invalid input constraint '0' in asm kernel test robot
2022-05-22  9:32 ` Heiko Stübner [this message]
2022-05-22  9:32   ` Heiko Stübner

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=1913172.usQuhbGJ8B@diego \
    --to=heiko@sntech.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=palmer@rivosinc.com \
    /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.