All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@arm.com>
To: Amit Tomer <amittomer25@gmail.com>
Cc: Oleksandr <olekstysh@gmail.com>,
	xen-devel@lists.xenproject.org, andrii_chepurnyi@epam.com
Subject: Re: XEN on R-CAR H3
Date: Wed, 27 Feb 2019 11:00:39 +0000	[thread overview]
Message-ID: <cc8b6304-13b7-6387-8ac9-d306fd38d5e0@arm.com> (raw)
In-Reply-To: <CABHD4K9CKxtoO-k4KapNTodKHJT1Z-yoQWjhqMXwFPaUgSLtdA@mail.gmail.com>

Hi Amit,

On 2/21/19 6:15 PM, Amit Tomer wrote:
> Hi,
> 
>> diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c
>> index d9836779d1..08b9cd2c44 100644
>> --- a/xen/arch/arm/domain_build.c
>> +++ b/xen/arch/arm/domain_build.c
>> @@ -1805,6 +1805,8 @@ static void __init dtb_load(struct kernel_info *kinfo)
>>       printk("Loading dom0 DTB to 0x%"PRIpaddr"-0x%"PRIpaddr"\n",
>>              kinfo->dtb_paddr, kinfo->dtb_paddr + fdt_totalsize(kinfo->fdt));
>>
>> +    dump_p2m_lookup(kinfo->d, kinfo->dtb_paddr);
>> +
>>       left = copy_to_guest_phys_flush_dcache(kinfo->d, kinfo->dtb_paddr,
>>                                              kinfo->fdt,
>>                                              fdt_totalsize(kinfo->fdt));
>>
> Please find the logs after applying this patch:
> 
> (XEN) CPU2 will call ARM_SMCCC_ARCH_WORKAROUND_1 on exception entry
> (XEN) *** LOADING DOMAIN 0 ***
> (XEN) Loading Domd0 kernel from boot module @ 000000007a000000
> (XEN) Allocating 1:1 mappings totalling 512MB for dom0:
> (XEN) BANK[0] 0x00000050000000-0x00000070000000 (512MB)
> (XEN) Grant table range: 0x00000048000000-0x00000048040000
> (XEN) Allocating PPI 16 for event channel interrupt
> (XEN) Loading zImage from 000000007a000000 to 0000000050080000-0000000051880000
> (XEN) Loading dom0 DTB to 0x0000000058000000-0x0000000058010a44
> (XEN) dom0 IPA 0x0000000058000000
> (XEN) P2M @ 000000080c23dc90 mfn:0x73ff5e
> (XEN) 0TH[0x0] = 0x008000073ff5c7ff
> (XEN) 1ST[0x1] = 0x008000073ff3d7ff
> (XEN) 2ND[0xc0] = 0x02c00000580006fd

Thank you for giving a try! The p2m type for the entry is p2m_mmio_direct_c.

This confirms the finding on the other threads. I would suggest you to 
remove the reserved-memory nodes until Xen gain knowledge of reserved 
memory.

FIY, Stefano has posted a patch series yesterday aiming to solve this 
issues.

Cheers,

-- 
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

      reply	other threads:[~2019-02-27 11:00 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-06 14:41 XEN on R-CAR H3 Amit Tomer
2019-02-06 15:03 ` Oleksandr
2019-02-06 15:18   ` Amit Tomer
2019-02-08 18:21     ` Amit Tomer
2019-02-09 16:48       ` Oleksandr
2019-02-15 14:17         ` Amit Tomer
2019-02-15 19:51           ` Oleksandr
2019-02-18 12:53             ` Amit Tomer
2019-02-18 20:00               ` Oleksandr
2019-02-19 16:46                 ` Amit Tomer
2019-02-20 18:13                   ` Oleksandr
2019-02-20 18:31                     ` Amit Tomer
2019-02-20 20:13                   ` Julien Grall
2019-02-20 21:28                     ` Oleksandr Tyshchenko
2019-02-21 10:11                       ` Julien Grall
2019-02-21 19:28                         ` Oleksandr
2019-02-25 14:43                           ` Oleksandr
2019-02-25 23:23                             ` Julien Grall
2019-02-26 18:09                               ` Oleksandr
2019-02-21 18:20                       ` Amit Tomer
2019-02-21 18:44                         ` Oleksandr
2019-02-22 19:15                           ` Oleksandr
2019-02-22 20:08                             ` Amit Tomer
2019-02-23 13:05                               ` Amit Tomer
2019-02-25 13:12                                 ` Oleksandr
2019-02-27 20:03                                   ` Oleksandr
2019-03-05 16:50                                     ` Amit Tomer
2019-03-05 18:07                                       ` Oleksandr
2019-03-05 18:10                                         ` Amit Tomer
2019-03-05 19:40                                           ` Oleksandr
2019-03-13 12:41                                             ` Amit Tomer
2019-03-15 18:50                                               ` Oleksandr
2019-02-21 18:15                     ` Amit Tomer
2019-02-27 11:00                       ` Julien Grall [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=cc8b6304-13b7-6387-8ac9-d306fd38d5e0@arm.com \
    --to=julien.grall@arm.com \
    --cc=amittomer25@gmail.com \
    --cc=andrii_chepurnyi@epam.com \
    --cc=olekstysh@gmail.com \
    --cc=xen-devel@lists.xenproject.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.