[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XEN/ARM Cortex-A72: Unable to copy the kernel in the hwdom memory


  • To: Julien Grall <julien@xxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxxx>, Leo Krueger <leo.krueger@xxxxxxxx>
  • From: Anda-alexandra Dorneanu <anda-alexandra.dorneanu@xxxxxxx>
  • Date: Thu, 19 Nov 2020 13:30:54 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=e7rYp+a87fC6tAwH3PIeNiJpYLv0QlCUB6hn9y8NC8E=; b=OHAiSsKSpH/0p/uvqG/L42sADNCpFeNQdOk1ob6Lrjjz2qyJ1VHg5nFDyc5cg9QKEZ/CmhVE1667u5uKu/OsWNsoBtTRps7n3fZEQeyGCt96P/6+2cs+477Wk4Ebzl2/cROjGopUJQkUWrTgQmQq+gz+JZJTopm3SWSU+uPMtk8alpGhTHZS1yIzk2TVgKh/qgPNbvKOo3TZcJ3rWv8vE+pG1a8ddjhdVGBD9FmdNyDuXrnnwY3n89C5GQf4/UwL1PTba0c9CQeIbPj24PHCVcwZ5wJaSgWRPY6HCInXqjeyXY/1Pjo38w5f1jfnuTjkSRltbTkHj57BqKkJAOI0TA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aaySYGWk6seUy+q8Q8k/qq+D7YC0hfqZJRrAaxHT/XomLabkcDrrr+sJDzKZE/3GRL/YFQjHXovToUSPDbi2MUm8tjZKMMSHVw+gv0eD+rUeQEs8c28voRmmIZls2pF8xc3N0vQssJlmFeuoMXDTlnaoxbYZVjSB/LIKFFIuJv98TdLMscf+/+44JlsJE1UYRdpHYu29N68UAKImxQR/d3dULNhrMMGbeXp7DUtvQSb4fWsSNaGgdP3cOFdhe66UIsZQhcTZzkGp7pJk4pg8ifZThDpplIZhLVBdeHriEP/KqTK0dVqhr9EGuBYMoaGcmRIVXoQ/b5HonkiKnRcYhQ==
  • Authentication-results: xen.org; dkim=none (message not signed) header.d=none;xen.org; dmarc=none action=none header.from=nxp.com;
  • Cc: Laurentiu Tudor <laurentiu.tudor@xxxxxxx>
  • Delivery-date: Thu, 19 Nov 2020 13:31:54 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>
  • Thread-index: Ada+d/nLk2/5WIghRL2wH9KJnqbtRg==
  • Thread-topic: XEN/ARM Cortex-A72: Unable to copy the kernel in the hwdom memory

> On 18/11/2020 14:56, Anda-alexandra Dorneanu wrote:
>> Hi Leo,
>
> Hi,
>
> I think you forgot to CC Leo :).

Yes, my bad.

>>> I am trying to set up XEN on a ARM Cortex-A72 (NXP LS1028A) and running 
>>> into some problems here.
>>> While some of them I could solve on my own, the following error is hard for 
>>> me to understand and solve.
>>> I would be grateful for some hints e.g. about some specific nodes in the 
>>> device tree that I might need to take care of.
>>>
>>> (XEN) *** LOADING DOMAIN 0 ***
>>> (XEN) Loading Domd0 kernel from boot module @ 0000000081200000
>>> (XEN) Allocating 1:1 mappings totalling 512MB for dom0:
>>> (XEN) BANK[0] 0x000000c0000000-0x000000e0000000 (512MB)
>>> (XEN) Grant table range: 0x00000081000000-0x00000081040000
>>> (XEN) Allocating PPI 16 for event channel interrupt
>>> (XEN) Loading zImage from 0000000081200000 to 
>>> 00000000c0080000-00000000c1597008
>>> (XEN)
>>> (XEN) ****************************************
>>> (XEN) Panic on CPU 0:
>>> (XEN) Unable to copy the kernel in the hwdom memory
>>> (XEN) ****************************************
>>>
>>> For me, the memory ranges given look good. Or is there something here I 
>>> overlooked?
>>>
>>> My XEN boot arguments: "console=dtuart dtuart=serial0 dom0_mem=512M 
>>> dom0_max_vcpus=1 bootscrub=0 vwfi=native sched=null"
>>> Full boot log is attached (does this work here?).
>>> If anything else is needed to at least make a best guess what the problem 
>>> is, let me know.
>>>
>>> I would really appreciate the help!
>>> Thanks & best regards,
>>> Leo
>>
>> I encountered the same issue. A possible workaround is to remove the gpu 
>> node from the dts.
>> The issue occurs due to the entire low memory bank being reserved for this 
>> device.
>
> Xen 4.12 and onwards should be able to discover reserved memory regions.
>
> How are the regions described in the device-tree?
>

There's a known issue with the GPU on our side and we're working on it. At the 
moment we recommend to apply this workaround.

Best regards,
Anda

> Cheers,
>
> --
> Julien Grall

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.