oe-kbuild-all.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Michael Ellerman <mpe@ellerman.id.au>
Cc: oe-kbuild-all@lists.linux.dev,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: [linux-next:master 11052/11963] arch/powerpc/include/asm/reg_fsl_emb.h:18:9: error: impossible constraint in 'asm'
Date: Tue, 5 Mar 2024 18:27:45 +0800	[thread overview]
Message-ID: <202403051835.iqLGz996-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   11afac187274a6177a7ac82997f8691c0f469e41
commit: f01dbd73ccf122486ad4b52e74f5505985dd6af4 [11052/11963] powerpc/fsl: Modernise mt/mfpmr
config: powerpc-randconfig-r016-20220116 (https://download.01.org/0day-ci/archive/20240305/202403051835.iqLGz996-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240305/202403051835.iqLGz996-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202403051835.iqLGz996-lkp@intel.com/

All error/warnings (new ones prefixed by >>):

   In file included from arch/powerpc/include/asm/reg.h:26,
                    from arch/powerpc/include/asm/processor.h:11,
                    from include/linux/sched.h:13,
                    from arch/powerpc/perf/core-fsl-emb.c:9:
   arch/powerpc/include/asm/reg_fsl_emb.h: In function 'mfpmr':
>> arch/powerpc/include/asm/reg_fsl_emb.h:18:9: warning: 'asm' operand 1 probably does not match constraints
      18 |         asm (".machine push; "
         |         ^~~
>> arch/powerpc/include/asm/reg_fsl_emb.h:18:9: error: impossible constraint in 'asm'


vim +/asm +18 arch/powerpc/include/asm/reg_fsl_emb.h

    11	
    12	#ifndef __ASSEMBLY__
    13	/* Performance Monitor Registers */
    14	static inline unsigned int mfpmr(unsigned int rn)
    15	{
    16		unsigned int rval;
    17	
  > 18		asm (".machine push; "
    19		     ".machine e300; "
    20		     "mfpmr %[rval], %[rn];"
    21		     ".machine pop;"
    22		     : [rval] "=r" (rval) : [rn] "i" (rn));
    23	
    24		return rval;
    25	}
    26	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

                 reply	other threads:[~2024-03-05 10:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202403051835.iqLGz996-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=linux-mm@kvack.org \
    --cc=mpe@ellerman.id.au \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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).