On Wed, Oct 10, 2018 at 6:41 PM Meng Xu <xumengpa...@gmail.com> wrote:
>
> The jitter may come from Xen or the OS in dom0.
> It will be useful to know what is the jitter if you run the test on PetaLinux.
> (It's understandable the jitter is gone without OS. It is also common
> that OS introduces various interferences.)

Hi Meng,
well... I'm using bare-metal application and I need it exclusively to
be ran on one CPU as domU (guest) without OS (and I'm not sure how
would I make the same app to be ran on PetaLinux dom0 :D haha).
Is there a chance that PetaLinux as dom0 is creating this jitter and
how? Is there a way of decreasing it?

Yes, there are no prints.

I'm not sure about this timer interrupt passthrough because I didn't
find any example of it, in attachment I included xen-overlay.dtsi file
which I edited to add passthrough, in earlier replies there are
bare-metal configuration file. It would be helpful to know if those
setting are correct. If they are not correct it would explain the
jitter.

Thanks in advance, Milan Boberic!
/ {
        chosen {
                #address-cells = <2>;
                #size-cells = <1>;

                xen,xen-bootargs = "console=dtuart dtuart=serial0 dom0_mem=768M 
bootscrub=0 dom0_max_vcpus=1 dom0_vcpus_pin=true timer_slop=0 sched=null 
vwfi=native";
                xen,dom0-bootargs = "console=hvc0 earlycon=xen earlyprintk=xen 
maxcpus=1 clk_ignore_unused";

                dom0 {
                        compatible = "xen,linux-zimage", "xen,multiboot-module";
                        reg = <0x0 0x80000 0x3100000>;
                };
        };

};

&smmu {
        status = "okay";
        mmu-masters = < &gem0 0x874
                        &gem1 0x875
                        &gem2 0x876
                        &gem3 0x877
                        &dwc3_0 0x860
                        &dwc3_1 0x861
                        &qspi 0x873
                        &lpd_dma_chan1 0x868
                        &lpd_dma_chan2 0x869
                        &lpd_dma_chan3 0x86a
                        &lpd_dma_chan4 0x86b
                        &lpd_dma_chan5 0x86c
                        &lpd_dma_chan6 0x86d
                        &lpd_dma_chan7 0x86e
                        &lpd_dma_chan8 0x86f
                        &fpd_dma_chan1 0x14e8
                        &fpd_dma_chan2 0x14e9
                        &fpd_dma_chan3 0x14ea
                        &fpd_dma_chan4 0x14eb
                        &fpd_dma_chan5 0x14ec
                        &fpd_dma_chan6 0x14ed
                        &fpd_dma_chan7 0x14ee
                        &fpd_dma_chan8 0x14ef
                        &sdhci0 0x870
                        &sdhci1 0x871
                        &nand0 0x872>;
};

&uart1 {
   xen,passthrough = <0x1>;
};

&gpio {
   xen,passthrough = <0x1>;
};

&ttc0 {
   xen,passthrough = <0x1>;
};

&ttc1 {
   xen,passthrough = <0x1>;
};

&ttc2 {
   xen,passthrough = <0x1>;
};

&ttc3 {
   xen,passthrough = <0x1>;
};
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to