[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Xen PV: Sample new PV driver for buffer sharing between domains
Hi, We are not using graphics(GPU), I think drm takes care of graphics. And all clocks needed for display I enabled using clocks PV. Clocks i have checked in host domain all got enabled properly.
Now, I am doing same way pause and unpauase domain to start PV and it is working.
Here, Guest(domain-U) is remapping in display driver. In display driver remapping is successful and yesterday i found when i try to access remapped region domain-U giving that crash, "Unhandled fault: ttbr address size fault"
I enabled (CONFIG_DEBUG=y in .config) in xenbits src, I dont have any log from xen. also checked 'xl dmesg' but no log from xen. How to find GFNs from xen? I mean, xen maps region from RAM memory of domain-u or maps to memory of Domain-0 and give access to domain-u? I am sharing log of xl dmesg after enabling guest log level: ====================================== root@hikey960:/debian# xl dmesg (XEN) Checking for initrd in /chosen (XEN) RAM: 0000000000000000 - 000000001abfffff (XEN) RAM: 000000001ad88000 - 0000000031ffffff (XEN) RAM: 0000000032101000 - 000000003dffffff (XEN) RAM: 0000000040000000 - 000000004aee9fff (XEN) RAM: 0000000089cc0000 - 00000000b8427fff (XEN) RAM: 00000000b9af0000 - 00000000b9baffff (XEN) RAM: 00000000b9c50000 - 00000000b9c54fff (XEN) RAM: 00000000b9c56000 - 00000000b9d4ffff (XEN) RAM: 00000000ba114000 - 00000000ba11bfff (XEN) RAM: 00000000ba11c000 - 00000000bdbf1fff (XEN) RAM: 00000000bdbf2000 - 00000000bdca2fff (XEN) RAM: 00000000bdca3000 - 00000000bdd58fff (XEN) RAM: 00000000bdd59000 - 00000000bef4ffff (XEN) RAM: 00000000bef50000 - 00000000bef54fff (XEN) RAM: 00000000bef55000 - 00000000bf0dffff (XEN) RAM: 00000000bf0e0000 - 00000000bf12ffff (XEN) RAM: 00000000bf180000 - 00000000bf188fff (XEN) RAM: 00000000bf189000 - 00000000bfffffff (XEN) RAM: 00000000c0000000 - 00000000dfffffff (XEN) RAM: 0000000200000000 - 000000021fffffff (XEN) (XEN) MODULE[0]: 00000000b8428000 - 00000000b8436000 Device Tree (XEN) MODULE[1]: 00000000b8544000 - 00000000b997ca00 Kernel console=tty0 console=hvc0 root=/dev/sdd14 rootwait rw rootfstype=ext4 efi=noruntime video=HDMI-A -1:1280x720@60 (XEN) (XEN) Command line: loglvl=all console=dtuart dtuart=/soc/serial@fff32000 dom0_mem=512M efi=no-rs guest_loglvl=all (XEN) Placing Xen at 0x000000001aa00000-0x000000001ac00000 (XEN) Update BOOTMOD_XEN from 00000000b8436000-00000000b8536d81 => 000000001aa00000-000000001ab00d81 (XEN) Domain heap initialised (XEN) Platform: Generic System (XEN) Looking for dtuart at "/soc/serial@fff32000", options "" Xen 4.8.5-pre (XEN) Xen version 4.8.5-pre (omkar.bolla@) (aarch64-linux-gnu-gcc (Linaro GCC 7.1-2017.05) 7.1.1 20170510) debug=n Fri Nov 2 10:40:45 IST 2018 (XEN) Latest ChangeSet: (XEN) Processor: 410fd034: "ARM Limited", variant: 0x0, part 0xd03, rev 0x4 (XEN) 64-bit Execution: (XEN) Processor Features: 0000000000002222 0000000000000000 (XEN) Exception Levels: EL3:64+32 EL2:64+32 EL1:64+32 EL0:64+32 (XEN) Extensions: FloatingPoint AdvancedSIMD (XEN) Debug Features: 0000000010305106 0000000000000000 (XEN) Auxiliary Features: 0000000000000000 0000000000000000 (XEN) Memory Model Features: 0000000000001122 0000000000000000 (XEN) ISA Features: 0000000000011120 0000000000000000 (XEN) 32-bit Execution: (XEN) Processor Features: 00000131:00011011 (XEN) Instruction Sets: AArch32 A32 Thumb Thumb-2 Jazelle (XEN) Extensions: GenericTimer Security (XEN) Debug Features: 03010066 (XEN) Auxiliary Features: 00000000 (XEN) Memory Model Features: 10201105 40000000 01260000 02102211 (XEN) ISA Features: 02101110 13112111 21232042 01112131 00011142 00011121 (XEN) Using PSCI-1.1 for SMP bringup (XEN) SMP: Allowing 8 CPUs (XEN) Generic Timer IRQ: phys=30 hyp=26 virt=27 Freq: 1920 KHz (XEN) GICv2 initialization: (XEN) gic_dist_addr=00000000e82b1000 (XEN) gic_cpu_addr=00000000e82b2000 (XEN) gic_hyp_addr=00000000e82b4000 (XEN) gic_vcpu_addr=00000000e82b6000 (XEN) gic_maintenance_irq=25 (XEN) GICv2: 384 lines, 8 cpus, secure (IID 0200143b). (XEN) Using scheduler: SMP Credit Scheduler (credit) (XEN) Allocated console ring of 64 KiB. (XEN) Bringing up CPU1 (XEN) CPU 1 booted. (XEN) Bringing up CPU2 (XEN) CPU 2 booted. (XEN) Bringing up CPU3 (XEN) CPU 3 booted. (XEN) Bringing up CPU4 (XEN) CPU 4 booted. (XEN) Bringing up CPU5 (XEN) CPU 5 booted. (XEN) Bringing up CPU6 (XEN) CPU 6 booted. (XEN) Bringing up CPU7 (XEN) CPU 7 booted. (XEN) Brought up 8 CPUs (XEN) P2M: 40-bit IPA with 40-bit PA (XEN) P2M: 3 levels with order-1 root, VTCR 0x80023558 (XEN) I/O virtualisation disabled (XEN) build-id: baea0accc1a90dbddfdab8bcec069906a9b45ba6 (XEN) alternatives: Patching with alt table 00000000400a4868 -> 00000000400a4c04 (XEN) *** LOADING DOMAIN 0 *** (XEN) Loading kernel from boot module @ 00000000b8544000 (XEN) Allocating 1:1 mappings totalling 512MB for dom0: (XEN) BANK[0] 0x000000c0000000-0x000000e0000000 (512MB) (XEN) Grant table range: 0x0000001aa00000-0x0000001aa5f000 (XEN) /framebuffer@E8600000 passthrough = 0 nirq = 5 naddr = 7 (XEN) - MMIO: 00e8600000 - 00e8680000 P2MType=5 (XEN) Device Node: /framebuffer@E8600000 (XEN) - MMIO: 00fff35000 - 00fff36000 P2MType=5 (XEN) Device Node: /framebuffer@E8600000 (XEN) - MMIO: 00fff0a000 - 00fff0b000 P2MType=5 (XEN) Device Node: /framebuffer@E8600000 (XEN) - MMIO: 00e8a09000 - 00e8a0a000 P2MType=5 (XEN) Device Node: /framebuffer@E8600000 (XEN) - MMIO: 00e86c0000 - 00e86d0000 P2MType=5 (XEN) Device Node: /framebuffer@E8600000 (XEN) - MMIO: 00fff02000 - 00fff03000 P2MType=5 (XEN) Device Node: /framebuffer@E8600000 (XEN) - MMIO: 00fff31000 - 00fff32000 P2MType=5 (XEN) Device Node: /framebuffer@E8600000 (XEN) /mali@E82C0000 passthrough = 0 nirq = 3 naddr = 1 (XEN) - MMIO: 00e82c0000 - 00e82c4000 P2MType=5 (XEN) Device Node: /mali@E82C0000 (XEN) /dpe@E8600000 passthrough = 0 nirq = 1 naddr = 5 (XEN) - MMIO: 00e8600000 - 00e8680000 P2MType=5 (XEN) Device Node: /dpe@E8600000 (XEN) - MMIO: 00fff35000 - 00fff36000 P2MType=5 (XEN) Device Node: /dpe@E8600000 (XEN) - MMIO: 00fff0a000 - 00fff0b000 P2MType=5 (XEN) Device Node: /dpe@E8600000 (XEN) - MMIO: 00fff31000 - 00fff32000 P2MType=5 (XEN) Device Node: /dpe@E8600000 (XEN) - MMIO: 00e86c0000 - 00e86d0000 P2MType=5 (XEN) Device Node: /dpe@E8600000 (XEN) /dsi@E8601000 passthrough = 0 nirq = 0 naddr = 2 (XEN) - MMIO: 00e8601000 - 00e8680000 P2MType=5 (XEN) Device Node: /dsi@E8601000 (XEN) - MMIO: 00fff35000 - 00fff36000 P2MType=5 (XEN) Device Node: /dsi@E8601000 (XEN) Loading zImage from 00000000b8544000 to 00000000c0080000-00000000c14b8a00 (XEN) Allocating PPI 16 for event channel interrupt (XEN) Loading dom0 DTB to 0x00000000c8000000-0x00000000c800a8a1 (XEN) Scrubbing Free RAM on 1 nodes using 8 CPUs (XEN) .........done. (XEN) Initial low memory virq threshold set at 0x4000 pages. (XEN) Std. Loglevel: All (XEN) Guest Loglevel: All (XEN) *** Serial input -> DOM0 (type 'CTRL-a' three times to switch input to Xen) (XEN) Freed 272kB init memory. (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER4 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER8 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER12 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER16 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER20 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER24 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER28 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER32 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER36 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER40 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER44 (XEN) d0v0: vGICD: unhandled word write 0xffffffff to ICACTIVER0 (XEN) d0v1: vGICD: unhandled word write 0xffffffff to ICACTIVER0 (XEN) d0v2: vGICD: unhandled word write 0xffffffff to ICACTIVER0 (XEN) d0v3: vGICD: unhandled word write 0xffffffff to ICACTIVER0 (XEN) d0v4: vGICD: unhandled word write 0xffffffff to ICACTIVER0 (XEN) d0v5: vGICD: unhandled word write 0xffffffff to ICACTIVER0 (XEN) d0v6: vGICD: unhandled word write 0xffffffff to ICACTIVER0 (XEN) d0v7: vGICD: unhandled word write 0xffffffff to ICACTIVER0 ------------------------------------------------------------------------------- (XEN) memory_map:add: dom1 gfn=10084 mfn=fff35 nr=1 ------------------------------------------------------------------------------- (XEN) d1v0: vGICD: unhandled word write 0xffffffff to ICACTIVER0 (XEN) d1v1: vGICD: unhandled word write 0xffffffff to ICACTIVER0 (XEN) d1v2: vGICD: unhandled word write 0xffffffff to ICACTIVER0 (XEN) d1v3: vGICD: unhandled word write 0xffffffff to ICACTIVER0 (XEN) d1v4: vGICD: unhandled word write 0xffffffff to ICACTIVER0 (XEN) d1v5: vGICD: unhandled word write 0xffffffff to ICACTIVER0 (XEN) d1v6: vGICD: unhandled word write 0xffffffff to ICACTIVER0 (XEN) d1v7: vGICD: unhandled word write 0xffffffff to ICACTIVER0 ====================================== After enabling guest log level, It is showing only one io region mapped instead of all. Why? Cheers, Thanks, Omkar B 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |