xen cache colors in ARM

2023-04-18 Thread Oleg Nikitenko
Hello, I tried to turn on this scheme and ran into panic. Where was I wrong ? Xen command line xen,xen-bootargs = "console=dtuart dtuart=serial0 dom0_mem=1600M dom0_max_vcpus=2 dom0_vcpus_pin bootscrub=0 vwfi=native sched=null timer_slop=0 way_szize=65536 xen_colors=0-3 dom0_colors=4-7"; Xen con

Re: xen cache colors in ARM

2023-04-18 Thread Julien Grall
+Stefano, + Bertrand, +Carlo, On 18/04/2023 09:43, Oleg Nikitenko wrote: Hello, Hi, I tried to turn on this scheme and ran into panic. Where was I wrong ? This feature has not been merged in Xen upstream yet. So can you tell us what patches did you apply or which tree? Xen command lin

Re: xen cache colors in ARM

2023-04-18 Thread Julien Grall
Hi, I have added back xen-devel and the others. Please reply to all, so they can have the full conversation. On 18/04/2023 11:13, Oleg Nikitenko wrote: HW Board: Xilinx ZynqMP Where are the banks located? Where are the banks located? I did not catch this question. Could you rephrase it

Re: xen cache colors in ARM

2023-04-18 Thread Oleg Nikitenko
Hi Julien, >> This feature has not been merged in Xen upstream yet > would assume that upstream + the series on the ML [1] work Please clarify this point. Because the two thoughts are controversial. Regards, Oleg вт, 18 апр. 2023 г. в 14:09, Julien Grall : > Hi, > > I have added back xen-deve

Re: xen cache colors in ARM

2023-04-18 Thread Julien Grall
On 18/04/2023 12:26, Oleg Nikitenko wrote: Hi Julien, Hi Oleg, This feature has not been merged in Xen upstream yet would assume that upstream + the series on the ML [1] work Please clarify this point. Because the two thoughts are controversial. It is not clear to me how what I wr

Fwd: xen cache colors in ARM

2023-04-18 Thread Oleg Nikitenko
-- Forwarded message - От: Oleg Nikitenko Date: вт, 18 апр. 2023 г. в 15:05 Subject: Re: xen cache colors in ARM To: Julien Grall Hi Julien, We are speaking differently. You have applied your own terminology. I applied on my own. So we did not catch each other. I should

Re: xen cache colors in ARM

2023-04-18 Thread Stefano Stabellini
On Tue, 18 Apr 2023, Oleg Nikitenko wrote: > Hi Julien, > > >> This feature has not been merged in Xen upstream yet > > > would assume that upstream + the series on the ML [1] work > > Please clarify this point. > Because the two thoughts are controversial. Hi Oleg, As Julien wrote, there is n

Re: xen cache colors in ARM

2023-04-18 Thread Oleg Nikitenko
Hello Stefano, Thanks for the clarification. My company uses yocto for image generation. What kind of information do you need to consult me in this case ? Maybe modules sizes/addresses which were mentioned by @Julien Grall ? Regards, Oleg вт, 18 апр. 2023 г. в 20:44, Stefano Stabellini : > On

Re: xen cache colors in ARM

2023-04-19 Thread Michal Orzel
Hi Oleg, On 19/04/2023 09:03, Oleg Nikitenko wrote: > > > > Hello Stefano, > > Thanks for the clarification. > My company uses yocto for image generation. > What kind of information do you need to consult me in this case ? > > Maybe modules sizes/addresses which were mentioned by @Julie

Re: xen cache colors in ARM

2023-04-19 Thread Oleg Nikitenko
Hi Michal, You put my nose into the problem. Thank you. I am going to use your point. Let's see what happens. Regards, Oleg ср, 19 апр. 2023 г. в 10:37, Michal Orzel : > Hi Oleg, > > On 19/04/2023 09:03, Oleg Nikitenko wrote: > > > > > > > > Hello Stefano, > > > > Thanks for the clarification.

Re: xen cache colors in ARM

2023-04-19 Thread Oleg Nikitenko
Hi Michal, I corrected xen's command line. Now it is xen,xen-bootargs = "console=dtuart dtuart=serial0 dom0_mem=1600M dom0_max_vcpus=2 dom0_vcpus_pin bootscrub=0 vwfi=native sched=null timer_slop=0 way_size=65536 xen_colors=0-3 dom0_colors=4-7"; Unfortunately the result was the same. (XEN) - Do

Re: xen cache colors in ARM

2023-04-19 Thread Michal Orzel
On 19/04/2023 11:36, Oleg Nikitenko wrote: > > > > Hi Michal, > > I corrected xen's command line. > Now it is > xen,xen-bootargs = "console=dtuart dtuart=serial0 dom0_mem=1600M > dom0_max_vcpus=2 dom0_vcpus_pin bootscrub=0 vwfi=native sched=null > timer_slop=0 way_size=65536 xen_color

Re: xen cache colors in ARM

2023-04-19 Thread Stefano Stabellini
On Wed, 19 Apr 2023, Oleg Nikitenko wrote: > Hi Michal, > > I corrected xen's command line. > Now it is > xen,xen-bootargs = "console=dtuart dtuart=serial0 dom0_mem=1600M > dom0_max_vcpus=2 dom0_vcpus_pin bootscrub=0 vwfi=native sched=null > timer_slop=0 way_size=65536 xen_colors=0-3 dom0_colors=

Re: xen cache colors in ARM

2023-04-20 Thread Oleg Nikitenko
Thanks Stefano. I am going to do it today. Regards, O. ср, 19 апр. 2023 г. в 23:05, Stefano Stabellini : > On Wed, 19 Apr 2023, Oleg Nikitenko wrote: > > Hi Michal, > > > > I corrected xen's command line. > > Now it is > > xen,xen-bootargs = "console=dtuart dtuart=serial0 dom0_mem=1600M > dom0_

Re: xen cache colors in ARM

2023-04-20 Thread Oleg Nikitenko
Thanks Michal, You gave me an idea. I am going to try it today. Regards, O. чт, 20 апр. 2023 г. в 11:56, Oleg Nikitenko : > Thanks Stefano. > > I am going to do it today. > > Regards, > O. > > ср, 19 апр. 2023 г. в 23:05, Stefano Stabellini : > >> On Wed, 19 Apr 2023, Oleg Nikitenko wrote: >> >

Re: xen cache colors in ARM

2023-04-21 Thread Oleg Nikitenko
Hello Michal, Yes, I use yocto. Yesterday all day long I tried to follow your suggestions. I faced a problem. Manually in the xen config build file I pasted the strings: CONFIG_EARLY_PRINTK CONFIG_EARLY_PRINTK_ZYNQMP CONFIG_EARLY_UART_CHOICE_CADENCE Host hangs in build time. Maybe I did not set

Re: xen cache colors in ARM

2023-04-21 Thread Michal Orzel
On 21/04/2023 10:04, Oleg Nikitenko wrote: > > > > Hello Michal, > > Yes, I use yocto. > > Yesterday all day long I tried to follow your suggestions. > I faced a problem. > Manually in the xen config build file I pasted the strings: In the .config file or in some Yocto file (listing ad

Re: xen cache colors in ARM

2023-04-21 Thread Oleg Nikitenko
Hello Michal, I was not able to enable earlyprintk in the xen for now. I decided to choose another way. This is a xen's command line that I found out completely. (XEN) console=dtuart dtuart=serial0 dom0_mem=1600M dom0_max_vcpus=2 dom0_vcpus_pin bootscrub=0 vwfi=native sched=null timer_slop=0

Re: xen cache colors in ARM

2023-04-21 Thread Michal Orzel
Hi Oleg, On 21/04/2023 14:49, Oleg Nikitenko wrote: > > > > Hello Michal, > > I was not able to enable earlyprintk in the xen for now. > I decided to choose another way. > This is a xen's command line that I found out completely. > > (XEN) console=dtuart dtuart=serial0 dom0_mem=160

Re: xen cache colors in ARM

2023-04-24 Thread Oleg Nikitenko
Hello, Thanks guys. I found out where the problem was. Now dom0 booted more. But I have a new one. This is a kernel panic during Dom0 loading. Maybe someone is able to suggest something ? Regards, O. [3.771362] sfp_register_bus: upstream ops attach [3.776119] sfp_register_bus: Bus regist

Re: xen cache colors in ARM

2023-04-24 Thread Stefano Stabellini
Hi Oleg, Here is the issue from your logs: SError Interrupt on CPU0, code 0xbe00 -- SError SErrors are special signals to notify software of serious hardware errors. Something is going very wrong. Defective hardware is a possibility. Another possibility if software accessing address range

Re: xen cache colors in ARM

2023-04-25 Thread Oleg Nikitenko
Hi Stefano, Thank you. If I build xen without colors support there is not this error. All the domains are booted well. Hense it can not be a hardware issue. This panic arrived during unpacking the rootfs. Here I attached the boot log xen/Dom0 without color. A highlighted strings printed exactly af

Re: xen cache colors in ARM

2023-04-25 Thread Stefano Stabellini
This is interesting. Are you using Xilinx hardware by any chance? If so, which board? Are you using ImageBuilder to generate your boot.scr boot script? If so, could you please post your ImageBuilder config file? If not, can you post the source of your uboot boot script? SErrors are supposed to be

Re: xen cache colors in ARM

2023-04-27 Thread Stefano Stabellini
I am familiar with the zcu102 but I don't know how you could possibly generate a SError. I suggest to try to use ImageBuilder [1] to generate the boot configuration as a test because that is known to work well for zcu102. [1] https://gitlab.com/xen-project/imagebuilder On Thu, 27 Apr 2023, Oleg

Re: xen cache colors in ARM

2023-05-05 Thread Michal Orzel
Hi Oleg, Replying, so that you do not need to wait for Stefano. On 05/05/2023 10:28, Oleg Nikitenko wrote: > > > > Hello Stefano, > > I would like to try a xen cache color property from this repo  > https://xenbits.xen.org/git-http/xen.git >

Re: xen cache colors in ARM

2023-05-09 Thread Stefano Stabellini
We test Xen Cache Coloring regularly on zcu102. Every Petalinux release (twice a year) is tested with cache coloring enabled. The last Petalinux release is 2023.1 and the kernel used is this: https://github.com/Xilinx/linux-xlnx/tree/xlnx_rebase_v6.1_LTS On Tue, 9 May 2023, Oleg Nikitenko wrote:

Re: xen cache colors in ARM

2023-05-11 Thread Michal Orzel
Hi Oleg, On 11/05/2023 12:02, Oleg Nikitenko wrote: > > > > Hello, > > Thanks Stefano. > Then the next question. > I cloned xen repo from xilinx site https://github.com/Xilinx/xen.git > > I managed to build a xlnx_rebase_4.17 branch in my environment.

Re: xen cache colors in ARM

2023-05-15 Thread Michal Orzel
Hi Oleg, On 15/05/2023 10:51, Oleg Nikitenko wrote: > > > > Hello guys, > > Thanks a lot. > After a long problem list I was able to run xen with Dom0 with a cache color. > One more question from my side. > I want to run a guest with color mode too. > I inserted a string into guest config

Re: xen cache colors in ARM

2023-05-19 Thread Michal Orzel
Hi Oleg, On 19/05/2023 15:38, Oleg Nikitenko wrote: > > > > Hello, > > Thanks Michal. > > Then the next question. Now it is more related to the integration than to the > development. > A license for the xen in 4.17 revision at branch xlnx_rebase_4.17 xilinx repo > has changed. > I fou