[Xen-devel] [PATCH v3] increase size of irq from uint8_t to uint32_t

2015-04-08 Thread Iurii Konovalenko
From: Iurii Konovalenko Changes in v3: - Julien Grall's comment added to commit message Changes in v2: - Commit message edited - Signed-off is set Iurii Konovalenko (1): arm: irq: increase size of irq from uint8_t to uint32_t tools/libxc/include/xenctrl.h | 10 +-

[Xen-devel] [PATCH v3] arm: irq: increase size of irq from uint8_t to uint32_t

2015-04-08 Thread Iurii Konovalenko
From: Iurii Konovalenko Changes are dedicated to XEN_DOMCTL_irq_permission and IRQ pssthrough API functions. PHYSDEV_* operations already using 32 bits type but signed one. Although, PHYSDEV_* operations are not yet used on ARM and LPIs support (which are using very high number) are not

[Xen-devel] [PATCH v1 1/2] arm: Add ability to relocate Xen in over 4GB space

2015-04-08 Thread Iurii Konovalenko
From: Iurii Konovalenko Primary CPU relocate Xen in over 4GB space and wake up seondary CPUs. Secondary CPUs run on unrelocated copy of Xen until turning on MMU. After turning on MMU secondary CPUs run on relocated copy of Xen. To add ability to relocate Xen in over 4GB space add following to

[Xen-devel] [PATCH v1 2/2] arm: skip verifying memory continuity

2015-04-08 Thread Iurii Konovalenko
From: Iurii Konovalenko Odd check. Signed-off-by: Iurii Konovalenko Signed-off-by: Andrii Anisov --- xen/arch/arm/setup.c | 4 1 file changed, 4 deletions(-) diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c index 66e2834..a7fcbb6 100644 --- a/xen/arch/arm/setup.c +++ b/xen/arch

[Xen-devel] [PATCH v1 0/2] relocate Xen in over 4GB space for arm32

2015-04-08 Thread Iurii Konovalenko
From: Iurii Konovalenko The following patch series adds ability to relocate Xen in over 4GB space for 32-bit arm cores with LPAE. Iurii Konovalenko (2): arm: Add ability to relocate Xen in over 4GB space arm: skip verifying memory continuity xen/Rules.mk | 1 + xen

Re: [Xen-devel] [PATCH v2] arm: irq: increase size of irq from uint8_t to uint32_t

2015-04-08 Thread Iurii Konovalenko
Hi, Julien! Do you mean I need to add your comment to commit message? Best regards. Iurii Konovalenko | Senior Software Engineer GlobalLogic On Wed, Apr 8, 2015 at 2:26 PM, Julien Grall wrote: > > Hi Iurii, > > On 08/04/15 10:29, Iurii Konovalenko wrote: > > From:

[Xen-devel] [PATCH v2] arm: irq: increase size of irq from uint8_t to uint32_t

2015-04-08 Thread Iurii Konovalenko
From: Iurii Konovalenko Changes are dedicated to XEN_DOMCTL_irq_permission and IRQ pssthrough API functions. Signed-off-by: Iurii Konovalenko --- tools/libxc/include/xenctrl.h | 10 +- tools/libxc/xc_domain.c | 10 +- xen/include/public/domctl.h | 2 +- 3 files

[Xen-devel] [PATCH v2] increase size of irq from uint8_t to uint32_t

2015-04-08 Thread Iurii Konovalenko
From: Iurii Konovalenko Changes in v2: - Commit message edited - Signed-off is set Iurii Konovalenko (1): arm: irq: increase size of irq from uint8_t to uint32_t tools/libxc/include/xenctrl.h | 10 +- tools/libxc/xc_domain.c | 10 +- xen/include/public/domctl.h

[Xen-devel] [PATCH v1] arm: irq: increase size of irq from uint8_t to uint32_t

2015-04-03 Thread Iurii Konovalenko
From: Iurii Konovalenko On some platforms IRQ number can be greater then 255, so greater size for IRQ is needed to avoid overflow for some structure fileds and paramters. It concerns XEN_DOMCTL_irq_permission and IRQ pssthrough API functions. --- tools/libxc/include/xenctrl.h | 10

Re: [Xen-devel] Size of irq field

2015-04-03 Thread Iurii Konovalenko
sly. Can I push it for review? Best regards. Iurii Konovalenko | Senior Software Engineer GlobalLogic ___ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel

[Xen-devel] Size of irq field

2015-04-02 Thread Iurii Konovalenko
know your opinion, what do you think about this problem? What type should we use uint16_t or uint32_t? How to find all places where uint8_t type is used for IRQ? Best regards. Iurii Konovalenko | Senior Software Engineer GlobalLogic ___ Xen-devel

Re: [Xen-devel] Deadlock in /proc/xen/xenbus watch+read on 3.17+ (maybe earlier)

2015-03-19 Thread Iurii Konovalenko
gt;> 0x7fc78c1488f0}, NULL, 8) = 0 >> [pid 2494] rt_sigaction(SIGPIPE, {SIG_IGN, [], SA_RESTORER, >> 0x7fc78c1488f0}, {SIG_DFL, [], SA_RESTORER, 0x7fc78c1488f0}, 8) = 0 >> [pid 2494] write(3, "\2\0\0\0\0\0\0\0\0\0\0\0\5\0\0\0", 16 >> >> And thats all - 2494 is waiting on write, 2495 is waiting on read. &g

[Xen-devel] Userspace PV backend hangs

2015-03-18 Thread Iurii Konovalenko
to the exactly same path, as in backend, and then change value with xenstore-write, we see prints from xenstore-watch, but xs_watch thread is still sleeping. Could you please suggest what can be reason of such behavior? May be you saw such behavior earlier? Best regards. Iurii Konovalenko |

Re: [Xen-devel] [PATCH v2 0/3] arm: introduce basic Renesas R-Car Gen2 platform support

2015-01-23 Thread Iurii Konovalenko
://wiki.xen.org/wiki/Xen_ARM_with_Virtualization_Extensions#Platform_specific_configuration Best regards. Iurii Konovalenko | Senior Software Engineer GlobalLogic On Fri, Jan 23, 2015 at 3:53 PM, Julien Grall wrote: > On 23/01/15 13:20, Iurii Konovalenko wrote: >> Thanks, now I have permissions

Re: [Xen-devel] [PATCH v2 0/3] arm: introduce basic Renesas R-Car Gen2 platform support

2015-01-23 Thread Iurii Konovalenko
Thanks, now I have permissions to edit. The last question about patches for u-boot. I can't upload them to wiki because of file type filter. What is the best way to share them? Best regards. Iurii Konovalenko | Senior Software Engineer GlobalLogic P +3.8044.492.9695 M +38.099.932.2909 S yuf

Re: [Xen-devel] [PATCH v2 0/3] arm: introduce basic Renesas R-Car Gen2 platform support

2015-01-23 Thread Iurii Konovalenko
My wiki login is: iurii.konovalenko Best regards. Iurii Konovalenko | Senior Software Engineer GlobalLogic On Fri, Jan 23, 2015 at 1:47 PM, Julien Grall wrote: > On 23/01/15 11:27, Iurii Konovalenko wrote: >> Hi, Julien! > > Hello Iurii, > >> >> I tried to add

Re: [Xen-devel] [PATCH v2 0/3] arm: introduce basic Renesas R-Car Gen2 platform support

2015-01-23 Thread Iurii Konovalenko
e. You can view and copy the source of this page: So it seems I don't have rights to edit pages Best regards. Iurii Konovalenko | Senior Software Engineer GlobalLogic On Thu, Jan 22, 2015 at 4:52 PM, Julien Grall wrote: > Hi Iurii, > > On 21/01/15 14:16, Iurii Konovalen

Re: [Xen-devel] [PATCH v2 0/3] arm: introduce basic Renesas R-Car Gen2 platform support

2015-01-21 Thread Iurii Konovalenko
(commit hash: f7ca1f7, net: sh-eth: Add cache writeback control after setting bit of DMA descriptor). Additionaly, it is needed to apply patches from archive, attached to this letter. "lager_xen_defconfig" is config to build u-boot, that starts Xen. Best regards. Iurii Konovalenko | Senio

[Xen-devel] [PATCH v2 0/3] arm: introduce basic Renesas R-Car Gen2 platform support

2015-01-21 Thread Iurii Konovalenko
From: Iurii Konovalenko Changes in v2: 1. Remove timer initialization from board file (timer shold be initialized in u-boot) 2. Coding style fixes. 3. Change ioremap_attr() to ioremap_nocache(). 4. Other misc fixes. The following patch series adds basic support needed for R-Car Gen2 evm

[Xen-devel] [PATCH v2 2/3] xen/arm: Add new driver for R-Car Gen2 UART

2015-01-21 Thread Iurii Konovalenko
From: Oleksandr Tyshchenko Signed-off-by: Oleksandr Tyshchenko Signed-off-by: Iurii Konovalenko --- config/arm32.mk | 1 + xen/drivers/char/Makefile | 1 + xen/drivers/char/rcar2-uart.c | 376 ++ 3 files changed, 378 insertions

[Xen-devel] [PATCH v2 1/3] xen/arm: Add R-Car Gen2 support for early printk

2015-01-21 Thread Iurii Konovalenko
From: Oleksandr Tyshchenko Signed-off-by: Oleksandr Tyshchenko --- docs/misc/arm/early-printk.txt | 1 + xen/arch/arm/Rules.mk | 4 ++ xen/arch/arm/arm32/debug-rcar2.inc | 49 + xen/include/asm-arm/rcar2-uart.h | 107 +

[Xen-devel] [PATCH v2 3/3] xen/arm: Introduce support for Renesas R-Car Gen2 platform

2015-01-21 Thread Iurii Konovalenko
From: Iurii Konovalenko Signed-off-by: Iurii Konovalenko --- xen/arch/arm/platforms/Makefile | 1 + xen/arch/arm/platforms/shmobile.c | 71 +++ 2 files changed, 72 insertions(+) create mode 100644 xen/arch/arm/platforms/shmobile.c diff --git a/xen/arch

Re: [Xen-devel] [PATCH v1 3/3] xen/arm: Introduce support for Renesas R-Car Gen2 platform

2015-01-16 Thread Iurii Konovalenko
On Fri, Jan 16, 2015 at 6:31 PM, Julien Grall wrote: > > On 16/01/15 16:17, Iurii Konovalenko wrote: > > I tried to add instruction: asm volatile("mcr p15, 0, %0, c14, c0, 0" : > > : "r" (freq)); > > Also I tried to write it via Xen API: WRITE_SYSREG32(

Re: [Xen-devel] [PATCH v1 3/3] xen/arm: Introduce support for Renesas R-Car Gen2 platform

2015-01-16 Thread Iurii Konovalenko
e log in attachment. Could you please suggest reason, why it happens? Best regards. Iurii Konovalenko | Senior Software Engineer GlobalLogic P +3.8044.492.9695 M +38.099.932.2909 S yufuntik www.globallogic.com http://www.globallogic.com/email_disclaimer.txt On Fri, Jan 16, 2015 at 5:32 PM, Julien G

Re: [Xen-devel] [PATCH v1 3/3] xen/arm: Introduce support for Renesas R-Car Gen2 platform

2015-01-16 Thread Iurii Konovalenko
Hi, Julien. On Fri, Jan 16, 2015 at 4:08 PM, Julien Grall wrote: > Hi Iurii, > > On 16/01/15 12:50, Iurii Konovalenko wrote: >> From: Iurii Konovalenko >> >> Signed-off-by: Iurii Konovalenko >> --- >> xen/arch/arm/platforms/Makefile | 1

[Xen-devel] [PATCH v1 2/3] xen/arm: Add new driver for R-Car Gen2 UART

2015-01-16 Thread Iurii Konovalenko
From: Oleksandr Tyshchenko Signed-off-by: Oleksandr Tyshchenko Signed-off-by: Iurii Konovalenko --- config/arm32.mk | 1 + xen/drivers/char/Makefile | 1 + xen/drivers/char/rcar2-uart.c | 376 ++ 3 files changed, 378 insertions

[Xen-devel] [PATCH v1 3/3] xen/arm: Introduce support for Renesas R-Car Gen2 platform

2015-01-16 Thread Iurii Konovalenko
From: Iurii Konovalenko Signed-off-by: Iurii Konovalenko --- xen/arch/arm/platforms/Makefile | 1 + xen/arch/arm/platforms/shmobile.c| 149 +++ xen/include/asm-arm/platforms/shmobile.h | 24 + 3 files changed, 174 insertions(+) create mode

[Xen-devel] [PATCH v1 0/3] arm: introduce basic Renesas R-Car Gen2 platform support

2015-01-16 Thread Iurii Konovalenko
From: Iurii Konovalenko The following patch series adds basic support needed for R-Car Gen2 evm boards. Verified on Xen 4.5.0 stable on Lager board with and without early_printk. Iurii Konovalenko (1): xen/arm: Introduce support for Renesas R-Car Gen2 platform Oleksandr Tyshchenko (2): xen

[Xen-devel] [PATCH v1 1/3] xen/arm: Add R-Car Gen2 support for early printk

2015-01-16 Thread Iurii Konovalenko
From: Oleksandr Tyshchenko Signed-off-by: Oleksandr Tyshchenko --- docs/misc/arm/early-printk.txt | 1 + xen/arch/arm/Rules.mk | 4 ++ xen/arch/arm/arm32/debug-rcar2.inc | 49 + xen/include/asm-arm/rcar2-uart.h | 107 +