From: Fengguang Wu <fengguang.wu@intel.com>
To: Max Filippov <jcmvbkbc@gmail.com>
Cc: kbuild-all@01.org, LKML <linux-kernel@vger.kernel.org>,
Philip Li <philip.li@intel.com>
Subject: Re: [kbuild-all] arch/xtensa/include/asm/initialize_mmu.h:55: Error: invalid register 'atomctl' for 'wsr' instruction
Date: Tue, 22 Mar 2016 10:17:31 +0800 [thread overview]
Message-ID: <20160322021731.GA24700@wfg-t540p.sh.intel.com> (raw)
In-Reply-To: <CAMo8Bf+zYwyX8kCasxgqxWMFdO+t1X-CvH5yzWyPdLcUbABJ2A@mail.gmail.com>
Hi Max,
Thank you for the info! CC Philip for following this issue.
Thanks,
Fengguang
On Sun, Mar 20, 2016 at 02:54:54PM +0300, Max Filippov wrote:
> Hi Fengguang,
>
> On Sun, Mar 20, 2016 at 8:34 AM, kbuild test robot
> <fengguang.wu@intel.com> wrote:
> > Hi Max,
> >
> > FYI, the error/warning still remains.
>
> Each xtensa core configuration requires corresponding toolchain to be
> built correctly.
> In this case the toolchain needs to be built for de212 core with the
> following overlay:
> https://github.com/jcmvbkbc/xtensa-toolchain-build/blob/master/overlays/xtensa_de212.tar.gz
>
> > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head: 1e75a9f34a5ed5902707fb74b468356c55142b71
> > commit: ca55b2fef3a9373fcfc30f82fd26bc7fccbda732 xtensa: add de212 core variant
> > date: 5 months ago
> > config: xtensa-nommu_kc705_defconfig (attached as .config)
> > 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
> > git checkout ca55b2fef3a9373fcfc30f82fd26bc7fccbda732
> > # save the attached .config to linux build tree
> > make.cross ARCH=xtensa
> >
> > All errors (new ones prefixed by >>):
> >
> > arch/xtensa/include/asm/initialize_mmu.h: Assembler messages:
> >>> arch/xtensa/include/asm/initialize_mmu.h:55: Error: invalid register 'atomctl' for 'wsr' instruction
> >
> > vim +55 arch/xtensa/include/asm/initialize_mmu.h
> >
> > 6cb97111 Baruch Siach 2013-12-29 39
> > c622b29d Max Filippov 2012-11-19 40 #ifdef __ASSEMBLY__
> > c622b29d Max Filippov 2012-11-19 41
> > c622b29d Max Filippov 2012-11-19 42 #define XTENSA_HWVERSION_RC_2009_0 230000
> > c622b29d Max Filippov 2012-11-19 43
> > c622b29d Max Filippov 2012-11-19 44 .macro initialize_mmu
> > c622b29d Max Filippov 2012-11-19 45
> > c622b29d Max Filippov 2012-11-19 46 #if XCHAL_HAVE_S32C1I && (XCHAL_HW_MIN_VERSION >= XTENSA_HWVERSION_RC_2009_0)
> > c622b29d Max Filippov 2012-11-19 47 /*
> > c622b29d Max Filippov 2012-11-19 48 * We Have Atomic Operation Control (ATOMCTL) Register; Initialize it.
> > c622b29d Max Filippov 2012-11-19 49 * For details see Documentation/xtensa/atomctl.txt
> > c622b29d Max Filippov 2012-11-19 50 */
> > c622b29d Max Filippov 2012-11-19 51 #if XCHAL_DCACHE_IS_COHERENT
> > c622b29d Max Filippov 2012-11-19 52 movi a3, 0x25 /* For SMP/MX -- internal for writeback,
> > c622b29d Max Filippov 2012-11-19 53 * RCW otherwise
> > c622b29d Max Filippov 2012-11-19 54 */
> > c622b29d Max Filippov 2012-11-19 @55 #else
> > c622b29d Max Filippov 2012-11-19 56 movi a3, 0x29 /* non-MX -- Most cores use Std Memory
> > c622b29d Max Filippov 2012-11-19 57 * Controlers which usually can't use RCW
> > c622b29d Max Filippov 2012-11-19 58 */
> > c622b29d Max Filippov 2012-11-19 59 #endif
> > c622b29d Max Filippov 2012-11-19 60 wsr a3, atomctl
> > c622b29d Max Filippov 2012-11-19 61 #endif /* XCHAL_HAVE_S32C1I &&
> > c622b29d Max Filippov 2012-11-19 62 * (XCHAL_HW_MIN_VERSION >= XTENSA_HWVERSION_RC_2009_0)
> > c622b29d Max Filippov 2012-11-19 63 */
> >
> > :::::: The code at line 55 was first introduced by commit
> > :::::: c622b29d1f38021411965b7e0170ab055551b257 xtensa: initialize atomctl SR
> >
> > :::::: TO: Max Filippov <jcmvbkbc@gmail.com>
> > :::::: CC: Chris Zankel <chris@zankel.net>
> >
> > ---
> > 0-DAY kernel test infrastructure Open Source Technology Center
> > https://lists.01.org/pipermail/kbuild-all Intel Corporation
>
>
>
> --
> Thanks.
> -- Max
> _______________________________________________
> kbuild-all mailing list
> kbuild-all@lists.01.org
> https://lists.01.org/mailman/listinfo/kbuild-all
next prev parent reply other threads:[~2016-03-22 2:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-20 5:34 kbuild test robot
2016-03-20 11:54 ` Max Filippov
2016-03-22 2:17 ` Fengguang Wu [this message]
2016-07-22 10:32 kbuild test robot
2016-07-22 12:44 ` [kbuild-all] " Fengguang Wu
2016-07-25 23:20 ` Max Filippov
2016-07-26 4:42 ` Fengguang Wu
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=20160322021731.GA24700@wfg-t540p.sh.intel.com \
--to=fengguang.wu@intel.com \
--cc=jcmvbkbc@gmail.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=philip.li@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®