[OpenWrt-Devel] [PATCH 1/7] tegra: add new target
Hauke Mehrtens
hauke at hauke-m.de
Wed Mar 27 16:43:06 EDT 2019
On 3/27/19 9:31 PM, Christian Lamparter wrote:
> On Wednesday, March 27, 2019 3:07:58 PM CET Tomasz Maciej Nowak wrote:
>> Hi Hauke,
>>
>> W dniu 25.03.2019 o 23:39, Hauke Mehrtens pisze:
>>> Hi Tomasz,
>>>
>>> Soke small comments, this looks mostly ok.
>>>
>> [snip]
>>>> +# CONFIG_ARM_LPAE is not set
>>>
>>> Is LPAE not supported by your SoC? This is needed for KVM support, but
>>> not all CPUs support this.
>>
>> Not really sure, seems it should be enabled for all ARM v7, it was disabled
>> in tegra_defconfig. Enabling this shouldn't do any harm, will test this.
>
> Hm, quick FYI: KVM on ARM needs all CPUs to be in Hypervisor Mode.
> You can check this by looking in your dmesg:
>
> if it says:
> [ 0.005874] CPU: All CPU(s) started in HYP mode.
> Then yes: LPAE would be great.
>
> But if it says:
> [ 0.005306] CPU: All CPU(s) started in SVC mode.
> then you probably don't need LPAE since KVM is not an option.
We activated this accidentally for all sunxi SoCs, but the older SoCs
didn't support it and they didn't boot any more because this option was
activated, now it is only activated for the cortex A7 and cortex A53
subtarget.
Hauke
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list