xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [questions] Dom0/DomU on ARM under Xen
@ 2012-07-30 15:19 Alexey Klimov
  2012-07-31  7:43 ` Ian Campbell
  2012-07-31 11:59 ` Stefano Stabellini
  0 siblings, 2 replies; 7+ messages in thread
From: Alexey Klimov @ 2012-07-30 15:19 UTC (permalink / raw)
  To: Stefano Stabellini, Ian Campbell; +Cc: xen-devel

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

Hello Stefano and Ian,

I'm trying to run DomU and Dom0 on ARM under Xen and have some
problems (may be question of configuration).

I'm using:
- unstable Xen mercurial repository with your "grant table" patches
and few patches from Ian Campbell (xcbuild,
xen_remap_domain_mfn_range, XENMAPSPACE_gmfn_foreign,  ARM support to
xc_dom).
- your (Stefano's) linux kernel git repository
git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git with head
3.5-rc7-arm-1. I hope all patches to Linux kernel from Stefano letters
are there.
- Fast Models with few models created as described in wiki page
http://wiki.xen.org/wiki/Xen_ARMv7_with_Virtualization_Extensions/FastModels
- device trees dts files (vexpress-v2p-ca15-tc1.dts and
vexpress-virt.dts) from Stefano letter on 26 July. v2p-ca15-tc1 is
attached to Xen using CONFIG_DTB_FILE and vexpress-virt.dtb is
attached to DomU zImage.

Well, kernel hangs after message (Calibrating delay loop...) when
running on models RTSM_VE/Build_Cortex-A15x4 and
RTSM_VE/Build_Cortex-A15x2. I attached logs (Dom0-A15x2 and A15x4).
Logs also shows problems with device trees (HBI and arch timer).

I can boot Dom0 on Cortex-A15x1 model (log file Dom0-A15x1 with
warning/problems about DT and HBI) and when i'm tryng to boot zImage
using xcbuild utility then it also hangs with message from Xen "Guest
data abort: Translation fault at level 3". Log file is also attached.

Could you please take a look and help?

May be i miss important config option in Linux kernel or in Xen.

Is it okay that vexpress-virt descibes V2P-AEMv7A platform and not
V2P-CA15? It looks that vexpress-v2p-ca15-tc1.dts includes
vexpress-v2m-rs1-rtsm.dtsi. Could you please also share this file if
it has specific options? And what can be reason of errors about
HBI/arch_timers when running Xen+Linux
kernel+vexpress-v2p-ca15-tc1.dts on Cortex-A15x2 model?

I can provide/send other info if you want. Thanks in advance.
Best regards,
Alexey Klimov.

[-- Attachment #2: Dom0-A15x2.log --]
[-- Type: application/octet-stream, Size: 5252 bytes --]

- Started in Secure state -
- Entering Hyp mode -
- Setting up control registers -
- Turning on paging -
- Ready -
RAM: 0000000080000000 - 00000000ffffffff
 __  __            _  _    ____                     _        _     _      
 \ \/ /___ _ __   | || |  |___ \    _   _ _ __  ___| |_ __ _| |__ | | ___ 
  \  // _ \ '_ \  | || |_   __) |__| | | | '_ \/ __| __/ _` | '_ \| |/ _ \
  /  \  __/ | | | |__   _| / __/|__| |_| | | | \__ \ || (_| | |_) | |  __/
 /_/\_\___|_| |_|    |_|(_)_____|   \__,_|_| |_|___/\__\__,_|_.__/|_|\___|
                                                                          
(XEN) Xen version 4.2-unstable (root@(none)) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) Fri Jul 27 11:42:21 UTC 2012
(XEN) Latest ChangeSet: unavailable
(XEN) GIC: 64 lines, 2 cpus, secure (IID 0000043b).
(XEN) Waiting for 1 other CPUs to be ready
- CPU 00000001 booting -
- Started in Secure state -
- Entering Hyp mode -
- Setting up control registers -
- Turning on paging -
- Ready -
(XEN) Using generic timer at 100000000 Hz
(XEN) Xen heap: 262144 pages  Dom heap: 253952 pages
(XEN) Domain heap initialised
(XEN) Set hyp vector base to 23ce40 (expected 0023ce40)
(XEN) Processor Features: 00001131 00001131
(XEN) Debug Features: 02010555
(XEN) Auxiliary Features: 00000000
(XEN) Memory Model Features: 10201105 20000000 01240000 02102211
(XEN) ISA Features: 02101110 13112111 21232041 11112131 10011142 00000000
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Allocated console ring of 16 KiB.
(XEN) smpboot.c:149: CPU 1 booted.
(XEN) Brought up 2 CPUs
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Populate P2M 0x80000000->0x88000000
(XEN) Map CS2 MMIO regions 1:1 in the P2M 0x18000000->0x1bffffff
(XEN) Map CS3 MMIO regions 1:1 in the P2M 0x1c000000->0x1fffffff
(XEN) Map VGIC MMIO regions 1:1 in the P2M 0x2c008000->0x2dffffff
(XEN) Routing peripheral interrupts to guest
(XEN) Loading 00000000001f8cc8 byte zImage from flash 0000000000000000 to 0000000080008000-0000000080200cc8: [..]
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen)
(XEN) Freed 204kB init memory.
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.5.0-rc7+ (root@tuz) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #8 Fri Jul 27 17:00:37 MSK 2012
CPU: ARMv7 Processor [412fc0f0] revision 0 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine: ARM-Versatile Express, model: V2P-CA15
bootconsole [xenboot0] enabled
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat 803eae94, node_mem_map 80408000
  Normal zone: 256 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 32512 pages, LIFO batch:7
------------[ cut here ]------------
WARNING: at arch/arm/mach-vexpress/v2m.c:613 v2m_dt_init_early+0xac/0xec()
Modules linked in:
Backtrace: 
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ea8>] (dump_stack+0x18/0x1c)
 r6:00000265 r5:803a6e9c r4:00000000 r3:803cf93c
[<802d7e90>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:803cd338 r7:80508440 r6:80000200 r5:803f3b88 r4:00000000
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a6e9c>] (v2m_dt_init_early+0xac/0xec)
[<803a6df0>] (v2m_dt_init_early+0x0/0xec) from [<803a369c>] (setup_arch+0x710/0x7fc)
 r4:803ba9ac
[<803a2f8c>] (setup_arch+0x0/0x7fc) from [<803a159c>] (start_kernel+0x78/0x26c)
[<803a1524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
 r7:803cd284 r6:803bbd50 r5:803ca054 r4:10c53c7d
---[ end trace 1b75b31a2719ed1c ]---
vexpress: DT HBI (237) is not matching hardware (0)!
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: earlyprintk=xenboot console=ttyAMA1 root=/dev/mmcblk0 debug rw
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125764k/125764k available, 5308k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0x88800000 - 0xff000000   (1896 MB)
    lowmem  : 0x80000000 - 0x88000000   ( 128 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x803a1000   (3684 kB)
      .init : 0x803a1000 - 0x803c15e8   ( 130 kB)
      .data : 0x803c2000 - 0x803eb5c0   ( 166 kB)
       .bss : 0x803eb5e4 - 0x80407164   ( 111 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:256
arch_timer: can't find DT node
Architected local timer running at 100.00MHz.
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949ms
Console: colour dummy device 80x30
Xen support found, events_irq=31 gnttab_frame_pfn=b0000
Grant tables using version 1 layout.
Grant table initialized
Calibrating delay loop... 

Boot process stops here.

[-- Attachment #3: Dom0-A15x4.log --]
[-- Type: application/octet-stream, Size: 5688 bytes --]

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
- UART enabled -
- CPU 00000000 booting -
- Started in Secure state -
- Entering Hyp mode -
- Setting up control registers -
- Turning on paging -
- Ready -
RAM: 0000000080000000 - 00000000ffffffff
 __  __            _  _    ____                     _        _     _      
 \ \/ /___ _ __   | || |  |___ \    _   _ _ __  ___| |_ __ _| |__ | | ___ 
  \  // _ \ '_ \  | || |_   __) |__| | | | '_ \/ __| __/ _` | '_ \| |/ _ \
  /  \  __/ | | | |__   _| / __/|__| |_| | | | \__ \ || (_| | |_) | |  __/
 /_/\_\___|_| |_|    |_|(_)_____|   \__,_|_| |_|___/\__\__,_|_.__/|_|\___|
                                                                          
(XEN) Xen version 4.2-unstable (root@(none)) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) Fri Jul 27 11:42:21 UTC 2012
(XEN) Latest ChangeSet: unavailable
(XEN) GIC: 64 lines, 4 cpus, secure (IID 0000043b).
(XEN) Waiting for 3 other CPUs to be ready
- CPU 00000001 booting -
- Started in Secure state -
- Entering Hyp mode -
- Setting up control registers -
- Turning on paging -
- Ready -
- CPU 00000002 booting -
- Started in Secure state -
- Entering Hyp mode -
- Setting up control registers -
- Turning on paging -
- Ready -
- CPU 00000003 booting -
- Started in Secure state -
- Entering Hyp mode -
- Setting up control registers -
- Turning on paging -
- Ready -
(XEN) Using generic timer at 100000000 Hz
(XEN) Xen heap: 262144 pages  Dom heap: 253952 pages
(XEN) Domain heap initialised
(XEN) Set hyp vector base to 23ce40 (expected 0023ce40)
(XEN) Processor Features: 00001131 00001131
(XEN) Debug Features: 02010555
(XEN) Auxiliary Features: 00000000
(XEN) Memory Model Features: 10201105 20000000 01240000 02102211
(XEN) ISA Features: 02101110 13112111 21232041 11112131 10011142 00000000
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Allocated console ring of 32 KiB.
(XEN) smpboot.c:149: CPU 1 booted.
(XEN) smpboot.c:149: CPU 3 booted.
(XEN) smpboot.c:149: CPU 2 booted.
(XEN) Brought up 4 CPUs
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Populate P2M 0x80000000->0x88000000
(XEN) Map CS2 MMIO regions 1:1 in the P2M 0x18000000->0x1bffffff
(XEN) Map CS3 MMIO regions 1:1 in the P2M 0x1c000000->0x1fffffff
(XEN) Map VGIC MMIO regions 1:1 in the P2M 0x2c008000->0x2dffffff
(XEN) Routing peripheral interrupts to guest
(XEN) Loading 00000000001f8cc8 byte zImage from flash 0000000000000000 to 0000000080008000-0000000080200cc8: [..]
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen)
(XEN) Freed 204kB init memory.
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.5.0-rc7+ (root@tuz) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #8 Fri Jul 27 17:00:37 MSK 2012
CPU: ARMv7 Processor [412fc0f0] revision 0 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine: ARM-Versatile Express, model: V2P-CA15
bootconsole [xenboot0] enabled
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat 803eae94, node_mem_map 80408000
  Normal zone: 256 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 32512 pages, LIFO batch:7
------------[ cut here ]------------
WARNING: at arch/arm/mach-vexpress/v2m.c:613 v2m_dt_init_early+0xac/0xec()
Modules linked in:
Backtrace: 
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ea8>] (dump_stack+0x18/0x1c)
 r6:00000265 r5:803a6e9c r4:00000000 r3:803cf93c
[<802d7e90>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:803cd338 r7:80508440 r6:80000200 r5:803f3b88 r4:00000000
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a6e9c>] (v2m_dt_init_early+0xac/0xec)
[<803a6df0>] (v2m_dt_init_early+0x0/0xec) from [<803a369c>] (setup_arch+0x710/0x7fc)
 r4:803ba9ac
[<803a2f8c>] (setup_arch+0x0/0x7fc) from [<803a159c>] (start_kernel+0x78/0x26c)
[<803a1524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
 r7:803cd284 r6:803bbd50 r5:803ca054 r4:10c53c7d
---[ end trace 1b75b31a2719ed1c ]---
vexpress: DT HBI (237) is not matching hardware (0)!
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: earlyprintk=xenboot console=ttyAMA1 root=/dev/mmcblk0 debug rw
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125764k/125764k available, 5308k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0x88800000 - 0xff000000   (1896 MB)
    lowmem  : 0x80000000 - 0x88000000   ( 128 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x803a1000   (3684 kB)
      .init : 0x803a1000 - 0x803c15e8   ( 130 kB)
      .data : 0x803c2000 - 0x803eb5c0   ( 166 kB)
       .bss : 0x803eb5e4 - 0x80407164   ( 111 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:256
arch_timer: can't find DT node
Architected local timer running at 100.00MHz.
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949ms
Console: colour dummy device 80x30
Xen support found, events_irq=31 gnttab_frame_pfn=b0000
Grant tables using version 1 layout.
Grant table initialized
Calibrating delay loop... 

[-- Attachment #4: Dom0-A15x1.log --]
[-- Type: application/octet-stream, Size: 10053 bytes --]

Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
- UART enabled -
- CPU 00000000 booting -
- Started in Secure state -
- Entering Hyp mode -
- Setting up control registers -
- Turning on paging -
- Ready -
RAM: 0000000080000000 - 00000000ffffffff
 __  __            _  _    ____                     _        _     _      
 \ \/ /___ _ __   | || |  |___ \    _   _ _ __  ___| |_ __ _| |__ | | ___ 
  \  // _ \ '_ \  | || |_   __) |__| | | | '_ \/ __| __/ _` | '_ \| |/ _ \
  /  \  __/ | | | |__   _| / __/|__| |_| | | | \__ \ || (_| | |_) | |  __/
 /_/\_\___|_| |_|    |_|(_)_____|   \__,_|_| |_|___/\__\__,_|_.__/|_|\___|
                                                                          
(XEN) Xen version 4.2-unstable (root@(none)) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) Fri Jul 27 11:42:21 UTC 2012
(XEN) Latest ChangeSet: unavailable
(XEN) GIC: 64 lines, 1 cpu, secure (IID 0000043b).
(XEN) Waiting for 0 other CPUs to be ready
(XEN) Using generic timer at 100000000 Hz
(XEN) Xen heap: 262144 pages  Dom heap: 253952 pages
(XEN) Domain heap initialised
(XEN) Set hyp vector base to 23ce40 (expected 0023ce40)
(XEN) Processor Features: 00001131 00001131
(XEN) Debug Features: 02010555
(XEN) Auxiliary Features: 00000000
(XEN) Memory Model Features: 10201105 20000000 01240000 02102211
(XEN) ISA Features: 02101110 13112111 21232041 11112131 10011142 00000000
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Allocated console ring of 16 KiB.
(XEN) Brought up 1 CPUs
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Populate P2M 0x80000000->0x88000000
(XEN) Map CS2 MMIO regions 1:1 in the P2M 0x18000000->0x1bffffff
(XEN) Map CS3 MMIO regions 1:1 in the P2M 0x1c000000->0x1fffffff
(XEN) Map VGIC MMIO regions 1:1 in the P2M 0x2c008000->0x2dffffff
(XEN) Routing peripheral interrupts to guest
(XEN) Loading 00000000001f8cc8 byte zImage from flash 0000000000000000 to 0000000080008000-0000000080200cc8: [..]
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen)
(XEN) Freed 204kB init memory.
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.5.0-rc7+ (root@tuz) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #8 Fri Jul 27 17:00:37 MSK 2012
CPU: ARMv7 Processor [412fc0f0] revision 0 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine: ARM-Versatile Express, model: V2P-CA15
bootconsole [xenboot0] enabled
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat 803eae94, node_mem_map 80408000
  Normal zone: 256 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 32512 pages, LIFO batch:7
------------[ cut here ]------------
WARNING: at arch/arm/mach-vexpress/v2m.c:613 v2m_dt_init_early+0xac/0xec()
Modules linked in:
Backtrace: 
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ea8>] (dump_stack+0x18/0x1c)
 r6:00000265 r5:803a6e9c r4:00000000 r3:803cf93c
[<802d7e90>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:803cd338 r7:80508440 r6:80000200 r5:803f3b88 r4:00000000
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a6e9c>] (v2m_dt_init_early+
[<803a1524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
 r7:803cd284 r6:803bbd50 r5:803ca054 r4:10c53c7d
---[ end trace 1b75b31a2719ed1c ]---
vexpress: DT HBI (237) is not matching hardware (0)!
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: earlyprintk=xenboot console=ttyAMA1 root=/dev/mmcblk0 debug rw
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125764k/125764k available, 5308k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0x88800000 - 0xff000000   (1896 MB)
    lowmem  : 0x80000000 - 0x88000000   ( 128 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x803a1000   (3684 kB)
      .init : 0x803a1000 - 0x803c15e8   ( 130 kB)
      .data : 0x803c2000 - 0x803eb5c0   ( 166 kB)
       .bss : 0x803eb5e4 - 0x80407164   ( 111 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:256
arch_timer: can't find DT node
Architected local timer running at 100.00MHz.
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949ms
Console: colour dummy device 80x30
Xen support found, events_irq=31 gnttab_frame_pfn=b0000
Grant tables using version 1 layout.
Grant table initialized
Calibrating delay loop... 98.71 BogoMIPS (lpj=493568)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x802dc110 - 0x802dc144
Xen support found, events_irq=31 gnttab_frame_pfn=b0000
NET: Registered protocol family 16
------------[ cut here ]------------
WARNING: at kernel/irq/irqdomain.c:135 irq_domain_legacy_revmap+0x28/0x50()
Modules linked in:
Backtrace: 
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ea8>] (dump_stack+0x18/0x1c)
 r6:00000087 r5:80051320 r4:00000000 r3:803cf93c
[<802d7e90>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:8784e100 r7:00000003 r6:00000064 r5:87800440 r4:803d8950
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<80051320>] (irq_domain_legacy_revmap+0x28/0x50)
[<800512f8>] (irq_domain_legacy_revmap+0x0/0x50) from [<800513e8>] (irq_find_mapping+0xa0/0xd0)
[<80051348>] (irq_find_mapping+0x0/0xd0) from [<80051824>] (irq_create_mapping+0x28/0x128)
 r8:8784e100 r7:00000003 r6:00000064 r5:87831dd0 r4:87800440
r3:87831da4
[<800517fc>] (irq_create_mapping+0x0/0x128) from [<800519a8>] (irq_create_of_mapping+0x84/0xf8)
 r7:00000003 r6:805088a8 r5:87831dd0 r4:87800440
[<80051924>] (irq_create_of_mapping+0x0/0xf8) from [<8023cd80>] (irq_of_parse_and_map+0x34/0x3c)
 r7:00000000 r6:805089dc r5:00000000 r4:00000000
[<8023cd4c>] (irq_of_parse_and_map+0x0/0x3c) from [<8023cda8>] (of_irq_to_resource+0x20/0x7c)
[<8023cd88>] (of_irq_to_resource+0x0/0x7c) from [<8023ce30>] (of_irq_count+0x2c/0x3c)
 r7:00000000 r6:805089dc r5:805089dc r4:00000000
[<8023ce04>] (of_irq_count+0x0/0x3c) from [<8023d3f4>] (of_device_alloc+0x5c/0x15c)
 r5:00000000 r4:00000000
[<8023d398>] (of_device_alloc+0x0/0x15c) from [<8023d530>] (of_platform_device_create_pdata+0x3c/0x88)
[<8023d4f4>] (of_platform_device_create_pdata+0x0/0x88) from [<8023d650>] (of_platform_bus_create+0xd4/0x278)
 r7:00000001 r6:00000000 r5:803bc260 r4:805089dc
[<8023d57c>] (of_platform_bus_create+0x0/0x278) from [<8023d85c>] (of_platform_populate+0x68/0xa0)
[<8023d7f4>] (of_platform_populate+0x0/0xa0) from [<803a6c34>] (v2m_dt_init+0x2c/0x4c)
[<803a6c08>] (v2m_dt_init+0x0/0x4c) from [<803a2c0c>] (customize_machine+0x24/0x30)
[<803a2be8>] (customize_machine+0x0/0x30) from [<8000863c>] (do_one_initcall+0x40/0x184)
[<800085fc>] (do_one_initcall+0x0/0x184) from [<803a1880>] (kernel_init+0xf0/0x1ac)
[<803a1790>] (kernel_init+0x0/0x1ac) from [<8001f7b4>] (do_exit+0x0/0x6bc)
---[ end trace 1b75b31a2719ed1d ]---
------------[ cut here ]------------
WARNING: at kernel/irq/irqdomain.c:135 irq_domain_legacy_revmap+0x28/0x50()
Modules linked in:
Backtrace: 
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ea8>] (dump_stack+0x18/0x1c)
 r6:00000087 r5:80051320 r4:00000000 r3:803cf93c
[<802d7e90>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:8784e100 r7:00000003 r6:00000064 r5:00000000 r4:87800440
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<80051320>] (irq_domain_legacy_revmap+0x28/0x50)
[<800512f8>] (irq_domain_legacy_revmap+0x0/0x50) from [<800518ac>] (irq_create_mapping+0xb0/0x128)
[<800517fc>] (irq_create_mapping+0x0/0x128) from [<800519a8>] (irq_create_of_mapping+0x84/0xf8)
 r7:00000003 r6:805088a8 r5:87831dd0 r4:87800440
[<80051924>] (irq_create_of_mapping+0x0/0xf8) from [<8023cd80>] (irq_of_parse_and_map+0x34/0x3c)
 r7:00000000 r6:805089dc r5:00000000 r4:00000000
[<8023cd4c>] (irq_of_parse_and_map+0x0/0x3c) from [<8023cda8>] (of_irq_to_resource+0x20/0x7c)
[<8023cd88>] (of_irq_to_resource+0x0/0x7c) from [<8023ce30>] (of_irq_count+0x2c/0x3c)
 r7:00000000 r6:805089dc r5:805089dc r4:00000000
[<8023ce04>] (of_irq_count+0x0/0x3c) from [<8023d3f4>] (of_device_alloc+0x5c/0x15c)
 r5:00000000 r4:00000000
[<8023d398>] (of_device_alloc+0x0/0x15c) from [<8023d530>] (of_platform_device_create_pdata+0x3c/0x88)
[<8023d4f4>] (of_platform_device_create_pdata+0x0/0x88) from [<8023d650>] (of_platform_bus_create+0xd4/0x278)
 r7:00000001 r6:00000000 r5:803bc260 r4:805089dc
[<8023d57c>] (of_platform_bus_create+0x0/0x278) from [<8023d85c>] (of_platform_populate+0x68/0xa0)
[<8023d7f4>] (of_platform_populate+0x0/0xa0) from [<803a6c34>] (v2m_dt_init+0x2c/0x4c)
[<803a6c08>] (v2m_dt_init+0x0/0x4c) from [<803a2c0c>] (customize_machine+0x24/0x30)
[<803a2be8>] (customize_machine+0x0/0x30) from [<8000863c>] (do_one_initcall+0x40/0x184)
[<800085fc>] (do_one_initcall+0x0/0x184) from [<803a1880>] (kernel_init+0xf0/0x1ac)
[<803a1790>] (kernel_init+0x0/0x1ac) from [<8001f7b4>] (do_exit+0x0/0x6bc)
---[ end trace 1b75b31a2719ed1e ]---
Serial: AMBA PL011 UART driver
1c090000.uart: ttyAMA0 at MMIO 0x1c090000 (irq = 37) is a PL011 rev1
1c0a0000.uart: ttyAMA1 at MMIO 0x1c0a0000 (irq = 38) is a PL011 rev1
console [ttyAMA1] enabled, bootconsole disabled

... and it booted to login prompt with no errors in another window.



[-- Attachment #5: DomU-A15x1-vexpress-virt-dtb.log --]
[-- Type: application/octet-stream, Size: 6921 bytes --]

(XEN) DOM113: Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.5.0-rc7+ (root@tuz) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #6 Fri Jul 27 16:03:09 MSK 2012
CPU: ARMv7 Processor [412fc0f0] revision 0 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine: ARM-Versatile Express, model: V2P-AEMv7A
bootconsole [xenboot0] enabled
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat 803ece94, node_mem_map 8040a000
  Normal zone: 256 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 32512 pages, LIFO batch:7
------------[ cut here ]------------
WARNING: at arch/arm/mach-vexpress/v2m.c:603 v2m_dt_init_early+0x44/0xec()
Modules linked in:
Backtrace:
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ea8>] (dump_stack+0x18/0x1c)
 r6:0000025b r5:803a7e34 r4:00000000 r3:803d193c
[<802d7e90>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:803cf338 r7:8050a440 r6:80000200 r5:803f5b88 r4:803ee038
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a7e34>] (v2m_dt_init_early+0x44/0xec)
[<803a7df0>] (v2m_dt_init_early+0x0/0xec) from [<803a469c>] (setup_arch+0x710/0x7fc)
 r4:803bbf90
[<803a3f8c>] (setup_arch+0x0/0x7fc) from [<803a259c>] (start_kernel+0x78/0x26c)
[<803a2524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
 r7:803cf284 r6:803bd334 r5:803cc054 r4:10c53c7d
---[ end trace 1b75b31a2719ed1c ]---
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: earlyprintk=xen debug loglevel=9 console=hvc0 root=/dev/xvda
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125760k/125760k available, 5312k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0x88800000 - 0xff000000   (1896 MB)
    lowmem  : 0x80000000 - 0x88000000   ( 128 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x803a2000   (3688 kB)
      .init : 0x803a2000 - 0x803c2bcc   ( 131 kB)
      .data : 0x803c4000 - 0x803ed5c0   ( 166 kB)
       .bss : 0x803ed5e4 - 0x80409164   ( 111 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:256
------------[ cut here ]------------
WARNING: at arch/arm/mach-vexpress/v2m.c:62 v2m_sysctl_init+0x20/0x58()
Modules linked in:
Backtrace:
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ea8>] (dump_stack+0x18/0x1c)
 r6:0000003e r5:803a7a24 r4:00000000 r3:803d193c
[<802d7e90>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:80004059 r7:8050ab80 r6:803bd338 r5:803ed600 r4:00000000
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a7a24>] (v2m_sysctl_init+0x20/0x58)
[<803a7a04>] (v2m_sysctl_init+0x0/0x58) from [<803a7b24>] (v2m_dt_timer_init+0x2c/0xcc)
 r5:803ed600 r4:ffffffff
[<803a7af8>] (v2m_dt_timer_init+0x0/0xcc) from [<803a4830>] (time_init+0x28/0x38)
 r6:803bd338 r5:803ed600 r4:ffffffff
[<803a4808>] (time_init+0x0/0x38) from [<803a26ac>] (start_kernel+0x188/0x26c)
[<803a2524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
 r7:803cf284 r6:803bd334 r5:803cc054 r4:10c53c7d
---[ end trace 1b75b31a2719ed1d ]---
arch_timer: found timer irqs 29 30
Architected local timer running at 100.00MHz.
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949ms
------------[ cut here ]------------
WARNING: at arch/arm/mach-vexpress/v2m.c:647 v2m_dt_timer_init+0x7c/0xcc()
Modules linked in:
Backtrace:
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ea8>] (dump_stack+0x18/0x1c)
 r6:00000287 r5:803a7b74 r4:00000000 r3:803d193c
[<802d7e90>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:80004059 r7:8050ab80 r6:803bd338 r5:803ed600 r4:ffffffea
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a7b74>] (v2m_dt_timer_init+0x7c/0xcc)
[<803a7af8>] (v2m_dt_timer_init+0x0/0xcc) from [<803a4830>] (time_init+0x28/0x38)
 r6:803bd338 r5:803ed600 r4:ffffffff
[<803a4808>] (time_init+0x0/0x38) from [<803a26ac>] (start_kernel+0x188/0x26c)
[<803a2524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
 r7:803cf284 r6:803bd334 r5:803cc054 r4:10c53c7d
---[ end trace 1b75b31a2719ed1e ]---
Console: colour dummy device 80x30
Xen support found, events_irq=31 gnttab_frame_pfn=b0000
Grant tables using version 1 layout.
Grant table initialized
Calibrating delay loop... 98.20 BogoMIPS (lpj=491008)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x802dc110 - 0x802dc144
Xen support found, events_irq=31 gnttab_frame_pfn=b0000
NET: Registered protocol family 16
(XEN) Guest data abort: Translation fault at level 3
(XEN)     gva=88808804
(XEN)     gpa=0000000000000804
(XEN)     size=2 sign=0 write=0 reg=2
(XEN)     eat=0 cm=0 s1ptw=0 dfsc=7
(XEN) dom113 IPA 0x0000000000000804
(XEN) P2M @ 02ffcac0 mfn:0xffe56
(XEN) 1ST[0x0] = 0x00000000f3f6b6ff
(XEN) 2ND[0x0] = 0x00000000e3f176ff
(XEN) 3RD[0x0] = 0x0000000000000000
(XEN) ----[ Xen-4.2-unstable  x86_64  debug=y  Not tainted ]----
(XEN) CPU:    0
(XEN) PC:     801755f4
(XEN) CPSR:   20000013 MODE:SVC
(XEN)      R0: 80401aa4 R1: 80368180 R2: 80401abc R3: 80401ac4
(XEN)      R4: 88808000 R5: 80401abc R6: 00007ff0 R7: 00000001
(XEN)      R8: 803a225c R9: 803c288c R10:803ed600 R11:8782ff0c R12:8782ff10
(XEN) USR: SP: 00000000 LR: 00000000 CPSR:20000013
(XEN) SVC: SP: 8782fee8 LR: 80176960 SPSR:00000093
(XEN) ABT: SP: 803edd8c LR: 803edd8c SPSR:00000000
(XEN) UND: SP: 803edd98 LR: 803edd98 SPSR:00000000
(XEN) IRQ: SP: 803edd80 LR: 8000dfc0 SPSR:20000193
(XEN) FIQ: SP: 00000000 LR: 00000000 SPSR:00000000
(XEN) FIQ: R8: 00000000 R9: 00000000 R10:00000000 R11:00000000 R12:00000000
(XEN)
(XEN) TTBR0 80004059 TTBR1 80004059 TTBCR 00000000
(XEN) SCTLR 10c53c7d
(XEN) VTTBR 720000ffe56000
(XEN)
(XEN) HTTBR ffec2000
(XEN) HDFAR 88808804
(XEN) HIFAR 0
(XEN) HPFAR 0
(XEN) HCR 00000835
(XEN) HSR   93820007
(XEN)
(XEN) DFSR 0 DFAR 0
(XEN) IFSR 0 IFAR 0
(XEN)
(XEN) GUEST STACK GOES HERE
(XEN)
(XEN) ****************************************
(XEN) Panic on CPU 0:
(XEN) Unhandled guest data abort
(XEN) ****************************************
(XEN)
(XEN) Reboot in five seconds... 

[-- Attachment #6: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

* Re: [questions] Dom0/DomU on ARM under Xen
  2012-07-30 15:19 [questions] Dom0/DomU on ARM under Xen Alexey Klimov
@ 2012-07-31  7:43 ` Ian Campbell
  2012-07-31 11:59 ` Stefano Stabellini
  1 sibling, 0 replies; 7+ messages in thread
From: Ian Campbell @ 2012-07-31  7:43 UTC (permalink / raw)
  To: Alexey Klimov; +Cc: xen-devel, Stefano Stabellini

On Mon, 2012-07-30 at 16:19 +0100, Alexey Klimov wrote:
> Well, kernel hangs after message (Calibrating delay loop...)

That's the state of my local dev tree too. I'm not fully up to date with
all Stefano's patches so I presume we are both missing something or
other.

Ian.

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

* Re: [questions] Dom0/DomU on ARM under Xen
  2012-07-30 15:19 [questions] Dom0/DomU on ARM under Xen Alexey Klimov
  2012-07-31  7:43 ` Ian Campbell
@ 2012-07-31 11:59 ` Stefano Stabellini
  2012-07-31 13:19   ` Ian Campbell
  2012-08-01 16:32   ` Alexey Klimov
  1 sibling, 2 replies; 7+ messages in thread
From: Stefano Stabellini @ 2012-07-31 11:59 UTC (permalink / raw)
  To: Alexey Klimov; +Cc: xen-devel, Ian Campbell, Stefano Stabellini

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

On Mon, 30 Jul 2012, Alexey Klimov wrote:
> Hello Stefano and Ian,
> 
> I'm trying to run DomU and Dom0 on ARM under Xen and have some
> problems (may be question of configuration).

It is great to see interest in our project!


> I'm using:
> - unstable Xen mercurial repository with your "grant table" patches
> and few patches from Ian Campbell (xcbuild,
> xen_remap_domain_mfn_range, XENMAPSPACE_gmfn_foreign,  ARM support to
> xc_dom).

You also need "libxc/arm: allocate xenstore and console pages".

Unfortunately with the 4.2 tree frozen we still have few missing pieces
here and there in the Xen hypervisor and tools.
I think that Ian intended to setup a Xen tree to be used for development
with all the currently unapplied patches that are actually needed on top
of xen-unstable.

Also the xcbuild patch posted by Ian is quite limited, I am attaching
the xcbuild.c that I am currently using for my tests with PV disk and
network support.


> - your (Stefano's) linux kernel git repository
> git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git with head
> 3.5-rc7-arm-1. I hope all patches to Linux kernel from Stefano letters
> are there.

You might also need:

"xen/events: fix unmask_evtchn for PV on HVM guests"

this is the last version that I posted:

http://marc.info/?l=linux-kernel&m=134263575132006&w=2


> - Fast Models with few models created as described in wiki page
> http://wiki.xen.org/wiki/Xen_ARMv7_with_Virtualization_Extensions/FastModels
> - device trees dts files (vexpress-v2p-ca15-tc1.dts and
> vexpress-virt.dts) from Stefano letter on 26 July. v2p-ca15-tc1 is
> attached to Xen using CONFIG_DTB_FILE and vexpress-virt.dtb is
> attached to DomU zImage.

That's correct.


> Well, kernel hangs after message (Calibrating delay loop...) when
> running on models RTSM_VE/Build_Cortex-A15x4 and
> RTSM_VE/Build_Cortex-A15x2. I attached logs (Dom0-A15x2 and A15x4).
> Logs also shows problems with device trees (HBI and arch timer).
> 
> I can boot Dom0 on Cortex-A15x1 model (log file Dom0-A15x1 with
> warning/problems about DT and HBI) and when i'm tryng to boot zImage
> using xcbuild utility then it also hangs with message from Xen "Guest
> data abort: Translation fault at level 3". Log file is also attached.
> 
> Could you please take a look and help?

I have been testing on the Cortex-A15x1 model exclusively so far, so I
am not surprised if there are any errors on the other models.
Also I know that there are still few warnings on boot, but I haven't got
around to fixing them yet.


> May be i miss important config option in Linux kernel or in Xen.
> 
> Is it okay that vexpress-virt descibes V2P-AEMv7A platform and not
> V2P-CA15?

That's should be OK.


> It looks that vexpress-v2p-ca15-tc1.dts includes
> vexpress-v2m-rs1-rtsm.dtsi. Could you please also share this file if
> it has specific options?

I am attaching it. I think you might be missing an important change there.


> And what can be reason of errors about
> HBI/arch_timers when running Xen+Linux
> kernel+vexpress-v2p-ca15-tc1.dts on Cortex-A15x2 model?

I am not sure yet, but I'll take a look. I'll try to fix them in one of
the following version of my series.


> I can provide/send other info if you want. Thanks in advance.

Let me know if the missing patches and the new
vexpress-v2m-rs1-rtsm.dtsi fix the issue!

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-csrc; name="xcbuild.c", Size: 11732 bytes --]

#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include <errno.h>

#include <xenctrl.h>
//#include <xenguest.h>
#include <xentoollog.h>
#include <xc_dom.h>
#include <xenstore.h>

int main(int argc, char **argv)
{
	xentoollog_logger *logger;
	xc_interface *xch;
	int rv;
	const char *image;
	uint32_t domid = 1;
	xen_domain_handle_t handle;
	int maxmem = 128; /* MB */ //atoi(argv[2]);
	int memory_kb = 2*(maxmem + 1)*1024; /* bit of slack... */
	struct xc_dom_image *dom;
	unsigned long console_mfn;
	unsigned long console_port;
	unsigned long store_mfn;
	unsigned long store_port;
	struct xs_handle *xs;
	char *dom_path;
	char path[256];
	char val[256];
	xs_transaction_t t;
	struct xs_permissions frontend_perms[2];
	struct xs_permissions backend_perms[2];

	image = (argc < 2) ? "guest.img" : argv[1];
	printf("Image: %s\n", image);
	printf("Memory: %dKB\n", memory_kb);

	logger = (xentoollog_logger*)
		xtl_createlogger_stdiostream(stderr, XTL_DEBUG, 0);
	if ( logger == NULL )
	{
		perror("xtl_createlogger_stdiostream");
		exit(1);
	}

	xch = xc_interface_open(logger, logger, 0);
	if ( xch == NULL )
	{
		perror("xc_interface_open");
		exit(1);
	}

	rv = xc_dom_loginit(xch);
	if (rv) return rv;

	//rv = xc_flask_context_to_sid(xch, argv[3], strlen(argv[3]), &ssid);
	//if (rv) return rv;

	rv = xc_domain_create(xch, 0 /* ssid */, handle, 0 /* flags */, &domid);
	printf("xc_domain_create: %d (%d)\n", rv, errno);
	if ( rv < 0 )
	{
		perror("xc_domain_create");
		exit(1);
	}

	printf("building dom%d\n", domid);

	rv = xc_domain_max_vcpus(xch, domid, 1);
	if ( rv < 0)
	{
		perror("xc_domain_max_vcpus");
		exit(1);
	}

	//rc = xc_domain_setmaxmem(xch, domid, 2*memory_kb); /* 2x == overheads... */
	rv = xc_domain_setmaxmem(xch, domid, memory_kb);
	if ( rv < 0)
	{
		perror("xc_domain_setmaxmem");
		exit(1);
	}

#if USE_HVM_BUILD
	printf("using xc_hvm_build to build image %s\n", image);
	hvm_args.image_file_name = image;
	hvm_args.mem_size = hvm_args.mem_target = memory_kb << 10 /* bytes */;
	rv = xc_hvm_build(xch, domid, &hvm_args);
	printf("xc_hvm_build: %d (%d)\n", rc, errno);
	if ( rv < 0 )
	{
		perror("xc_hvm_build");
		exit(1);
	}
#else
	printf("using xc_dom to build image %s\n", image);

#if 0 /* X86 specific... */
	rv = xc_domain_set_memmap_limit(xch, domid, memory_kb);
	if (rv) return rv;
#endif

	dom = xc_dom_allocate(xch, "", NULL);
	rv = xc_dom_kernel_file(dom, image);
	if (rv) return rv;
	rv = xc_dom_boot_xen_init(dom, xch, domid);
	if (rv) return rv;
	rv = xc_dom_parse_image(dom);
	if (rv) return rv;
	rv = xc_dom_mem_init(dom, 2*maxmem);/* XXX */
	if (rv) return rv;
	rv = xc_dom_boot_mem_init(dom);
	if (rv) return rv;
	rv = xc_dom_build_image(dom);
	if (rv) return rv;

	xc_get_hvm_param(xch, domid, HVM_PARAM_CONSOLE_PFN, &console_mfn);
	console_port = xc_evtchn_alloc_unbound(xch, domid, 0);
	xc_set_hvm_param(xch, domid, HVM_PARAM_CONSOLE_EVTCHN, console_port);

	xc_get_hvm_param(xch, domid, HVM_PARAM_STORE_PFN, &store_mfn);
	store_port = xc_evtchn_alloc_unbound(xch, domid, 0);
	xc_set_hvm_param(xch, domid, HVM_PARAM_STORE_EVTCHN, store_port);
	xs = xs_daemon_open();
	if (xs == NULL) {
		printf("Could not contact XenStore");
		return errno;
	}
	dom_path = xs_get_domain_path(xs, domid);

	snprintf(path, sizeof(path), "%s/console/port", dom_path);
	snprintf(val, sizeof(val), "%lu", console_port);
	xs_write(xs, XBT_NULL, path, val, strlen(val));

	snprintf(path, sizeof(path), "%s/console/ring-ref", dom_path);
	snprintf(val, sizeof(val), "%lu", console_mfn);
	xs_write(xs, XBT_NULL, path, val, strlen(val));

	snprintf(path, sizeof(path), "%s/console/type", dom_path);
	snprintf(val, sizeof(val), "xenconsoled");
	xs_write(xs, XBT_NULL, path, val, strlen(val));

	snprintf(path, sizeof(path), "%s/console/output", dom_path);
	snprintf(val, sizeof(val), "pty");
	xs_write(xs, XBT_NULL, path, val, strlen(val));

	snprintf(path, sizeof(path), "%s/console/limit", dom_path);
	snprintf(val, sizeof(val), "%d", 1048576);
	xs_write(xs, XBT_NULL, path, val, strlen(val));

	snprintf(path, sizeof(path), "%s/store/port", dom_path);
	snprintf(val, sizeof(val), "%lu", store_port);
	xs_write(xs, XBT_NULL, path, val, strlen(val));

	snprintf(path, sizeof(path), "%s/store/ring-ref", dom_path);
	snprintf(val, sizeof(val), "%lu", store_mfn);
	xs_write(xs, XBT_NULL, path, val, strlen(val));
	xs_introduce_domain(xs, domid, store_mfn, store_port);

retry_transaction:
	t = xs_transaction_start(xs);

	frontend_perms[0].id = domid;
	frontend_perms[0].perms = XS_PERM_NONE;
	frontend_perms[1].id = 0;
	frontend_perms[1].perms = XS_PERM_READ;

	snprintf(path, sizeof(path), "/local/domain/%d/device/vbd/%d", domid, 51712);
	xs_mkdir(xs, t, path);
	xs_set_permissions(xs, t, path, frontend_perms, 2);
	snprintf(path, sizeof(path), "/local/domain/%d/device/vbd", domid);
	xs_set_permissions(xs, t, path, frontend_perms, 2);
	snprintf(path, sizeof(path), "/local/domain/%d/device", domid);
	xs_set_permissions(xs, t, path, frontend_perms, 2);

	snprintf(path, sizeof(path), "/local/domain/%d/device/vif/%d", domid, 0);
	xs_mkdir(xs, t, path);
	xs_set_permissions(xs, t, path, frontend_perms, 2);
	snprintf(path, sizeof(path), "/local/domain/%d/device/vif", domid);
	xs_set_permissions(xs, t, path, frontend_perms, 2);
	snprintf(path, sizeof(path), "/local/domain/%d/device", domid);
	xs_set_permissions(xs, t, path, frontend_perms, 2);

	backend_perms[0].id = 0;
	backend_perms[0].perms = XS_PERM_NONE;
	backend_perms[1].id = domid;
	backend_perms[1].perms = XS_PERM_READ;

	snprintf(path, sizeof(path), "/local/domain/0/backend/vbd/%d/%d", domid, 51712);
	xs_mkdir(xs, t, path);
	xs_set_permissions(xs, t, path, backend_perms, 2);

	snprintf(path, sizeof(path), "/local/domain/0/backend/vif/%d/%d", domid, 0);
	xs_mkdir(xs, t, path);
	xs_set_permissions(xs, t, path, backend_perms, 2);

	snprintf(path, sizeof(path), "/local/domain/0/backend/vbd/%d/%d/frontend", domid, 51712);
	snprintf(val, sizeof(val), "/local/domain/%d/device/vbd/%d", domid, 51712);
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/0/backend/vbd/%d/%d/physical-device", domid, 51712);
	snprintf(val, sizeof(val), "7:0");
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/0/backend/vbd/%d/%d/params", domid, 51712);
	snprintf(val, sizeof(val), "/dev/loop0");
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/0/backend/vbd/%d/%d/frontend-id", domid, 51712);
	snprintf(val, sizeof(val), "%d", domid);
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/0/backend/vbd/%d/%d/online", domid, 51712);
	snprintf(val, sizeof(val), "1");
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/0/backend/vbd/%d/%d/removable", domid, 51712);
	snprintf(val, sizeof(val), "0");
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/0/backend/vbd/%d/%d/bootable", domid, 51712);
	snprintf(val, sizeof(val), "1");
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/0/backend/vbd/%d/%d/state", domid, 51712);
	snprintf(val, sizeof(val), "1");
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/0/backend/vbd/%d/%d/dev", domid, 51712);
	snprintf(val, sizeof(val), "xvda");
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/0/backend/vbd/%d/%d/type", domid, 51712);
	snprintf(val, sizeof(val), "phy");
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/0/backend/vbd/%d/%d/mode", domid, 51712);
	snprintf(val, sizeof(val), "w");
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/0/backend/vbd/%d/%d/device-type", domid, 51712);
	snprintf(val, sizeof(val), "disk");
	xs_write(xs, t, path, val, strlen(val));

	snprintf(path, sizeof(path), "/local/domain/%d/device/vbd/%d/backend", domid, 51712);
	snprintf(val, sizeof(val), "/local/domain/0/backend/vbd/%d/%d", domid, 51712);
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/%d/device/vbd/%d/backend-id", domid, 51712);
	snprintf(val, sizeof(val), "%d", 0);
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/%d/device/vbd/%d/state", domid, 51712);
	snprintf(val, sizeof(val), "%d", 1);
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/%d/device/vbd/%d/virtual-device", domid, 51712);
	snprintf(val, sizeof(val), "%d", 51712);
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/%d/device/vbd/%d/device-type", domid, 51712);
	snprintf(val, sizeof(val), "disk");
	xs_write(xs, t, path, val, strlen(val));

	snprintf(path, sizeof(path), "/local/domain/0/backend/vif/%d/0/frontend", domid);
	snprintf(val, sizeof(val), "/local/domain/%d/device/vif/0", domid);
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/0/backend/vif/%d/0/frontend-id", domid);
	snprintf(val, sizeof(val), "%d", domid);
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/0/backend/vif/%d/%d/online", domid, 0);
	snprintf(val, sizeof(val), "1");
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/0/backend/vif/%d/%d/state", domid, 0);
	snprintf(val, sizeof(val), "1");
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/0/backend/vif/%d/%d/mac", domid, 0);
	snprintf(val, sizeof(val), "00:16:3e:4f:c8:25");
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/0/backend/vif/%d/%d/bridge", domid, 0);
	snprintf(val, sizeof(val), "xenbr0");
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/0/backend/vif/%d/%d/handle", domid, 0);
	snprintf(val, sizeof(val), "0");
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/0/backend/vif/%d/%d/script", domid, 0);
	snprintf(val, sizeof(val), "/vif-setup");
	xs_write(xs, t, path, val, strlen(val));

	snprintf(path, sizeof(path), "/local/domain/%d/device/vif/%d/backend", domid, 0);
	snprintf(val, sizeof(val), "/local/domain/0/backend/vif/%d/%d", domid, 0);
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/%d/device/vif/%d/backend-id", domid, 0);
	snprintf(val, sizeof(val), "%d", 0);
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/%d/device/vif/%d/state", domid, 0);
	snprintf(val, sizeof(val), "%d", 1);
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/%d/device/vif/%d/handle", domid, 0);
	snprintf(val, sizeof(val), "%d", 0);
	xs_write(xs, t, path, val, strlen(val));
	snprintf(path, sizeof(path), "/local/domain/%d/device/vif/%d/mac", domid, 0);
	snprintf(val, sizeof(val), "00:16:3e:4f:c8:25");
	xs_write(xs, t, path, val, strlen(val));

	if (!xs_transaction_end(xs, t, 0)) {
		if (errno == EAGAIN)
			goto retry_transaction;
		else
			printf("Failed transaction\n");
	}

	xs_daemon_close(xs);

	rv = xc_dom_boot_image(dom);
	if (rv) return rv;

	xc_dom_release(dom);
#endif

	rv = xc_domain_unpause(xch, domid);
	if ( rv )
	{
		perror("xc_domain_unpause");
		exit(1);
	}

	xc_interface_close(xch);

	return 0;
}

[-- Attachment #3: Type: text/plain, Size: 4375 bytes --]

/*
 * ARM Ltd. Versatile Express
 *
 * Motherboard Express uATX
 * V2M-P1
 *
 * HBI-0190D
 *
 * RS1 memory map ("ARM Cortex-A Series memory map" in the board's
 * Technical Reference Manual)
 *
 * WARNING! The hardware described in this file is independent from the
 * original variant (vexpress-v2m.dtsi), but there is a strong
 * correspondence between the two configurations.
 *
 * TAKE CARE WHEN MAINTAINING THIS FILE TO PROPAGATE ANY RELEVANT
 * CHANGES TO vexpress-v2m.dtsi!
 */

/ {
	aliases {
		arm,v2m_timer = &v2m_timer01;
	};

	motherboard {
		compatible = "simple-bus";
		arm,v2m-memory-map = "rs1";
		#address-cells = <2>; /* SMB chipselect number and offset */
		#size-cells = <1>;
		#interrupt-cells = <1>;

		flash@0,00000000 {
			compatible = "arm,vexpress-flash", "cfi-flash";
			reg = <0 0x00000000 0x04000000>,
			      <4 0x00000000 0x04000000>;
			bank-width = <4>;
		};

		psram@1,00000000 {
			compatible = "arm,vexpress-psram", "mtd-ram";
			reg = <1 0x00000000 0x02000000>;
			bank-width = <4>;
		};

		vram@2,00000000 {
			compatible = "arm,vexpress-vram";
			reg = <2 0x00000000 0x00800000>;
		};

		ethernet@2,02000000 {
			compatible = "smsc,lan91c111";
			reg = <2 0x02000000 0x10000>;
			interrupts = <15>;
		};
	
		usb@2,03000000 {
			compatible = "nxp,usb-isp1761";
			reg = <2 0x03000000 0x20000>;
			interrupts = <16>;
			port1-otg;
		};

		iofpga@3,00000000 {
			compatible = "arm,amba-bus", "simple-bus";
			#address-cells = <1>;
			#size-cells = <1>;
			ranges = <0 3 0 0x200000>;

			sysreg@010000 {
				compatible = "arm,vexpress-sysreg";
				reg = <0x010000 0x1000>;
			};

			sysctl@020000 {
				compatible = "arm,sp810", "arm,primecell";
				reg = <0x020000 0x1000>;
			};

			/* PCI-E I2C bus */
			v2m_i2c_pcie: i2c@030000 {
				compatible = "arm,versatile-i2c";
				reg = <0x030000 0x1000>;

				#address-cells = <1>;
				#size-cells = <0>;

				pcie-switch@60 {
					compatible = "idt,89hpes32h8";
					reg = <0x60>;
				};
			};

			aaci@040000 {
				compatible = "arm,pl041", "arm,primecell";
				reg = <0x040000 0x1000>;
				interrupts = <11>;
			};

			mmci@050000 {
				compatible = "arm,pl180", "arm,primecell";
				reg = <0x050000 0x1000>;
				interrupts = <9 10>;
			};

			kmi@060000 {
				compatible = "arm,pl050", "arm,primecell";
				reg = <0x060000 0x1000>;
				interrupts = <12>;
			};

			kmi@070000 {
				compatible = "arm,pl050", "arm,primecell";
				reg = <0x070000 0x1000>;
				interrupts = <13>;
			};

			v2m_serial0: uart@090000 {
				compatible = "arm,pl011", "arm,primecell";
				reg = <0x090000 0x1000>;
				interrupts = <5>;
			};

			v2m_serial1: uart@0a0000 {
				compatible = "arm,pl011", "arm,primecell";
				reg = <0x0a0000 0x1000>;
				interrupts = <6>;
			};

			v2m_serial2: uart@0b0000 {
				compatible = "arm,pl011", "arm,primecell";
				reg = <0x0b0000 0x1000>;
				interrupts = <7>;
			};

			v2m_serial3: uart@0c0000 {
				compatible = "arm,pl011", "arm,primecell";
				reg = <0x0c0000 0x1000>;
				interrupts = <8>;
			};

			wdt@0f0000 {
				compatible = "arm,sp805", "arm,primecell";
				reg = <0x0f0000 0x1000>;
				interrupts = <0>;
			};

			v2m_timer01: timer@110000 {
				compatible = "arm,sp804", "arm,primecell";
				reg = <0x110000 0x1000>;
				interrupts = <2>;
			};

			v2m_timer23: timer@120000 {
				compatible = "arm,sp804", "arm,primecell";
				reg = <0x120000 0x1000>;
			};

			/* DVI I2C bus */
			v2m_i2c_dvi: i2c@160000 {
				compatible = "arm,versatile-i2c";
				reg = <0x160000 0x1000>;

				#address-cells = <1>;
				#size-cells = <0>;

				dvi-transmitter@39 {
					compatible = "sil,sii9022-tpi", "sil,sii9022";
					reg = <0x39>;
				};

				dvi-transmitter@60 {
					compatible = "sil,sii9022-cpi", "sil,sii9022";
					reg = <0x60>;
				};
			};

			rtc@170000 {
				compatible = "arm,pl031", "arm,primecell";
				reg = <0x170000 0x1000>;
				interrupts = <4>;
			};

			compact-flash@1a0000 {
				compatible = "arm,vexpress-cf", "ata-generic";
				reg = <0x1a0000 0x100
				       0x1a0100 0xf00>;
				reg-shift = <2>;
			};

			clcd@1f0000 {
				compatible = "arm,pl111", "arm,primecell";
				reg = <0x1f0000 0x1000>;
				interrupts = <14>;
			};
		};
	};
};

[-- Attachment #4: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

* Re: [questions] Dom0/DomU on ARM under Xen
  2012-07-31 11:59 ` Stefano Stabellini
@ 2012-07-31 13:19   ` Ian Campbell
  2012-08-01 16:32   ` Alexey Klimov
  1 sibling, 0 replies; 7+ messages in thread
From: Ian Campbell @ 2012-07-31 13:19 UTC (permalink / raw)
  To: Stefano Stabellini; +Cc: Alexey Klimov, xen-devel

On Tue, 2012-07-31 at 12:59 +0100, Stefano Stabellini wrote:
> > And what can be reason of errors about
> > HBI/arch_timers when running Xen+Linux
> > kernel+vexpress-v2p-ca15-tc1.dts on Cortex-A15x2 model?
> 
> I am not sure yet, but I'll take a look. I'll try to fix them in one of
> the following version of my series.

Do you normally use an SMP model? Mine is currently configured for UP,
I've been meaning to build a new one.

Ian.

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

* Re: [questions] Dom0/DomU on ARM under Xen
  2012-07-31 11:59 ` Stefano Stabellini
  2012-07-31 13:19   ` Ian Campbell
@ 2012-08-01 16:32   ` Alexey Klimov
  2012-08-08 10:36     ` Alexey Klimov
  1 sibling, 1 reply; 7+ messages in thread
From: Alexey Klimov @ 2012-08-01 16:32 UTC (permalink / raw)
  To: Stefano Stabellini, Ian Campbell; +Cc: xen-devel

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

Hello Stefano and Ian,

2012/7/31 Stefano Stabellini <stefano.stabellini@eu.citrix.com>:
> On Mon, 30 Jul 2012, Alexey Klimov wrote:
>> I'm trying to run DomU and Dom0 on ARM under Xen and have some
>> problems (may be question of configuration).
>
> It is great to see interest in our project!
>
>
>> I'm using:
>> - unstable Xen mercurial repository with your "grant table" patches
>> and few patches from Ian Campbell (xcbuild,
>> xen_remap_domain_mfn_range, XENMAPSPACE_gmfn_foreign,  ARM support to
>> xc_dom).
>
> You also need "libxc/arm: allocate xenstore and console pages".
>
> Unfortunately with the 4.2 tree frozen we still have few missing pieces
> here and there in the Xen hypervisor and tools.
> I think that Ian intended to setup a Xen tree to be used for development
> with all the currently unapplied patches that are actually needed on top
> of xen-unstable.

I found patch and applied.

> Also the xcbuild patch posted by Ian is quite limited, I am attaching
> the xcbuild.c that I am currently using for my tests with PV disk and
> network support.

Thank you very much, i renamed Ian early version of xcbuild to
xcbuild-old, added your file and fixed Makefile to have two xcbuilds.
I found your patch on June 22 and looks like i missed it, my bad.
http://lists.xen.org/archives/html/xen-devel/2012-06/msg01338.html

>> - your (Stefano's) linux kernel git repository
>> git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git with head
>> 3.5-rc7-arm-1. I hope all patches to Linux kernel from Stefano letters
>> are there.
>
> You might also need:
>
> "xen/events: fix unmask_evtchn for PV on HVM guests"
>
> this is the last version that I posted:
>
> http://marc.info/?l=linux-kernel&m=134263575132006&w=2

Also applied on top of Stefano's kernel tree cloned on my machine.

>> - Fast Models with few models created as described in wiki page
>> http://wiki.xen.org/wiki/Xen_ARMv7_with_Virtualization_Extensions/FastModels
>> - device trees dts files (vexpress-v2p-ca15-tc1.dts and
>> vexpress-virt.dts) from Stefano letter on 26 July. v2p-ca15-tc1 is
>> attached to Xen using CONFIG_DTB_FILE and vexpress-virt.dtb is
>> attached to DomU zImage.
>
> That's correct.
>
>
>> Well, kernel hangs after message (Calibrating delay loop...) when
>> running on models RTSM_VE/Build_Cortex-A15x4 and
>> RTSM_VE/Build_Cortex-A15x2. I attached logs (Dom0-A15x2 and A15x4).
>> Logs also shows problems with device trees (HBI and arch timer).
>>
>> I can boot Dom0 on Cortex-A15x1 model (log file Dom0-A15x1 with
>> warning/problems about DT and HBI) and when i'm tryng to boot zImage
>> using xcbuild utility then it also hangs with message from Xen "Guest
>> data abort: Translation fault at level 3". Log file is also attached.
>>
>> Could you please take a look and help?
>
> I have been testing on the Cortex-A15x1 model exclusively so far, so I
> am not surprised if there are any errors on the other models.
> Also I know that there are still few warnings on boot, but I haven't got
> around to fixing them yet.
>
>
>> May be i miss important config option in Linux kernel or in Xen.
>>
>> Is it okay that vexpress-virt descibes V2P-AEMv7A platform and not
>> V2P-CA15?
>
> That's should be OK.
>
>
>> It looks that vexpress-v2p-ca15-tc1.dts includes
>> vexpress-v2m-rs1-rtsm.dtsi. Could you please also share this file if
>> it has specific options?
>
> I am attaching it. I think you might be missing an important change there.

Thanks, i checked it and used to build final dtb-file but it looks no
changes were there with file that i used.

>> And what can be reason of errors about
>> HBI/arch_timers when running Xen+Linux
>> kernel+vexpress-v2p-ca15-tc1.dts on Cortex-A15x2 model?
>
> I am not sure yet, but I'll take a look. I'll try to fix them in one of
> the following version of my series.
>
>
>> I can provide/send other info if you want. Thanks in advance.
>
> Let me know if the missing patches and the new
> vexpress-v2m-rs1-rtsm.dtsi fix the issue!

Thank you very much for help.

Well, i still have problems after two additional patches (for Xen and
kernel). Logs are attached: add_to_physmap failed with -22 in both
xcbuild versions and bad p2m lookups and translation fault at level 2
in Xen..

As i understand from email it's better to use Cortex-A15x1 model, so i
will use this model for tests.

And i saw that Ian set up git repository for xen with latest patches
for ARM. So i'll try to use this repository.

Best regards,
Alexey Klimov.

[-- Attachment #2: xcbuild-Dom0+U-A15x1_01082012.log --]
[-- Type: application/octet-stream, Size: 11626 bytes --]

(XEN) bad p2m lookup
(XEN) dom1 IPA 0x0000000090000000
(XEN) P2M @ 02ffcac0 mfn:0xffe56
(XEN) 1ST[0x2] = 0x00000000f3f686ff
(XEN) 2ND[0x80] = 0x0000000000000000
(XEN) bad p2m lookup
(XEN) dom1 IPA 0x0000000090001000
(XEN) P2M @ 02ffcac0 mfn:0xffe56
(XEN) 1ST[0x2] = 0x00000000f3f686ff
(XEN) 2ND[0x80] = 0x0000000000000000
(XEN) bad p2m lookup
(XEN) dom1 IPA 0x0000000090001000
(XEN) P2M @ 02ffcac0 mfn:0xffe56
(XEN) 1ST[0x2] = 0x00000000f3f686ff
(XEN) 2ND[0x80] = 0x0000000000000000
(XEN) DOM1: Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.5.0-rc7+ (root@tuz) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #13 Wed Aug 1 17:32:20 MSK 2012
CPU: ARMv7 Processor [412fc0f0] revision 0 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine: ARM-Versatile Express, model: V2P-AEMv7A
bootconsole [xenboot0] enabled
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat 803e4d24, node_mem_map 80401000
  Normal zone: 256 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 32512 pages, LIFO batch:7
------------[ cut here ]------------
WARNING: at arch/arm/mach-vexpress/v2m.c:603 v2m_dt_init_early+0x44/0xec()
Modules linked in:
Backtrace: 
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d1e5c>] (dump_stack+0x18/0x1c)
 r6:0000025b r5:803a0e34 r4:00000000 r3:803c993c
[<802d1e44>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:803c7338 r7:80501440 r6:80000200 r5:803eda08 r4:803e5eb8
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a0e34>] (v2m_dt_init_early+0x44/0xec)
[<803a0df0>] (v2m_dt_init_early+0x0/0xec) from [<8039d69c>] (setup_arch+0x710/0x7fc)
 r4:803b4acc
[<8039cf8c>] (setup_arch+0x0/0x7fc) from [<8039b59c>] (start_kernel+0x78/0x26c)
[<8039b524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
 r7:803c7284 r6:803b5e30 r5:803c4054 r4:10c53c7d
---[ end trace 1b75b31a2719ed1c ]---
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: earlyprintk=xen debug loglevel=9 console=hvc0 root=/dev/xvda
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125796k/125796k available, 5276k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0x88800000 - 0xff000000   (1896 MB)
    lowmem  : 0x80000000 - 0x88000000   ( 128 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x8039b000   (3660 kB)
      .init : 0x8039b000 - 0x803bb6c4   ( 130 kB)
      .data : 0x803bc000 - 0x803e5440   ( 166 kB)
       .bss : 0x803e5464 - 0x80400fe4   ( 111 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:256
------------[ cut here ]------------
WARNING: at arch/arm/mach-vexpress/v2m.c:62 v2m_sysctl_init+0x20/0x58()
Modules linked in:
Backtrace: 
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d1e5c>] (dump_stack+0x18/0x1c)
 r6:0000003e r5:803a0a24 r4:00000000 r3:803c993c
[<802d1e44>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:80004059 r7:80501b80 r6:803b5e34 r5:803e5480 r4:00000000
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a0a24>] (v2m_sysctl_init+0x20/0x58)
[<803a0a04>] (v2m_sysctl_init+0x0/0x58) from [<803a0b24>] (v2m_dt_timer_init+0x2c/0xcc)
 r5:803e5480 r4:ffffffff
[<803a0af8>] (v2m_dt_timer_init+0x0/0xcc) from [<8039d830>] (time_init+0x28/0x38)
 r6:803b5e34 r5:803e5480 r4:ffffffff
[<8039d808>] (time_init+0x0/0x38) from [<8039b6ac>] (start_kernel+0x188/0x26c)
[<8039b524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
 r7:803c7284 r6:803b5e30 r5:803c4054 r4:10c53c7d
---[ end trace 1b75b31a2719ed1d ]---
arch_timer: found timer irqs 29 30
Architected local timer running at 100.00MHz.
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949ms
------------[ cut here ]------------
WARNING: at arch/arm/mach-vexpress/v2m.c:647 v2m_dt_timer_init+0x7c/0xcc()
Modules linked in:
Backtrace: 
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d1e5c>] (dump_stack+0x18/0x1c)
 r6:00000287 r5:803a0b74 r4:00000000 r3:803c993c
[<802d1e44>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:80004059 r7:80501b80 r6:803b5e34 r5:803e5480 r4:ffffffea
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a0b74>] (v2m_dt_timer_init+0x7c/0xcc)
[<803a0af8>] (v2m_dt_timer_init+0x0/0xcc) from [<8039d830>] (time_init+0x28/0x38)
 r6:803b5e34 r5:803e5480 r4:ffffffff
[<8039d808>] (time_init+0x0/0x38) from [<8039b6ac>] (start_kernel+0x188/0x26c)
[<8039b524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
 r7:803c7284 r6:803b5e30 r5:803c4054 r4:10c53c7d
---[ end trace 1b75b31a2719ed1e ]---
Console: colour dummy device 80x30
Xen support found, events_irq=31 gnttab_frame_pfn=b0000
Grant tables using version 1 layout.
Grant table initialized
(XEN) Guest data abort: Translation fault at level 2
(XEN)     gva=88804c08
(XEN)     gpa=0000000090000c08
(XEN)     size=2 sign=0 write=0 reg=9
(XEN)     eat=0 cm=0 s1ptw=0 dfsc=6
(XEN) dom1 IPA 0x0000000090000c08
(XEN) P2M @ 02ffcac0 mfn:0xffe56
(XEN) 1ST[0x2] = 0x00000000f3f686ff
(XEN) 2ND[0x80] = 0x0000000000000000
(XEN) ----[ Xen-4.2-unstable  x86_64  debug=y  Not tainted ]----
(XEN) CPU:    0
(XEN) PC:     801949e4
(XEN) CPSR:   200001d3 MODE:SVC
(XEN)      R0: 0058656e R1: 0058656e R2: 00000010 R3: 87800980
(XEN)      R4: 00000010 R5: 000007ff R6: 00000010 R7: 0000001d
(XEN)      R8: 00000010 R9: 803e685c R10:88804000 R11:803bddec R12:803bddf0
(XEN) USR: SP: 00000000 LR: 00000000 CPSR:200001d3
(XEN) SVC: SP: 803bdda8 LR: 80193b9c SPSR:00000153
(XEN) ABT: SP: 803e5c0c LR: 803e5c0c SPSR:00000000
(XEN) UND: SP: 803e5c18 LR: 803e5c18 SPSR:00000000
(XEN) IRQ: SP: 803e5c00 LR: 8000dfc0 SPSR:000001d3
(XEN) FIQ: SP: 00000000 LR: 00000000 SPSR:00000000
(XEN) FIQ: R8: 00000000 R9: 00000000 R10:00000000 R11:00000000 R12:00000000
(XEN) 
(XEN) TTBR0 80004059 TTBR1 80004059 TTBCR 00000000
(XEN) SCTLR 10c53c7d
(XEN) VTTBR 20000ffe56000
(XEN) 
(XEN) HTTBR ffec2000
(XEN) HDFAR 88804c08
(XEN) HIFAR 0
(XEN) HPFAR 900000
(XEN) HCR 00000835
(XEN) HSR   93890006
(XEN) 
(XEN) DFSR 0 DFAR 0
(XEN) IFSR 0 IFAR 0
(XEN) 
(XEN) GUEST STACK GOES HERE
(XEN) 
(XEN) ****************************************
(XEN) Panic on CPU 0:
(XEN) Unhandled guest data abort
(XEN) ****************************************
(XEN) 
(XEN) Reboot in five seconds...




root@tuz:/usr/lib/xen/bin# ./xcbuild /boot/zImagedtb 
Image: /boot/zImagedtb
Memory: 264192KB
xc_domain_create: 0 (0)
building dom1
using xc_dom to build image /boot/zImagedtb
domainbuilder: detail: xc_dom_allocate: cmdline="", features="(null)"
domainbuilder: detail: xc_dom_kernel_file: filename="/boot/zImagedtb"
domainbuilder: detail: xc_dom_malloc_filemap    : 2005 kB
domainbuilder: detail: xc_dom_boot_xen_init: ver 4.2, caps xen-3.0-armv7l 
domainbuilder: detail: xc_dom_parse_image: called
domainbuilder: detail: xc_dom_find_loader: trying multiboot-binary loader ... 
domainbuilder: detail: loader probe failed
domainbuilder: detail: xc_dom_find_loader: trying Linux zImage (ARM) loader ... 
domainbuilder: detail: xc_dom_probe_zimage_kernel: found an appended DTB
domainbuilder: detail: loader probe OK
domainbuilder: detail: xc_dom_parse_zimage_kernel: called
domainbuilder: detail: xc_dom_parse_zimage_kernel: xen-3.0-armv7l: RAM starts at 80000
domainbuilder: detail: xc_dom_parse_zimage_kernel: xen-3.0-armv7l: 0x80008000 -> 0x801fd7f1
domainbuilder: detail: xc_dom_mem_init: mem 256 MB, pages 0x10000 pages, 4k each
domainbuilder: detail: xc_dom_mem_init: 0x10000 pages
domainbuilder: detail: xc_dom_boot_mem_init: called
domainbuilder: detail: xc_dom_malloc            : 512 kB
domainbuilder: detail: remap_area_mfn_pte_fn: ptep 8721c6e4 addr 0x769b9000 => 0x9000030f / 0x90000
xc_dom_build_imaremap_area_mfn_pte_fn: ptep 8721c6e8 addr 0x769ba000 => 0x9000130f / 0x90001
ge: called
domaremap_area_mfn_pte_fn: ptep 8721c6ec addr 0x769bb000 => 0x9000230f / 0x90002
inbuilder: detairemap_area_mfn_pte_fn: ptep 8721c6f0 addr 0x769bc000 => 0x9000330f / 0x90003
l: xc_dom_alloc_remap_area_mfn_pte_fn: ptep 8721c6f4 addr 0x769bd000 => 0x9000430f / 0x90004
segment:   kerneremap_area_mfn_pte_fn: ptep 8721c6f8 addr 0x769be000 => 0x9000530f / 0x90005
l       : 0x8000remap_area_mfn_pte_fn: ptep 8721c6fc addr 0x769bf000 => 0x9000630f / 0x90006
8000 -> 0x801fe0remap_area_mfn_pte_fn: ptep 8721c700 addr 0x769c0000 => 0x9000730f / 0x90007
00  (pfn 0x80008remap_area_mfn_pte_fn: ptep 8721c704 addr 0x769c1000 => 0x9000830f / 0x90008
remap_area_mfn_pte_fn: ptep 8721c708 addr 0x769c2000 => 0x9000930f / 0x90009

remap_area_mfn_pte_fn: ptep 8721c70c addr 0x769c3000 => 0x9000a30f / 0x9000a
remap_area_mfn_pte_fn: ptep 8721c710 addr 0x769c4000 => 0x9000b30f / 0x9000b
remap_area_mfn_pte_fn: ptep 8721c714 addr 0x769c5000 => 0x9000c30f / 0x9000c
remap_area_mfn_pte_fn: ptep 8721c718 addr 0x769c6000 => 0x9000d30f / 0x9000d
remap_area_mfn_pte_fn: ptep 8721c71c addr 0x769c7000 => 0x9000e30f / 0x9000e
remap_area_mfn_pte_fn: ptep 8721c720 addr 0x769c8000 => 0x9000f30f / 0x9000f
domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x80008+0x1f6 at 0x769b9000
domainbuilder: detail: xc_dom_load_zimage_kernel: called
domainbuilder: detail: xc_dom_load_zimage_kernel: kernel sed 0x80008000-0x801fe000
domainbuilder: detail: xc_dom_load_zimage_kernel: copy 2054129 bytes from blob 0x76c30000 to dst 0x769b9000
domainbuilder: detail: alloc_maforeign map add_to_physmap failed, err=-22
gic_pages: called
foreign map add_to_physmap failed, err=-22
domainbuilder: detail: count_pgtables_arm: called
domainbuilder: detail: xc_dom_build_image  : virt_alloc_end : 0x801fe000
domainbuilder: detail: xc_dom_build_image  : virt_pgtab_end : 0x0
foreign map add_to_physmap failed, err=-22
domainbuilder: detail: xc_dom_boot_image: called
domainbuilder: detail: arch_setup_bootearly: doing nothing
domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-armv7l <= matches
domainbuilder: detail: setup_pgtables_arm: called
domainbuilder: detail: start_info_arm: called
domainbuilder: detail: domain builder memory footprint
domainbuilder: detail:    allocated
domainbuilder: detail:       malloc             : 525 kB
domainbuilder: detail:       anon mmap          : 0 bytes
domainbuilder: detail:    mapped
domainbuilder: detail:       file mmap          : 2005 kB
domainbuilder: detail:       domU mmap          : 2008 kB
domainbuilder: detail: vcpu_arm: called
domainbuilder: detail: Initial state CPSR 0x1d3 PC 0x80008000
domainbuilder: detail: launch_vm: called, ctxt=0x7ef3e7bc
domainbuilder: detail: xc_dom_release: called
xc: debug: hypercall buffer: total allocations:20 total releases:20
xc: debug: hypercall buffer: current allocations:0 maximum allocations:2
xc: debug: hypercall buffer: cache current size:2
xc: debug: hypercall buffer: cache hits:17 misses:2 toobig:1
root@tuz:/usr/lib/xen/bin# vbd vbd-1-51712: 2 creating vbd structure



[-- Attachment #3: xcbuild-old-Dom0+U-A15x1_01082012.log --]
[-- Type: application/octet-stream, Size: 21812 bytes --]

Trying 127.0.0.1...
Connected to localhost.
(XEN) Escape character is '^]'.
- UART enabled -
- CPU 00000000 booting -
- Started in Secure state -
- Entering Hyp mode -
- Setting up control registers -
- Turning on paging -
- Ready -
RAM: 0000000080000000 - 00000000ffffffff
 __  __            _  _    ____                     _        _     _      
 \ \/ /___ _ __   | || |  |___ \    _   _ _ __  ___| |_ __ _| |__ | | ___ 
  \  // _ \ '_ \  | || |_   __) |__| | | | '_ \/ __| __/ _` | '_ \| |/ _ \
  /  \  __/ | | | |__   _| / __/|__| |_| | | | \__ \ || (_| | |_) | |  __/
 /_/\_\___|_| |_|    |_|(_)_____|   \__,_|_| |_|___/\__\__,_|_.__/|_|\___|
                                                                          
(XEN) Xen version 4.2-unstable (root@(none)) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) Wed Aug  1 09:34:30 UTC 2012
Latest ChangeSet: unavailable
(XEN) GIC: 64 lines, 1 cpu, secure (IID 0000043b).
(XEN) Waiting for 0 other CPUs to be ready
(XEN) Using generic timer at 100000000 Hz
(XEN) Xen heap: 262144 pages  Dom heap: 253952 pages
(XEN) Domain heap initialised
(XEN) Set hyp vector base to 23ce40 (expected 0023ce40)
(XEN) Processor Features: 00001131 00001131
(XEN) Debug Features: 02010555
(XEN) Auxiliary Features: 00000000
(XEN) Memory Model Features: 10201105 20000000 01240000 02102211
(XEN) ISA Features: 02101110 13112111 21232041 11112131 10011142 00000000
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Allocated console ring of 16 KiB.
(XEN) Brought up 1 CPUs
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Populate P2M 0x80000000->0x88000000
(XEN) Map CS2 MMIO regions 1:1 in the P2M 0x18000000->0x1bffffff
(XEN) Map CS3 MMIO regions 1:1 in the P2M 0x1c000000->0x1fffffff
(XEN) Map VGIC MMIO regions 1:1 in the P2M 0x2c008000->0x2dffffff
(XEN) Routing peripheral interrupts to guest
(XEN) Loading 00000000001f8ce0 byte zImage from flash 0000000000000000 to 0000000080008000-0000000080200ce0: [..]
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen)
(XEN) Freed 204kB init memory.
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.5.0-rc7+ (root@tuz) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #11 Wed Aug 1 13:38:46 MSK 2012
CPU: ARMv7 Processor [412fc0f0] revision 0 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine: ARM-Versatile Express, model: V2P-CA15
bootconsole [xenboot0] enabled
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat 803eae94, node_mem_map 80408000
  Normal zone: 256 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 32512 pages, LIFO batch:7
------------[ cut here ]------------
WARNING: at arch/arm/mach-vexpress/v2m.c:613 v2m_dt_init_early+0xac/0xec()
Modules linked in:
Backtrace: 
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ed0>] (dump_stack+0x18/0x1c)
 r6:00000265 r5:803a6e9c r4:00000000 r3:803cf93c
[<802d7eb8>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)

[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:803cd338 r7:80508440 r6:80000200 r5:803f3b88 r4:00000000
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a6e9c>] (v2m_dt_init_early+0xac/0xec)
[<803a6df0>] (v2m_dt_init_early+0x0/0xec) from [<803a369c>] (setup_arch+0x710/0x7fc)
 r4:803ba9ac
[<803a2f8c>] (setup_arch+0x0/0x7fc) from [<803a159c>] (start_kernel+0x78/0x26c)
[<803a1524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
 r7:803cd284 r6:803bbd50 r5:803ca054 r4:10c53c7d
---[ end trace 1b75b31a2719ed1c ]---
vexpress: DT HBI (237) is not matching hardware (0)!
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: earlyprintk=xenboot console=ttyAMA1 root=/dev/mmcblk0 debug rw
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125764k/125764k available, 5308k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0x88800000 - 0xff000000   (1896 MB)
    lowmem  : 0x80000000 - 0x88000000   ( 128 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x803a1000   (3684 kB)
      .init : 0x803a1000 - 0x803c15e8   ( 130 kB)
      .data : 0x803c2000 - 0x803eb5c0   ( 166 kB)
       .bss : 0x803eb5e4 - 0x80407164   ( 111 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:256
arch_timer: can't find DT node
Architected local timer running at 100.00MHz.
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949ms
Console: colour dummy device 80x30
Xen support found, events_irq=31 gnttab_frame_pfn=b0000
Grant tables using version 1 layout.
Grant table initialized
Calibrating delay loop... 98.71 BogoMIPS (lpj=493568)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x802dc138 - 0x802dc16c
Xen support found, events_irq=31 gnttab_frame_pfn=b0000
NET: Registered protocol family 16
------------[ cut here ]------------
WARNING: at kernel/irq/irqdomain.c:135 irq_domain_legacy_revmap+0x28/0x50()
Modules linked in:
Backtrace: 

[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ed0>] (dump_stack+0x18/0x1c)
 r6:00000087 r5:80051320 r4:00000000 r3:803cf93c
[<802d7eb8>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:8784e100 r7:00000003 r6:00000064 r5:87800440 r4:803d8950
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<80051320>] (irq_domain_legacy_revmap+0x28/0x50)
[<800512f8>] (irq_domain_legacy_revmap+0x0/0x50) from [<800513e8>] (irq_find_mapping+0xa0/0xd0)
[<80051348>] (irq_find_mapping+0x0/0xd0) from [<80051824>] (irq_create_mapping+0x28/0x128)
 r8:8784e100 r7:00000003 r6:00000064 r5:87831dd0 r4:87800440
r3:87831da4
[<800517fc>] (irq_create_mapping+0x0/0x128) from [<800519a8>] (irq_create_of_mapping+0x84/0xf8)
 r7:00000003 r6:805088a8 r5:87831dd0 r4:87800440
[<80051924>] (irq_create_of_mapping+0x0/0xf8) from [<8023cda8>] (irq_of_parse_and_map+0x34/0x3c)
 r7:00000000 r6:805089dc r5:00000000 r4:00000000
[<8023cd74>] (irq_of_parse_and_map+0x0/0x3c) from [<8023cdd0>] (of_irq_to_resource+0x20/0x7c)
[<8023cdb0>] (of_irq_to_resource+0x0/0x7c) from [<8023ce58>] (of_irq_count+0x2c/0x3c)
 r7:00000000 r6:805089dc r5:805089dc r4:00000000
[<8023ce2c>] (of_irq_count+0x0/0x3c) from [<8023d41c>] (of_device_alloc+0x5c/0x15c)
 r5:00000000 r4:00000000
[<8023d3c0>] (of_device_alloc+0x0/0x15c) from [<8023d558>] (of_platform_device_create_pdata+0x3c/0x88)
[<8023d51c>] (of_platform_device_create_pdata+0x0/0x88) from [<8023d678>] (of_platform_bus_create+0xd4/0x278)
 r7:00000001 r6:00000000 r5:803bc260 r4:805089dc
[<8023d5a4>] (of_platform_bus_create+0x0/0x278) from [<8023d884>] (of_platform_populate+0x68/0xa0)
[<8023d81c>] (of_platform_populate+0x0/0xa0) from [<803a6c34>] (v2m_dt_init+0x2c/0x4c)
[<803a6c08>] (v2m_dt_init+0x0/0x4c) from [<803a2c0c>] (customize_machine+0x24/0x30)
[<803a2be8>] (customize_machine+0x0/0x30) from [<8000863c>] (do_one_initcall+0x40/0x184)
[<800085fc>] (do_one_initcall+0x0/0x184) from [<803a1880>] (kernel_init+0xf0/0x1ac)
[<803a1790>] (kernel_init+0x0/0x1ac) from [<8001f7b4>] (do_exit+0x0/0x6bc)
---[ end trace 1b75b31a2719ed1d ]---
------------[ cut here ]------------
WARNING: at kernel/irq/irqdomain.c:135 irq_domain_legacy_revmap+0x28/0x50()
Modules linked in:
Backtrace: 
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ed0>] (dump_stack+0x18/0x1c)
 r6:00000087 r5:80051320 r4:00000000 r3:803cf93c
[<802d7eb8>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:8784e100 r7:00000003 r6:00000064 r5:00000000 r4:87800440
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<80051320>] (irq_domain_legacy_revmap+0x28/0x50)
[<800512f8>] (irq_domain_legacy_revmap+0x0/0x50) from [<800518ac>] (irq_create_mapping+0xb0/0x128)
[<800517fc>] (irq_create_mapping+0x0/0x128) from [<800519a8>] (irq_create_of_mapping+0x84/0xf8)
 r7:00000003 r6:805088a8 r5:87831dd0 r4:87800440
[<80051924>] (irq_create_of_mapping+0x0/0xf8) from [<8023cda8>] (irq_of_parse_and_map+0x34/0x3c)
 r7:00000000 r6:805089dc r5:00000000 r4:00000000
[<8023cd74>] (irq_of_parse_and_map+0x0/0x3c) from [<8023cdd0>] (of_irq_to_resource+0x20/0x7c)
[<8023cdb0>] (of_irq_to_resource+0x0/0x7c) from [<8023ce58>] (of_irq_count+0x2c/0x3c)
 r7:00000000 r6:805089dc r5:805089dc r4:00000000
[<8023ce2c>] (of_irq_count+0x0/0x3c) from [<8023d41c>] (of_device_alloc+0x5c/0x15c)
 r5:00000000 r4:00000000
[<8023d3c0>] (of_device_alloc+0x0/0x15c) from [<8023d558>] (of_platform_device_create_pdata+0x3c/0x88)
[<8023d51c>] (of_platform_device_create_pdata+0x0/0x88) from [<8023d678>] (of_platform_bus_create+0xd4/0x278)
 r7:00000001 r6:00000000 r5:803bc260 r4:805089dc
[<8023d5a4>] (of_platform_bus_create+0x0/0x278) from [<8023d884>] (of_platform_populate+0x68/0xa0)
[<8023d81c>] (of_platform_populate+0x0/0xa0) from [<803a6c34>] (v2m_dt_init+0x2c/0x4c)
[<803a6c08>] (v2m_dt_init+0x0/0x4c) from [<803a2c0c>] (customize_machine+0x24/0x30)
[<803a2be8>] (customize_machine+0x0/0x30) from [<8000863c>] (do_one_initcall+0x40/0x184)
[<800085fc>] (do_one_initcall+0x0/0x184) from [<803a1880>] (kernel_init+0xf0/0x1ac)
[<803a1790>] (kernel_init+0x0/0x1ac) from [<8001f7b4>] (do_exit+0x0/0x6bc)
---[ end trace 1b75b31a2719ed1e ]---
Serial: AMBA PL011 UART driver
1c090000.uart: ttyAMA0 at MMIO 0x1c090000 (irq = 37) is a PL011 rev1
1c0a0000.uart: ttyAMA1 at MMIO 0x1c0a0000 (irq = 38) is a PL011 rev1
console [ttyAMA1] enabled, bootconsole disabled
(XEN) bad p2m lookup
(XEN) dom113 IPA 0x0000000090000000
(XEN) P2M @ 02ffcac0 mfn:0xffe56
(XEN) 1ST[0x2] = 0x00000000f3f686ff
(XEN) 2ND[0x80] = 0x0000000000000000
(XEN) bad p2m lookup
(XEN) dom113 IPA 0x0000000090001000
(XEN) P2M @ 02ffcac0 mfn:0xffe56
(XEN) 1ST[0x2] = 0x00000000f3f686ff
(XEN) 2ND[0x80] = 0x0000000000000000
(XEN) DOM113: Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.5.0-rc7+ (root@tuz) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #13 Wed Aug 1 17:32:20 MSK 2012
CPU: ARMv7 Processor [412fc0f0] revision 0 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine: ARM-Versatile Express, model: V2P-AEMv7A
bootconsole [xenboot0] enabled
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat 803e4d24, node_mem_map 80401000
  Normal zone: 256 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 32512 pages, LIFO batch:7
------------[ cut here ]------------

WARNING: at arch/arm/mach-vexpress/v2m.c:603 v2m_dt_init_early+0x44/0xec()
Modules linked in:
Backtrace: 
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d1e5c>] (dump_stack+0x18/0x1c)
 r6:0000025b r5:803a0e34 r4:00000000 r3:803c993c
[<802d1e44>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:803c7338 r7:80501440 r6:80000200 r5:803eda08 r4:803e5eb8
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a0e34>] (v2m_dt_init_early+0x44/0xec)
[<803a0df0>] (v2m_dt_init_early+0x0/0xec) from [<8039d69c>] (setup_arch+0x710/0x7fc)
 r4:803b4acc
[<8039cf8c>] (setup_arch+0x0/0x7fc) from [<8039b59c>] (start_kernel+0x78/0x26c)
[<8039b524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
 r7:803c7284 r6:803b5e30 r5:803c4054 r4:10c53c7d
---[ end trace 1b75b31a2719ed1c ]---
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: earlyprintk=xen debug loglevel=9 console=hvc0 root=/dev/xvda
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125796k/125796k available, 5276k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0x88800000 - 0xff000000   (1896 MB)
    lowmem  : 0x80000000 - 0x88000000   ( 128 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x8039b000   (3660 kB)
      .init : 0x8039b000 - 0x803bb6c4   ( 130 kB)
      .data : 0x803bc000 - 0x803e5440   ( 166 kB)
       .bss : 0x803e5464 - 0x80400fe4   ( 111 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:256
------------[ cut here ]------------
WARNING: at arch/arm/mach-vexpress/v2m.c:62 v2m_sysctl_init+0x20/0x58()
Modules linked in:
Backtrace: 
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d1e5c>] (dump_stack+0x18/0x1c)
 r6:0000003e r5:803a0a24 r4:00000000 r3:803c993c
[<802d1e44>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:80004059 r7:80501b80 r6:803b5e34 r5:803e5480 r4:00000000
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a0a24>] (v2m_sysctl_init+0x20/0x58)
[<803a0a04>] (v2m_sysctl_init+0x0/0x58) from [<803a0b24>] (v2m_dt_timer_init+0x2c/0xcc)
 r5:803e5480 r4:ffffffff
[<803a0af8>] (v2m_dt_timer_init+0x0/0xcc) from [<8039d830>] (time_init+0x28/0x38)
 r6:803b5e34 r5:803e5480 r4:ffffffff
[<8039d808>] (time_init+0x0/0x38) from [<8039b6ac>] (start_kernel+0x188/0x26c)
[<8039b524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
 r7:803c7284 r6:803b5e30 r5:803c4054 r4:10c53c7d
---[ end trace 1b75b31a2719ed1d ]---
arch_timer: found timer irqs 29 30
Architected local timer running at 100.00MHz.
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949ms
------------[ cut here ]------------
WARNING: at arch/arm/mach-vexpress/v2m.c:647 v2m_dt_timer_init+0x7c/0xcc()
Modules linked in:
Backtrace: 
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d1e5c>] (dump_stack+0x18/0x1c)
 r6:00000287 r5:803a0b74 r4:00000000 r3:803c993c
[<802d1e44>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:80004059 r7:80501b80 r6:803b5e34 r5:803e5480 r4:ffffffea
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a0b74>] (v2m_dt_timer_init+0x7c/0xcc)
[<803a0af8>] (v2m_dt_timer_init+0x0/0xcc) from [<8039d830>] (time_init+0x28/0x38)
 r6:803b5e34 r5:803e5480 r4:ffffffff
[<8039d808>] (time_init+0x0/0x38) from [<8039b6ac>] (start_kernel+0x188/0x26c)
[<8039b524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
 r7:803c7284 r6:803b5e30 r5:803c4054 r4:10c53c7d
---[ end trace 1b75b31a2719ed1e ]---
Console: colour dummy device 80x30
Xen support found, events_irq=31 gnttab_frame_pfn=b0000
Grant tables using version 1 layout.
Grant table initialized
Calibrating delay loop... 99.22 BogoMIPS (lpj=496128)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x802d60c0 - 0x802d60f4
Xen support found, events_irq=31 gnttab_frame_pfn=b0000
NET: Registered protocol family 16
(XEN) Guest data abort: Translation fault at level 2
(XEN)     gva=88808804
(XEN)     gpa=0000000090001804
(XEN)     size=2 sign=0 write=0 reg=2
(XEN)     eat=0 cm=0 s1ptw=0 dfsc=6
(XEN) dom113 IPA 0x0000000090001804
(XEN) P2M @ 02ffcac0 mfn:0xffe56
(XEN) 1ST[0x2] = 0x00000000f3f686ff
(XEN) 2ND[0x80] = 0x0000000000000000
(XEN) ----[ Xen-4.2-unstable  x86_64  debug=y  Not tainted ]----
(XEN) CPU:    0
(XEN) PC:     8017561c
(XEN) CPSR:   20000013 MODE:SVC
(XEN)      R0: 803f9924 R1: 80361a98 R2: 803f993c R3: 803f9944
(XEN)      R4: 88808000 R5: 803f993c R6: 00007ff0 R7: 00000001
(XEN)      R8: 8039b25c R9: 803bb38c R10:803e5480 R11:8782ff0c R12:8782ff10
(XEN) USR: SP: 00000000 LR: 00000000 CPSR:20000013
(XEN) SVC: SP: 8782fee8 LR: 80176988 SPSR:00000093
(XEN) ABT: SP: 803e5c0c LR: 803e5c0c SPSR:00000000
(XEN) UND: SP: 803e5c18 LR: 803e5c18 SPSR:00000000
(XEN) IRQ: SP: 803e5c00 LR: 8000dfc0 SPSR:60000193
(XEN) FIQ: SP: 00000000 LR: 00000000 SPSR:00000000
(XEN) FIQ: R8: 00000000 R9: 00000000 R10:00000000 R11:00000000 R12:00000000
(XEN) 
(XEN) TTBR0 80004059 TTBR1 80004059 TTBCR 00000000
(XEN) SCTLR 10c53c7d
(XEN) VTTBR 720000ffe56000
(XEN) 
(XEN) HTTBR ffec2000
(XEN) HDFAR 88808804
(XEN) HIFAR 0
(XEN) HPFAR 900010
(XEN) HCR 00000835
(XEN) HSR   93820006
(XEN) 
(XEN) DFSR 0 DFAR 0
(XEN) IFSR 0 IFAR 0
(XEN) 
(XEN) GUEST STACK GOES HERE
(XEN) 
(XEN) ****************************************
(XEN) Panic on CPU 0:
(XEN) Unhandled guest data abort
(XEN) ****************************************
(XEN) 
(XEN) Reboot in five seconds...


root@tuz:/usr/lib/xen/bin# ./xcbuild-old /boot/zImagedtb 
Image: /boot/zImagedtb
Memory: 264192KB
xc_domain_create: 0 (0)
building dom113
domainbuilder: detail: xc_dom_allocate: cmdline="", features="(null)"
domainbuilder: detail: xc_dom_kernel_file: filename="/boot/zImagedtb"
domainbuilder: detail: xc_dom_malloc_filemap    : 2005 kB
domainbuilder: detail: xc_dom_boot_xen_init: ver 4.2, caps xen-3.0-armv7l 
domainbuilder: detail: xc_dom_parse_image: called
domainbuilder: detail: xc_dom_find_loader: trying multiboot-binary loader ... 
domainbuilder: detail: loader probe failed
domainbuilder: detail: xc_dom_find_loader: trying Linux zImage (ARM) loader ... 
domainbuilder: detail: xc_dom_probe_zimage_kernel: found an appended DTB
domainbuilder: detail: loader probe OK
domainbuilder: detail: xc_dom_parse_zimage_kernel: called
domainbuilder: detail: xc_dom_parse_zimage_kernel: xen-3.0-armv7l: RAM starts at 80000
domainbuilder: detail: xc_dom_parse_zimage_kernel: xen-3.0-armv7l: 0x80008000 -> 0x801fd7f1
domainbuilder: detail: xc_dom_mem_init: mem 256 MB, pages 0x10000 pages, 4k each
domainbuilder: detail: xc_dom_mem_init: 0x10000 pages
domainbuilder: detail: xc_dom_boot_mem_init: called
domainbuilder: detail: xc_dom_malloc            : 512 kB
domainbuilder: detail: remap_area_mfn_pte_fn: ptep 871216a0 addr 0x769a8000 => 0x9000030f / 0x90000
xc_dom_build_imaremap_area_mfn_pte_fn: ptep 871216a4 addr 0x769a9000 => 0x9000130f / 0x90001
ge: called
domaremap_area_mfn_pte_fn: ptep 871216a8 addr 0x769aa000 => 0x9000230f / 0x90002
inbuilder: detairemap_area_mfn_pte_fn: ptep 871216ac addr 0x769ab000 => 0x9000330f / 0x90003
l: xc_dom_alloc_remap_area_mfn_pte_fn: ptep 871216b0 addr 0x769ac000 => 0x9000430f / 0x90004
segment:   kerneremap_area_mfn_pte_fn: ptep 871216b4 addr 0x769ad000 => 0x9000530f / 0x90005
l       : 0x8000remap_area_mfn_pte_fn: ptep 871216b8 addr 0x769ae000 => 0x9000630f / 0x90006
8000 -> 0x801fe0remap_area_mfn_pte_fn: ptep 871216bc addr 0x769af000 => 0x9000730f / 0x90007
00  (pfn 0x80008remap_area_mfn_pte_fn: ptep 871216c0 addr 0x769b0000 => 0x9000830f / 0x90008
remap_area_mfn_pte_fn: ptep 871216c4 addr 0x769b1000 => 0x9000930f / 0x90009

remap_area_mfn_pte_fn: ptep 871216c8 addr 0x769b2000 => 0x9000a30f / 0x9000a
remap_area_mfn_pte_fn: ptep 871216cc addr 0x769b3000 => 0x9000b30f / 0x9000b
remap_area_mfn_pte_fn: ptep 871216d0 addr 0x769b4000 => 0x9000c30f / 0x9000c
remap_area_mfn_pte_fn: ptep 871216d4 addr 0x769b5000 => 0x9000d30f / 0x9000d
remap_area_mfn_pte_fn: ptep 871216d8 addr 0x769b6000 => 0x9000e30f / 0x9000e
remap_area_mfn_pte_fn: ptep 871216dc addr 0x769b7000 => 0x9000f30f / 0x9000f
domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x80008+0x1f6 at 0x769a8000
domainbuilder: detail: xc_dom_load_zimage_kernel: called
domainbuilder: detail: xc_dom_load_zimage_kernel: kerforeign map add_to_physmap failed, err=-22
nel sed 0x80008000-0x801fe000
dforeign map add_to_physmap failed, err=-22
omainbuilder: detail: xc_dom_load_zimage_kernel: copy 2054129 bytes from blob 0x76c1f000 to dst 0x769a8000
domainbuilder: detail: alloc_magic_pages: called
domainbuilder: detail: count_pgtables_arm: called
domainbuilder: detail: xc_dom_build_image  : virt_alloc_end : 0x801fe000
domainbuilder: detail: xc_dom_build_image  : virt_pgtab_end : 0x0
domainbuilder: detail: xc_dom_boot_image: called
domainbuilder: detail: arch_setup_bootearly: doing nothing
domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-armv7l <= matches
domainbuilder: detail: setup_pgtables_arm: called
domainbuilder: detail: start_info_arm: called
domainbuilder: detail: domain builder memory footprint
domainbuilder: detail:    allocated
domainbuilder: detail:       malloc             : 525 kB
domainbuilder: detail:       anon mmap          : 0 bytes
domainbuilder: detail:    mapped
domainbuilder: detail:       file mmap          : 2005 kB
domainbuilder: detail:       domU mmap          : 2008 kB
domainbuilder: detail: vcpu_arm: called
domainbuilder: detail: Initial state CPSR 0x1d3 PC 0x80008000
domainbuilder: detail: launch_vm: called, ctxt=0x7eaf2a0c
domainbuilder: detail: xc_dom_release: called
xc: debug: hypercall buffer: total allocations:14 total releases:14
xc: debug: hypercall buffer: current allocations:0 maximum allocations:2
xc: debug: hypercall buffer: cache current size:2
xc: debug: hypercall buffer: cache hits:11 misses:2 toobig:1



[-- Attachment #4: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

* Re: [questions] Dom0/DomU on ARM under Xen
  2012-08-01 16:32   ` Alexey Klimov
@ 2012-08-08 10:36     ` Alexey Klimov
  2012-08-08 13:47       ` Stefano Stabellini
  0 siblings, 1 reply; 7+ messages in thread
From: Alexey Klimov @ 2012-08-08 10:36 UTC (permalink / raw)
  To: Stefano Stabellini, Ian Campbell; +Cc: xen-devel

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

2012/8/1 Alexey Klimov <trashsee@gmail.com>:
> And i saw that Ian set up git repository for xen with latest patches
> for ARM. So i'll try to use this repository.

Hello Stefano and Ian,

I used new Ian xen-unstable git repository
(git://xenbits.xen.org/people/ianc/xen-unstable.git arm-for-4.) and
Stefano linux kernel git repository (
git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git
3.5-rc7-arm-2) with additional patches:

- for linux kernel "xen/events: fix unmask_evtchn for PV on HVM guests",
- ARM hypercall ABI: 64 bit ready patch series for xen and attached
few versions of xcbuild (early version of Ian and latest version).
After applying 64-bit ready patches i observed such errors when
building xen and tools:

1)
for i in public/callback.h public/dom0_ops.h public/elfnote.h
public/event_channel.h public/features.h public/grant_table.h
public/kexec.h public/mem_event.h public/memory.h public/nmi.h
public/physdev.h public/platform.h public/sched.h public/tmem.h
public/trace.h public/vcpu.h public/version.h public/xen-compat.h
public/xen.h public/xencomm.h public/xenoprof.h public/hvm/e820.h
public/hvm/hvm_info_table.h public/hvm/hvm_op.h public/hvm/ioreq.h
public/hvm/params.h public/io/blkif.h public/io/console.h
public/io/fbif.h public/io/fsif.h public/io/kbdif.h
public/io/libxenvchan.h public/io/netif.h public/io/pciif.h
public/io/protocols.h public/io/ring.h public/io/tpmif.h
public/io/usbif.h public/io/vscsiif.h public/io/xenbus.h
public/io/xs_wire.h; do gcc -ansi -include stdint.h -Wall -W -Werror
-S -o /dev/null -xc $i || exit 1; echo $i; done >headers.chk.new
public/version.h:61:5: error: unknown type name 'xen_ulong_t'
make[3]: *** [headers.chk] Error 1
make[3]: Leaving directory `/src/xen/xen/include'

Fixed by inserting #include "arch-arm.h" in xen/include/public/version.h

2)
building 'xc' extension
gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
-Wstrict-prototypes -O1 -fno-omit-frame-pointer -marm -g
-fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
-Wdeclaration-after-statement -Wno-unused-but-set-variable
-D__XEN_TOOLS__ -MMD -MF .build.d -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
-fno-optimize-sibling-calls -fPIC -I../../tools/include
-I../../tools/libxc -Ixen/lowlevel/xc -I/usr/include/python2.7 -c
xen/lowlevel/xc/xc.c -o
build/temp.linux-armv7l-2.7/xen/lowlevel/xc/xc.o -fno-strict-aliasing
-Werror
xen/lowlevel/xc/xc.c: In function 'pyxc_xeninfo':
xen/lowlevel/xc/xc.c:1442:5: error: format '%lx' expects argument of
type 'long unsigned int', but argument 4 has type 'xen_ulong_t'
[-Werror=format]
xen/lowlevel/xc/xc.c:1442:5: error: format '%lx' expects argument of
type 'long unsigned int', but argument 4 has type 'xen_ulong_t'
[-Werror=format]
cc1: all warnings being treated as errors

Just commented snprintf(str, sizeof(str), "virt_start=0x%lx",
p_parms.virt_start); in xc.c

Then it compiled and i tried to run DomU. It looks like allocation
console_pfn and xenstore_pfn in alloc_magic_pages() in xc_dom_arm.c
creates real pain for me. With this allocation/patch xen prints "bad
p2m lookup" messages before booting DomU
(XEN) bad p2m lookup
(XEN) dom1 IPA 0x0000000090000000
(XEN) P2M @ 02ffcac0 mfn:0xffe56
(XEN) 1ST[0x2] = 0x00000000f3f686ff
(XEN) 2ND[0x80] = 0x0000000000000000
(XEN) bad p2m lookup
(XEN) dom1 IPA 0x0000000090001000
(XEN) P2M @ 02ffcac0 mfn:0xffe56
(XEN) 1ST[0x2] = 0x00000000f3f686ff
(XEN) 2ND[0x80] = 0x0000000000000000
(XEN) bad p2m lookup
(XEN) dom1 IPA 0x0000000090001000
(XEN) P2M @ 02ffcac0 mfn:0xffe56
(XEN) 1ST[0x2] = 0x00000000f3f686ff
(XEN) 2ND[0x80] = 0x0000000000000000

and then everything  hangs with translation fault:

(XEN) DOM1: Grant tables using version 1 layout.
(XEN) DOM1: Grant table initialized
(XEN) DOM1: NET: Registered protocol family 16
(XEN) Guest data abort: Translation fault at level 2
(XEN)     gva=88808804
(XEN)     gpa=0000000090001804
(XEN)     size=2 sign=0 write=0 reg=2
(XEN)     eat=0 cm=0 s1ptw=0 dfsc=6
(XEN) dom1 IPA 0x0000000090001804
(XEN) P2M @ 02ffcac0 mfn:0xffe56
(XEN) 1ST[0x2] = 0x00000000f3f686ff
(XEN) 2ND[0x80] = 0x0000000000000000

Detailed log is attached.
Ok, i moved allocation for console and xenstore pages back in
arch_setup_meminit() like in
http://lists.xen.org/archives/html/xen-devel/2012-06/msg01340.html and
then added kernel parameter keep_bootcon in DomU  device tree file and
everything booted up to "unable to open an initial console" and unable
to mount rootfs. I still didn't learn how to deal with xenstore, hvc0,
xvda and how to boot from initramfs on ARM using xcbuild but i'll try
to understand and learn this :) So may be it's good thing to
investigate or take deep look why add_to_physmap failed in xcbuild and
why there is bad p2m lookup in xen. Log is attached.

Do you have any difference between Dom0 .config and DomU .config? Did
you just attach initrd using xc_dom_ramdisk_file() call in xcbuild?
Any special configuration of xen console/xen store?

Well, i dont mean that i'm doing everything correctly but i tried to
run it fixing/commenting as much as i can. Could you please help if
you have time? I can test new changes, sent other useful info/logs.

-- 
Best regards,
Alexey.

[-- Attachment #2: fault_xcbuild-simple-Dom0+U-A15x1_07082012.log --]
[-- Type: application/octet-stream, Size: 23044 bytes --]

root@tuz:/usr/lib/xen/bin# ./xcbuild-simple /boot/zImage-test4 
Image: /boot/zImage-test4
Memory: 264192KB
xc_domain_create: 0 (0)
building dom1
domainbuilder: detail: xc_dom_allocate: cmdline="", features="(null)"
domainbuilder: detail: xc_dom_kernel_file: filename="/boot/zImage-test4"
domainbuilder: detail: xc_dom_malloc_filemap    : 2028 kB
domainbuilder: detail: xc_dom_boot_xen_init: ver 4.2, caps xen-3.0-armv7l 
domainbuilder: detail: xc_dom_parse_image: called
domainbuilder: detail: xc_dom_find_loader: trying multiboot-binary loader ... 
domainbuilder: detail: loader probe failed
domainbuilder: detail: xc_dom_find_loader: trying Linux zImage (ARM) loader ... 

domainbuilder: detail: xc_dom_probe_zimage_kernel: found an appended DTB
domainbuilder: detail: loader probe OK
domainbuilder: detail: xc_dom_parse_zimage_kernel: called
domainbuilder: detail: xc_dom_parse_zimage_kernel: xen-3.0-armv7l: RAM starts at 80000
domainbuilder: detail: xc_dom_parse_zimage_kernel: xen-3.0-armv7l: 0x80008000 -> 0x802033a0
domainbuilder: detail: xc_dom_mem_init: mem 256 MB, pages 0x10000 pages, 4k each
domainbuilder: detail: xc_dom_mem_init: 0x10000 pages
domainbuilder: detail: xc_dom_boot_mem_init: called
domainbuilder: detail: xc_dom_malloc            : 512 kB
domainbuilder: detail: remap_area_mfn_pte_fn: ptep 872c35c0 addr 0x76970000 => 0x9000030f / 0x90000
xc_dom_build_imaremap_area_mfn_pte_fn: ptep 872c35c4 addr 0x76971000 => 0x9000130f / 0x90001
ge: called
domaremap_area_mfn_pte_fn: ptep 872c35c8 addr 0x76972000 => 0x9000230f / 0x90002
inbuilder: detairemap_area_mfn_pte_fn: ptep 872c35cc addr 0x76973000 => 0x9000330f / 0x90003
l: xc_dom_alloc_remap_area_mfn_pte_fn: ptep 872c35d0 addr 0x76974000 => 0x9000430f / 0x90004
segment:   kerneremap_area_mfn_pte_fn: ptep 872c35d4 addr 0x76975000 => 0x9000530f / 0x90005
l       : 0x8000remap_area_mfn_pte_fn: ptep 872c35d8 addr 0x76976000 => 0x9000630f / 0x90006
8000 -> 0x802040remap_area_mfn_pte_fn: ptep 872c35dc addr 0x76977000 => 0x9000730f / 0x90007
00  (pfn 0x80008remap_area_mfn_pte_fn: ptep 872c35e0 addr 0x76978000 => 0x9000830f / 0x90008
remap_area_mfn_pte_fn: ptep 872c35e4 addr 0x76979000 => 0x9000930f / 0x90009

remap_area_mfn_pte_fn: ptep 872c35e8 addr 0x7697a000 => 0x9000a30f / 0x9000a
remap_area_mfn_pte_fn: ptep 872c35ec addr 0x7697b000 => 0x9000b30f / 0x9000b
remap_area_mfn_pte_fn: ptep 872c35f0 addr 0x7697c000 => 0x9000c30f / 0x9000c
remap_area_mfn_pte_fn: ptep 872c35f4 addr 0x7697d000 => 0x9000d30f / 0x9000d
remap_area_mfn_pte_fn: ptep 872c35f8 addr 0x7697e000 => 0x9000e30f / 0x9000e
remap_area_mfn_pte_fn: ptep 872c35fc addr 0x7697f000 => 0x9000f30f / 0x9000f
domainbuilder: detail: xc_dom_pfn_to_ptr: domU mapping: pfn 0x80008+0x1fc at 0x76970000
domainbuilder: detail: xc_dom_load_zimage_kernel: called
domainbuilder: detail: xc_dom_load_zimage_kernel: kernel sed foreign map add_to_physmap failed, err=-22
0x80008000-0x80204000
domainbuiforeign map add_to_physmap failed, err=-22
lder: detail: xc_dom_load_zimage_kernel: copy 2077600 bytes from blob 0x76bed000 to dst 0x76970000
domainbuilder: detail: alloc_magic_pages: called
domainbuilder: detail: count_pgtables_arm: called
domainbuilder: detail: xc_dom_bforeign map add_to_physmap failed, err=-22
uild_image  : virt_alloc_end : 0x80204000
domainbuilder: detail: xc_dom_build_image  : virt_pgtab_end : 0x0
domainbuilder: detail: xc_dom_boot_image: called
domainbuilder: detail: arch_setup_bootearly: doing nothing
domainbuilder: detail: xc_dom_compat_check: supported guest type: xen-3.0-armv7l <= matches
domainbuilder: detail: setup_pgtables_arm: called
domainbuilder: detail: start_info_arm: called
domainbuilder: detail: domain builder memory footprint
domainbuilder: detail:    allocated
domainbuilder: detail:       malloc             : 525 kB
domainbuilder: detail:       anon mmap          : 0 bytes
domainbuilder: detail:    mapped
domainbuilder: detail:       file mmap          : 2028 kB
domainbuilder: detail:       domU mmap          : 2032 kB
domainbuilder: detail: vcpu_arm: called
domainbuilder: detail: Initial state CPSR 0x1d3 PC 0x80008000
domainbuilder: detail: launch_vm: called, ctxt=0x7ef8d7e4
domainbuilder: detail: xc_dom_release: called
xc: debug: hypercall buffer: total allocations:20 total releases:20
xc: debug: hypercall buffer: current allocations:0 maximum allocations:2
xc: debug: hypercall buffer: cache current size:2
xc: debug: hypercall buffer: cache hits:17 misses:2 toobig:1





- UART enabled -
- CPU 00000000 booting -
- Started in Secure state -
- Entering Hyp mode -
- Setting up control registers -
- Turning on paging -
- Ready -
RAM: 0000000080000000 - 00000000ffffffff
 __  __            _  _    ____    ___              ____                    
 \ \/ /___ _ __   | || |  |___ \  / _ \    _ __ ___|___ \    _ __  _ __ ___ 
  \  // _ \ '_ \  | || |_   __) || | | |__| '__/ __| __) |__| '_ \| '__/ _ \
  /  \  __/ | | | |__   _| / __/ | |_| |__| | | (__ / __/|__| |_) | | |  __/
 /_/\_\___|_| |_|    |_|(_)_____(_)___/   |_|  \___|_____|  | .__/|_|  \___|
                                                            |_|             
(XEN) Xen version 4.2.0-rc2-pre (root@(none)) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) Tue Aug  7 11:23:30 UTC 2012
(XEN) Latest ChangeSet: unavailable
(XEN) GIC: 64 lines, 1 cpu, secure (IID 0000043b).
(XEN) Waiting for 0 other CPUs to be ready
(XEN) Using generic timer at 100000000 Hz
(XEN) Xen heap: 262144 pages  Dom heap: 253952 pages
(XEN) Domain heap initialised
(XEN) Set hyp vector base to 23cfc0 (expected 0023cfc0)
(XEN) Processor Features: 00001131 00001131
(XEN) Debug Features: 02010555
(XEN) Auxiliary Features: 00000000
(XEN) Memory Model Features: 10201105 20000000 01240000 02102211
(XEN) ISA Features: 02101110 13112111 21232041 11112131 10011142 00000000
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Allocated console ring of 16 KiB.
(XEN) Brought up 1 CPUs
(XEN) *** LOADING DOMAIN 0 ***
(XEN) Populate P2M 0x80000000->0x88000000
(XEN) Map CS2 MMIO regions 1:1 in the P2M 0x18000000->0x1bffffff
(XEN) Map CS3 MMIO regions 1:1 in the P2M 0x1c000000->0x1fffffff
(XEN) Map VGIC MMIO regions 1:1 in the P2M 0x2c008000->0x2dffffff
(XEN) Routing peripheral interrupts to guest
(XEN) Loading 00000000001faa00 byte zImage from flash 0000000000000000 to 0000000080008000-0000000080202a00: [..]
(XEN) Std. Loglevel: All
(XEN) Guest Loglevel: All
(XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen)
(XEN) Freed 204kB init memory.
Uncompressing Linux... done, booting the kernel.
Booting Linux on physical CPU 0
Linux version 3.5.0-rc7+ (root@tuz) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #1 Mon Aug 6 20:54:24 MSK 2012
CPU: ARMv7 Processor [412fc0f0] revision 0 (ARMv7), cr=10c53c7d
CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
Machine: ARM-Versatile Express, model: V2P-CA15
bootconsole [earlycon0] enabled
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 32768
free_area_init_node: node 0, pgdat 803eae94, node_mem_map 80408000
  Normal zone: 256 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 32512 pages, LIFO batch:7
------------[ cut here ]------------
WARNING: at arch/arm/mach-vexpress/v2m.c:613 v2m_dt_init_early+0xac/0xec()
Modules linked in:
Backtrace: 
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ed0>] (dump_stack+0x18/0x1c)
 r6:00000265 r5:803a6e34 r4:00000000 r3:803cf93c
[<802d7eb8>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:803cd338 r7:80508440 r6:80000200 r5:803f3b88 r4:00000000
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a6e34>] (v2m_dt_init_early+0xac/0xec)
[<803a6d88>] (v2m_dt_init_early+0x0/0xec) from [<803a367c>] (setup_arch+0x710/0x7fc)
 r4:803ba928
[<803a2f6c>] (setup_arch+0x0/0x7fc) from [<803a159c>] (start_kernel+0x78/0x26c)
[<803a1524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
 r7:803cd284 r6:803bbccc r5:803ca054 r4:10c53c7d
---[ end trace 1b75b31a2719ed1c ]---
vexpress: DT HBI (237) is not matching hardware (0)!
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0 
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: earlyprintk console=ttyAMA1 root=/dev/mmcblk0 debug rw
PID hash table entries: 512 (order: -1, 2048 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB = 128MB total
Memory: 125764k/125764k available, 5308k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0x88800000 - 0xff000000   (1896 MB)
    lowmem  : 0x80000000 - 0x88000000   ( 128 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x803a1000   (3684 kB)
      .init : 0x803a1000 - 0x803c1568   ( 130 kB)
      .data : 0x803c2000 - 0x803eb5c0   ( 166 kB)
       .bss : 0x803eb5e4 - 0x80407164   ( 111 kB)
SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:256
arch_timer: can't find DT node
Architected local timer running at 100.00MHz.
sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949ms
Console: colour dummy device 80x30
Calibrating delay loop... 98.71 BogoMIPS (lpj=493568)

pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
Setting up static identity map for 0x802dc138 - 0x802dc16c
Xen support found, events_irq=31 gnttab_frame_pfn=b0000
Grant tables using version 1 layout.
Grant table initialized
NET: Registered protocol family 16
------------[ cut here ]------------
WARNING: at kernel/irq/irqdomain.c:135 irq_domain_legacy_revmap+0x28/0x50()
Modules linked in:
Backtrace: 
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ed0>] (dump_stack+0x18/0x1c)
 r6:00000087 r5:80051320 r4:00000000 r3:803cf93c
[<802d7eb8>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:8784e100 r7:00000003 r6:00000064 r5:87800440 r4:803d8950
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<80051320>] (irq_domain_legacy_revmap+0x28/0x50)
[<800512f8>] (irq_domain_legacy_revmap+0x0/0x50) from [<800513e8>] (irq_find_mapping+0xa0/0xd0)
[<80051348>] (irq_find_mapping+0x0/0xd0) from [<80051824>] (irq_create_mapping+0x28/0x128)
 r8:8784e100 r7:00000003 r6:00000064 r5:8782fdd0 r4:87800440
r3:8782fda4
[<800517fc>] (irq_create_mapping+0x0/0x128) from [<800519a8>] (irq_create_of_mapping+0x84/0xf8)
 r7:00000003 r6:805088a8 r5:8782fdd0 r4:87800440
[<80051924>] (irq_create_of_mapping+0x0/0xf8) from [<8023cda8>] (irq_of_parse_and_map+0x34/0x3c)
 r7:00000000 r6:805089dc r5:00000000 r4:00000000
[<8023cd74>] (irq_of_parse_and_map+0x0/0x3c) from [<8023cdd0>] (of_irq_to_resource+0x20/0x7c)
[<8023cdb0>] (of_irq_to_resource+0x0/0x7c) from [<8023ce58>] (of_irq_count+0x2c/0x3c)
 r7:00000000 r6:805089dc r5:805089dc r4:00000000
[<8023ce2c>] (of_irq_count+0x0/0x3c) from [<8023d41c>] (of_device_alloc+0x5c/0x15c)
 r5:00000000 r4:00000000
[<8023d3c0>] (of_device_alloc+0x0/0x15c) from [<8023d558>] (of_platform_device_create_pdata+0x3c/0x88)
[<8023d51c>] (of_platform_device_create_pdata+0x0/0x88) from [<8023d678>] (of_platform_bus_create+0xd4/0x278)
 r7:00000001 r6:00000000 r5:803bc1dc r4:805089dc
[<8023d5a4>] (of_platform_bus_create+0x0/0x278) from [<8023d884>] (of_platform_populate+0x68/0xa0)
[<8023d81c>] (of_platform_populate+0x0/0xa0) from [<803a6bcc>] (v2m_dt_init+0x2c/0x4c)
[<803a6ba0>] (v2m_dt_init+0x0/0x4c) from [<803a2bec>] (customize_machine+0x24/0x30)
[<803a2bc8>] (customize_machine+0x0/0x30) from [<8000863c>] (do_one_initcall+0x40/0x184)
[<800085fc>] (do_one_initcall+0x0/0x184) from [<803a1880>] (kernel_init+0xf0/0x1ac)
[<803a1790>] (kernel_init+0x0/0x1ac) from [<8001f7b4>] (do_exit+0x0/0x6bc)
---[ end trace 1b75b31a2719ed1d ]---
------------[ cut here ]------------
WARNING: at kernel/irq/irqdomain.c:135 irq_domain_legacy_revmap+0x28/0x50()
Modules linked in:
Backtrace: 
[<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ed0>] (dump_stack+0x18/0x1c)
 r6:00000087 r5:80051320 r4:00000000 r3:803cf93c
[<802d7eb8>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
[<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
 r8:8784e100 r7:00000003 r6:00000064 r5:00000000 r4:87800440
r3:00000009
[<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<80051320>] (irq_domain_legacy_revmap+0x28/0x50)
[<800512f8>] (irq_domain_legacy_revmap+0x0/0x50) from [<800518ac>] (irq_create_mapping+0xb0/0x128)
[<800517fc>] (irq_create_mapping+0x0/0x128) from [<800519a8>] (irq_create_of_mapping+0x84/0xf8)
 r7:00000003 r6:805088a8 r5:8782fdd0 r4:87800440
[<80051924>] (irq_create_of_mapping+0x0/0xf8) from [<8023cda8>] (irq_of_parse_and_map+0x34/0x3c)
 r7:00000000 r6:805089dc r5:00000000 r4:00000000
[<8023cd74>] (irq_of_parse_and_map+0x0/0x3c) from [<8023cdd0>] (of_irq_to_resource+0x20/0x7c)
[<8023cdb0>] (of_irq_to_resource+0x0/0x7c) from [<8023ce58>] (of_irq_count+0x2c/0x3c)
 r7:00000000 r6:805089dc r5:805089dc r4:00000000
[<8023ce2c>] (of_irq_count+0x0/0x3c) from [<8023d41c>] (of_device_alloc+0x5c/0x15c)
 r5:00000000 r4:00000000
[<8023d3c0>] (of_device_alloc+0x0/0x15c) from [<8023d558>] (of_platform_device_create_pdata+0x3c/0x88)
[<8023d51c>] (of_platform_device_create_pdata+0x0/0x88) from [<8023d678>] (of_platform_bus_create+0xd4/0x278)
 r7:00000001 r6:00000000 r5:803bc1dc r4:805089dc
[<8023d5a4>] (of_platform_bus_create+0x0/0x278) from [<8023d884>] (of_platform_populate+0x68/0xa0)
[<8023d81c>] (of_platform_populate+0x0/0xa0) from [<803a6bcc>] (v2m_dt_init+0x2c/0x4c)
[<803a6ba0>] (v2m_dt_init+0x0/0x4c) from [<803a2bec>] (customize_machine+0x24/0x30)
[<803a2bc8>] (customize_machine+0x0/0x30) from [<8000863c>] (do_one_initcall+0x40/0x184)
[<800085fc>] (do_one_initcall+0x0/0x184) from [<803a1880>] (kernel_init+0xf0/0x1ac)
[<803a1790>] (kernel_init+0x0/0x1ac) from [<8001f7b4>] (do_exit+0x0/0x6bc)
---[ end trace 1b75b31a2719ed1e ]---
Serial: AMBA PL011 UART driver
1c090000.uart: ttyAMA0 at MMIO 0x1c090000 (irq = 37) is a PL011 rev1
1c0a0000.uart: ttyAMA1 at MMIO 0x1c0a0000 (irq = 38) is a PL011 rev1
console [ttyAMA1] enabled, bootconsole disabled
(XEN) bad p2m lookup
(XEN) dom1 IPA 0x0000000090000000
(XEN) P2M @ 02ffcac0 mfn:0xffe56
(XEN) 1ST[0x2] = 0x00000000f3f686ff
(XEN) 2ND[0x80] = 0x0000000000000000
(XEN) bad p2m lookup
(XEN) dom1 IPA 0x0000000090001000
(XEN) P2M @ 02ffcac0 mfn:0xffe56
(XEN) 1ST[0x2] = 0x00000000f3f686ff
(XEN) 2ND[0x80] = 0x0000000000000000
(XEN) bad p2m lookup
(XEN) dom1 IPA 0x0000000090001000
(XEN) P2M @ 02ffcac0 mfn:0xffe56
(XEN) 1ST[0x2] = 0x00000000f3f686ff
(XEN) 2ND[0x80] = 0x0000000000000000
(XEN) DOM1: Uncompressing Linux... done, booting the kernel.
(XEN) DOM1: Booting Linux on physical CPU 0
(XEN) DOM1: Linux version 3.5.0-rc7+ (root@tuz) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #1 Mon Aug 6 20:54:24 MSK 2012
(XEN) DOM1: CPU: ARMv7 Processor [412fc0f0] revision 0 (ARMv7), cr=10c53c7d
(XEN) DOM1: CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
(XEN) DOM1: Machine: ARM-Versatile Express, model: V2P-AEMv7A
(XEN) DOM1: bootconsole [earlycon0] enabled
(XEN) DOM1: Memory policy: ECC disabled, Data cache writeback
(XEN) DOM1: On node 0 totalpages: 32768
(XEN) DOM1: free_area_init_node: node 0, pgdat 803eae94, node_mem_map 80408000
(XEN) DOM1:   Normal zone: 256 pages used for memmap
(XEN) DOM1:   Normal zone: 0 pages reserved
(XEN) DOM1:   Normal zone: 32512 pages, LIFO batch:7
(XEN) DOM1: ------------[ cut here ]------------
(XEN) DOM1: WARNING: at arch/arm/mach-vexpress/v2m.c:603 v2m_dt_init_early+0x44/0xec()
(XEN) DOM1: Modules linked in:
(XEN) DOM1: Backtrace: 
(XEN) DOM1: [<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ed0>] (dump_stack+0x18/0x1c)
(XEN) DOM1:  r6:0000025b r5:803a6dcc r4:00000000 r3:803cf93c
(XEN) DOM1: [<802d7eb8>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
(XEN) DOM1: [<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
(XEN) DOM1:  r8:803cd338 r7:80508440 r6:80000200 r5:803f3b88 r4:803ec038
(XEN) DOM1: r3:00000009

(XEN) DOM1: [<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a6dcc>] (v2m_dt_init_early+0x44/0xec)
(XEN) DOM1: [<803a6d88>] (v2m_dt_init_early+0x0/0xec) from [<803a367c>] (setup_arch+0x710/0x7fc)
(XEN) DOM1:  r4:803ba928
(XEN) DOM1: [<803a2f6c>] (setup_arch+0x0/0x7fc) from [<803a159c>] (start_kernel+0x78/0x26c)
(XEN) DOM1: [<803a1524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
(XEN) DOM1:  r7:803cd284 r6:803bbccc r5:803ca054 r4:10c53c7d
(XEN) DOM1: ---[ end trace 1b75b31a2719ed1c ]---
(XEN) DOM1: pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
(XEN) DOM1: pcpu-alloc: [0] 0 
(XEN) DOM1: Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
(XEN) DOM1: Kernel command line: earlyprintk debug loglevel=9 console=hvc0 root=/dev/xvda init=/sbin/init
(XEN) DOM1: PID hash table entries: 512 (order: -1, 2048 bytes)
(XEN) DOM1: Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
(XEN) DOM1: Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
(XEN) DOM1: Memory: 128MB = 128MB total
(XEN) DOM1: Memory: 125772k/125772k available, 5300k reserved, 0K highmem
(XEN) DOM1: Virtual kernel memory layout:
(XEN) DOM1:     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
(XEN) DOM1:     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
(XEN) DOM1:     vmalloc : 0x88800000 - 0xff000000   (1896 MB)
(XEN) DOM1:     lowmem  : 0x80000000 - 0x88000000   ( 128 MB)
(XEN) DOM1:     modules : 0x7f000000 - 0x80000000   (  16 MB)
(XEN) DOM1:       .text : 0x80008000 - 0x803a1000   (3684 kB)
(XEN) DOM1:       .init : 0x803a1000 - 0x803c1568   ( 130 kB)
(XEN) DOM1:       .data : 0x803c2000 - 0x803eb5c0   ( 166 kB)
(XEN) DOM1:        .bss : 0x803eb5e4 - 0x80407164   ( 111 kB)
(XEN) DOM1: SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
(XEN) DOM1: NR_IRQS:256
(XEN) DOM1: ------------[ cut here ]------------
(XEN) DOM1: WARNING: at arch/arm/mach-vexpress/v2m.c:62 v2m_sysctl_init+0x20/0x58()
(XEN) DOM1: Modules linked in:
(XEN) DOM1: Backtrace: 
(XEN) DOM1: [<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ed0>] (dump_stack+0x18/0x1c)
(XEN) DOM1:  r6:0000003e r5:803a69bc r4:00000000 r3:803cf93c
(XEN) DOM1: [<802d7eb8>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
(XEN) DOM1: [<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
(XEN) DOM1:  r8:80004059 r7:80508bc0 r6:803bbcd0 r5:803eb600 r4:00000000
(XEN) DOM1: r3:00000009
(XEN) DOM1: [<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a69bc>] (v2m_sysctl_init+0x20/0x58)
(XEN) DOM1: [<803a699c>] (v2m_sysctl_init+0x0/0x58) from [<803a6abc>] (v2m_dt_timer_init+0x2c/0xcc)
(XEN) DOM1:  r5:803eb600 r4:ffffffff
(XEN) DOM1: [<803a6a90>] (v2m_dt_timer_init+0x0/0xcc) from [<803a3810>] (time_init+0x28/0x38)
(XEN) DOM1:  r6:803bbcd0 r5:803eb600 r4:ffffffff
(XEN) DOM1: [<803a37e8>] (time_init+0x0/0x38) from [<803a16ac>] (start_kernel+0x188/0x26c)
(XEN) DOM1: [<803a1524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
(XEN) DOM1:  r7:803cd284 r6:803bbccc r5:803ca054 r4:10c53c7d
(XEN) DOM1: ---[ end trace 1b75b31a2719ed1d ]---
(XEN) DOM1: arch_timer: found timer irqs 29 30
(XEN) DOM1: Architected local timer running at 100.00MHz.
(XEN) DOM1: sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949ms
(XEN) DOM1: ------------[ cut here ]------------
(XEN) DOM1: WARNING: at arch/arm/mach-vexpress/v2m.c:647 v2m_dt_timer_init+0x7c/0xcc()
(XEN) DOM1: Modules linked in:
(XEN) DOM1: Backtrace: 
(XEN) DOM1: [<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d7ed0>] (dump_stack+0x18/0x1c)
(XEN) DOM1:  r6:00000287 r5:803a6b0c r4:00000000 r3:803cf93c
(XEN) DOM1: [<802d7eb8>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
(XEN) DOM1: [<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
(XEN) DOM1:  r8:80004059 r7:80508bc0 r6:803bbcd0 r5:803eb600 r4:ffffffea
(XEN) DOM1: r3:00000009

(XEN) DOM1: [<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<803a6b0c>] (v2m_dt_timer_init+0x7c/0xcc)
(XEN) DOM1: [<803a6a90>] (v2m_dt_timer_init+0x0/0xcc) from [<803a3810>] (time_init+0x28/0x38)
(XEN) DOM1:  r6:803bbcd0 r5:803eb600 r4:ffffffff
(XEN) DOM1: [<803a37e8>] (time_init+0x0/0x38) from [<803a16ac>] (start_kernel+0x188/0x26c)
(XEN) DOM1: [<803a1524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
(XEN) DOM1:  r7:803cd284 r6:803bbccc r5:803ca054 r4:10c53c7d
(XEN) DOM1: ---[ end trace 1b75b31a2719ed1e ]---
(XEN) DOM1: Console: colour dummy device 80x30
(XEN) DOM1: Calibrating delay loop... 98.71 BogoMIPS (lpj=493568)
(XEN) DOM1: pid_max: default: 32768 minimum: 301
(XEN) DOM1: Mount-cache hash table entries: 512
(XEN) DOM1: CPU: Testing write buffer coherency: ok
(XEN) DOM1: Setting up static identity map for 0x802dc138 - 0x802dc16c
(XEN) DOM1: Xen support found, events_irq=31 gnttab_frame_pfn=b0000
(XEN) DOM1: Grant tables using version 1 layout.
(XEN) DOM1: Grant table initialized
(XEN) DOM1: NET: Registered protocol family 16
(XEN) Guest data abort: Translation fault at level 2
(XEN)     gva=88808804
(XEN)     gpa=0000000090001804
(XEN)     size=2 sign=0 write=0 reg=2
(XEN)     eat=0 cm=0 s1ptw=0 dfsc=6
(XEN) dom1 IPA 0x0000000090001804
(XEN) P2M @ 02ffcac0 mfn:0xffe56
(XEN) 1ST[0x2] = 0x00000000f3f686ff
(XEN) 2ND[0x80] = 0x0000000000000000
(XEN) ----[ Xen-4.2.0-rc2-pre  x86_64  debug=y  Not tainted ]----
(XEN) CPU:    0
(XEN) PC:     80175604
(XEN) CPSR:   20000013 MODE:SVC
(XEN)      R0: 803ffaa8 R1: 803680cc R2: 803ffac0 R3: 803ffac8
(XEN)      R4: 88808000 R5: 803ffac0 R6: 00007ff0 R7: 00000001
(XEN)      R8: 803a125c R9: 803c122c R10:803eb600 R11:8782df04 R12:8782df08
(XEN) USR: SP: 00000000 LR: 00000000 CPSR:20000013
(XEN) SVC: SP: 8782dee0 LR: 80176970 SPSR:00000093
(XEN) ABT: SP: 803ebd8c LR: 803ebd8c SPSR:00000000
(XEN) UND: SP: 803ebd98 LR: 803ebd98 SPSR:00000000
(XEN) IRQ: SP: 803ebd80 LR: 8000dfc0 SPSR:60000193
(XEN) FIQ: SP: 00000000 LR: 00000000 SPSR:00000000
(XEN) FIQ: R8: 00000000 R9: 00000000 R10:00000000 R11:00000000 R12:00000000
(XEN) 
(XEN) TTBR0 80004059 TTBR1 80004059 TTBCR 00000000
(XEN) SCTLR 10c53c7d
(XEN) VTTBR 20000ffe56000
(XEN) 
(XEN) HTTBR ffec2000
(XEN) HDFAR 88808804
(XEN) HIFAR 0
(XEN) HPFAR 900010
(XEN) HCR 00000835
(XEN) HSR   93820006
(XEN) 
(XEN) DFSR 0 DFAR 0
(XEN) IFSR 0 IFAR 0
(XEN) 
(XEN) GUEST STACK GOES HERE
(XEN) 
(XEN) ****************************************
(XEN) Panic on CPU 0:
(XEN) Unhandled guest data abort
(XEN) ****************************************
(XEN) 
(XEN) Reboot in five seconds...


[-- Attachment #3: roots-console_xcbuild-simple-DomU-A15x1_08082012.log --]
[-- Type: application/octet-stream, Size: 10053 bytes --]

(XEN) DOM1: Uncompressing Linux... done, booting the kernel.
(XEN) DOM1: Booting Linux on physical CPU 0
(XEN) DOM1: Linux version 3.5.0-rc7+ (root@tuz) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #9 Tue Aug 7 19:19:13 MSK 2012
(XEN) DOM1: CPU: ARMv7 Processor [412fc0f0] revision 0 (ARMv7), cr=10c53c7d
(XEN) DOM1: CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
(XEN) DOM1: Machine: ARM-Versatile Express, model: V2P-AEMv7A
(XEN) DOM1: bootconsole [earlycon0] enabled
(XEN) DOM1: debug: skip boot console de-registration.
(XEN) DOM1: Memory policy: ECC disabled, Data cache writeback
(XEN) DOM1: On node 0 totalpages: 32768
(XEN) DOM1: free_area_init_node: node 0, pgdat 803e2b94, node_mem_map 803ff000
(XEN) DOM1: Normal zone: 256 pages used for memmap
(XEN) DOM1: Normal zone: 0 pages reserved
(XEN) DOM1: Normal zone: 32512 pages, LIFO batch:7
(XEN) DOM1: ------------[ cut here ]------------
(XEN) DOM1: WARNING: at arch/arm/mach-vexpress/v2m.c:603 v2m_dt_init_early+0x44/0xec()
(XEN) DOM1: Modules linked in:
(XEN) DOM1: Backtrace:
(XEN) DOM1: [<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d0658>] (dump_stack+0x18/0x1c)
(XEN) DOM1: r6:0000025b r5:8039edcc r4:00000000 r3:803c793c
(XEN) DOM1: [<802d0640>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
(XEN) DOM1: [<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
(XEN) DOM1: r8:803c5338 r7:804ff440 r6:80000200 r5:803eb848 r4:803e3d38
(XEN) DOM1: r3:00000009
(XEN) DOM1: [<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<8039edcc>] (v2m_dt_init_early+0x44/0xec)
(XEN) DOM1: [<8039ed88>] (v2m_dt_init_early+0x0/0xec) from [<8039b67c>] (setup_arch+0x710/0x7fc)
(XEN) DOM1: r4:803b23c4
(XEN) DOM1: [<8039af6c>] (setup_arch+0x0/0x7fc) from [<8039959c>] (start_kernel+0x78/0x26c)
(XEN) DOM1: [<80399524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
(XEN) DOM1: r7:803c5284 r6:803b3768 r5:803c2054 r4:10c53c7d
(XEN) DOM1: ---[ end trace 1b75b31a2719ed1c ]---
(XEN) DOM1: pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
(XEN) DOM1: pcpu-alloc: [0] 0
(XEN) DOM1: Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
(XEN) DOM1: Kernel command line: earlyprintk debug loglevel=9 keep_bootcon console=hvc0 root=/dev/xvda init=/sbin/init
(XEN) DOM1: PID hash table entries: 512 (order: -1, 2048 bytes)
(XEN) DOM1: Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
(XEN) DOM1: Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
(XEN) DOM1: Memory: 128MB = 128MB total
(XEN) DOM1: Memory: 125812k/125812k available, 5260k reserved, 0K highmem
(XEN) DOM1: Virtual kernel memory layout:
(XEN) DOM1: vector : 0xffff0000 - 0xffff1000 ( 4 kB)
(XEN) DOM1: fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
(XEN) DOM1: vmalloc : 0x88800000 - 0xff000000 (1896 MB)
(XEN) DOM1: lowmem : 0x80000000 - 0x88000000 ( 128 MB)
(XEN) DOM1: modules : 0x7f000000 - 0x80000000 ( 16 MB)
(XEN) DOM1: .text : 0x80008000 - 0x80399000 (3652 kB)
(XEN) DOM1: .init : 0x80399000 - 0x803b8fd8 ( 128 kB)
(XEN) DOM1: .data : 0x803ba000 - 0x803e32c0 ( 165 kB)
(XEN) DOM1: .bss : 0x803e32e4 - 0x803feda4 ( 111 kB)
(XEN) DOM1: SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
(XEN) DOM1: NR_IRQS:256
(XEN) DOM1: ------------[ cut here ]------------
(XEN) DOM1: WARNING: at arch/arm/mach-vexpress/v2m.c:62 v2m_sysctl_init+0x20/0x58()
(XEN) DOM1: Modules linked in:
(XEN) DOM1: Backtrace:
(XEN) DOM1: [<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d0658>] (dump_stack+0x18/0x1c)
(XEN) DOM1: r6:0000003e r5:8039e9bc r4:00000000 r3:803c793c
(XEN) DOM1: [<802d0640>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
(XEN) DOM1: [<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
(XEN) DOM1: r8:80004059 r7:804ffbc0 r6:803b376c r5:803e3300 r4:00000000
(XEN) DOM1: r3:00000009
(XEN) DOM1: [<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<8039e9bc>] (v2m_sysctl_init+0x20/0x58)
(XEN) DOM1: [<8039e99c>] (v2m_sysctl_init+0x0/0x58) from [<8039eabc>] (v2m_dt_timer_init+0x2c/0xcc)
(XEN) DOM1: r5:803e3300 r4:ffffffff
(XEN) DOM1: [<8039ea90>] (v2m_dt_timer_init+0x0/0xcc) from [<8039b810>] (time_init+0x28/0x38)
(XEN) DOM1: r6:803b376c r5:803e3300 r4:ffffffff
(XEN) DOM1: [<8039b7e8>] (time_init+0x0/0x38) from [<803996ac>] (start_kernel+0x188/0x26c)
(XEN) DOM1: [<80399524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
(XEN) DOM1: r7:803c5284 r6:803b3768 r5:803c2054 r4:10c53c7d
(XEN) DOM1: ---[ end trace 1b75b31a2719ed1d ]---
(XEN) DOM1: arch_timer: found timer irqs 29 30
(XEN) DOM1: Architected local timer running at 100.00MHz.
(XEN) DOM1: sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 42949ms
(XEN) DOM1: ------------[ cut here ]------------
(XEN) DOM1: WARNING: at arch/arm/mach-vexpress/v2m.c:647 v2m_dt_timer_init+0x7c/0xcc()
(XEN) DOM1: Modules linked in:
(XEN) DOM1: Backtrace:
(XEN) DOM1: [<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d0658>] (dump_stack+0x18/0x1c)
(XEN) DOM1: r6:00000287 r5:8039eb0c r4:00000000 r3:803c793c
(XEN) DOM1: [<802d0640>] (dump_stack+0x0/0x1c) from [<8001b1dc>] (warn_slowpath_common+0x54/0x6c)
(XEN) DOM1: [<8001b188>] (warn_slowpath_common+0x0/0x6c) from [<8001b218>] (warn_slowpath_null+0x24/0x2c)
(XEN) DOM1: r8:80004059 r7:804ffbc0 r6:803b376c r5:803e3300 r4:ffffffea
(XEN) DOM1: r3:00000009
(XEN) DOM1: [<8001b1f4>] (warn_slowpath_null+0x0/0x2c) from [<8039eb0c>] (v2m_dt_timer_init+0x7c/0xcc)
(XEN) DOM1: [<8039ea90>] (v2m_dt_timer_init+0x0/0xcc) from [<8039b810>] (time_init+0x28/0x38)
(XEN) DOM1: r6:803b376c r5:803e3300 r4:ffffffff
(XEN) DOM1: [<8039b7e8>] (time_init+0x0/0x38) from [<803996ac>] (start_kernel+0x188/0x26c)
(XEN) DOM1: [<80399524>] (start_kernel+0x0/0x26c) from [<80008040>] (0x80008040)
(XEN) DOM1: r7:803c5284 r6:803b3768 r5:803c2054 r4:10c53c7d
(XEN) DOM1: ---[ end trace 1b75b31a2719ed1e ]---
(XEN) DOM1: Console: colour dummy device 80x30
(XEN) DOM1: Calibrating delay loop... 98.71 BogoMIPS (lpj=493568)
(XEN) DOM1: pid_max: default: 32768 minimum: 301
(XEN) DOM1: Mount-cache hash table entries: 512
(XEN) DOM1: CPU: Testing write buffer coherency: ok
(XEN) DOM1: Setting up static identity map for 0x802d4820 - 0x802d4854
(XEN) DOM1: Xen support found, events_irq=31 gnttab_frame_pfn=b0000
(XEN) DOM1: Grant tables using version 1 layout.
(XEN) DOM1: Grant table initialized
(XEN) DOM1: NET: Registered protocol family 16
(XEN) DOM1: bio: create slab <bio-0> at 0
(XEN) DOM1: SCSI subsystem initialized
(XEN) DOM1: libata version 3.00 loaded.
(XEN) DOM1: usbcore: registered new interface driver usbfs
(XEN) DOM1: usbcore: registered new interface driver hub
(XEN) DOM1: usbcore: registered new device driver usb
(XEN) DOM1: Switching to clocksource arch_sys_counter
(XEN) DOM1: NET: Registered protocol family 2
(XEN) DOM1: IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
(XEN) DOM1: TCP established hash table entries: 4096 (order: 3, 32768 bytes)
(XEN) DOM1: TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
(XEN) DOM1: TCP: Hash tables configured (established 4096 bind 4096)
(XEN) DOM1: TCP: reno registered
(XEN) DOM1: UDP hash table entries: 256 (order: 0, 4096 bytes)
(XEN) DOM1: UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
(XEN) DOM1: NET: Registered protocol family 1
(XEN) DOM1: RPC: Registered named UNIX socket transport module.
(XEN) DOM1: RPC: Registered udp transport module.
(XEN) DOM1: RPC: Registered tcp transport module.
(XEN) DOM1: RPC: Registered tcp NFSv4.1 backchannel transport module.
(XEN) DOM1: jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
(XEN) DOM1: msgmni has been set to 245
(XEN) DOM1: io scheduler noop registered (default)
(XEN) DOM1: Event-channel device installed.
(XEN) DOM1: Initialising Xen virtual ethernet driver.
(XEN) DOM1: blkfront: xvda: barrier or flush: disabled
(XEN) grant_table.c:1204:d1 Expanding dom (1) grant table from (1) to (2) frames.
(XEN) DOM1: Initializing USB Mass Storage driver...
(XEN) DOM1: usbcore: registered new interface driver usb-storage
(XEN) DOM1: USB Mass Storage support registered.
(XEN) DOM1: mousedev: PS/2 mouse device common for all mice
(XEN) DOM1: usbcore: registered new interface driver usbhid
(XEN) DOM1: usbhid: USB HID core driver
(XEN) DOM1: TCP: cubic registered
(XEN) DOM1: NET: Registered protocol family 17
(XEN) DOM1: VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
(XEN) DOM1: Warning: unable to open an initial console.
(XEN) DOM1: end_request: I/O error, dev xvda, sector 2
(XEN) DOM1: EXT3-fs (xvda): error: unable to read superblock
(XEN) DOM1: end_request: I/O error, dev xvda, sector 2
(XEN) DOM1: EXT2-fs (xvda): error: unable to read superblock
(XEN) DOM1: end_request: I/O error, dev xvda, sector 0
(XEN) DOM1: FAT-fs (xvda): unable to read boot sector
(XEN) DOM1: VFS: Cannot open root device "xvda" or unknown-block(202,0): error -5
(XEN) DOM1: Please append a correct "root=" boot option; here are the available partitions:
(XEN) DOM1: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(202,0)
(XEN) DOM1: Backtrace:
(XEN) DOM1: [<80011b0c>] (dump_backtrace+0x0/0x10c) from [<802d0658>] (dump_stack+0x18/0x1c)
(XEN) DOM1: r6:803b32dc r5:8781e000 r4:803e3da8 r3:00000001
(XEN) DOM1: [<802d0640>] (dump_stack+0x0/0x1c) from [<802d0830>] (panic+0x7c/0x1ac)
(XEN) DOM1: [<802d07b4>] (panic+0x0/0x1ac) from [<80399cac>] (mount_block_root+0x180/0x234)
(XEN) DOM1: r3:00000000 r2:00000000 r1:8782df20 r0:80348338
(XEN) DOM1: r7:00008001
(XEN) DOM1: [<80399b2c>] (mount_block_root+0x0/0x234) from [<80399e50>] (mount_root+0xf0/0x110)
(XEN) DOM1: [<80399d60>] (mount_root+0x0/0x110) from [<80399f94>] (prepare_namespace+0x124/0x17c)
(XEN) DOM1: r7:803e3300 r6:803b32b4 r5:803b32ed r4:803e3360
(XEN) DOM1: [<80399e70>] (prepare_namespace+0x0/0x17c) from [<80399900>] (kernel_init+0x170/0x1ac)
(XEN) DOM1: r5:00000007 r4:803b32d4
(XEN) DOM1: [<80399790>] (kernel_init+0x0/0x1ac) from [<8001f7b4>] (do_exit+0x0/0x6bc) 

[-- Attachment #4: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

* Re: [questions] Dom0/DomU on ARM under Xen
  2012-08-08 10:36     ` Alexey Klimov
@ 2012-08-08 13:47       ` Stefano Stabellini
  0 siblings, 0 replies; 7+ messages in thread
From: Stefano Stabellini @ 2012-08-08 13:47 UTC (permalink / raw)
  To: Alexey Klimov; +Cc: xen-devel, Ian Campbell, Stefano Stabellini

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

On Wed, 8 Aug 2012, Alexey Klimov wrote:
> 2012/8/1 Alexey Klimov <trashsee@gmail.com>:
> > And i saw that Ian set up git repository for xen with latest patches
> > for ARM. So i'll try to use this repository.
> 
> Hello Stefano and Ian,
> 
> I used new Ian xen-unstable git repository
> (git://xenbits.xen.org/people/ianc/xen-unstable.git arm-for-4.) and
> Stefano linux kernel git repository (
> git://xenbits.xen.org/people/sstabellini/linux-pvhvm.git
> 3.5-rc7-arm-2) with additional patches:
> 
> - for linux kernel "xen/events: fix unmask_evtchn for PV on HVM guests",
> - ARM hypercall ABI: 64 bit ready patch series for xen and attached
> few versions of xcbuild (early version of Ian and latest version).
> After applying 64-bit ready patches i observed such errors when
> building xen and tools:
> 
> 1)
> for i in public/callback.h public/dom0_ops.h public/elfnote.h
> public/event_channel.h public/features.h public/grant_table.h
> public/kexec.h public/mem_event.h public/memory.h public/nmi.h
> public/physdev.h public/platform.h public/sched.h public/tmem.h
> public/trace.h public/vcpu.h public/version.h public/xen-compat.h
> public/xen.h public/xencomm.h public/xenoprof.h public/hvm/e820.h
> public/hvm/hvm_info_table.h public/hvm/hvm_op.h public/hvm/ioreq.h
> public/hvm/params.h public/io/blkif.h public/io/console.h
> public/io/fbif.h public/io/fsif.h public/io/kbdif.h
> public/io/libxenvchan.h public/io/netif.h public/io/pciif.h
> public/io/protocols.h public/io/ring.h public/io/tpmif.h
> public/io/usbif.h public/io/vscsiif.h public/io/xenbus.h
> public/io/xs_wire.h; do gcc -ansi -include stdint.h -Wall -W -Werror
> -S -o /dev/null -xc $i || exit 1; echo $i; done >headers.chk.new
> public/version.h:61:5: error: unknown type name 'xen_ulong_t'
> make[3]: *** [headers.chk] Error 1
> make[3]: Leaving directory `/src/xen/xen/include'
> 
> Fixed by inserting #include "arch-arm.h" in xen/include/public/version.h

I think that this is a legitimate error, I wasn't seeing it because I am
cross-compiling.


> 2)
> building 'xc' extension
> gcc -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall
> -Wstrict-prototypes -O1 -fno-omit-frame-pointer -marm -g
> -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes
> -Wdeclaration-after-statement -Wno-unused-but-set-variable
> -D__XEN_TOOLS__ -MMD -MF .build.d -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
> -fno-optimize-sibling-calls -fPIC -I../../tools/include
> -I../../tools/libxc -Ixen/lowlevel/xc -I/usr/include/python2.7 -c
> xen/lowlevel/xc/xc.c -o
> build/temp.linux-armv7l-2.7/xen/lowlevel/xc/xc.o -fno-strict-aliasing
> -Werror
> xen/lowlevel/xc/xc.c: In function 'pyxc_xeninfo':
> xen/lowlevel/xc/xc.c:1442:5: error: format '%lx' expects argument of
> type 'long unsigned int', but argument 4 has type 'xen_ulong_t'
> [-Werror=format]
> xen/lowlevel/xc/xc.c:1442:5: error: format '%lx' expects argument of
> type 'long unsigned int', but argument 4 has type 'xen_ulong_t'
> [-Werror=format]
> cc1: all warnings being treated as errors
> 
> Just commented snprintf(str, sizeof(str), "virt_start=0x%lx",
> p_parms.virt_start); in xc.c

That is also another legitimate error, I'll fix it in the next version
of the patch series. Thanks for testing!


> Then it compiled and i tried to run DomU. It looks like allocation
> console_pfn and xenstore_pfn in alloc_magic_pages() in xc_dom_arm.c
> creates real pain for me. With this allocation/patch xen prints "bad
> p2m lookup" messages before booting DomU
> (XEN) bad p2m lookup
> (XEN) dom1 IPA 0x0000000090000000
> (XEN) P2M @ 02ffcac0 mfn:0xffe56
> (XEN) 1ST[0x2] = 0x00000000f3f686ff
> (XEN) 2ND[0x80] = 0x0000000000000000
> (XEN) bad p2m lookup
> (XEN) dom1 IPA 0x0000000090001000
> (XEN) P2M @ 02ffcac0 mfn:0xffe56
> (XEN) 1ST[0x2] = 0x00000000f3f686ff
> (XEN) 2ND[0x80] = 0x0000000000000000
> (XEN) bad p2m lookup
> (XEN) dom1 IPA 0x0000000090001000
> (XEN) P2M @ 02ffcac0 mfn:0xffe56
> (XEN) 1ST[0x2] = 0x00000000f3f686ff
> (XEN) 2ND[0x80] = 0x0000000000000000
> 
> and then everything  hangs with translation fault:
> 
> (XEN) DOM1: Grant tables using version 1 layout.
> (XEN) DOM1: Grant table initialized
> (XEN) DOM1: NET: Registered protocol family 16
> (XEN) Guest data abort: Translation fault at level 2
> (XEN)     gva=88808804
> (XEN)     gpa=0000000090001804
> (XEN)     size=2 sign=0 write=0 reg=2
> (XEN)     eat=0 cm=0 s1ptw=0 dfsc=6
> (XEN) dom1 IPA 0x0000000090001804
> (XEN) P2M @ 02ffcac0 mfn:0xffe56
> (XEN) 1ST[0x2] = 0x00000000f3f686ff
> (XEN) 2ND[0x80] = 0x0000000000000000
> 
> Detailed log is attached.
> Ok, i moved allocation for console and xenstore pages back in
> arch_setup_meminit() like in
> http://lists.xen.org/archives/html/xen-devel/2012-06/msg01340.html and
> then added kernel parameter keep_bootcon in DomU  device tree file and
> everything booted up to "unable to open an initial console" and unable
> to mount rootfs.

You are probably missing Ian's fix to alloc_magic_pages:

http://marc.info/?l=xen-devel&m=134398933530124


> I still didn't learn how to deal with xenstore, hvc0,
> xvda and how to boot from initramfs on ARM using xcbuild but i'll try
> to understand and learn this :) So may be it's good thing to
> investigate or take deep look why add_to_physmap failed in xcbuild and
> why there is bad p2m lookup in xen. Log is attached.
> 
> Do you have any difference between Dom0 .config and DomU .config? Did
> you just attach initrd using xc_dom_ramdisk_file() call in xcbuild?
> Any special configuration of xen console/xen store?

I am just using one config, attached.


> Well, i dont mean that i'm doing everything correctly but i tried to
> run it fixing/commenting as much as i can. Could you please help if
> you have time? I can test new changes, sent other useful info/logs.

Looking at the guest data abort that you are getting, I think that you
didn't update the dts and dtsi to the latest version. They are attached
to the 00/23 email "Introduce Xen support on ARM" for the linux kernel.

[-- Attachment #2: Type: text/plain, Size: 44924 bytes --]

#
# Automatically generated file; DO NOT EDIT.
# Linux/arm 3.5.0-rc7 Kernel Configuration
#
CONFIG_ARM=y
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
CONFIG_HAVE_PROC_CPU=y
CONFIG_NO_IOPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_HAVE_LATENCYTOP_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_NEED_DMA_MAP_STATE=y
CONFIG_VECTORS_BASE=0xffff0000
CONFIG_ARM_PATCH_PHYS_VIRT=y
CONFIG_GENERIC_BUG=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"
CONFIG_HAVE_IRQ_WORK=y

#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_CROSS_COMPILE=""
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
CONFIG_KERNEL_GZIP=y
# CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
CONFIG_DEFAULT_HOSTNAME="(none)"
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_FHANDLE is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
CONFIG_HAVE_GENERIC_HARDIRQS=y

#
# IRQ subsystem
#
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_GENERIC_IRQ_SHOW=y
CONFIG_HARDIRQS_SW_RESEND=y
CONFIG_IRQ_DOMAIN=y
CONFIG_KTIME_SCALAR=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y

#
# Timers subsystem
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y

#
# RCU Subsystem
#
CONFIG_TINY_RCU=y
# CONFIG_PREEMPT_RCU is not set
# CONFIG_TREE_RCU_TRACE is not set
# CONFIG_IKCONFIG is not set
CONFIG_LOG_BUF_SHIFT=14
# CONFIG_CGROUPS is not set
# CONFIG_CHECKPOINT_RESTORE is not set
CONFIG_NAMESPACES=y
CONFIG_UTS_NS=y
CONFIG_IPC_NS=y
CONFIG_PID_NS=y
CONFIG_NET_NS=y
# CONFIG_SCHED_AUTOGROUP is not set
# CONFIG_SYSFS_DEPRECATED is not set
# CONFIG_RELAY is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_RD_GZIP=y
# CONFIG_RD_BZIP2 is not set
# CONFIG_RD_LZMA is not set
# CONFIG_RD_XZ is not set
# CONFIG_RD_LZO is not set
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL=y
CONFIG_ANON_INODES=y
CONFIG_EXPERT=y
CONFIG_UID16=y
# CONFIG_SYSCTL_SYSCALL is not set
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_ALL is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_AIO=y
# CONFIG_EMBEDDED is not set
CONFIG_HAVE_PERF_EVENTS=y
CONFIG_PERF_USE_VMALLOC=y

#
# Kernel Performance Events And Counters
#
# CONFIG_PERF_EVENTS is not set
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_COMPAT_BRK=y
CONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not set
# CONFIG_PROFILING is not set
CONFIG_HAVE_OPROFILE=y
# CONFIG_JUMP_LABEL is not set
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_HAVE_ARCH_TRACEHOOK=y
CONFIG_HAVE_DMA_ATTRS=y
CONFIG_HAVE_DMA_CONTIGUOUS=y
CONFIG_GENERIC_SMP_IDLE_THREAD=y
CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y
CONFIG_HAVE_CLK=y
CONFIG_HAVE_DMA_API_DEBUG=y
CONFIG_HAVE_ARCH_JUMP_LABEL=y

#
# GCOV-based kernel profiling
#
CONFIG_HAVE_GENERIC_DMA_COHERENT=y
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
CONFIG_BASE_SMALL=0
# CONFIG_MODULES is not set
CONFIG_BLOCK=y
CONFIG_LBDAF=y
CONFIG_BLK_DEV_BSG=y
# CONFIG_BLK_DEV_BSGLIB is not set
# CONFIG_BLK_DEV_INTEGRITY is not set

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
# CONFIG_ACORN_PARTITION is not set
# CONFIG_OSF_PARTITION is not set
# CONFIG_AMIGA_PARTITION is not set
# CONFIG_ATARI_PARTITION is not set
# CONFIG_MAC_PARTITION is not set
CONFIG_MSDOS_PARTITION=y
# CONFIG_BSD_DISKLABEL is not set
# CONFIG_MINIX_SUBPARTITION is not set
# CONFIG_SOLARIS_X86_PARTITION is not set
# CONFIG_UNIXWARE_DISKLABEL is not set
# CONFIG_LDM_PARTITION is not set
# CONFIG_SGI_PARTITION is not set
# CONFIG_ULTRIX_PARTITION is not set
# CONFIG_SUN_PARTITION is not set
# CONFIG_KARMA_PARTITION is not set
# CONFIG_EFI_PARTITION is not set
# CONFIG_SYSV68_PARTITION is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_DEFAULT_DEADLINE is not set
CONFIG_DEFAULT_CFQ=y
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="cfq"
# CONFIG_INLINE_SPIN_TRYLOCK is not set
# CONFIG_INLINE_SPIN_TRYLOCK_BH is not set
# CONFIG_INLINE_SPIN_LOCK is not set
# CONFIG_INLINE_SPIN_LOCK_BH is not set
# CONFIG_INLINE_SPIN_LOCK_IRQ is not set
# CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set
# CONFIG_INLINE_SPIN_UNLOCK_BH is not set
CONFIG_INLINE_SPIN_UNLOCK_IRQ=y
# CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set
# CONFIG_INLINE_READ_TRYLOCK is not set
# CONFIG_INLINE_READ_LOCK is not set
# CONFIG_INLINE_READ_LOCK_BH is not set
# CONFIG_INLINE_READ_LOCK_IRQ is not set
# CONFIG_INLINE_READ_LOCK_IRQSAVE is not set
CONFIG_INLINE_READ_UNLOCK=y
# CONFIG_INLINE_READ_UNLOCK_BH is not set
CONFIG_INLINE_READ_UNLOCK_IRQ=y
# CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set
# CONFIG_INLINE_WRITE_TRYLOCK is not set
# CONFIG_INLINE_WRITE_LOCK is not set
# CONFIG_INLINE_WRITE_LOCK_BH is not set
# CONFIG_INLINE_WRITE_LOCK_IRQ is not set
# CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set
CONFIG_INLINE_WRITE_UNLOCK=y
# CONFIG_INLINE_WRITE_UNLOCK_BH is not set
CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
# CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set
# CONFIG_MUTEX_SPIN_ON_OWNER is not set
CONFIG_FREEZER=y

#
# System Type
#
CONFIG_MMU=y
# CONFIG_ARCH_INTEGRATOR is not set
# CONFIG_ARCH_REALVIEW is not set
# CONFIG_ARCH_VERSATILE is not set
CONFIG_ARCH_VEXPRESS=y
# CONFIG_ARCH_AT91 is not set
# CONFIG_ARCH_BCMRING is not set
# CONFIG_ARCH_HIGHBANK is not set
# CONFIG_ARCH_CLPS711X is not set
# CONFIG_ARCH_CNS3XXX is not set
# CONFIG_ARCH_GEMINI is not set
# CONFIG_ARCH_PRIMA2 is not set
# CONFIG_ARCH_EBSA110 is not set
# CONFIG_ARCH_EP93XX is not set
# CONFIG_ARCH_FOOTBRIDGE is not set
# CONFIG_ARCH_MXC is not set
# CONFIG_ARCH_MXS is not set
# CONFIG_ARCH_NETX is not set
# CONFIG_ARCH_H720X is not set
# CONFIG_ARCH_IOP13XX is not set
# CONFIG_ARCH_IOP32X is not set
# CONFIG_ARCH_IOP33X is not set
# CONFIG_ARCH_IXP4XX is not set
# CONFIG_ARCH_DOVE is not set
# CONFIG_ARCH_KIRKWOOD is not set
# CONFIG_ARCH_LPC32XX is not set
# CONFIG_ARCH_MV78XX0 is not set
# CONFIG_ARCH_ORION5X is not set
# CONFIG_ARCH_MMP is not set
# CONFIG_ARCH_KS8695 is not set
# CONFIG_ARCH_W90X900 is not set
# CONFIG_ARCH_TEGRA is not set
# CONFIG_ARCH_PICOXCELL is not set
# CONFIG_ARCH_PNX4008 is not set
# CONFIG_ARCH_PXA is not set
# CONFIG_ARCH_MSM is not set
# CONFIG_ARCH_SHMOBILE is not set
# CONFIG_ARCH_RPC is not set
# CONFIG_ARCH_SA1100 is not set
# CONFIG_ARCH_S3C24XX is not set
# CONFIG_ARCH_S3C64XX is not set
# CONFIG_ARCH_S5P64X0 is not set
# CONFIG_ARCH_S5PC100 is not set
# CONFIG_ARCH_S5PV210 is not set
# CONFIG_ARCH_EXYNOS is not set
# CONFIG_ARCH_SHARK is not set
# CONFIG_ARCH_U300 is not set
# CONFIG_ARCH_U8500 is not set
# CONFIG_ARCH_NOMADIK is not set
# CONFIG_ARCH_DAVINCI is not set
# CONFIG_ARCH_OMAP is not set
# CONFIG_PLAT_SPEAR is not set
# CONFIG_ARCH_VT8500 is not set
# CONFIG_ARCH_ZYNQ is not set

#
# Versatile Express platform type
#
CONFIG_ARCH_VEXPRESS_CORTEX_A5_A9_ERRATA=y
# CONFIG_ARCH_VEXPRESS_CA9X4 is not set
CONFIG_ARCH_VEXPRESS_DT=y
CONFIG_PLAT_VERSATILE_CLCD=y
CONFIG_PLAT_VERSATILE_SCHED_CLOCK=y
CONFIG_PLAT_VERSATILE=y
CONFIG_ARM_TIMER_SP804=y

#
# Processor Type
#
CONFIG_CPU_V7=y
CONFIG_CPU_32v6K=y
CONFIG_CPU_32v7=y
CONFIG_CPU_ABRT_EV7=y
CONFIG_CPU_PABRT_V7=y
CONFIG_CPU_CACHE_V7=y
CONFIG_CPU_CACHE_VIPT=y
CONFIG_CPU_COPY_V6=y
CONFIG_CPU_TLB_V7=y
CONFIG_CPU_HAS_ASID=y
CONFIG_CPU_CP15=y
CONFIG_CPU_CP15_MMU=y

#
# Processor Features
#
# CONFIG_ARM_LPAE is not set
# CONFIG_ARCH_PHYS_ADDR_T_64BIT is not set
CONFIG_ARM_THUMB=y
CONFIG_ARM_THUMBEE=y
CONFIG_SWP_EMULATE=y
# CONFIG_CPU_ICACHE_DISABLE is not set
# CONFIG_CPU_DCACHE_DISABLE is not set
# CONFIG_CPU_BPREDICT_DISABLE is not set
CONFIG_OUTER_CACHE=y
CONFIG_OUTER_CACHE_SYNC=y
CONFIG_MIGHT_HAVE_CACHE_L2X0=y
CONFIG_CACHE_L2X0=y
CONFIG_CACHE_PL310=y
CONFIG_ARM_L1_CACHE_SHIFT_6=y
CONFIG_ARM_L1_CACHE_SHIFT=6
CONFIG_ARM_DMA_MEM_BUFFERABLE=y
CONFIG_ARM_NR_BANKS=8
CONFIG_CPU_HAS_PMU=y
CONFIG_MULTI_IRQ_HANDLER=y
# CONFIG_ARM_ERRATA_430973 is not set
# CONFIG_ARM_ERRATA_458693 is not set
# CONFIG_ARM_ERRATA_460075 is not set
# CONFIG_PL310_ERRATA_588369 is not set
CONFIG_ARM_ERRATA_720789=y
# CONFIG_PL310_ERRATA_727915 is not set
# CONFIG_ARM_ERRATA_743622 is not set
CONFIG_ARM_ERRATA_751472=y
CONFIG_PL310_ERRATA_753970=y
# CONFIG_ARM_ERRATA_754322 is not set
# CONFIG_PL310_ERRATA_769419 is not set
CONFIG_ARM_GIC=y
CONFIG_ICST=y

#
# Bus support
#
CONFIG_ARM_AMBA=y
# CONFIG_PCI_SYSCALL is not set
# CONFIG_ARCH_SUPPORTS_MSI is not set
# CONFIG_PCCARD is not set

#
# Kernel Features
#
CONFIG_HAVE_SMP=y
# CONFIG_SMP is not set
CONFIG_ARM_ARCH_TIMER=y
CONFIG_VMSPLIT_3G=y
# CONFIG_VMSPLIT_2G is not set
# CONFIG_VMSPLIT_1G is not set
CONFIG_PAGE_OFFSET=0xC0000000
CONFIG_ARCH_NR_GPIO=0
CONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
CONFIG_HZ=100
# CONFIG_THUMB2_KERNEL is not set
CONFIG_AEABI=y
CONFIG_OABI_COMPAT=y
# CONFIG_ARCH_SPARSEMEM_DEFAULT is not set
# CONFIG_ARCH_SELECT_MEMORY_MODEL is not set
CONFIG_HAVE_ARCH_PFN_VALID=y
CONFIG_HIGHMEM=y
CONFIG_HIGHPTE=y
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_HAVE_MEMBLOCK=y
CONFIG_PAGEFLAGS_EXTENDED=y
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_COMPACTION is not set
# CONFIG_PHYS_ADDR_T_64BIT is not set
CONFIG_ZONE_DMA_FLAG=0
CONFIG_BOUNCE=y
CONFIG_VIRT_TO_BUS=y
# CONFIG_KSM is not set
CONFIG_DEFAULT_MMAP_MIN_ADDR=4096
CONFIG_CROSS_MEMORY_ATTACH=y
CONFIG_NEED_PER_CPU_KM=y
# CONFIG_CLEANCACHE is not set
# CONFIG_FRONTSWAP is not set
CONFIG_FORCE_MAX_ZONEORDER=11
CONFIG_ALIGNMENT_TRAP=y
# CONFIG_UACCESS_WITH_MEMCPY is not set
# CONFIG_SECCOMP is not set
# CONFIG_CC_STACKPROTECTOR is not set
# CONFIG_DEPRECATED_PARAM_STRUCT is not set

#
# Boot options
#
CONFIG_USE_OF=y
CONFIG_ZBOOT_ROM_TEXT=0x0
CONFIG_ZBOOT_ROM_BSS=0x0
CONFIG_ARM_APPENDED_DTB=y
CONFIG_ARM_ATAG_DTB_COMPAT=y
CONFIG_CMDLINE="earlyprintk=xenboot console=ttyAMA1 root=/dev/mmcblk0 debug rw init=/bin/bash"
CONFIG_CMDLINE_FROM_BOOTLOADER=y
# CONFIG_CMDLINE_EXTEND is not set
# CONFIG_CMDLINE_FORCE is not set
# CONFIG_XIP_KERNEL is not set
# CONFIG_KEXEC is not set
# CONFIG_CRASH_DUMP is not set
CONFIG_AUTO_ZRELADDR=y

#
# CPU Power Management
#
# CONFIG_CPU_IDLE is not set

#
# Floating point emulation
#

#
# At least one emulation must be selected
#
# CONFIG_FPE_NWFPE is not set
# CONFIG_FPE_FASTFPE is not set
CONFIG_VFP=y
CONFIG_VFPv3=y
# CONFIG_NEON is not set
CONFIG_XEN_DOM0=y
CONFIG_XEN=y

#
# Userspace binary formats
#
CONFIG_BINFMT_ELF=y
CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y
CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y
CONFIG_HAVE_AOUT=y
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_MISC=y

#
# Power management options
#
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_PM_SLEEP=y
# CONFIG_PM_AUTOSLEEP is not set
# CONFIG_PM_WAKELOCKS is not set
# CONFIG_PM_RUNTIME is not set
CONFIG_PM=y
# CONFIG_PM_DEBUG is not set
# CONFIG_APM_EMULATION is not set
CONFIG_PM_CLK=y
CONFIG_CPU_PM=y
CONFIG_ARCH_SUSPEND_POSSIBLE=y
CONFIG_ARM_CPU_SUSPEND=y
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_UNIX=y
# CONFIG_UNIX_DIAG is not set
CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
# CONFIG_XFRM_STATISTICS is not set
# CONFIG_NET_KEY is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_PNP=y
# CONFIG_IP_PNP_DHCP is not set
CONFIG_IP_PNP_BOOTP=y
# CONFIG_IP_PNP_RARP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE_DEMUX is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
# CONFIG_INET_TUNNEL is not set
CONFIG_INET_XFRM_MODE_TRANSPORT=y
CONFIG_INET_XFRM_MODE_TUNNEL=y
CONFIG_INET_XFRM_MODE_BEET=y
CONFIG_INET_LRO=y
# CONFIG_INET_DIAG is not set
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
# CONFIG_IPV6 is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
# CONFIG_NETFILTER is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_RDS is not set
# CONFIG_TIPC is not set
# CONFIG_ATM is not set
# CONFIG_L2TP is not set
CONFIG_STP=y
CONFIG_BRIDGE=y
CONFIG_BRIDGE_IGMP_SNOOPING=y
# CONFIG_NET_DSA is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
CONFIG_LLC=y
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_PHONET is not set
# CONFIG_IEEE802154 is not set
# CONFIG_NET_SCHED is not set
# CONFIG_DCB is not set
# CONFIG_BATMAN_ADV is not set
# CONFIG_OPENVSWITCH is not set
CONFIG_BQL=y

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not set
CONFIG_WIRELESS=y
# CONFIG_CFG80211 is not set
# CONFIG_LIB80211 is not set

#
# CFG80211 needs to be enabled for MAC80211
#
# CONFIG_WIMAX is not set
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not set
# CONFIG_CAIF is not set
# CONFIG_CEPH_LIB is not set
# CONFIG_NFC is not set
CONFIG_HAVE_BPF_JIT=y

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER_PATH=""
# CONFIG_DEVTMPFS is not set
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE=""
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
# CONFIG_GENERIC_CPU_DEVICES is not set
# CONFIG_DMA_SHARED_BUFFER is not set
# CONFIG_CMA is not set
# CONFIG_CONNECTOR is not set
CONFIG_MTD=y
# CONFIG_MTD_REDBOOT_PARTS is not set
CONFIG_MTD_CMDLINE_PARTS=y
# CONFIG_MTD_AFS_PARTS is not set
# CONFIG_MTD_OF_PARTS is not set
# CONFIG_MTD_AR7_PARTS is not set

#
# User Modules And Translation Layers
#
CONFIG_MTD_CHAR=y
CONFIG_MTD_BLKDEVS=y
CONFIG_MTD_BLOCK=y
# CONFIG_FTL is not set
# CONFIG_NFTL is not set
# CONFIG_INFTL is not set
# CONFIG_RFD_FTL is not set
# CONFIG_SSFDC is not set
# CONFIG_SM_FTL is not set
# CONFIG_MTD_OOPS is not set
# CONFIG_MTD_SWAP is not set

#
# RAM/ROM/Flash chip drivers
#
CONFIG_MTD_CFI=y
# CONFIG_MTD_JEDECPROBE is not set
CONFIG_MTD_GEN_PROBE=y
CONFIG_MTD_CFI_ADV_OPTIONS=y
CONFIG_MTD_CFI_NOSWAP=y
# CONFIG_MTD_CFI_BE_BYTE_SWAP is not set
# CONFIG_MTD_CFI_LE_BYTE_SWAP is not set
# CONFIG_MTD_CFI_GEOMETRY is not set
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_2=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
# CONFIG_MTD_MAP_BANK_WIDTH_8 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_16 is not set
# CONFIG_MTD_MAP_BANK_WIDTH_32 is not set
CONFIG_MTD_CFI_I1=y
CONFIG_MTD_CFI_I2=y
# CONFIG_MTD_CFI_I4 is not set
# CONFIG_MTD_CFI_I8 is not set
# CONFIG_MTD_OTP is not set
CONFIG_MTD_CFI_INTELEXT=y
# CONFIG_MTD_CFI_AMDSTD is not set
# CONFIG_MTD_CFI_STAA is not set
CONFIG_MTD_CFI_UTIL=y
# CONFIG_MTD_RAM is not set
# CONFIG_MTD_ROM is not set
# CONFIG_MTD_ABSENT is not set

#
# Mapping drivers for chip access
#
# CONFIG_MTD_COMPLEX_MAPPINGS is not set
# CONFIG_MTD_PHYSMAP is not set
# CONFIG_MTD_PHYSMAP_OF is not set
# CONFIG_MTD_PLATRAM is not set

#
# Self-contained MTD device drivers
#
# CONFIG_MTD_SLRAM is not set
# CONFIG_MTD_PHRAM is not set
# CONFIG_MTD_MTDRAM is not set
# CONFIG_MTD_BLOCK2MTD is not set

#
# Disk-On-Chip Device Drivers
#
# CONFIG_MTD_DOCG3 is not set
# CONFIG_MTD_NAND is not set
# CONFIG_MTD_ONENAND is not set

#
# LPDDR flash memory drivers
#
# CONFIG_MTD_LPDDR is not set
# CONFIG_MTD_UBI is not set
CONFIG_DTC=y
CONFIG_OF=y

#
# Device Tree and Open Firmware support
#
# CONFIG_PROC_DEVICETREE is not set
# CONFIG_OF_SELFTEST is not set
CONFIG_OF_FLATTREE=y
CONFIG_OF_EARLY_FLATTREE=y
CONFIG_OF_ADDRESS=y
CONFIG_OF_IRQ=y
CONFIG_OF_DEVICE=y
CONFIG_OF_I2C=y
CONFIG_OF_NET=y
CONFIG_OF_MDIO=y
CONFIG_OF_MTD=y
# CONFIG_PARPORT is not set
CONFIG_BLK_DEV=y
# CONFIG_BLK_DEV_COW_COMMON is not set
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
# CONFIG_BLK_DEV_CRYPTOLOOP is not set

#
# DRBD disabled because PROC_FS, INET or CONNECTOR not selected
#
# CONFIG_BLK_DEV_NBD is not set
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=16
CONFIG_BLK_DEV_RAM_SIZE=4096
# CONFIG_BLK_DEV_XIP is not set
# CONFIG_CDROM_PKTCDVD is not set
# CONFIG_ATA_OVER_ETH is not set
CONFIG_XEN_BLKDEV_FRONTEND=y
CONFIG_XEN_BLKDEV_BACKEND=y
# CONFIG_BLK_DEV_RBD is not set

#
# Misc devices
#
# CONFIG_SENSORS_LIS3LV02D is not set
# CONFIG_AD525X_DPOT is not set
# CONFIG_ATMEL_PWM is not set
# CONFIG_ICS932S401 is not set
# CONFIG_ENCLOSURE_SERVICES is not set
# CONFIG_APDS9802ALS is not set
# CONFIG_ISL29003 is not set
# CONFIG_ISL29020 is not set
# CONFIG_SENSORS_TSL2550 is not set
# CONFIG_SENSORS_BH1780 is not set
# CONFIG_SENSORS_BH1770 is not set
# CONFIG_SENSORS_APDS990X is not set
# CONFIG_HMC6352 is not set
# CONFIG_DS1682 is not set
# CONFIG_ARM_CHARLCD is not set
# CONFIG_BMP085_I2C is not set
# CONFIG_USB_SWITCH_FSA9480 is not set
# CONFIG_C2PORT is not set

#
# EEPROM support
#
# CONFIG_EEPROM_AT24 is not set
# CONFIG_EEPROM_LEGACY is not set
# CONFIG_EEPROM_MAX6875 is not set
# CONFIG_EEPROM_93CX6 is not set
# CONFIG_IWMC3200TOP is not set

#
# Texas Instruments shared transport line discipline
#
# CONFIG_SENSORS_LIS3_I2C is not set

#
# Altera FPGA firmware download module
#
# CONFIG_ALTERA_STAPL is not set

#
# SCSI device support
#
CONFIG_SCSI_MOD=y
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_TGT is not set
# CONFIG_SCSI_NETLINK is not set
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
CONFIG_BLK_DEV_SD=y
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
# CONFIG_BLK_DEV_SR is not set
# CONFIG_CHR_DEV_SG is not set
# CONFIG_CHR_DEV_SCH is not set
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
# CONFIG_SCSI_SCAN_ASYNC is not set

#
# SCSI Transports
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set
# CONFIG_SCSI_ISCSI_ATTRS is not set
# CONFIG_SCSI_SAS_ATTRS is not set
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
CONFIG_SCSI_LOWLEVEL=y
# CONFIG_ISCSI_TCP is not set
# CONFIG_ISCSI_BOOT_SYSFS is not set
# CONFIG_LIBFC is not set
# CONFIG_LIBFCOE is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_DH is not set
# CONFIG_SCSI_OSD_INITIATOR is not set
CONFIG_HAVE_PATA_PLATFORM=y
CONFIG_ATA=y
# CONFIG_ATA_NONSTANDARD is not set
CONFIG_ATA_VERBOSE_ERROR=y
CONFIG_SATA_PMP=y

#
# Controllers with non-SFF native interface
#
# CONFIG_SATA_AHCI_PLATFORM is not set
CONFIG_ATA_SFF=y

#
# SFF controllers with custom DMA interface
#
# CONFIG_ATA_BMDMA is not set

#
# PIO-only SFF controllers
#
# CONFIG_PATA_PLATFORM is not set

#
# Generic fallback / legacy drivers
#
# CONFIG_MD is not set
# CONFIG_TARGET_CORE is not set
CONFIG_NETDEVICES=y
CONFIG_NET_CORE=y
# CONFIG_BONDING is not set
# CONFIG_DUMMY is not set
# CONFIG_EQUALIZER is not set
CONFIG_MII=y
# CONFIG_NET_TEAM is not set
# CONFIG_MACVLAN is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
CONFIG_TUN=y
# CONFIG_VETH is not set

#
# CAIF transport drivers
#
CONFIG_ETHERNET=y
CONFIG_NET_VENDOR_BROADCOM=y
# CONFIG_B44 is not set
# CONFIG_NET_CALXEDA_XGMAC is not set
CONFIG_NET_VENDOR_CHELSIO=y
CONFIG_NET_VENDOR_CIRRUS=y
# CONFIG_CS89x0 is not set
# CONFIG_DM9000 is not set
# CONFIG_DNET is not set
CONFIG_NET_VENDOR_FARADAY=y
# CONFIG_FTMAC100 is not set
# CONFIG_FTGMAC100 is not set
CONFIG_NET_VENDOR_INTEL=y
CONFIG_NET_VENDOR_I825XX=y
CONFIG_NET_VENDOR_MARVELL=y
CONFIG_NET_VENDOR_MICREL=y
# CONFIG_KS8851_MLL is not set
CONFIG_NET_VENDOR_NATSEMI=y
CONFIG_NET_VENDOR_8390=y
# CONFIG_AX88796 is not set
# CONFIG_ETHOC is not set
CONFIG_NET_VENDOR_SEEQ=y
# CONFIG_SEEQ8005 is not set
CONFIG_NET_VENDOR_SMSC=y
CONFIG_SMC91X=y
CONFIG_SMC911X=y
CONFIG_SMSC911X=y
# CONFIG_SMSC911X_ARCH_HOOKS is not set
CONFIG_NET_VENDOR_STMICRO=y
# CONFIG_STMMAC_ETH is not set
CONFIG_NET_VENDOR_WIZNET=y
# CONFIG_WIZNET_W5100 is not set
# CONFIG_WIZNET_W5300 is not set
CONFIG_PHYLIB=y

#
# MII PHY device drivers
#
# CONFIG_AMD_PHY is not set
# CONFIG_MARVELL_PHY is not set
# CONFIG_DAVICOM_PHY is not set
# CONFIG_QSEMI_PHY is not set
# CONFIG_LXT_PHY is not set
# CONFIG_CICADA_PHY is not set
# CONFIG_VITESSE_PHY is not set
CONFIG_SMSC_PHY=y
# CONFIG_BROADCOM_PHY is not set
# CONFIG_ICPLUS_PHY is not set
# CONFIG_REALTEK_PHY is not set
# CONFIG_NATIONAL_PHY is not set
# CONFIG_STE10XP is not set
# CONFIG_LSI_ET1011C_PHY is not set
# CONFIG_MICREL_PHY is not set
# CONFIG_FIXED_PHY is not set
# CONFIG_MDIO_BITBANG is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
CONFIG_WLAN=y
# CONFIG_HOSTAP is not set
# CONFIG_WL_TI is not set

#
# Enable WiMAX (Networking options) to see the WiMAX drivers
#
# CONFIG_WAN is not set
CONFIG_XEN_NETDEV_FRONTEND=y
CONFIG_XEN_NETDEV_BACKEND=y
# CONFIG_ISDN is not set

#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set
# CONFIG_INPUT_SPARSEKMAP is not set
# CONFIG_INPUT_MATRIXKMAP is not set

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
# CONFIG_KEYBOARD_ADP5588 is not set
# CONFIG_KEYBOARD_ADP5589 is not set
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_QT1070 is not set
# CONFIG_KEYBOARD_QT2160 is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_TCA6416 is not set
# CONFIG_KEYBOARD_TCA8418 is not set
# CONFIG_KEYBOARD_LM8333 is not set
# CONFIG_KEYBOARD_MAX7359 is not set
# CONFIG_KEYBOARD_MCS is not set
# CONFIG_KEYBOARD_MPR121 is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_OPENCORES is not set
# CONFIG_KEYBOARD_SAMSUNG is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_OMAP4 is not set
# CONFIG_KEYBOARD_XTKBD is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
CONFIG_MOUSE_PS2_ALPS=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y
CONFIG_MOUSE_PS2_SYNAPTICS=y
CONFIG_MOUSE_PS2_TRACKPOINT=y
# CONFIG_MOUSE_PS2_ELANTECH is not set
# CONFIG_MOUSE_PS2_SENTELIC is not set
# CONFIG_MOUSE_PS2_TOUCHKIT is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_APPLETOUCH is not set
# CONFIG_MOUSE_BCM5974 is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_MOUSE_SYNAPTICS_I2C is not set
# CONFIG_MOUSE_SYNAPTICS_USB is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TABLET is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
# CONFIG_SERIO_SERPORT is not set
CONFIG_SERIO_AMBAKMI=y
CONFIG_SERIO_LIBPS2=y
# CONFIG_SERIO_RAW is not set
# CONFIG_SERIO_ALTERA_PS2 is not set
# CONFIG_SERIO_PS2MULT is not set
# CONFIG_GAMEPORT is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_CONSOLE_TRANSLATIONS=y
CONFIG_VT_CONSOLE=y
CONFIG_VT_CONSOLE_SLEEP=y
CONFIG_HW_CONSOLE=y
# CONFIG_VT_HW_CONSOLE_BINDING is not set
CONFIG_UNIX98_PTYS=y
# CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=16
# CONFIG_SERIAL_NONSTANDARD is not set
# CONFIG_N_GSM is not set
# CONFIG_TRACE_SINK is not set
CONFIG_DEVKMEM=y

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
# CONFIG_SERIAL_8250_CONSOLE is not set
CONFIG_SERIAL_8250_NR_UARTS=4
CONFIG_SERIAL_8250_RUNTIME_UARTS=4
CONFIG_SERIAL_8250_EXTENDED=y
CONFIG_SERIAL_8250_MANY_PORTS=y
CONFIG_SERIAL_8250_SHARE_IRQ=y
# CONFIG_SERIAL_8250_DETECT_IRQ is not set
CONFIG_SERIAL_8250_RSA=y
# CONFIG_SERIAL_8250_DW is not set
# CONFIG_SERIAL_8250_EM is not set

#
# Non-8250 serial port support
#
# CONFIG_SERIAL_AMBA_PL010 is not set
CONFIG_SERIAL_AMBA_PL011=y
CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_OF_PLATFORM is not set
# CONFIG_SERIAL_TIMBERDALE is not set
# CONFIG_SERIAL_ALTERA_JTAGUART is not set
# CONFIG_SERIAL_ALTERA_UART is not set
# CONFIG_SERIAL_XILINX_PS_UART is not set
# CONFIG_TTY_PRINTK is not set
CONFIG_HVC_DRIVER=y
CONFIG_HVC_IRQ=y
CONFIG_HVC_XEN=y
# CONFIG_HVC_XEN_FRONTEND is not set
# CONFIG_HVC_DCC is not set
# CONFIG_IPMI_HANDLER is not set
CONFIG_HW_RANDOM=y
# CONFIG_HW_RANDOM_TIMERIOMEM is not set
# CONFIG_HW_RANDOM_ATMEL is not set
# CONFIG_R3964 is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_TCG_TPM is not set
CONFIG_I2C=y
CONFIG_I2C_BOARDINFO=y
CONFIG_I2C_COMPAT=y
CONFIG_I2C_CHARDEV=y
# CONFIG_I2C_MUX is not set
CONFIG_I2C_HELPER_AUTO=y

#
# I2C Hardware Bus support
#

#
# I2C system bus drivers (mostly embedded / system-on-chip)
#
# CONFIG_I2C_DESIGNWARE_PLATFORM is not set
# CONFIG_I2C_OCORES is not set
# CONFIG_I2C_PCA_PLATFORM is not set
# CONFIG_I2C_PXA_PCI is not set
# CONFIG_I2C_SIMTEC is not set
# CONFIG_I2C_VERSATILE is not set
# CONFIG_I2C_XILINX is not set

#
# External I2C/SMBus adapter drivers
#
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_TAOS_EVM is not set

#
# Other I2C/SMBus bus drivers
#
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_SPI is not set
# CONFIG_HSI is not set

#
# PPS support
#
# CONFIG_PPS is not set

#
# PPS generators support
#

#
# PTP clock support
#

#
# Enable Device Drivers -> PPS to see the PTP clock options.
#
CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y
CONFIG_ARCH_WANT_OPTIONAL_GPIOLIB=y
# CONFIG_GPIOLIB is not set
# CONFIG_W1 is not set
# CONFIG_POWER_SUPPLY is not set
# CONFIG_HWMON is not set
# CONFIG_THERMAL is not set
# CONFIG_WATCHDOG is not set
CONFIG_SSB_POSSIBLE=y

#
# Sonics Silicon Backplane
#
# CONFIG_SSB is not set
CONFIG_BCMA_POSSIBLE=y

#
# Broadcom specific AMBA
#
# CONFIG_BCMA is not set

#
# Multifunction device drivers
#
# CONFIG_MFD_CORE is not set
# CONFIG_MFD_88PM860X is not set
# CONFIG_MFD_SM501 is not set
# CONFIG_HTC_PASIC3 is not set
# CONFIG_MFD_LM3533 is not set
# CONFIG_TPS6105X is not set
# CONFIG_TPS6507X is not set
# CONFIG_MFD_TPS65217 is not set
# CONFIG_TWL4030_CORE is not set
# CONFIG_TWL6040_CORE is not set
# CONFIG_MFD_STMPE is not set
# CONFIG_MFD_TC3589X is not set
# CONFIG_MFD_TMIO is not set
# CONFIG_MFD_T7L66XB is not set
# CONFIG_MFD_TC6387XB is not set
# CONFIG_PMIC_DA903X is not set
# CONFIG_MFD_DA9052_I2C is not set
# CONFIG_PMIC_ADP5520 is not set
# CONFIG_MFD_MAX77693 is not set
# CONFIG_MFD_MAX8925 is not set
# CONFIG_MFD_MAX8997 is not set
# CONFIG_MFD_MAX8998 is not set
# CONFIG_MFD_S5M_CORE is not set
# CONFIG_MFD_WM8400 is not set
# CONFIG_MFD_WM831X_I2C is not set
# CONFIG_MFD_WM8350_I2C is not set
# CONFIG_MFD_WM8994 is not set
# CONFIG_MFD_PCF50633 is not set
# CONFIG_MFD_MC13XXX_I2C is not set
# CONFIG_ABX500_CORE is not set
# CONFIG_MFD_WL1273_CORE is not set
# CONFIG_MFD_TPS65090 is not set
# CONFIG_MFD_RC5T583 is not set
# CONFIG_MFD_PALMAS is not set
# CONFIG_REGULATOR is not set
# CONFIG_MEDIA_SUPPORT is not set

#
# Graphics support
#
# CONFIG_DRM is not set
# CONFIG_VGASTATE is not set
# CONFIG_VIDEO_OUTPUT_CONTROL is not set
CONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not set
# CONFIG_FB_DDC is not set
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
CONFIG_FB_CFB_FILLRECT=y
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_FOREIGN_ENDIAN is not set
# CONFIG_FB_SYS_FOPS is not set
# CONFIG_FB_WMT_GE_ROPS is not set
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
# CONFIG_FB_MODE_HELPERS is not set
# CONFIG_FB_TILEBLITTING is not set

#
# Frame buffer hardware drivers
#
CONFIG_FB_ARMCLCD=y
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_XEN_FBDEV_FRONTEND is not set
# CONFIG_FB_METRONOME is not set
# CONFIG_FB_BROADSHEET is not set
# CONFIG_FB_AUO_K190X is not set
# CONFIG_EXYNOS_VIDEO is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set

#
# Console display driver support
#
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
CONFIG_FONTS=y
# CONFIG_FONT_8x8 is not set
# CONFIG_FONT_8x16 is not set
# CONFIG_FONT_6x11 is not set
# CONFIG_FONT_7x14 is not set
# CONFIG_FONT_PEARL_8x8 is not set
CONFIG_FONT_ACORN_8x8=y
# CONFIG_FONT_MINI_4x6 is not set
# CONFIG_FONT_SUN8x16 is not set
# CONFIG_FONT_SUN12x22 is not set
# CONFIG_FONT_10x18 is not set
# CONFIG_LOGO is not set
CONFIG_SOUND=y
CONFIG_SOUND_OSS_CORE=y
CONFIG_SOUND_OSS_CORE_PRECLAIM=y
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
# CONFIG_SND_SEQUENCER is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS_PLUGINS=y
# CONFIG_SND_HRTIMER is not set
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
CONFIG_SND_VERBOSE_PROCFS=y
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
CONFIG_SND_VMASTER=y
# CONFIG_SND_RAWMIDI_SEQ is not set
# CONFIG_SND_OPL3_LIB_SEQ is not set
# CONFIG_SND_OPL4_LIB_SEQ is not set
# CONFIG_SND_SBAWE_SEQ is not set
# CONFIG_SND_EMU10K1_SEQ is not set
CONFIG_SND_AC97_CODEC=y
CONFIG_SND_DRIVERS=y
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_ALOOP is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set
# CONFIG_SND_AC97_POWER_SAVE is not set
CONFIG_SND_ARM=y
CONFIG_SND_ARMAACI=y
# CONFIG_SND_SOC is not set
# CONFIG_SOUND_PRIME is not set
CONFIG_AC97_BUS=y

#
# HID support
#
CONFIG_HID=y
# CONFIG_HIDRAW is not set
CONFIG_HID_GENERIC=y

#
# Special HID drivers
#
# CONFIG_USB_ARCH_HAS_OHCI is not set
# CONFIG_USB_ARCH_HAS_EHCI is not set
# CONFIG_USB_ARCH_HAS_XHCI is not set
CONFIG_USB_SUPPORT=y
CONFIG_USB_ARCH_HAS_HCD=y
# CONFIG_USB is not set
# CONFIG_USB_OTG_WHITELIST is not set
# CONFIG_USB_OTG_BLACKLIST_HUB is not set

#
# NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may
#
# CONFIG_USB_GADGET is not set

#
# OTG and related infrastructure
#
CONFIG_MMC=y
# CONFIG_MMC_DEBUG is not set
# CONFIG_MMC_UNSAFE_RESUME is not set
# CONFIG_MMC_CLKGATE is not set

#
# MMC/SD/SDIO Card Drivers
#
CONFIG_MMC_BLOCK=y
CONFIG_MMC_BLOCK_MINORS=8
CONFIG_MMC_BLOCK_BOUNCE=y
# CONFIG_SDIO_UART is not set
# CONFIG_MMC_TEST is not set

#
# MMC/SD/SDIO Host Controller Drivers
#
CONFIG_MMC_ARMMMCI=y
# CONFIG_MMC_SDHCI is not set
# CONFIG_MMC_SDHCI_PXAV3 is not set
# CONFIG_MMC_SDHCI_PXAV2 is not set
# CONFIG_MMC_DW is not set
# CONFIG_MEMSTICK is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_ACCESSIBILITY is not set
CONFIG_RTC_LIB=y
# CONFIG_RTC_CLASS is not set
# CONFIG_DMADEVICES is not set
# CONFIG_AUXDISPLAY is not set
# CONFIG_UIO is not set

#
# Virtio drivers
#
# CONFIG_VIRTIO_BALLOON is not set
# CONFIG_VIRTIO_MMIO is not set

#
# Microsoft Hyper-V guest support
#

#
# Xen driver support
#
# CONFIG_XEN_BALLOON is not set
CONFIG_XEN_DEV_EVTCHN=y
CONFIG_XEN_BACKEND=y
CONFIG_XENFS=y
CONFIG_XEN_COMPAT_XENFS=y
# CONFIG_XEN_SYS_HYPERVISOR is not set
CONFIG_XEN_XENBUS_FRONTEND=y
# CONFIG_XEN_GNTDEV is not set
# CONFIG_XEN_GRANT_DEV_ALLOC is not set
CONFIG_XEN_PRIVCMD=y
# CONFIG_STAGING is not set
CONFIG_CLKDEV_LOOKUP=y
CONFIG_HAVE_MACH_CLKDEV=y

#
# Hardware Spinlock drivers
#
CONFIG_CLKSRC_MMIO=y
CONFIG_IOMMU_SUPPORT=y

#
# Remoteproc drivers (EXPERIMENTAL)
#

#
# Rpmsg drivers (EXPERIMENTAL)
#
# CONFIG_VIRT_DRIVERS is not set
# CONFIG_PM_DEVFREQ is not set
# CONFIG_EXTCON is not set
# CONFIG_MEMORY is not set
# CONFIG_IIO is not set

#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XIP is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_DEFAULTS_TO_ORDERED=y
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not set
CONFIG_EXT4_FS=y
CONFIG_EXT4_FS_XATTR=y
# CONFIG_EXT4_FS_POSIX_ACL is not set
# CONFIG_EXT4_FS_SECURITY is not set
# CONFIG_EXT4_DEBUG is not set
CONFIG_JBD=y
CONFIG_JBD2=y
CONFIG_FS_MBCACHE=y
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_BTRFS_FS is not set
# CONFIG_NILFS2_FS is not set
CONFIG_FS_POSIX_ACL=y
CONFIG_EXPORTFS=y
CONFIG_FILE_LOCKING=y
CONFIG_FSNOTIFY=y
CONFIG_DNOTIFY=y
CONFIG_INOTIFY_USER=y
# CONFIG_FANOTIFY is not set
# CONFIG_QUOTA is not set
# CONFIG_QUOTACTL is not set
# CONFIG_AUTOFS4_FS is not set
# CONFIG_FUSE_FS is not set
CONFIG_GENERIC_ACL=y

#
# Caches
#
# CONFIG_FSCACHE is not set

#
# CD-ROM/DVD Filesystems
#
# CONFIG_ISO9660_FS is not set
# CONFIG_UDF_FS is not set

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
# CONFIG_MSDOS_FS is not set
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_SYSCTL=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y
CONFIG_TMPFS_XATTR=y
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_CONFIGFS_FS is not set
CONFIG_MISC_FILESYSTEMS=y
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
CONFIG_JFFS2_FS=y
CONFIG_JFFS2_FS_DEBUG=0
CONFIG_JFFS2_FS_WRITEBUFFER=y
# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
# CONFIG_JFFS2_SUMMARY is not set
# CONFIG_JFFS2_FS_XATTR is not set
# CONFIG_JFFS2_COMPRESSION_OPTIONS is not set
CONFIG_JFFS2_ZLIB=y
# CONFIG_JFFS2_LZO is not set
CONFIG_JFFS2_RTIME=y
# CONFIG_JFFS2_RUBIN is not set
# CONFIG_LOGFS is not set
CONFIG_CRAMFS=y
# CONFIG_SQUASHFS is not set
# CONFIG_VXFS_FS is not set
CONFIG_MINIX_FS=y
# CONFIG_OMFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX6FS_FS is not set
CONFIG_ROMFS_FS=y
CONFIG_ROMFS_BACKED_BY_BLOCK=y
# CONFIG_ROMFS_BACKED_BY_MTD is not set
# CONFIG_ROMFS_BACKED_BY_BOTH is not set
CONFIG_ROMFS_ON_BLOCK=y
# CONFIG_PSTORE is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
CONFIG_NETWORK_FILESYSTEMS=y
CONFIG_NFS_FS=y
CONFIG_NFS_V2=y
CONFIG_NFS_V3=y
# CONFIG_NFS_V3_ACL is not set
# CONFIG_NFS_V4 is not set
CONFIG_ROOT_NFS=y
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V3_ACL is not set
# CONFIG_NFSD_V4 is not set
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_NFS_COMMON=y
CONFIG_SUNRPC=y
# CONFIG_SUNRPC_DEBUG is not set
# CONFIG_CEPH_FS is not set
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
# CONFIG_NLS_CODEPAGE_437 is not set
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=y
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
# CONFIG_NLS_ASCII is not set
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
# CONFIG_NLS_ISO8859_15 is not set
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
# CONFIG_NLS_MAC_ROMAN is not set
# CONFIG_NLS_MAC_CELTIC is not set
# CONFIG_NLS_MAC_CENTEURO is not set
# CONFIG_NLS_MAC_CROATIAN is not set
# CONFIG_NLS_MAC_CYRILLIC is not set
# CONFIG_NLS_MAC_GAELIC is not set
# CONFIG_NLS_MAC_GREEK is not set
# CONFIG_NLS_MAC_ICELAND is not set
# CONFIG_NLS_MAC_INUIT is not set
# CONFIG_NLS_MAC_ROMANIAN is not set
# CONFIG_NLS_MAC_TURKISH is not set
# CONFIG_NLS_UTF8 is not set

#
# Kernel hacking
#
# CONFIG_PRINTK_TIME is not set
CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
CONFIG_ENABLE_WARN_DEPRECATED=y
CONFIG_ENABLE_MUST_CHECK=y
CONFIG_FRAME_WARN=1024
CONFIG_MAGIC_SYSRQ=y
# CONFIG_STRIP_ASM_SYMS is not set
# CONFIG_READABLE_ASM is not set
# CONFIG_UNUSED_SYMBOLS is not set
# CONFIG_DEBUG_FS is not set
# CONFIG_HEADERS_CHECK is not set
# CONFIG_DEBUG_SECTION_MISMATCH is not set
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_SHIRQ is not set
# CONFIG_LOCKUP_DETECTOR is not set
# CONFIG_HARDLOCKUP_DETECTOR is not set
# CONFIG_PANIC_ON_OOPS is not set
CONFIG_PANIC_ON_OOPS_VALUE=0
# CONFIG_DETECT_HUNG_TASK is not set
CONFIG_SCHED_DEBUG=y
# CONFIG_SCHEDSTATS is not set
# CONFIG_TIMER_STATS is not set
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_RT_MUTEX_TESTER is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_SPARSE_RCU_POINTER is not set
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_ATOMIC_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_KOBJECT is not set
# CONFIG_DEBUG_HIGHMEM is not set
CONFIG_DEBUG_BUGVERBOSE=y
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_VM is not set
# CONFIG_DEBUG_WRITECOUNT is not set
# CONFIG_DEBUG_MEMORY_INIT is not set
# CONFIG_DEBUG_LIST is not set
# CONFIG_TEST_LIST_SORT is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not set
# CONFIG_DEBUG_CREDENTIALS is not set
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_RCU_TRACE is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_LATENCYTOP is not set
# CONFIG_DEBUG_PAGEALLOC is not set
CONFIG_HAVE_FUNCTION_TRACER=y
CONFIG_HAVE_FUNCTION_GRAPH_TRACER=y
CONFIG_HAVE_DYNAMIC_FTRACE=y
CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
CONFIG_HAVE_C_RECORDMCOUNT=y
CONFIG_TRACING_SUPPORT=y
CONFIG_FTRACE=y
# CONFIG_FUNCTION_TRACER is not set
# CONFIG_IRQSOFF_TRACER is not set
# CONFIG_SCHED_TRACER is not set
# CONFIG_ENABLE_DEFAULT_TRACERS is not set
CONFIG_BRANCH_PROFILE_NONE=y
# CONFIG_PROFILE_ANNOTATED_BRANCHES is not set
# CONFIG_PROFILE_ALL_BRANCHES is not set
# CONFIG_STACK_TRACER is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_PROBE_EVENTS is not set
# CONFIG_DMA_API_DEBUG is not set
# CONFIG_ATOMIC64_SELFTEST is not set
# CONFIG_SAMPLES is not set
CONFIG_HAVE_ARCH_KGDB=y
# CONFIG_KGDB is not set
# CONFIG_TEST_KSTRTOX is not set
# CONFIG_STRICT_DEVMEM is not set
CONFIG_ARM_UNWIND=y
CONFIG_DEBUG_USER=y
CONFIG_DEBUG_LL=y
CONFIG_DEBUG_LL_UART_NONE=y
# CONFIG_DEBUG_ICEDCC is not set
# CONFIG_DEBUG_SEMIHOSTING is not set
CONFIG_EARLY_PRINTK=y
# CONFIG_OC_ETM is not set

#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY_DMESG_RESTRICT is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITYFS is not set
CONFIG_DEFAULT_SECURITY_DAC=y
CONFIG_DEFAULT_SECURITY=""
CONFIG_CRYPTO=y

#
# Crypto core or helper
#
CONFIG_CRYPTO_ALGAPI=y
CONFIG_CRYPTO_ALGAPI2=y
CONFIG_CRYPTO_AEAD2=y
CONFIG_CRYPTO_BLKCIPHER=y
CONFIG_CRYPTO_BLKCIPHER2=y
CONFIG_CRYPTO_HASH=y
CONFIG_CRYPTO_HASH2=y
CONFIG_CRYPTO_RNG=y
CONFIG_CRYPTO_RNG2=y
CONFIG_CRYPTO_PCOMP2=y
CONFIG_CRYPTO_MANAGER=y
CONFIG_CRYPTO_MANAGER2=y
# CONFIG_CRYPTO_USER is not set
CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y
# CONFIG_CRYPTO_GF128MUL is not set
# CONFIG_CRYPTO_NULL is not set
CONFIG_CRYPTO_WORKQUEUE=y
# CONFIG_CRYPTO_CRYPTD is not set
# CONFIG_CRYPTO_AUTHENC is not set

#
# Authenticated Encryption with Associated Data
#
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_SEQIV is not set

#
# Block modes
#
CONFIG_CRYPTO_CBC=y
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_CTS is not set
# CONFIG_CRYPTO_ECB is not set
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_XTS is not set

#
# Hash modes
#
# CONFIG_CRYPTO_HMAC is not set
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_VMAC is not set

#
# Digest
#
CONFIG_CRYPTO_CRC32C=y
# CONFIG_CRYPTO_GHASH is not set
# CONFIG_CRYPTO_MD4 is not set
CONFIG_CRYPTO_MD5=y
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_RMD128 is not set
# CONFIG_CRYPTO_RMD160 is not set
# CONFIG_CRYPTO_RMD256 is not set
# CONFIG_CRYPTO_RMD320 is not set
# CONFIG_CRYPTO_SHA1 is not set
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_WP512 is not set

#
# Ciphers
#
CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_ANUBIS is not set
# CONFIG_CRYPTO_ARC4 is not set
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
CONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_TWOFISH is not set

#
# Compression
#
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_ZLIB is not set
# CONFIG_CRYPTO_LZO is not set

#
# Random Number Generation
#
CONFIG_CRYPTO_ANSI_CPRNG=y
# CONFIG_CRYPTO_USER_API_HASH is not set
# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
CONFIG_CRYPTO_HW=y
# CONFIG_BINARY_PRINTF is not set

#
# Library routines
#
CONFIG_BITREVERSE=y
CONFIG_GENERIC_PCI_IOMAP=y
CONFIG_GENERIC_IO=y
# CONFIG_CRC_CCITT is not set
CONFIG_CRC16=y
# CONFIG_CRC_T10DIF is not set
# CONFIG_CRC_ITU_T is not set
CONFIG_CRC32=y
# CONFIG_CRC32_SELFTEST is not set
CONFIG_CRC32_SLICEBY8=y
# CONFIG_CRC32_SLICEBY4 is not set
# CONFIG_CRC32_SARWATE is not set
# CONFIG_CRC32_BIT is not set
# CONFIG_CRC7 is not set
# CONFIG_LIBCRC32C is not set
# CONFIG_CRC8 is not set
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_XZ_DEC=y
CONFIG_XZ_DEC_X86=y
CONFIG_XZ_DEC_POWERPC=y
CONFIG_XZ_DEC_IA64=y
CONFIG_XZ_DEC_ARM=y
CONFIG_XZ_DEC_ARMTHUMB=y
CONFIG_XZ_DEC_SPARC=y
CONFIG_XZ_DEC_BCJ=y
# CONFIG_XZ_DEC_TEST is not set
CONFIG_DECOMPRESS_GZIP=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_DMA=y
CONFIG_DQL=y
CONFIG_NLATTR=y
# CONFIG_AVERAGE is not set
# CONFIG_CORDIC is not set
# CONFIG_DDR is not set

[-- Attachment #3: Type: text/plain, Size: 126 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

end of thread, other threads:[~2012-08-08 13:47 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-30 15:19 [questions] Dom0/DomU on ARM under Xen Alexey Klimov
2012-07-31  7:43 ` Ian Campbell
2012-07-31 11:59 ` Stefano Stabellini
2012-07-31 13:19   ` Ian Campbell
2012-08-01 16:32   ` Alexey Klimov
2012-08-08 10:36     ` Alexey Klimov
2012-08-08 13:47       ` Stefano Stabellini

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).