Re: [U-Boot] [linux-sunxi] [PATCH] ARM: HYP/non-sec: Don't enable ARMV7_LPAE for old sunxi kernels

2019-04-12 Thread U.Mutlu

Mark Kettenis wrote on 04/12/2019 03:03 PM:

From: Jagan Teki 
Date: Fri, 12 Apr 2019 12:02:06 +0530

On Fri, Mar 22, 2019 at 2:31 AM Jonathan Liu  wrote:


Hi Jagan,

On Fri., 22 Mar. 2019 at 4:05 am, Jagan Teki  wrote:


On Tue, Mar 19, 2019 at 11:09 AM Jonathan Liu  wrote:


Old sunxi kernels fail to boot with ARMV7_LPAE enabled.


Any idea why? I don't have relevant stuff with to test this.


I don't know why. It failed to boot linux-sunxi 3.4.104 kernel on A20 OLinuXino-MICRO 
after updating from 2018.07 to 2018.09-rc1 and would hang at "Starting 
kernel...".

I bisected the issue to:
https://git.denx.de/?p=u-boot.git;a=commit;h=d32e86bde8a31a49cf4a9b233ad91ecdfc96ba2a

No problems booting mainline kernel.


Can you update full details of bug on the commit message.


Technically I think the right thing to do would be disabling
ARMV7_VIRT as my understanding is that booting into HYP mode doesn't
work without LPAE support.


Some days ago I tried to disable HYP mode for SVC mode.
But with SVC the PSCI is not loading (u-boot bug?), and without PSCI
only the 1st core of the CPU gets used. I had documented the case here:
https://lists.denx.de/pipermail/u-boot/2019-April/364192.html



___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [linux-sunxi] [PATCH] ARM: HYP/non-sec: Don't enable ARMV7_LPAE for old sunxi kernels

2019-04-12 Thread Mark Kettenis
> From: Jagan Teki 
> Date: Fri, 12 Apr 2019 12:02:06 +0530
> 
> On Fri, Mar 22, 2019 at 2:31 AM Jonathan Liu  wrote:
> >
> > Hi Jagan,
> >
> > On Fri., 22 Mar. 2019 at 4:05 am, Jagan Teki  
> > wrote:
> >>
> >> On Tue, Mar 19, 2019 at 11:09 AM Jonathan Liu  wrote:
> >> >
> >> > Old sunxi kernels fail to boot with ARMV7_LPAE enabled.
> >>
> >> Any idea why? I don't have relevant stuff with to test this.
> >
> > I don't know why. It failed to boot linux-sunxi 3.4.104 kernel on A20 
> > OLinuXino-MICRO after updating from 2018.07 to 2018.09-rc1 and would hang 
> > at "Starting kernel...".
> >
> > I bisected the issue to:
> > https://git.denx.de/?p=u-boot.git;a=commit;h=d32e86bde8a31a49cf4a9b233ad91ecdfc96ba2a
> >
> > No problems booting mainline kernel.
> 
> Can you update full details of bug on the commit message.

Technically I think the right thing to do would be disabling
ARMV7_VIRT as my understanding is that booting into HYP mode doesn't
work without LPAE support.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [linux-sunxi] [PATCH] ARM: HYP/non-sec: Don't enable ARMV7_LPAE for old sunxi kernels

2019-04-12 Thread Jagan Teki
On Fri, Mar 22, 2019 at 2:31 AM Jonathan Liu  wrote:
>
> Hi Jagan,
>
> On Fri., 22 Mar. 2019 at 4:05 am, Jagan Teki  
> wrote:
>>
>> On Tue, Mar 19, 2019 at 11:09 AM Jonathan Liu  wrote:
>> >
>> > Old sunxi kernels fail to boot with ARMV7_LPAE enabled.
>>
>> Any idea why? I don't have relevant stuff with to test this.
>
> I don't know why. It failed to boot linux-sunxi 3.4.104 kernel on A20 
> OLinuXino-MICRO after updating from 2018.07 to 2018.09-rc1 and would hang at 
> "Starting kernel...".
>
> I bisected the issue to:
> https://git.denx.de/?p=u-boot.git;a=commit;h=d32e86bde8a31a49cf4a9b233ad91ecdfc96ba2a
>
> No problems booting mainline kernel.

Can you update full details of bug on the commit message.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [linux-sunxi] [PATCH] ARM: HYP/non-sec: Don't enable ARMV7_LPAE for old sunxi kernels

2019-03-21 Thread Jonathan Liu
Hi Jagan,

On Fri., 22 Mar. 2019 at 4:05 am, Jagan Teki 
wrote:

> On Tue, Mar 19, 2019 at 11:09 AM Jonathan Liu  wrote:
> >
> > Old sunxi kernels fail to boot with ARMV7_LPAE enabled.
>
> Any idea why? I don't have relevant stuff with to test this.
>
I don't know why. It failed to boot linux-sunxi 3.4.104 kernel on A20
OLinuXino-MICRO after updating from 2018.07 to 2018.09-rc1 and would hang
at "Starting kernel...".

I bisected the issue to:
https://git.denx.de/?p=u-boot.git;a=commit;h=d32e86bde8a31a49cf4a9b233ad91ecdfc96ba2a

No problems booting mainline kernel.

Thanks.

Regards,
Jonathan
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [linux-sunxi] [PATCH] ARM: HYP/non-sec: Don't enable ARMV7_LPAE for old sunxi kernels

2019-03-21 Thread Jagan Teki
On Tue, Mar 19, 2019 at 11:09 AM Jonathan Liu  wrote:
>
> Old sunxi kernels fail to boot with ARMV7_LPAE enabled.

Any idea why? I don't have relevant stuff with to test this.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot