Re: [Xen-devel] [PATCH v2] xen/arm: Switch OMAP5 secondary cores into hyp mode

2019-07-17 Thread Denis Obrezkov
inux does. However, I would like to see an > analysis written in the commit message regarding what's going to happen > for any existing setup. > > Cheers, > I hoped to hear more opinions because I don't really understand where to start - I don't know much about how xen and

Re: [Xen-devel] [PATCH v2] xen/arm: Switch OMAP5 secondary cores into hyp mode

2019-07-17 Thread Denis Obrezkov
gt; I don't understand your concerns to the full extent. What should be investigated? -- Regards, Denis Obrezkov ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [GSoC-2019] About the crossbar and xen

2019-07-11 Thread Denis Obrezkov
maintainers didn't like something. So, I wanted to understand whether this approach is acceptable. -- Regards, Denis Obrezkov ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [GSoC-2019] About the crossbar and xen

2019-07-11 Thread Denis Obrezkov
not in a direct interrupt-parent but transitively in one of ancestors: UART -> crossbar -> wugen -> GIC What do you think? -- Regards, Denis Obrezkov ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [GSoC-2019] About the crossbar and xen

2019-07-10 Thread Denis Obrezkov
Hi, On 7/10/19 10:17 PM, Stefano Stabellini wrote: > On Wed, 10 Jul 2019, Denis Obrezkov wrote: >> Hi, >> >> On 7/10/19 9:49 PM, Stefano Stabellini wrote: >> >>> >>> phandle = <0x0002>; >>> >>> I think that means that

Re: [Xen-devel] [GSoC-2019] About the crossbar and xen

2019-07-10 Thread Denis Obrezkov
08 and phandle value 0x0008 belongs to interrupt-controller@48281000 { compatible = "ti,omap5-wugen-mpu", "ti,omap4-wugen-mpu"; For me it looks like interrupts from crossbar goes to wugen and the from wugen to GIC. But I don't quit

[Xen-devel] [GSoC-2019] About the crossbar and xen

2019-07-10 Thread Denis Obrezkov
; }; And this is an interrupt-parent for the crossbar. So, it is not clear for me how it participates in interrupt processing. Any thoughts? Here is my device tree: https://pastebin.com/Xec57Jcr -- Regards, Denis Obrezkov ___ Xen-devel maili

Re: [Xen-devel] [GSOC-2019] Problem with initializing crossbar on bb-x15 in dom0

2019-07-06 Thread Denis Obrezkov
register. At the same time they preserved the crossbar in the device tree. And, I thought that you wanted to demonstrate this exact thing. Could you describe how in general the approach with blacklisting should work? -- Regards, Denis Obrezkov ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [GSOC-2019] Problem with initializing crossbar on bb-x15 in dom0

2019-07-06 Thread Denis Obrezkov
ist_dev[]). So, in tegra they didn't blacklist their version of the crossbar. [1] https://lists.xenproject.org/archives/html/xen-devel/2017-04/msg00993.html -- Regards, Denis Obrezkov ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [GSOC-2019] Problem with initializing crossbar on bb-x15 in dom0

2019-07-06 Thread Denis Obrezkov
problem if we blacklist the device? Also, the tegra implementation blacklist only a uart. -- Regards, Denis Obrezkov ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [GSOC-2019] Problem with initializing crossbar on bb-x15 in dom0

2019-07-06 Thread Denis Obrezkov
Hi, On 7/6/19 12:56 PM, Julien Grall wrote: > Hi Denis, > > On 7/6/19 11:19 AM, Denis Obrezkov wrote: >> On 7/5/19 11:47 PM, Denis Obrezkov wrote: >>> So, >>> >>> >>>> I am going to try to expose the whole crossbar to the dom0 by

Re: [Xen-devel] [GSOC-2019] Problem with initializing crossbar on bb-x15 in dom0

2019-07-06 Thread Denis Obrezkov
Hi, On 7/5/19 11:47 PM, Denis Obrezkov wrote: > So, > > >> I am going to try to expose the whole crossbar to the dom0 by mapping it >> into dom0 and after that to unmap it and restrict the use of the control >> register via register_mmio_handler. Don't know whethe

Re: [Xen-devel] [GSOC-2019] Problem with initializing crossbar on bb-x15 in dom0

2019-07-05 Thread Denis Obrezkov
_mapping(struct domain *d) map_mmio_regions(d, gaddr_to_gfn(OMAP5_SRAM_PA), 32, maddr_to_mfn(OMAP5_SRAM_PA)); +map_mmio_regions(d, gaddr_to_gfn(OMAP5_CTRL_CORE_MPU_IRQ), 300, +maddr_to_mfn(OMAP5_CTRL_CORE_MPU_IRQ)); return 0; } -- R

Re: [Xen-devel] [GSOC-2019] Problem with initializing crossbar on bb-x15 in dom0

2019-07-05 Thread Denis Obrezkov
y to expose the whole crossbar to the dom0 by mapping it into dom0 and after that to unmap it and restrict the use of the control register via register_mmio_handler. Don't know whether this will work. -- Regards, Denis Obrezkov signature.asc Description: Open

[Xen-devel] [GSOC-2019] Problem with initializing crossbar on bb-x15 in dom0

2019-07-03 Thread Denis Obrezkov
-domain.txt it seems to me that it is possible to give control on the crossbar to dom0, though, I don't really understand what's happening. -- Regards, Denis Obrezkov signature.asc Description: OpenPGP digital signature ___ Xen-devel mailing list Xen-devel

Re: [Xen-devel] xen on beagleboard-x15: fails to access PRCM MPU register

2019-06-28 Thread Denis Obrezkov
_to_mfn(OMAP5_PRCM_MPU_BASE)); >>>> >>>> /* Map the Wakeup Gen */ >>>> map_mmio_regions(d, gaddr_to_gfn(OMAP5_WKUPGEN_BASE), 1, >>>> maddr_to_mfn(OMAP5_WKUPGEN_BASE)); >>>> >>>> /* Map the on-chip SRAM */ &g

Re: [Xen-devel] xen on beagleboard-x15: fails to access PRCM MPU register

2019-06-27 Thread Denis Obrezkov
CC'ed other GSoC mentors On 6/27/19 9:52 PM, Denis Obrezkov wrote: > Hello all, > > I have a failure when I am trying to boot Linux with Xen on bb-x15, here > is the log: > https://pastebin.com/BBAFPkVU > > and, as Julien (cc'ed) suggested here is the DT debug informa

[Xen-devel] xen on beagleboard-x15: fails to access PRCM MPU register

2019-06-27 Thread Denis Obrezkov
) + OMAP2_L4_IO_OFFSET) /* L4 */ and IOMEM (arch/arm/include/asm/io.h): #define IOMEM(x)((void __force __iomem *)(x)) I don't understand what is happening and how to overcome it. -- Regards, Denis Obrezkov signature.asc Description: OpenPGP digital signature

[Xen-devel] [PATCH] xen/arm: Switch OMAP5 secondary cores into hyp mode

2019-06-21 Thread Denis Obrezkov
This function allows xen to bring secondary CPU cores into non-secure HYP mode. This is done by using a Secure Monitor call. Signed-off-by: Denis Obrezkov --- xen/arch/arm/arm32/head.S | 11 ++- xen/arch/arm/platforms/omap5.c| 5 +++-- xen/include/asm-arm/platforms

Re: [Xen-devel] Starting to port xen on beagleboard-x15 (GSoC 2019 project)

2019-06-19 Thread Denis Obrezkov
Hi, On 6/19/19 5:06 PM, Julien Grall wrote: > > > On 19/06/2019 15:33, Denis Obrezkov wrote: >> Hi, > > Hi Denis, > >> ср, 19 июн. 2019 г. в 14:01, Andrii Anisov : >>> >>> >>> >>> On 18.06.19 19:19, Julien Grall wrote:

Re: [Xen-devel] Starting to port xen on beagleboard-x15 (GSoC 2019 project)

2019-06-19 Thread Denis Obrezkov
til the MMU is on and we fully setup the processor. I don't understand this since init_secondary is installed in C code, isn't it? (in omap5.c:omap5_smp_init()) -- Regards, Denis Obrezkov signature.asc Description: OpenPGP digital signature ___ Xen-devel

Re: [Xen-devel] [GSOC] Xen on ARM: create multiple guests from device tree

2018-02-08 Thread Denis Obrezkov
thing and was expelled from the program before the final evaluation and received...$3600. That was unfair! Could you imagine what my fellow from India felt who made an excellent project and received only $2400. P.S. Is xen-project going to participate in Outreachy? -- Regards, Denis Obrezkov

Re: [Xen-devel] [GSOC] Xen on ARM: create multiple guests from device tree

2018-02-05 Thread Denis Obrezkov
cv but I haven't received any answer.Anyway, I would like to work with xen on embedded platforms. -- Regards, Denis Obrezkov ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [GSOC] Xen on ARM: create multiple guests from device tree

2018-02-03 Thread Denis Obrezkov
2018-02-04 9:53 GMT+03:00 Denis Obrezkov <denisobrez...@gmail.com>: > Hello all, > > I would like to participate in GSoC 2018 with the project Xen on ARM > related project. I have some previous experience with GSoC: > https://summerofcode.withgoogle.com/archive/2017/proj

[Xen-devel] [GSOC] Xen on ARM: create multiple guests from device tree

2018-02-03 Thread Denis Obrezkov
, or should this work be done in emulator? -- Regards, Denis Obrezkov ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel