Re: [Xen-devel] Dom0 kernel panic when porting xen to new arm soc

2015-06-26 Thread Julien Grall
On 25/06/2015 16:09, Peng Fan wrote: Hi Julien, Hi, On 6/23/2015 9:56 PM, Peng Fan wrote: Hi, On 6/23/2015 9:36 PM, Julien Grall wrote: Hi, On 23/06/15 14:03, Peng Fan wrote: I did not enable LPAE for DOM0 kernel, use shor page table. Following is the full log from uboot to kernel with

Re: [Xen-devel] Dom0 kernel panic when porting xen to new arm soc

2015-06-25 Thread Peng Fan
Hi Julien, On 6/23/2015 9:56 PM, Peng Fan wrote: > Hi, > > On 6/23/2015 9:36 PM, Julien Grall wrote: >> Hi, >> >> On 23/06/15 14:03, Peng Fan wrote: >>> I did not enable LPAE for DOM0 kernel, use shor page table. >>> Following is the full log from uboot to kernel with DOM0 512M: >> >> Which CONFI

Re: [Xen-devel] Dom0 kernel panic when porting xen to new arm soc

2015-06-23 Thread Peng Fan
Hi, On 6/23/2015 9:36 PM, Julien Grall wrote: > Hi, > > On 23/06/15 14:03, Peng Fan wrote: >> I did not enable LPAE for DOM0 kernel, use shor page table. >> Following is the full log from uboot to kernel with DOM0 512M: > > Which CONFIG_VMSPLIT_* do you use? Can you try to use another one? I > r

Re: [Xen-devel] Dom0 kernel panic when porting xen to new arm soc

2015-06-23 Thread Julien Grall
Hi, On 23/06/15 14:03, Peng Fan wrote: > I did not enable LPAE for DOM0 kernel, use shor page table. > Following is the full log from uboot to kernel with DOM0 512M: Which CONFIG_VMSPLIT_* do you use? Can you try to use another one? I remembered it had some effect on the offset between physical a

Re: [Xen-devel] Dom0 kernel panic when porting xen to new arm soc

2015-06-23 Thread Peng Fan
On 6/22/2015 10:02 PM, Julien Grall wrote: > On 22/06/15 12:17, Peng Fan wrote: >> I add debug log in this piece of code: >> void __init sanity_check_meminfo(void) >> >> { >> >> phys_addr_t memblock_limit = 0; >> int i, j, highmem = 0; >> phys_addr_t vmalloc_limit = __pa(vmalloc_min - 1) + 1; >>

Re: [Xen-devel] Dom0 kernel panic when porting xen to new arm soc

2015-06-22 Thread Julien Grall
On 22/06/15 12:17, Peng Fan wrote: > I add debug log in this piece of code: > void __init sanity_check_meminfo(void) > > { > > phys_addr_t memblock_limit = 0; > int i, j, highmem = 0; > phys_addr_t vmalloc_limit = __pa(vmalloc_min - 1) + 1; > > > printk("vmalloc_min virt %x phys %x\n", vmalloc_

Re: [Xen-devel] Dom0 kernel panic when porting xen to new arm soc

2015-06-22 Thread Peng Fan
On 6/22/2015 6:20 PM, Julien Grall wrote: > On 20/06/15 15:47, Peng Fan wrote: >> On 6/20/2015 10:08 PM, Peng Fan wrote: >>> Hi Julien, >>> >>> On 6/20/2015 6:19 PM, Julien Grall wrote: Hi, On 19/06/2015 14:22, Peng Fan wrote: > diff --git a/kernel/timer.c b/kernel/timer.c

Re: [Xen-devel] Dom0 kernel panic when porting xen to new arm soc

2015-06-22 Thread Julien Grall
On 20/06/15 15:47, Peng Fan wrote: > On 6/20/2015 10:08 PM, Peng Fan wrote: >> Hi Julien, >> >> On 6/20/2015 6:19 PM, Julien Grall wrote: >>> Hi, >>> >>> On 19/06/2015 14:22, Peng Fan wrote: diff --git a/kernel/timer.c b/kernel/timer.c index 38f0d40..4a025cc 100644 --- a/kernel/timer

Re: [Xen-devel] Dom0 kernel panic when porting xen to new arm soc

2015-06-20 Thread Peng Fan
Hi On 6/20/2015 10:08 PM, Peng Fan wrote: > Hi Julien, > > On 6/20/2015 6:19 PM, Julien Grall wrote: >> Hi, >> >> On 19/06/2015 14:22, Peng Fan wrote: >>> diff --git a/kernel/timer.c b/kernel/timer.c >>> index 38f0d40..4a025cc 100644 >>> --- a/kernel/timer.c >>> +++ b/kernel/timer.c >>> @@ -1175,

Re: [Xen-devel] Dom0 kernel panic when porting xen to new arm soc

2015-06-20 Thread Peng Fan
Hi Julien, On 6/20/2015 6:19 PM, Julien Grall wrote: > Hi, > > On 19/06/2015 14:22, Peng Fan wrote: >> diff --git a/kernel/timer.c b/kernel/timer.c >> index 38f0d40..4a025cc 100644 >> --- a/kernel/timer.c >> +++ b/kernel/timer.c >> @@ -1175,6 +1175,10 @@ static inline void __run_timers(struct tvec

Re: [Xen-devel] Dom0 kernel panic when porting xen to new arm soc

2015-06-20 Thread Julien Grall
Hi, On 19/06/2015 14:22, Peng Fan wrote: diff --git a/kernel/timer.c b/kernel/timer.c index 38f0d40..4a025cc 100644 --- a/kernel/timer.c +++ b/kernel/timer.c @@ -1175,6 +1175,10 @@ static inline void __run_timers(struct tvec_base *base) base->running_timer = timer;

Re: [Xen-devel] Dom0 kernel panic when porting xen to new arm soc

2015-06-19 Thread Peng Fan
Hi, On 6/18/2015 10:54 PM, Ian Campbell wrote: On Thu, 2015-06-18 at 22:09 +0800, Peng Fan wrote: Hi, I am porting xen to an Cortex-A7 soc and met Dom0 kernel panic. I have no clear idea about why Dom0 kernel panic. Have you confirmed that this same kernel runs reliably natively on this plat

Re: [Xen-devel] Dom0 kernel panic when porting xen to new arm soc

2015-06-18 Thread Ian Campbell
On Thu, 2015-06-18 at 22:09 +0800, Peng Fan wrote: > Hi, > > I am porting xen to an Cortex-A7 soc and met Dom0 kernel panic. I have > no clear idea about why Dom0 kernel panic. Have you confirmed that this same kernel runs reliably natively on this platform? [...] > / # Unable to handle kernel

Re: [Xen-devel] Dom0 kernel panic when porting xen to new arm soc

2015-06-18 Thread Julien Grall
On 18/06/15 15:09, Peng Fan wrote: > Hi, Hi, > /bin/sh: can't access tty; job control turned off > / # mmcblk2: p1 p2 > mmcblk2boot1: unknown partition table > mmcblk2boot0: unknown partition table > (XEN) imx-uart.c:72: uart: rxfifo overrun It seems that you ported a new UART driver. My feelin