[XEN][ARM64] PV DRM failing to convert virtual to physical address

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[XEN][ARM64] PV DRM failing to convert virtual to physical address

Vikram K
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.
  • Xen-4.12 unstable version.
  • 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']

Before launching the application ran the displ_be application in the background.
 $ displ_be -m DRM -v *:Debug

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

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
(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
(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
(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
(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
(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
(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
(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
(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
[    3.006492] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    3.007179] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[    3.007477] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    3.007742] systemd[1]: Listening on LVM2 metadata daemon socket.
[  OK  ] Listening on LVM2 metadata daemon socket.
[    3.007966] systemd[1]: Listening on Device-mapper event daemon FIFOs.
[  OK  ] Listening on Device-mapper event daemon FIFOs.
[    3.008161] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[  OK  ] Listening on Journal Audit Socket.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Created slice System Slice.
         Starting Remount Root and Kernel File Systems...
         Starting Monitoring of LVM2 mirrors…ng dmeventd or progress polling...
[(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df8305f flags=0x1 par=0x809
  (XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df83050 flags=0x1 par=0x809
OK  ] Created slice system-serial\x2dgetty.slice.
         Mounting Huge Pages File System...
         Starting Uncomplic(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df8305f flags=0x1 par=0x809
ated firewall...
[  OK  ] Listening on LVM2 poll daemon socket.
         Starting Create Static Device Nodes in /d(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df8305f flags=0x1 par=0x809
ev(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df83050 flags=0x1 par=0x809
...
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[  OK  ](XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df8305f flags=0x1 par=0x809
 Reached target Swap.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Reac(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df8305f flags=0x1 par=0x809
he(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df83050 flags=0x1 par=0x809
d target Paths.
         Mounting Debug File System...
[  OK  ] Listening on udev Control Socket.
         Starti(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df8305f flags=0x1 par=0x809
ng Load Kernel Modules...
[  OK  ] Listening on Journal Socket (/dev/log).
         Starting Journal Service...
[(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df8305f flags=0x1 par=0x809
[  266.802137] mXEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df83050 flags=0x1 par=0x809
mcblk0: timed ou0;32m  OK  ] Created slice system-getty.slice.
         Mounting POSIX Message Queue File System...
[  OK  ] R(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df8305f flags=0x1 par=0x809
t sending r/w cmeached target User and Group Name Lookups.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Listenind command, card g status 0x900
on udev Kernel Socket.
[  OK  ] Mounted Debug File System.
[  OK  ] Mounted Huge Pages File System.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Uncomplicated firewall.
         Starting Load/Save Random Seed...
         Starting udev Coldplug all Devices...
[  OK  ] Started Load Kernel Modules.
         Starting Apply Kernel Variables...
         Mounting Configuration File System...
[  OK  ] Mounted Configuration File System.
[  OK  ] Started Journal Service.
         Starting Flush Journal to Persistent Storage...
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Started LVM2 metadata daemon.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started udev Cold[  266.934658] mplug all Devices.
mc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[  267.276187] dwmmc_k3 ff37f000.dwmmc1: Unexpected command timeout, state 7
[  267.288881] mmc_host mmc0: Bus speed (slot 0) = 200000000Hz (slot req 200000000Hz, actual 200000000HZ div = 0)
[  267.679850] dwmmc_k3 ff37f000.dwmmc1: tuning ok best_clksmpl 18 tuning_sample_flag cdfff9ff
[    4.249292] systemd-journald[1503]: Received request to flush runtime journal from PID 1
[  OK  ] Started Create Static Device Nodes in /dev.
         Starting udev Kernel Device Manager...
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started udev Kernel Device Manager.
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
[  OK  ] Started Monitoring of LVM2 mirrors,…sing dmeventd or progress polling.
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Local File Systems.
         (XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a050 flags=0x1 par=0x809
Starting Create Volatile Files and Directories...
         Starting ebtables ruleset management...
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
[  OK  ] Found device /dev/hvc0.
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
[  268.122975] m(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a050 flags=0x1 par=0x809
mcblk0: timed ou(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
t sending r/w cmd command, card status 0x900
[  268.222656] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[  268.452176] dwmmc_k3 ff37f000.dwmmc1: Unexpected command timeout, state 7
[  268.464809] mmc_host mmc0: Bus speed (slot 0) = 200000000Hz (slot req 200000000Hz, actual 200000000HZ div = 0)
[  268.855781] dwmmc_k3 ff37f000.dwmmc1: tuning ok best_clksmpl 18 tuning_sample_flag c9fff9ff
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
         Starting Network Time Synchronization...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
(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
(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
[  OK  ] Started ebtables ruleset management.
[  OK  ] Reached target Network (Pre).
         Starting Raise network interfaces...
[FAILED] Failed to start Raise network interfaces.
See 'systemctl status networking.service' for details.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v5: gvirt_to_maddr failed va=0xffff80003dfb105f flags=0x1 par=0x809
2m(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v5: gvirt_to_maddr failed va=0xffff80003dfb1050 flags=0x1 par=0x809
  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Basic System.
         Startin(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v5: gvirt_to_maddr failed va=0xffff80003dfb105f flags=0x1 par=0x809
g xendeamon.service...
         Starting Login Service...
(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v5: gvirt_to_maddr failed va=0xffff80003dfb105f flags=0x1 par=0x809
[  OK  ] Started Regular background program processing daemon.
         Starting Accounts Service...
         Star(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v5: gvirt_to_maddr failed va=0xffff80003dfb1050 flags=0x1 par=0x809
ting LSB: Speech Dispatcher...
         Starting LSB: Start/stop xen-watchdog...
         Starting LSB: Start/stop xenstored (XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v5: gvirt_to_maddr failed va=0xffff80003dfb105f flags=0x1 par=0x809
an(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c05f flags=0x1 par=0x809
d xenconsoled...
         Starting System Logging Service...
(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
(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
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Started D-Bus System Message Bus.
(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=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
(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
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
         Starting Network Manager...
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Daily apt download activities.
[  OK  ] Started Daily apt upgrade and clean activities.(XEN) p2m.c:1456: d2v1: gvirt_to_maddr failed va=0xffff80003df5505f flags=0x1 par=0x809

[  OK  ] Started Trigger anacron every hour.
[  OK  ] Reached target Timers.
[  OK  ] Star(XEN) p2m.c:1456: d2v1: gvirt_to_maddr failed va=0xffff80003df55050 flags=0x1 par=0x809
te(XEN) p2m.c:1456: d2v1: gvirt_to_maddr failed va=0xffff80003df5505f flags=0x1 par=0x809
d Run anacron jobs.
(XEN) p2m.c:1456: d2v1: gvirt_to_maddr failed va=0xffff80003df5505f flags=0x1 par=0x809
[  269.705640] m[  OK  ] Started System Logging Service.
(XEN) p2m.c:1456: d2v1: gvirt_to_maddr failed va=0xffff80003df55050 flags=0x1 par=0x809
mcblk0: timed ou(XEN) p2m.c:1456: d2v1: gvirt_to_maddr failed va=0xffff80003df5505f flags=0x1 par=0x809
t sending r/w cm[FAILED] Failed to start xendeamon.service.
See 'systemctl status xendeamon.service' for details.
d command, card [  OK  ] Started LSB: Start/stop xenstored and xenconsoled.
status 0x900
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
[  OK  ] Started Login Service.
(XEN) p2m.c:1456: d2v5: gvirt_to_maddr failed va=0xffff80003dfb105f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc8050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v5: gvirt_to_maddr failed va=0xffff80003dfb1050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v5: gvirt_to_maddr failed va=0xffff80003dfb105f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
         Starting LSB: Wrapper to start/stop secondary xen domains...
(XEN) p2m.c:1456: d2v5: gvirt_to_maddr failed va=0xffff80003dfb105f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc8050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v5: gvirt_to_maddr failed va=0xffff80003dfb1050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v5: gvirt_to_maddr failed va=0xffff80003dfb105f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
[  269.863692] m(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc8050 flags=0x1 par=0x809
mc_host mmc0: Bu(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
s speed (slot 0)(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
 = 400000Hz (slo(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc8050 flags=0x1 par=0x809
t req 400000Hz, (XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
actual 400000HZ div = 0)
[  270.140189] dwmmc_k3 ff37f000.dwmmc1: Unexpected command timeout, state 7
[  270.152889] mmc_host mmc0: Bus speed (slot 0) = 200000000Hz (slot req 200000000Hz, actual 200000000HZ div = 0)
[  270.543959] dwmmc_k3 ff37f000.dwmmc1: tuning ok best_clksmpl 18 tuning_sample_flag c9fff9ff
[  OK  ] Started LSB: Speech Dispatcher.
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc8050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc8050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc8050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
[  OK  ] Started LSB: Start/stop xen-watchdog.
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc8050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc8050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc8050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
[  OK  ] Started LSB: Wrapper to start/stop secondary xen domains.
         Starting Authorization Manager...
(XEN) p2m.c:1456: d2v0: gvirt_to_maddr failed va=0xffff80003df3e05f flags=0x1 par=0x809
[  OK  ] Started Authorization Manager.
(XEN) p2m.c:1456: d2v0: gvirt_to_maddr failed va=0xffff80003df3e050 flags=0x1 par=0x809
[  OK  ] Started Accounts Service.
(XEN) p2m.c:1456: d2v0: gvirt_to_maddr failed va=0xffff80003df3e05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v0: gvirt_to_maddr failed va=0xffff80003df3e05f flags=0x1 par=0x809
[  271.237540] m(XEN) p2m.c:1456: d2v0: gvirt_to_maddr failed va=0xffff80003df3e050 flags=0x1 par=0x809
mcblk0: timed ou(XEN) p2m.c:1456: d2v0: gvirt_to_maddr failed va=0xffff80003df3e05f flags=0x1 par=0x809
t sending r/w cmd command, card status 0x900
[  271.334639] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[  271.564175] dwmmc_k3 ff37f000.dwmmc1: Unexpected command timeout, state 7
[  271.576795] mmc_host mmc0: Bus speed (slot 0) = 200000000Hz (slot req 200000000Hz, actual 200000000HZ div = 0)
[  271.967997] dwmmc_k3 ff37f000.dwmmc1: tuning ok best_clksmpl 18 tuning_sample_flag c9fff9ff
[  OK  ] Started Network Manager.
         Starting Network Manager Wait Online...
[  OK  ] Reached target Network.
[  OK  ] Started Unattended Upgrades Shutdown.
         Starting Permit User Sessions...
         Starting OpenBSD Secure Shell server...
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Getty on tty1.
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
[  OK  ] Started Serial Getty on hvc0.
[  OK  ] Reached target Login Prompts.
         Starting Light D(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc8050 flags=0x1 par=0x809
isplay Manager...
         Starting Network Manager Script Dispatcher Service...
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v5: gvirt_to_maddr failed va=0xffff80003dfb105f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc8050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v5: gvirt_to_maddr failed va=0xffff80003dfb1050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v5: gvirt_to_maddr failed va=0xffff80003dfb105f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v5: gvirt_to_maddr failed va=0xffff80003dfb105f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf05f flags=0x1 par=0x809
[  OK  ] Started Network Manager Script Dispatcher Service.
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc8050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v5: gvirt_to_maddr failed va=0xffff80003dfb1050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v5: gvirt_to_maddr failed va=0xffff80003dfb105f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
[  OK  ] Started OpenBSD Secure Shell server.
(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df8305f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc8050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df83050 flags=0x1 par=0x809
[  OK  ] Started Light Display Manager.
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df8305f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df8305f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df83050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df8305f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df8305f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df83050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df8305f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df8305f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df83050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80003df8305f flags=0x1 par=0x809
[  OK  ] Stopped Light Display Manager.
         Starting Light Display Manager...
         Starting Hostname Service...
[  OK  ] Started Light Display Manager.
[  OK  ] Started Hostname Service.
[  OK  ] Started Network Manager Wait Online.
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc8050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf05f flags=0x1 par=0x809
[  OK  ] Reached target Network is Online.
         Starting LSB: Advanced IEEE 802.11 management daemon...
      (XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf050 flags=0x1 par=0x809
   Starting LSB: Starts or stops the xinetd daemon....
[  OK  ] Stopped Light Display Manager.
         Starting L(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc8050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf05f flags=0x1 par=0x809
ig(XEN) p2m.c:1456: d2v6: gvirt_to_maddr failed va=0xffff80003dfc805f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf05f flags=0x1 par=0x809
ht Display Manager...
[  OK  ] Started Light Display Manager.
(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf050 flags=0x1 par=0x809
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c050 flags=0x1 par=0x809
[  OK  ] Started LSB: Starts or stops the xinetd daemon..
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c05f flags=0x1 par=0x809
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
         Starting Update UTMP about System Runlevel Changes...
(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v7: gvirt_to_maddr failed va=0xffff80003dfdf05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v2: gvirt_to_maddr failed va=0xffff80003df6c05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809
[  OK  ] Started Update UTMP about System Runlevel Changes.
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a050 flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v4: gvirt_to_maddr failed va=0xffff80003df9a05f flags=0x1 par=0x809


--
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-users mailing list
[hidden email]
https://lists.xenproject.org/mailman/listinfo/xen-users
Reply | Threaded
Open this post in threaded view
|

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

Oleksandr Andrushchenko
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
> [hidden email]
> https://lists.xenproject.org/mailman/listinfo/xen-devel
[1]
https://elixir.bootlin.com/linux/v4.20-rc7/source/drivers/xen/Kconfig#L175

_______________________________________________
Xen-users mailing list
[hidden email]
https://lists.xenproject.org/mailman/listinfo/xen-users
Reply | Threaded
Open this post in threaded view
|

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

Vikram K
Hello Oleksandr,

Please find the attached log file.

Could please provide some pointers on how test DomU display.

On Tue, Dec 18, 2018 at 12:06 PM Oleksandr Andrushchenko <[hidden email]> wrote:
Hello, Vikram!
>   * 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?
     Earlier this configuration was not enabled. Enabled it now.

>
>   * Xen-4.12 unstable version.
>
>> We never tested PV DRM with 4.12 so far, did you try with 4.10 for example?
     Xen-4.8 is working on our platform. Xen-4.9 to Xen-4.11 version fails while initializing CPU on our platform. Recently
     we received patch from Julien for Xen-4.12 unstable version, which has fix. Tried to apply patch on Xen-4.10 stable facing build issue.

      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=Domain-0,be-alloc=0,connectors=HDMI-A-1:1920x1080']|*
>
>> Do you really have DomD as your configuration says?
     Sorry it not DomD it is Domain-0. 

>> Not Dom0 running the backend?
     Domain-0 is running in Dom0 and debian is running as DomU.

> Before launching the DomU ran the displ_be application in the
> background.
>  $ displ_be -m DRM -v *:Debug &
Please add display back-end logs

>
> Started Domain-U.
> $ xl create -c debian.cfg
>
>> Could you please build the PV DRM driver as module,
>> Built 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?
Please find the attached log file
--
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-users mailing list
[hidden email]
https://lists.xenproject.org/mailman/listinfo/xen-users

xen_pv_drm.log (74K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

Oleksandr Andrushchenko
Sorry for top-posting.

Well, from the logs I see that those failures come before PV DRM

even creates any shared buffers which could be the problem:

when you see

(XEN) p2m.c:1456: d2v1: gvirt_to_maddr failed va=0xffff80001df5205f
flags=0x1 par=0x809
(XEN) p2m.c:1456: d2v3: gvirt_to_maddr failed va=0xffff80001df8005f
flags=0x1 par=0x809

in your logs this at the time when PV DRM had read the configuration and

created shared rings, but it hasn't yet allocated any buffers so far
which might

be the source of p2m complaints. So, unfortunately, I think you would
need to debug more

to understand from where those come.

And, please rebuild the PV DRM as a module and collect DRM logs in DomU.

On 12/19/18 7:45 AM, Vikram K wrote:
> Hello Oleksandr,
>
> Please find the attached log file.
>
> Could please provide some pointers on how test DomU display.
>
modetest, weston - whatever you have in your rootfs
> On Tue, Dec 18, 2018 at 12:06 PM Oleksandr Andrushchenko
> <[hidden email] <mailto:[hidden email]>> wrote:
> Hello, Vikram!
> >   * 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?
>      Earlier this configuration was not enabled. Enabled it now.
>
Well, this just adds zero-copying, but shouldn't change the behavior so much

> >
> >   * Xen-4.12 unstable version.
> >
> >> We never tested PV DRM with 4.12 so far, did you try with 4.10 for
> example?
>      Xen-4.8 is working on our platform. Xen-4.9 to Xen-4.11 version
> fails while initializing CPU on our platform. Recently
>      we received patch from Julien for Xen-4.12 unstable version,
> which has fix. Tried to apply patch on Xen-4.10 stable facing build issue.
>
>       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=Domain-0,be-alloc=0,connectors=HDMI-A-1:1920x1080']|*
> >
> >> Do you really have DomD as your configuration says?
> Sorry it not DomD it is Domain-0.
>
> >> Not Dom0 running the backend?
>      Domain-0 is running in Dom0 and debian is running as DomU.
>
> > Before launching the DomU ran the displ_be application in the
> > background.
> >  $ displ_be -m DRM -v *:Debug &
> Please add display back-end logs
>
> >
> > Started Domain-U.
> > $ xl create -c debian.cfg
> >
> >> Could you please build the PV DRM driver as module,
> >> Built as module.
>
> then run the following commands:
>
> echo 0xff > /sys/module/drm/parameters/debug
> echo 8 > /proc/sys/kernel/printk
This needs to be done *before* you insmod the PV DRM driver

>
> >> and get back with DRM logs in DomU?
> Please find the attached log file
> --
> 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-users mailing list
[hidden email]
https://lists.xenproject.org/mailman/listinfo/xen-users