linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Cc: kbuild-all@01.org, benh@kernel.crashing.org, paulus@samba.org,
	mpe@ellerman.id.au, linuxppc-dev@lists.ozlabs.org,
	"Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
Subject: Re: [PATCH] powerpc/mm: Fixup wrong LPCR_VRMASD value
Date: Sat, 17 Dec 2016 08:26:51 +0800	[thread overview]
Message-ID: <201612170842.eCB73CqV%fengguang.wu@intel.com> (raw)
In-Reply-To: <20161208034213.21700-1-aneesh.kumar@linux.vnet.ibm.com>

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

Hi Aneesh,

[auto build test ERROR on powerpc/next]
[also build test ERROR on v4.9 next-20161216]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Aneesh-Kumar-K-V/powerpc-mm-Fixup-wrong-LPCR_VRMASD-value/20161208-161150
base:   https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: powerpc-pseries_defconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=powerpc 

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

   In file included from arch/powerpc/include/asm/bitops.h:46:0,
                    from include/linux/bitops.h:36,
                    from include/linux/kernel.h:10,
                    from include/linux/list.h:8,
                    from include/linux/preempt.h:10,
                    from include/linux/hardirq.h:4,
                    from include/linux/kvm_host.h:10,
                    from arch/powerpc/kvm/book3s_hv.c:21:
   arch/powerpc/kvm/book3s_hv.c: In function 'kvmppc_hv_setup_htab_rma':
>> arch/powerpc/include/asm/reg.h:341:35: error: invalid suffix "fUL" on integer constant
    #define   LPCR_VRMASD  (ASM_CONST(1f) << LPCR_VRMASD_SH)
                                      ^
   arch/powerpc/include/asm/asm-compat.h:14:26: note: in definition of macro '__ASM_CONST'
    #  define __ASM_CONST(x) x##UL
                             ^
>> arch/powerpc/include/asm/reg.h:341:25: note: in expansion of macro 'ASM_CONST'
    #define   LPCR_VRMASD  (ASM_CONST(1f) << LPCR_VRMASD_SH)
                            ^~~~~~~~~
>> arch/powerpc/kvm/book3s_hv.c:3079:32: note: in expansion of macro 'LPCR_VRMASD'
     kvmppc_update_lpcr(kvm, lpcr, LPCR_VRMASD);
                                   ^~~~~~~~~~~
--
   In file included from arch/powerpc/include/asm/bitops.h:46:0,
                    from include/linux/bitops.h:36,
                    from include/linux/kernel.h:10,
                    from include/linux/list.h:8,
                    from include/linux/preempt.h:10,
                    from include/linux/hardirq.h:4,
                    from include/linux/kvm_host.h:10,
                    from arch/powerpc/kvm/book3s_64_mmu_hv.c:21:
   arch/powerpc/kvm/book3s_64_mmu_hv.c: In function 'kvm_htab_write':
>> arch/powerpc/include/asm/reg.h:341:35: error: invalid suffix "fUL" on integer constant
    #define   LPCR_VRMASD  (ASM_CONST(1f) << LPCR_VRMASD_SH)
                                      ^
   arch/powerpc/include/asm/asm-compat.h:14:26: note: in definition of macro '__ASM_CONST'
    #  define __ASM_CONST(x) x##UL
                             ^
>> arch/powerpc/include/asm/reg.h:341:25: note: in expansion of macro 'ASM_CONST'
    #define   LPCR_VRMASD  (ASM_CONST(1f) << LPCR_VRMASD_SH)
                            ^~~~~~~~~
>> arch/powerpc/kvm/book3s_64_mmu_hv.c:1416:35: note: in expansion of macro 'LPCR_VRMASD'
        kvmppc_update_lpcr(kvm, lpcr, LPCR_VRMASD);
                                      ^~~~~~~~~~~

vim +/fUL +341 arch/powerpc/include/asm/reg.h

   335	#define   LPCR_VPM1		ASM_CONST(0x4000000000000000)
   336	#define   LPCR_ISL		ASM_CONST(0x2000000000000000)
   337	#define   LPCR_VC_SH		61
   338	#define   LPCR_DPFD_SH		52
   339	#define   LPCR_DPFD		(ASM_CONST(7) << LPCR_DPFD_SH)
   340	#define   LPCR_VRMASD_SH	47
 > 341	#define   LPCR_VRMASD		(ASM_CONST(1f) << LPCR_VRMASD_SH)
   342	#define   LPCR_VRMA_L		ASM_CONST(0x0008000000000000)
   343	#define   LPCR_VRMA_LP0		ASM_CONST(0x0001000000000000)
   344	#define   LPCR_VRMA_LP1		ASM_CONST(0x0000800000000000)

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 20849 bytes --]

  parent reply	other threads:[~2016-12-17  0:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-08  3:42 [PATCH] powerpc/mm: Fixup wrong LPCR_VRMASD value Aneesh Kumar K.V
2016-12-08 21:17 ` Ram Pai
2016-12-08 21:21 ` Paul Mackerras
2016-12-17  0:26 ` kbuild test robot [this message]
2017-01-27  0:40 ` Michael Ellerman

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=201612170842.eCB73CqV%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=aneesh.kumar@linux.vnet.ibm.com \
    --cc=benh@kernel.crashing.org \
    --cc=kbuild-all@01.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpe@ellerman.id.au \
    --cc=paulus@samba.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).