mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [xtensa] arch/xtensa/include/asm/processor.h:14:26: fatal error: variant/core.h: No such file or directory
@ 2016-03-14  2:18 Fengguang Wu
  2016-03-14  3:35 ` Max Filippov
  0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2016-03-14  2:18 UTC (permalink / raw)
  To: Chris Zankel; +Cc: lkp, LKML, Max Filippov, linux-xtensa

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

Hi Chris,

FYI, xtensa has an error that happen in the below 2 configs:

        xtensa-audio_kc705_defconfig (attached as .config)
        xtensa-smp_lx200_defconfig

It's too old to be bisect friendly. It'd be great if can be fixed.

   In file included from arch/xtensa/include/asm/bitops.h:22:0,
                    from include/linux/bitops.h:33,
                    from include/linux/kernel.h:10,
                    from include/asm-generic/bug.h:13,
                    from arch/xtensa/include/generated/asm/bug.h:1,
                    from include/linux/bug.h:4,
                    from include/linux/page-flags.h:9,
                    from kernel/bounds.c:9:
>> arch/xtensa/include/asm/processor.h:14:26: fatal error: variant/core.h: No such file or directory
    #include <variant/core.h>
                             ^
   compilation terminated.
   make[2]: *** [kernel/bounds.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2

vim +14 arch/xtensa/include/asm/processor.h

9a8fd558 include/asm-xtensa/processor.h      Chris Zankel    2005-06-23   1  /*
9a8fd558 include/asm-xtensa/processor.h      Chris Zankel    2005-06-23   2   * include/asm-xtensa/processor.h
9a8fd558 include/asm-xtensa/processor.h      Chris Zankel    2005-06-23   3   *
9a8fd558 include/asm-xtensa/processor.h      Chris Zankel    2005-06-23   4   * This file is subject to the terms and conditions of the GNU General Public
9a8fd558 include/asm-xtensa/processor.h      Chris Zankel    2005-06-23   5   * License.  See the file "COPYING" in the main directory of this archive
9a8fd558 include/asm-xtensa/processor.h      Chris Zankel    2005-06-23   6   * for more details.
9a8fd558 include/asm-xtensa/processor.h      Chris Zankel    2005-06-23   7   *
2d1c645c arch/xtensa/include/asm/processor.h Marc Gauthier   2013-01-05   8   * Copyright (C) 2001 - 2008 Tensilica Inc.
9a8fd558 include/asm-xtensa/processor.h      Chris Zankel    2005-06-23   9   */
9a8fd558 include/asm-xtensa/processor.h      Chris Zankel    2005-06-23  10  
9a8fd558 include/asm-xtensa/processor.h      Chris Zankel    2005-06-23  11  #ifndef _XTENSA_PROCESSOR_H
9a8fd558 include/asm-xtensa/processor.h      Chris Zankel    2005-06-23  12  #define _XTENSA_PROCESSOR_H
9a8fd558 include/asm-xtensa/processor.h      Chris Zankel    2005-06-23  13  
367b8112 arch/xtensa/include/asm/processor.h Chris Zankel    2008-11-06 @14  #include <variant/core.h>
e5083a63 arch/xtensa/include/asm/processor.h Johannes Weiner 2009-03-04  15  #include <platform/hardware.h>
9a8fd558 include/asm-xtensa/processor.h      Chris Zankel    2005-06-23  16  
f6dc8c5b include/asm-xtensa/processor.h      Chase Venters   2006-07-08  17  #include <linux/compiler.h>
9a8fd558 include/asm-xtensa/processor.h      Chris Zankel    2005-06-23  18  #include <asm/ptrace.h>
9a8fd558 include/asm-xtensa/processor.h      Chris Zankel    2005-06-23  19  #include <asm/types.h>
173d6681 include/asm-xtensa/processor.h      Chris Zankel    2006-12-10  20  #include <asm/regs.h>
9a8fd558 include/asm-xtensa/processor.h      Chris Zankel    2005-06-23  21  
9a8fd558 include/asm-xtensa/processor.h      Chris Zankel    2005-06-23  22  /* Assertions. */

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

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 10677 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [xtensa] arch/xtensa/include/asm/processor.h:14:26: fatal error: variant/core.h: No such file or directory
  2016-03-14  2:18 [xtensa] arch/xtensa/include/asm/processor.h:14:26: fatal error: variant/core.h: No such file or directory Fengguang Wu
@ 2016-03-14  3:35 ` Max Filippov
  0 siblings, 0 replies; 2+ messages in thread
From: Max Filippov @ 2016-03-14  3:35 UTC (permalink / raw)
  To: Fengguang Wu; +Cc: Chris Zankel, lkp, LKML, linux-xtensa

Hello,

On Mon, Mar 14, 2016 at 5:18 AM, Fengguang Wu <fengguang.wu@intel.com> wrote:
> FYI, xtensa has an error that happen in the below 2 configs:
>
>         xtensa-audio_kc705_defconfig (attached as .config)
>         xtensa-smp_lx200_defconfig
>
> It's too old to be bisect friendly. It'd be great if can be fixed.

I will post patches that add these core variants to xtensa arch.
There's still an issue though: they wouldn't build with the default xtensa
toolchain, because both these configurations have HiFi coprocessor and
there's assembly code in variant-specific files that saves and restores
coprocessor registers. Currently every xtensa core variant requires a
toolchain specifically built for it with corresponding configuration overlay:

  http://wiki.linux-xtensa.org/index.php/Toolchain_Overlay_File

-- 
Thanks.
-- Max

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-14  3:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-14  2:18 [xtensa] arch/xtensa/include/asm/processor.h:14:26: fatal error: variant/core.h: No such file or directory Fengguang Wu
2016-03-14  3:35 ` Max Filippov

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®