On 10.02.21 14:31, Jan Kiszka wrote:
> On 10.02.21 12:15, Sainz Markel wrote:
>> On 08.02.21 12:24, Kizska Jan wrote:
>>
>>> Something may have caused a subpage MMIO region to be created 
>>> (page-unaligned memory region). If that region split-up didn't exist in the 
>>> root cell already, things will fail. But I suspect that subpage is rather a 
>>> symptom, not the >cause.
>>
>>> Where there any compiler warnings when building the config? I would also 
>>> recommend checking our configs via "jailhouse config check root.cell 
>>> cell1.cell cell2.cell ...". Or share what you created.
>>
>>> Jan
>>
>>> --
>>> Siemens AG, T RDA IOT
>>> Corporate Competence Center Embedded Linux
>>
>> There are no warning during compilation and jailhouse config check command 
>> says it is everything correct. 
>>
>> #jailhouse config check sysconfig.cell core1-cell.cell core2-cell.cell 
>> core3-cell.cell core4-cell.cell core5-cell.cell 
>>   Reading configuration set:
>>   Root cell:     RootCell (sysconfig.cell)
>>   Non-root cell: core1-cell (core1-cell.cell)
>>   Non-root cell: core2-cell (core2-cell.cell)
>>   Non-root cell: core3-cell (core3-cell.cell)
>>   Non-root cell: core4-cell (core4-cell.cell)
>>   Non-root cell: core5-cell (core5-cell.cell)
>> Overlapping memory regions inside cell: None
>> Overlapping memory regions with hypervisor: None
>> Missing PCI MMCONFIG interceptions: None
>> Missing IOMMU interceptions: None
>> Missing resource interceptions for architecture x86: None
>>
>> Attached to the mail the cell files I'm using. The .bin file is the same as 
>> for apic-demo.
>>
> 
> Just looking at core1-cell.c reveals that you are neither aligning on
> physical page boundaries for the base nor using page-aligned sizes. So
> it is like I predicted. And it is NOT a simple copy of apic-demo.c.
> 

...and we should likely enhance jailhouse-config-check to catch also
this case.

Jan

-- 
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/c429c272-3ae2-cdaa-6b0a-96f5bbbe6c1c%40siemens.com.

Reply via email to