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

Re: [Xen-devel] [XEN][ARM64] PV DRM failing to convert virtual to physical address



Hello, Vikram!

First of all what makes you think this is related to PV DRM?

Please see inline for more comments

Thank you,

Oleksandr

On 12/18/18 7:26 AM, Vikram K wrote:
Hello,

When PV DRM is enabled and Domain-U is started xen is not able to converted virtual address to physical. Please provide input on resolving this issue.

Please find the details below.

  * We are using 64 bit arm platform.
  * Linux 4.20 Kernel in DomU with PV DRM front-end drivers.

Do you have [1] enabled in your DomD kernel?

  * Xen-4.12 unstable version.

We never tested PV DRM with 4.12 so far, did you try with 4.10 for example?

This is where we are at the moment and have all PV drivers running smoothly

  * Able to build displ_be application and also its dependencies.

Added below configuration in Domain-U config file.*|
|*
*|vdispl = [ 'backend=DomD,be-alloc=0,connectors=HDMI-A-1:1920x1080']|*

Do you really have DomD as your configuration says?

Not Dom0 running the backend?

Before launching the application ran the displ_be application in the background.
 $ displ_be -m DRM -v *:Debug
Please add display backend logs

Started Domain-U.
$ xl create -c debian.cfg

Could you please build the PV DRM driver as module,

then run the following commands:

echo 0xff > /sys/module/drm/parameters/debug
echo 8 > /proc/sys/kernel/printk

and get back with DRM logs in DomU?

Getting below logs.
Welcome to Debian GNU/Linux 9 (stretch)!

(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c050 flags=0x1 par=0x809
[    2.601162] systemd[1]: Set hostname to <hikey960>.
[    2.613526] random: systemd: uninitialized urandom read (16 bytes re(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c05f flags=0x1 par=0x809
ad)
(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c05f flags=0x1 par=0x809 (XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c050 flags=0x1 par=0x809 (XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c05f flags=0x1 par=0x809

[snip]


--
Thanks & Regards
Vikram KS

This message contains confidential information and is intended only for the individual(s) named.If you are not the intended recipient, you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this mail and attached file/s is strictly prohibited. Please notify the sender immediately and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
[1] https://elixir.bootlin.com/linux/v4.20-rc7/source/drivers/xen/Kconfig#L175

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

 


Rackspace

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