public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: U.Mutlu <for-gmane@mutluit.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [linux-sunxi] [PATCH] ARM: HYP/non-sec: Don't enable ARMV7_LPAE for old sunxi kernels
Date: Fri, 12 Apr 2019 22:56:14 +0200	[thread overview]
Message-ID: <q8qu1e$3kem$1@blaine.gmane.org> (raw)
In-Reply-To: <41614e0e1699d7a7@bloch.sibelius.xs4all.nl>

Mark Kettenis wrote on 04/12/2019 03:03 PM:
>> From: Jagan Teki <jagan@amarulasolutions.com>
>> Date: Fri, 12 Apr 2019 12:02:06 +0530
>>
>> On Fri, Mar 22, 2019 at 2:31 AM Jonathan Liu <net147@gmail.com> wrote:
>>>
>>> Hi Jagan,
>>>
>>> On Fri., 22 Mar. 2019 at 4:05 am, Jagan Teki <jagan@amarulasolutions.com> wrote:
>>>>
>>>> On Tue, Mar 19, 2019 at 11:09 AM Jonathan Liu <net147@gmail.com> 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

      reply	other threads:[~2019-04-12 20:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-19  5:40 [U-Boot] [PATCH] ARM: HYP/non-sec: Don't enable ARMV7_LPAE for old sunxi kernels Jonathan Liu
2019-03-21 17:05 ` [U-Boot] [linux-sunxi] " Jagan Teki
2019-03-21 21:01   ` Jonathan Liu
2019-04-12  6:32     ` Jagan Teki
2019-04-12 13:03       ` Mark Kettenis
2019-04-12 20:56         ` U.Mutlu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='q8qu1e$3kem$1@blaine.gmane.org' \
    --to=for-gmane@mutluit.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox