]> code.ossystems Code Review - openembedded-core.git/commit
qemuarm: Disable highmem when QB_MACHINE is virt
authorKhem Raj <raj.khem@gmail.com>
Thu, 13 Feb 2020 08:21:50 +0000 (00:21 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Feb 2020 13:03:16 +0000 (13:03 +0000)
commit4486f4523f6671841ffa65ce2419b9e3e018ad76
treee932a08ffbdca7aaf7ebfae17527ddb182c2ecbf
parentef24a545d11febb96d1c0f02c60d9701295ef592
qemuarm: Disable highmem when QB_MACHINE is virt

running ptests on qemuarm returns fails since it finds errors in kernel
logs like below

***********************
Central error: [    4.338465] pci-host-generic 4010000000.pcie: ECAM ioremap failed
***********************

Since its a 32bit kernel 4010000000 address is truncated to 10000000 and ends up
in conflicts with VIRT_PCIE_MMIO, which ranges from 0x10000000 to 0x3efeffff

This is happening because the linux-yocto kernel is not compiled with
LPAE support, however, virt machine for qemuarm assumes that by default

Should LPAE be enabled by default in kernel config is a separate
question

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/machine/qemuarm.conf