Re: [Xen-devel] [PATCH v2 for-next 2/9] gcov: rename folder and header to coverage

2017-11-16 Thread Konrad Rzeszutek Wilk
gt; Cc: George Dunlap <george.dun...@eu.citrix.com> > Cc: Ian Jackson <ian.jack...@eu.citrix.com> > Cc: Jan Beulich <jbeul...@suse.com> > Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com>

Re: [Xen-devel] [PATCH v2 for-next 3/9] gcov: rename sysctl and functions

2017-11-16 Thread Konrad Rzeszutek Wilk
Cc: Wei Liu <wei.l...@citrix.com> > Cc: Andrew Cooper <andrew.coop...@citrix.com> > Cc: George Dunlap <george.dun...@eu.citrix.com> > Cc: Jan Beulich <jbeul...@suse.com> > Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Reviewed-by: Konrad Rzeszutek Wilk &l

Re: [Xen-devel] [PATCH v2 for-next 5/9] coverage: introduce generic file

2017-11-16 Thread Konrad Rzeszutek Wilk
drew Cooper <andrew.coop...@citrix.com> > Cc: George Dunlap <george.dun...@eu.citrix.com> > Cc: Ian Jackson <ian.jack...@eu.citrix.com> > Cc: Jan Beulich <jbeul...@suse.com> > Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Reviewed-by: Konrad Rzeszutek

Re: [Xen-devel] [PATCH v2 for-next 6/9] kconfig/gcov: rename to coverage

2017-11-16 Thread Konrad Rzeszutek Wilk
ger@citrix.com> > --- > Cc: Andrew Cooper <andrew.coop...@citrix.com> > Cc: George Dunlap <george.dun...@eu.citrix.com> > Cc: Ian Jackson <ian.jack...@eu.citrix.com> > Cc: Jan Beulich <jbeul...@suse.com> > Cc: Konrad Rzeszutek Wilk <konrad.w...@oracl

Re: [Xen-devel] [PATCH v2 for-next 4/9] gcov: introduce hooks for the sysctl

2017-11-16 Thread Konrad Rzeszutek Wilk
e.dun...@eu.citrix.com> > Cc: Ian Jackson <ian.jack...@eu.citrix.com> > Cc: Jan Beulich <jbeul...@suse.com> > Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> > Cc: Stefano Stabellini <sstabell...@kernel.org> > Cc: Tim Deegan <t...@xen.org> &g

Re: [Xen-devel] HiKey 960 (ARM 64) rcu_preempt detected stalls

2017-11-16 Thread Konrad Rzeszutek Wilk
.snip.. > [0.00] Booting Linux on physical CPU 0x0 > > [0.00] Linux version 4.13.0-linaro-hikey960+ (mc@xenpro3) (gcc > version 7.1.1 20170510 (Linaro GCC 7.1-2017.05)) #1 SMP PREEMPT Wed Sep 13 > 10:16:12 EDT 2017 What branch is this? And what git repo ?

Re: [Xen-devel] [PATCH v2 1/2] x86/svm: Add virtual GIF feature definition

2017-11-16 Thread Konrad Rzeszutek Wilk
On Thu, Nov 16, 2017 at 11:19:38AM -0600, Brian Woods wrote: > Add support for enabling the virtual GIF feature. > > Signed-off-by: Brian Woods > --- > xen/include/asm-x86/hvm/svm/svm.h | 2 ++ > xen/include/asm-x86/hvm/svm/vmcb.h | 6 -- > 2 files changed, 6

Re: [Xen-devel] [PATCH 12/16] SUPPORT.md: Add Security-releated features

2017-11-16 Thread Konrad Rzeszutek Wilk
x.com> > CC: Wei Liu <wei.l...@citrix.com> > CC: Andrew Cooper <andrew.coop...@citrix.com> > CC: Jan Beulich <jbeul...@suse.com> > CC: Stefano Stabellini <sstabell...@kernel.org> > CC: Konrad Wilk <konrad.w...@oracle.com> Reviewed-by: Konrad Rzeszutek

Re: [Xen-devel] [PATCH RFC v3 0/6] x86/idle: add halt poll support

2017-11-15 Thread Konrad Rzeszutek Wilk
On Mon, Nov 13, 2017 at 06:05:59PM +0800, Quan Xu wrote: > From: Yang Zhang > > Some latency-intensive workload have seen obviously performance > drop when running inside VM. The main reason is that the overhead > is amplified when running inside VM. The most cost I have

Re: [Xen-devel] [PATCH 2/2 v2] xen: Fix 16550 UART console for HP Moonshot (Aarch64) platform

2017-11-15 Thread Konrad Rzeszutek Wilk
? > > Signed-off-by: Bhupinder Thakur <bhupinder.tha...@linaro.org> > --- > CC: Andrew Cooper <andrew.coop...@citrix.com> > CC: George Dunlap <george.dun...@eu.citrix.com> > CC: Ian Jackson <ian.jack...@eu.citrix.com> > CC: Jan Beulich <jbeul...@suse.com&

Re: [Xen-devel] Xen PVH support in grub2

2017-11-08 Thread Konrad Rzeszutek Wilk
On Tue, Nov 07, 2017 at 11:10:29AM -0500, Boris Ostrovsky wrote: > On 11/07/2017 02:42 AM, Juergen Gross wrote: > > On 06/11/17 17:42, Boris Ostrovsky wrote: > >> On 11/06/2017 10:05 AM, Juergen Gross wrote: > >>> On 06/11/17 15:51, Boris Ostrovsky wrote: > On 11/06/2017 02:16 AM, Juergen

Re: [Xen-devel] Unable to create guest PV domain on OMAP5432

2017-11-08 Thread Konrad Rzeszutek Wilk
On Wed, Nov 08, 2017 at 10:47:20AM +0530, Jayadev Kumaran wrote: > Hello all, > > I'm trying to implement Xen hypervisor support on OMAP5432.I have followed > the steps as in > https://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/OMAP5432_uEVM > for the initial setup. I'm able

Re: [Xen-devel] [PATCH] x86/cpuid: Enable new SSE/AVX/AVX512 cpu features

2017-11-02 Thread Konrad Rzeszutek Wilk
On Thu, Nov 02, 2017 at 08:59:20AM +0800, Zhong Yang wrote: > On Wed, Nov 01, 2017 at 03:29:16PM -0400, Konrad Rzeszutek Wilk wrote: > > On Fri, Oct 27, 2017 at 10:18:04PM +0800, Yang Zhong wrote: > > > Intel IceLake cpu has added new cpu features: AVX512VBMI2/GFNI/ >

Re: [Xen-devel] [PATCH RFC v2] Add SUPPORT.md

2017-11-02 Thread Konrad Rzeszutek Wilk
On Thu, Nov 02, 2017 at 10:46:20AM +, George Dunlap wrote: > On 11/01/2017 05:10 PM, Konrad Rzeszutek Wilk wrote: > > On Tue, Oct 24, 2017 at 04:22:38PM +0100, George Dunlap wrote: > >> On Fri, Sep 15, 2017 at 3:51 PM, Konrad Rzeszutek Wilk > >> <konrad.w...@oracl

Re: [Xen-devel] [PATCH] x86/cpuid: Enable new SSE/AVX/AVX512 cpu features

2017-11-01 Thread Konrad Rzeszutek Wilk
On Fri, Oct 27, 2017 at 10:18:04PM +0800, Yang Zhong wrote: > Intel IceLake cpu has added new cpu features: AVX512VBMI2/GFNI/ > VAES/AVX512VNNI/AVX512BITALG/VPCLMULQDQ. Those new cpu features > need expose to guest.wq s/wq// > > The bit definition: > CPUID.(EAX=7,ECX=0):ECX[bit 06] AVX512VBMI2

Re: [Xen-devel] [PATCH v3 for-next 3/4] xen/tmem: Convert the file common/tmem_xen.c to use typesafe MFN

2017-11-01 Thread Konrad Rzeszutek Wilk
ndrew Cooper <andrew.coop...@citrix.com> > > --- > > Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Acked-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> But could you confirm that you did compile this on x86 and with CONFIG_TMEM=y in the .config? Thanks! >

Re: [Xen-devel] [PATCH RFC v2] Add SUPPORT.md

2017-11-01 Thread Konrad Rzeszutek Wilk
On Tue, Oct 24, 2017 at 04:22:38PM +0100, George Dunlap wrote: > On Fri, Sep 15, 2017 at 3:51 PM, Konrad Rzeszutek Wilk > <konrad.w...@oracle.com> wrote: > >> +### Soft-reset for PV guests > > > > s/PV/HVM/ > > Is it? I thought this was for RHEL 5 PV g

Re: [Xen-devel] linux-arm-xen branch, commit access, etc.

2017-10-20 Thread Konrad Rzeszutek Wilk
On Fri, Oct 20, 2017 at 03:34:40PM +0100, Ian Jackson wrote: > Currently we are running our ARM tests in osstest off a branch in > Stefano's personal Linux tree. This is a bit unsatisfactory. > > We would like to switch to a branch that Julien can push to too, and > that is in a more official

Re: [Xen-devel] [PATCH v8 00/16] Enable Memory Bandwidth Allocation in Xen

2017-10-19 Thread Konrad Rzeszutek Wilk
> > CC: Daniel De Graaf <dgde...@tycho.nsa.gov> > CC: Roger Pau Monné <roger@citrix.com> > CC: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> > CC: Chao Peng <chao.p.p...@linux.intel.com> > CC: Julien Grall <julien.gr...@arm.com> > > -

Re: [Xen-devel] [dpdk-dev] Can xenvirt pmd work in xen guest (aka DomU) without xen-vhost in Dom0 ?

2017-10-19 Thread Konrad Rzeszutek Wilk
On Mon, Oct 09, 2017 at 12:13:47AM +0800, Tan, Jianfeng wrote: > Hi, > > > On 10/8/2017 12:54 PM, Bill Bonaparte wrote: > > Thanks Jianfeng for taking time to reply. > > > > please allow me to briefly explain why I want to run dpdk on xen. > > our system is based on dpdk, which means we use

Re: [Xen-devel] libxl: Change the type of console_mfn to xen_pfn_t

2017-10-17 Thread Konrad Rzeszutek Wilk
On Tue, Oct 17, 2017 at 10:16:30PM +0530, Bhupinder Thakur wrote: One also explains the rationale in the commit. Perhaps also include 'Reported-by' .. > Signed-off-by: Bhupinder Thakur > --- > CC: Ian Jackson > CC: Wei Liu

Re: [Xen-devel] [PATCH] xen/public: Correct the definition of GNTTAB_CACHE_SOURCE_GREF

2017-10-17 Thread Konrad Rzeszutek Wilk
ew Cooper <andrew.coop...@citrix.com> > --- > CC: George Dunlap <george.dun...@eu.citrix.com> > CC: Jan Beulich <jbeul...@suse.com> > CC: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> > CC: Stef

Re: [Xen-devel] [Qemu-devel] [RFC QEMU PATCH v3 00/10] Implement vNVDIMM for Xen HVM guest

2017-10-16 Thread Konrad Rzeszutek Wilk
On Sun, Oct 15, 2017 at 03:31:15AM +0300, Michael S. Tsirkin wrote: > On Fri, Oct 13, 2017 at 03:46:39PM -0700, Stefano Stabellini wrote: > > On Fri, 13 Oct 2017, Jan Beulich wrote: > > > >>> On 13.10.17 at 13:13, wrote: > > > > To Jan, Andrew, Stefano and Anthony, > > >

Re: [Xen-devel] [Qemu-devel] [RFC QEMU PATCH v3 00/10] Implement vNVDIMM for Xen HVM guest

2017-10-12 Thread Konrad Rzeszutek Wilk
On Thu, Oct 12, 2017 at 08:45:44PM +0800, Haozhong Zhang wrote: > On 10/10/17 12:05 -0400, Konrad Rzeszutek Wilk wrote: > > On Tue, Sep 12, 2017 at 11:15:09AM +0800, Haozhong Zhang wrote: > > > On 09/11/17 11:52 -0700, Stefano Stabellini wrote: > > > > CC'ing xen-de

Re: [Xen-devel] [PATCH v10 04/11] public: xen.h: add definitions for UUID handling

2017-10-11 Thread Konrad Rzeszutek Wilk
Babchuk <volodymyr_babc...@epam.com> Acked-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

Re: [Xen-devel] [RFC QEMU PATCH v3 00/10] Implement vNVDIMM for Xen HVM guest

2017-10-10 Thread Konrad Rzeszutek Wilk
On Tue, Sep 12, 2017 at 11:15:09AM +0800, Haozhong Zhang wrote: > On 09/11/17 11:52 -0700, Stefano Stabellini wrote: > > CC'ing xen-devel, and the Xen tools and x86 maintainers. > > > > On Mon, 11 Sep 2017, Igor Mammedov wrote: > > > On Mon, 11 Sep 2017 12:41:47 +0800 > > > Haozhong Zhang

Re: [Xen-devel] [PATCH] Remove redundant code in branch MAP_PIRQ_TYPE_MSI

2017-10-09 Thread Konrad Rzeszutek Wilk
On Mon, Oct 09, 2017 at 02:15:48PM +0800, Joe Jin wrote: > Looks good for me. > > Reviewed-by: Joe Jin <joe@oracle.com> Ah, indeed. Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Also CC-ing Jan and Andrew. P.S. Could you change the title to have '

[Xen-devel] [refpolicy SELinux PATCH] Updates to SELinux refpolicies to make xenconsoled work. (v1)]

2017-10-09 Thread Konrad Rzeszutek Wilk
Re-sending as the first didn't hit the refpolicy mailing list. Date: Mon, 9 Oct 2017 11:53:45 -0400 From: Konrad Rzeszutek Wilk <kon...@kernel.org> To: refpol...@oss.tresys.com Cc: xen-de...@lists.xenproject.org Subject: [refpolicy SELinux PATCH] Updates to SELinux refpolicies t

[Xen-devel] [refpolicy SELinux PATCH 2/2] kernel/xen: Add map permission to the dev_rw_xen

2017-10-09 Thread Konrad Rzeszutek Wilk
From: Konrad Rzeszutek Wilk <kon...@kernel.org> type=AVC msg=audit(1504637347.487:280): avc: denied { map } for pid=857 comm="xenconsoled" path="/dev/xen/privcmd" dev="devtmpfs" ino=16289 scontext=system_u:system_r:xenconsoled_t:s0 Without this we c

[Xen-devel] [refpolicy SELinux PATCH 1/2] kernel/xen: Update for Xen 4.6

2017-10-09 Thread Konrad Rzeszutek Wilk
From: Konrad Rzeszutek Wilk <kon...@kernel.org> libxenstored since git commit 9c89dc95201ffed5fead17b35754bf9440fdbdc0 prefers to use "/dev/xen/xenbus" over the "/proc/xen/xenbus". Signed-off-by: Konrad Rzeszutek Wilk <kon...@kernel.org> --- policy/modules

[Xen-devel] [refpolicy SELinux PATCH] Updates to SELinux refpolicies to make xenconsoled work. (v1)

2017-10-09 Thread Konrad Rzeszutek Wilk
onetheless it is needed to make xenconsoled work on Fedora installs. Additionally we also add the 'map' functionality to make the xenconsoled /xenconsole work together. For more details, please see: https://bugzilla.redhat.com/show_bug.cgi?id=1484908 Please merge at your convience. Konrad Rzeszut

Re: [Xen-devel] [PATCH] MAINTAINERS: update entries to new email address.

2017-10-05 Thread Konrad Rzeszutek Wilk
gned-off-by: Dario Faggioli <raist...@linux.it> > --- > Cc: Andrew Cooper <andrew.coop...@citrix.com> > Cc: George Dunlap <george.dun...@eu.citrix.com> > Cc: Ian Jackson <ian.jack...@eu.citrix.com> > Cc: Jan Beulich <jbeul...@suse.com> > Cc: Konrad Rzeszu

Re: [Xen-devel] [PATCH v4 01/11] livepatch: Expand check for safe_for_reapply if livepatch has only .rodata.

2017-10-05 Thread Konrad Rzeszutek Wilk
On Thu, Oct 05, 2017 at 02:47:30PM +0100, Ross Lagerwall wrote: > On 09/20/2017 11:31 PM, Konrad Rzeszutek Wilk wrote: > > If the livepatch has only .rodata sections then it is OK to also > > apply/revert/apply the livepatch without having to worry about the > > u

Re: [Xen-devel] 4.9.52: INFO: task XXX blocked for more than 300 seconds.

2017-10-05 Thread Konrad Rzeszutek Wilk
On Wed, Oct 04, 2017 at 08:26:27PM +0200, Philipp Hahn wrote: > Hello, > Adding Ankur to this as I think he saw something similar. But in the meantime - do you see this with the latest version of Linux? > with linux-4.9.52 running on Debian-Wheezy with Xen-4.1 I observed > several stuck

Re: [Xen-devel] [PATCH v7 04/11] public: xen.h: add definitions for UUID handling

2017-10-05 Thread Konrad Rzeszutek Wilk
On Thu, Oct 05, 2017 at 12:00:20AM +0300, Volodymyr Babchuk wrote: > Added type xen_uuid_t. This type represents UUID as an array of 16 > bytes in big endian format. > > Added macro XEN_DEFINE_UUID that constructs UUID in the usual way: > > XEN_DEFINE_UUID(0x00112233, 0x4455, 0x6677, 0x8899, >

Re: [Xen-devel] [PATCH 4/4] xen/ubsan: Introduce and use CONFIG_UBSAN

2017-10-05 Thread Konrad Rzeszutek Wilk
> +config UBSAN > + bool "Undefined behaviour sanitizer" > + depends on X86 > + ---help--- > + Enable undefined behaviour sanitizer. > + > + If unsure, say N here. Could you perhaps expand it a bit? How does it sanitize it? With soap :-)? And what 'undefinded behaviour's

Re: [Xen-devel] [PATCH 1/4] xen/tmem: Drop unnecessary noinline attribute

2017-10-05 Thread Konrad Rzeszutek Wilk
On Tue, Oct 03, 2017 at 07:07:50PM +0100, Andrew Cooper wrote: > tmem_mempool_page_get() is only referenced by address, so isn't eligable for > inlining in the first place. > > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> > --- > CC: Konrad Rzeszutek Wilk

[Xen-devel] ARM32 - build-issues with xen/arm: vpl011: Add a new vuart node in the xenstore

2017-10-04 Thread Konrad Rzeszutek Wilk
I get this when compiling under ARM32 (Ubuntu 15.04, gcc (Ubuntu/Linaro 4.9.2-10ubuntu13) 4.9.2): libxl_console.c: In function ‘libxl__device_vuart_add’: libxl_console.c:379:5: error: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘xen_pfn_t’ [-Werror=format=]

Re: [Xen-devel] [PATCH v3 9/9] xen/arm: mm: Use memory flags for modify_xen_mappings rather than custom one

2017-10-02 Thread Konrad Rzeszutek Wilk
w...@arm.com> > Reviewed-by: Stefano Stabellini <sstabell...@kernel.org> > > --- > Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> > Cc: Ross Lagerwall <ross.lagerw...@citrix.com> > > arch_livepatch_secure is now the same as on x86.

Re: [Xen-devel] [PATCH v4 1/1] public/io/netif.h: add gref mapping control messages

2017-09-29 Thread Konrad Rzeszutek Wilk
..@citrix.com>; Paul Durrant <paul.durr...@citrix.com>; > > Konrad Rzeszutek Wilk <konrad.w...@oracle.com>; Joao Martins > > <joao.m.mart...@oracle.com> > > Subject: [PATCH v4 1/1] public/io/netif.h: add gref mapping control messages > > > > Adds 3 messag

Re: [Xen-devel] [PATCH v3 0/1] netif: staging grants for I/O requests

2017-09-29 Thread Konrad Rzeszutek Wilk
oposal covering motivation of this and applicability for other > use-cases alongside the necessary changes. This proposal is an RFC and also s/is an RFC and also/ And with that Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> ___ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel

[Xen-devel] (Offlist)Re: ARM64 HiKey 960 Xen BUG at page_alloc.c:738

2017-09-29 Thread Konrad Rzeszutek Wilk
On Fri, Sep 29, 2017 at 10:57:11AM -0400, John P. McDermott (USN Civilian) wrote: > Xen Developers, > > Trying to run Xen ARM64 on HiKey 960. Following the guidance on the wiki, > building on Ubuntu 17, everything works as expected until Xen boots. The > interesting tail of the serial console

Re: [Xen-devel] Formal vote on Unicore Proposal (deadline Frid, Oct 6th)

2017-09-29 Thread Konrad Rzeszutek Wilk
On Fri, Sep 29, 2017 at 12:07:47PM +, Lars Kurth wrote: > Dear committers, > > in accordance with https://www.xenproject.org/governance.html, I need the > leadership teams of the two mature projects – the Hypervisor and the XAPI > project – to vote on this proposal. > > The Advisory Board

Re: [Xen-devel] GRUB2 missing multiboot2 patches?Re: Only 1 CPU was detected

2017-09-29 Thread Konrad Rzeszutek Wilk
On Fri, Sep 29, 2017 at 11:49:39AM +0100, Michael Young wrote: > > > On Thu, 28 Sep 2017, Hongjiang Zhang wrote: > > > > -Original Message- > > > From: Stefan Bader [mailto:stefan.ba...@canonical.com] > > > Sent: Friday, September 29, 2017

[Xen-devel] GRUB2 missing multiboot2 patches?Re: Only 1 CPU was detected

2017-09-28 Thread Konrad Rzeszutek Wilk
On Thu, Sep 28, 2017 at 02:45:38PM +, Hongjiang Zhang wrote: > >> (XEN) ACPI Error (tbxfroot-0218): A valid RSDP was not found > >> [20070126] > > > >Uuh, that is rather bad, I guess. I am going to assume this is due to not having: b4d709b6e Use grub-file to figure out whether multiboot2

[Xen-devel] Tips on how to debug EFI code (iPXE) from within KVM after ipxe.efi has crashed with #GP?

2017-09-28 Thread Konrad Rzeszutek Wilk
Hey, I am hitting an interesting issue with the latest versions of iPXE, edk2, and GRUB wherein I am trying to boot GRUB (via iPXE), and then load Xen, I get this: !!! X64 Exception Type - 0D(#GP - General Protection) CPU Apic ID - ExceptionData - RIP -

Re: [Xen-devel] ARM Hikey 960 - Missing Image Files for Xen

2017-09-28 Thread Konrad Rzeszutek Wilk
On Thu, Sep 28, 2017 at 08:29:27AM -0400, John P. McDermott (USN Civilian) wrote: > Xen Developers, > > The guidance for running Xen on a HiKey 960 identifies files that should be > flashed onto the board, as part of the process for installing Xen. > > https://wiki.xen.org/wiki/HiKey960

Re: [Xen-devel] [PATCH v4 3/3] MAINTAINERS: xen, kvm: track pvclock-abi.h changes

2017-09-27 Thread Konrad Rzeszutek Wilk
file, hence this commit simply enforces it more > explicitly and have both peers noticed when such changes happen. > > Signed-off-by: Joao Martins <joao.m.mart...@oracle.com> > Acked-by: Juergen Gross <jgr...@suse.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@o

Re: [Xen-devel] pci-passthrough loses msi-x interrupts ability after domain destroy

2017-09-22 Thread Konrad Rzeszutek Wilk
On Fri, Sep 22, 2017 at 09:35:40AM +0200, Sander Eikelenboom wrote: > On 22/09/17 04:09, Christopher Clark wrote: > > On Thu, Sep 21, 2017 at 1:27 PM, Sander Eikelenboom > > wrote: > >> > >> On Thu, September 21, 2017, 10:39:52 AM, Roger Pau Monné wrote: > >> > >>> On Wed,

Re: [Xen-devel] Xen Porting Inquiry

2017-09-22 Thread Konrad Rzeszutek Wilk
On Fri, Sep 22, 2017 at 09:31:26AM -0700, t...@hughes.net wrote: > Hello, > > Who can I contact at Xen to obtain an estimate of the effort required to port > Xen to IBM's OpenPOWER 9 CPU? I would recommend you speak to IBM as they would be most qualified to answer that question.

Re: [Xen-devel] ARM64:Porting xen to new hardware

2017-09-22 Thread Konrad Rzeszutek Wilk
ingup issue. You can also hit 'Ctrl-a' three times and then 'd' which would give you the stack trace and EIP of dom0. That should help in figuirng where your dom0 is stuck. > > Thanks, > Bharat > > On Mon, Sep 18, 2017 at 8:16 PM, Konrad Rzeszutek Wilk < > konrad.w...@orac

[Xen-devel] [PATCH v4 02/11] livepatch: Tighten alignment checks.

2017-09-20 Thread Konrad Rzeszutek Wilk
-by: Jan Beulich <jbeul...@suse.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> --- Cc: Ross Lagerwall <ross.lagerw...@citrix.com> v1: Initial patch v2: Drop the check when loading it in memory Add check for alignment being anything but power of two

[Xen-devel] [PATCH v4 07/11] livepatch/x86/arm[32, 64]: Force .livepatch.depends section to be uint32_t aligned.

2017-09-20 Thread Konrad Rzeszutek Wilk
DDEN17 note_depends 16: 36 OBJECT GLOBAL HIDDEN 3 note_depends 21: 36 OBJECT GLOBAL HIDDEN 6 note_depends See patch titled: "livepatch/arm/x86: Rename note_depends symbol from test-cases." which fixes this. Signed-off-by: Konrad Rzeszut

[Xen-devel] [PATCH v4 11/11] livepatch: Declare live patching as a supported feature

2017-09-20 Thread Konrad Rzeszutek Wilk
From: Ross Lagerwall <ross.lagerw...@citrix.com> See docs/features/livepatch.pandoc for the details. Reviewed-by: Jan Beulich <jbeul...@suse.com> Signed-off-by: Ross Lagerwall <ross.lagerw...@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <kon...@kernel.org> -- v2: -

[Xen-devel] [PATCH v4 10/11] livepatch/arm[32, 64]: Modify .livepatch.funcs section to be RW when patching

2017-09-20 Thread Konrad Rzeszutek Wilk
loading of the .livepatch_funcs which would result the section being in writeable region from the gecko. Suggested-by: Julien Grall <julien.gr...@arm.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> --- Cc: Ross Lagerwall <ross.lagerw...@citrix.com> v4: First posting

[Xen-devel] [PATCH v4 06/11] mkhex: Move it to tools/misc

2017-09-20 Thread Konrad Rzeszutek Wilk
m> Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> --- CC: Ian Jackson <ian.jack...@eu.citrix.com> CC: Wei Liu <wei.l...@citrix.com> Cc: Stefano Stabellini <sstabell...@kernel.org> Cc: Julien Grall <julien.gr...@arm.com> Cc: Jan Beulich <jbeul...@suse.com&g

[Xen-devel] [PATCH v4 01/11] livepatch: Expand check for safe_for_reapply if livepatch has only .rodata.

2017-09-20 Thread Konrad Rzeszutek Wilk
by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> --- Cc: Ross Lagerwall <ross.lagerw...@citrix.com> v3: First posting. --- xen/common/livepatch.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/xen/common/livepatch.c b/xen/common/livepatch.c index 66167a5

[Xen-devel] [PATCH v4 05/11] alternative/x86/arm32: Align altinstructions (and altinstr_replacement) sections.

2017-09-20 Thread Konrad Rzeszutek Wilk
0/0 up/down: 0/0 (0) function old new delta Total: Before=822563, After=822563, chg +0.00% Also since the macros have the alignment coded in them there is no need to do that for the xen.lds.S anymore. Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@o

[Xen-devel] [PATCH v4] Livepatching patch set for 4.10

2017-09-20 Thread Konrad Rzeszutek Wilk
-for-4.10.v4 Konrad Rzeszutek Wilk (10): livepatch: Expand check for safe_for_reapply if livepatch has only .rodata. livepatch: Tighten alignment checks. livepatch: Include sizes when an mismatch occurs livepatch/arm[32,64]: Don't load and crash on livepatches loaded with wrong

[Xen-devel] [PATCH v4 09/11] livepatch/tests: Make sure all .livepatch.funcs sections are read-only

2017-09-20 Thread Konrad Rzeszutek Wilk
Instead of being writable (.data). This mimics the behavior of what livepatch-build-tools do. Other approaches such as 'struct const livepatch_funcs' still result in the WA section attributes. Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> --- Cc: Ross Lagerwall <ro

[Xen-devel] [PATCH v4 08/11] livepatch/arm/x86: Rename note_depends symbol from test-cases.

2017-09-20 Thread Konrad Rzeszutek Wilk
te_depends R xen_replace_world.livepatch_note_depends Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> --- Cc: Ross Lagerwall <ross.lagerw...@citrix.com> v3: First posting. v4: Instead of stripping the symbol (and also using --strip-debug), just rename the

[Xen-devel] [PATCH v4 03/11] livepatch: Include sizes when an mismatch occurs

2017-09-20 Thread Konrad Rzeszutek Wilk
would fail if the size of the .ex_table was being zero - but that is OK. Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> --- Cc: Ross Lagerwall <ross.lagerw...@citrix.com> v1: First posting. v2: - Changed to 'Multiple' per Jan's recommendation. - Folded the checks in

[Xen-devel] [PATCH v4 04/11] livepatch/arm[32, 64]: Don't load and crash on livepatches loaded with wrong text alignment.

2017-09-20 Thread Konrad Rzeszutek Wilk
all as we only implement a small subset of them - as such we only check for data types that are implemented - and if the type is anything else and not aligned to 32-bit, then we error out. Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> --- Cc: Ross Lagerwall <ross.lagerw...

Re: [Xen-devel] [PATCH v3 06/17] xen/livepatch/x86/arm32: Force .livepatch.depends section to be uint32_t aligned.

2017-09-20 Thread Konrad Rzeszutek Wilk
On Wed, Sep 20, 2017 at 03:01:57PM +0100, Wei Liu wrote: > On Tue, Sep 19, 2017 at 12:05:16PM +0100, Julien Grall wrote: > > Hi Konrad, > > > > On 19/09/17 01:32, Konrad Rzeszutek Wilk wrote: > > > > > +.PHONY: livepatch_depends.h > > > > > +li

Re: [Xen-devel] [PATCH v2 3/5] xen/livepatch/ARM32: Don't load and crash on livepatches loaded with wrong alignment.

2017-09-20 Thread Konrad Rzeszutek Wilk
On Tue, Sep 19, 2017 at 09:04:44AM -0600, Jan Beulich wrote: > >>> On 18.09.17 at 21:37, wrote: > > On Tue, Sep 12, 2017 at 02:57:04AM -0600, Jan Beulich wrote: > >> >>> On 12.09.17 at 02:22, wrote: > >> > If I compile the test-case under ARM32 it works

Re: [Xen-devel] Ping: [PATCH 2/2] public/sysctl: drop unnecessary typedefs and handles

2017-09-19 Thread Konrad Rzeszutek Wilk
action(xen_sysctl_livepatch_action_t *action) >> +static int livepatch_action(struct xen_sysctl_livepatch_action >*action) >> { >> struct payload *data; >> char n[XEN_LIVEPATCH_NAME_SIZE]; >> @@ -1560,7 +1560,7 @@ static int livepatch_action(xen_sysctl_l &

Re: [Xen-devel] [PATCH v2 3/5] xen/livepatch/ARM32: Don't load and crash on livepatches loaded with wrong alignment.

2017-09-19 Thread Konrad Rzeszutek Wilk
On Tue, Sep 12, 2017 at 02:57:04AM -0600, Jan Beulich wrote: > >>> On 12.09.17 at 02:22, wrote: > > On Mon, Sep 11, 2017 at 03:01:15AM -0600, Jan Beulich wrote: > >> Hmm, as long as the relocation isn't required to be against aligned > >> fields only (mandated by the processor

Re: [Xen-devel] [PATCH 01/27 v9] xen/arm: vpl011: Define common ring buffer helper functions in console.h

2017-09-19 Thread Konrad Rzeszutek Wilk
akur <bhupinder.tha...@linaro.org> > Reviewed-by: Stefano Stabellini <sstabell...@kernel.org> > Acked-by: Wei Liu <wei.l...@citrix.com> Acked-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> > --- > CC: Ian Jackson <ian.jack...@eu.citrix.com> > CC: Wei Liu &

Re: [Xen-devel] Feature control on PV devices

2017-09-19 Thread Konrad Rzeszutek Wilk
On Thu, Sep 14, 2017 at 05:08:18PM +0100, Joao Martins wrote: > [ Realized that I didn't CC the maintainers, > so doing that now, +Linux folks +PV interfaces czar > Sorry for the noise! ] > > On 09/08/2017 09:49 AM, Joao Martins wrote: > > [Forgot two important details regarding Xenbus

Re: [Xen-devel] [PATCH v3 09/17] livepatch/arm[32, 64]: Modify livepatch_funcs

2017-09-18 Thread Konrad Rzeszutek Wilk
On Thu, Sep 14, 2017 at 02:20:42PM +0100, Julien Grall wrote: > Hi Konrad, > > On 12/09/17 01:37, Konrad Rzeszutek Wilk wrote: > > This was found when porting livepatch-build-tools to ARM64/32. > > > > When livepatch-build-tools are built (and test-case thanks to: >

Re: [Xen-devel] [PATCH v3 08/17] livepatch/tests: Make sure all .livepatch.funcs sections are read-only

2017-09-18 Thread Konrad Rzeszutek Wilk
On Tue, Sep 12, 2017 at 08:49:55AM -0600, Jan Beulich wrote: > >>> On 12.09.17 at 02:37, wrote: > > --- a/xen/test/livepatch/Makefile > > +++ b/xen/test/livepatch/Makefile > > @@ -54,6 +54,7 @@ xen_hello_world.o: config.h livepatch_depends.h > > $(LIVEPATCH):

Re: [Xen-devel] [PATCH v3 06/17] xen/livepatch/x86/arm32: Force .livepatch.depends section to be uint32_t aligned.

2017-09-18 Thread Konrad Rzeszutek Wilk
> > +.PHONY: livepatch_depends.h > > +livepatch_depends.h: note.bin > > + $(shell (../../../tools/firmware/hvmloader/mkhex $(NOTE_DEPENDS) $^ > > > $@)) > > It looks quite odd to use a file in firmware/hvmloader for livepatch. Would > it be possible to move mkhex to a generic place? Like so?

Re: [Xen-devel] ARM64:Porting xen to new hardware

2017-09-18 Thread Konrad Rzeszutek Wilk
On Fri, Sep 08, 2017 at 10:19:55PM +0300, Oleksandr Tyshchenko wrote: > Hi Bharat > > On Thu, Sep 7, 2017 at 4:30 PM, bharat gohil wrote: > > Hello Olensandr, > > > > I able to boot xen and trying to boot dom0 but there are no console log for > > dom0. > > > > following log

Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-15 Thread Konrad Rzeszutek Wilk
.snip.. > (XEN) Loading dom0 DTB to 0x17e0-0x17e08265 > (XEN) init_domheap_pages: 0xb87b1->0xb87bc > (XEN) init_heap_pages: 0xb87b1 -> 0xb87bc > (XEN) init_domheap_pages: 0xb88f1->0xb98ae > (XEN) init_heap_pages: 0xb88f1 -> 0xb98ae <- so the memory is from here > > (XEN)

Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-15 Thread Konrad Rzeszutek Wilk
On Thu, Sep 14, 2017 at 05:39:23PM -0400, Boris Ostrovsky wrote: > On 09/14/2017 05:26 PM, Konrad Rzeszutek Wilk wrote: > > On Wed, Sep 13, 2017 at 02:49:41PM -0400, Boris Ostrovsky wrote: > >> On 09/13/2017 02:25 PM, Julien Grall wrote: > >>> Hi, > >&g

Re: [Xen-devel] [PATCH v3] hvmloader: Use MB(x) and GB(x) macros

2017-09-15 Thread Konrad Rzeszutek Wilk
On Fri, Sep 15, 2017 at 05:57:50PM +0100, Wei Liu wrote: > On Fri, Sep 15, 2017 at 12:55:51PM -0400, Konrad Rzeszutek Wilk wrote: > > instead of hardcoding values. We also drop the uint64_t > > cast as the macro uses ULL to produce the proper width > > types. > > >

Re: [Xen-devel] [PATCH] mm: Scrub pages returned back to heap if MEMF_no_scrub is set

2017-09-15 Thread Konrad Rzeszutek Wilk
On Fri, Sep 15, 2017 at 12:47:29PM -0400, Boris Ostrovsky wrote: > On 09/15/2017 12:05 PM, Jan Beulich wrote: > On 15.09.17 at 16:04, wrote: > >> Set free_heap_pages()'s need_scrub to true if alloc_domheap_pages() > >> returns pages back to heap as result of

Re: [Xen-devel] [PATCH 1/3] python: Add binding for xs_fileno()

2017-09-15 Thread Konrad Rzeszutek Wilk
arris <euan.har...@citrix.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> > --- > tools/python/xen/lowlevel/xs/xs.c | 20 > 1 file changed, 20 insertions(+) > > diff --git a/tools/python/xen/lowlevel/xs/xs.c > b/tools/python/

[Xen-devel] [PATCH v3] Left over patches from long-time ago.

2017-09-15 Thread Konrad Rzeszutek Wilk
/pci.c| 8 tools/firmware/hvmloader/smbios.c | 5 ++--- tools/firmware/hvmloader/util.h | 3 +++ 4 files changed, 12 insertions(+), 10 deletions(-) Konrad Rzeszutek Wilk (1): hvmloader: Use MB(x) and GB(x) macros ___ Xen-devel

[Xen-devel] [PATCH v3] hvmloader: Use MB(x) and GB(x) macros

2017-09-15 Thread Konrad Rzeszutek Wilk
instead of hardcoding values. We also drop the uint64_t cast as the macro uses ULL to produce the proper width types. Acked-by: Jan Beulich <jbeul...@suse.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> --- Cc: Jan Beulich <jbeul...@suse.com> Cc: Andrew C

Re: [Xen-devel] [PATCH RFC v2] Add SUPPORT.md

2017-09-15 Thread Konrad Rzeszutek Wilk
> +### Soft-reset for PV guests s/PV/HVM/ > + > +Status: Supported > + > +Soft-reset allows a new kernel to start 'from scratch' with a fresh VM > state, > +but with all the memory from the previous state of the VM intact. > +This is primarily designed to allow "crash kernels", >

Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-14 Thread Konrad Rzeszutek Wilk
On Wed, Sep 13, 2017 at 02:49:41PM -0400, Boris Ostrovsky wrote: > On 09/13/2017 02:25 PM, Julien Grall wrote: > > Hi, > > > > On 09/13/2017 07:05 PM, Boris Ostrovsky wrote: > >> On 09/13/2017 11:32 AM, Konrad Rzeszutek Wilk wrote: > >> Well, tha

Re: [Xen-devel] GRUB documentation updated

2017-09-14 Thread Konrad Rzeszutek Wilk
On Thu, Sep 07, 2017 at 09:12:33PM +0200, Daniel Kiper wrote: > Hey, > > Some people asked me about Multiboot2 Specification and other GRUB doc stuff. > So, I have put latest things at > https://www.gnu.org/software/grub/grub-documentation.html Yeey! Thank you for doing that! > > I hope that

Re: [Xen-devel] [PATCH RFC] Add SUPPORT.md

2017-09-14 Thread Konrad Rzeszutek Wilk
On Thu, Sep 07, 2017 at 05:50:13AM -0600, Jan Beulich wrote: > >>> On 07.09.17 at 13:31, wrote: > > On 08/31/2017 01:46 PM, Jan Beulich wrote: > > On 31.08.17 at 12:27, wrote: > >>> +### Live Patching > >>> + > >>> +Status: Supported,

Re: [Xen-devel] [PATCH v3 07/17] livepatch/arm/x86: Strip note_depends symbol from test-cases.

2017-09-13 Thread Konrad Rzeszutek Wilk
On Wed, Sep 13, 2017 at 02:51:41AM -0600, Jan Beulich wrote: > >>> On 13.09.17 at 01:46, wrote: > > On Tue, Sep 12, 2017 at 08:48:33AM -0600, Jan Beulich wrote: > >> >>> On 12.09.17 at 02:37, wrote: > >> > This surfaced due to "xen/livepatch/x86/arm32: Force

Re: [Xen-devel] [RFC XEN PATCH v3 12/39] tools/xen-ndctl: add NVDIMM management util 'xen-ndctl'

2017-09-13 Thread Konrad Rzeszutek Wilk
On Mon, Sep 11, 2017 at 09:35:08AM -0700, Dan Williams wrote: > On Sun, Sep 10, 2017 at 10:39 PM, Haozhong Zhang > wrote: > > On 09/10/17 22:10 -0700, Dan Williams wrote: > >> On Sun, Sep 10, 2017 at 9:37 PM, Haozhong Zhang > >> wrote: > >> >

Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-13 Thread Konrad Rzeszutek Wilk
On Tue, Sep 12, 2017 at 09:19:23PM -0400, Boris Ostrovsky wrote: > > > On 09/12/2017 08:01 PM, Konrad Rzeszutek Wilk wrote: > > On Mon, Sep 11, 2017 at 08:45:02PM -0400, Boris Ostrovsky wrote: > > > > > > > > > On 09/11/2017 07:55 PM

Re: [Xen-devel] [PATCH v3 14/17] livepatch/x86/arm: arch/x86/mm: generalize do_page_walk() and implement arch_livepatch_lookup_mfn

2017-09-12 Thread Konrad Rzeszutek Wilk
On Tue, Sep 12, 2017 at 08:54:34AM -0600, Jan Beulich wrote: > >>> On 12.09.17 at 02:37, wrote: > > With this change we can use _do_page_walk() to implement > > arch_livepatch_lookup_mfn() which can be used to find out > > vmap virtual addresses (as under x86 virt_to_mfn won't

Re: [Xen-devel] CONFIG_SCRUB_DEBUG=y + arm64 + livepatch = Xen BUG at page_alloc.c:738

2017-09-12 Thread Konrad Rzeszutek Wilk
On Mon, Sep 11, 2017 at 08:45:02PM -0400, Boris Ostrovsky wrote: > > > On 09/11/2017 07:55 PM, Konrad Rzeszutek Wilk wrote: > > Hey, > > > > I've only been able to reproduce this on ARM64 (trying right now ARM32 > > as well), and not on x86. > > > >

Re: [Xen-devel] [PATCH v3 07/17] livepatch/arm/x86: Strip note_depends symbol from test-cases.

2017-09-12 Thread Konrad Rzeszutek Wilk
On Tue, Sep 12, 2017 at 08:48:33AM -0600, Jan Beulich wrote: > >>> On 12.09.17 at 02:37, wrote: > > This surfaced due to "xen/livepatch/x86/arm32: Force > > .livepatch.depends section to be uint32_t aligned." which switched > > to a different way of including the build-id. > >

[Xen-devel] [PATCH v3 10/17] livepatch: Declare live patching as a supported feature

2017-09-11 Thread Konrad Rzeszutek Wilk
From: Ross Lagerwall <ross.lagerw...@citrix.com> See docs/features/livepatch.pandoc for the details. Reviewed-by: Jan Beulich <jbeul...@suse.com> Signed-off-by: Ross Lagerwall <ross.lagerw...@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <kon...@kernel.org> -- v2: -

[Xen-devel] [PATCH v3 17/17] livepatch: Add xen_local_symbols test-case

2017-09-11 Thread Konrad Rzeszutek Wilk
.. Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> --- v1: First edition v2: Build with mkhex version of build-id from hypervisor. --- xen/test/livepatch/Makefile| 12 +++- xen/test/livepatch/xen_local_symbols.c | 53 ++ 2 f

[Xen-devel] [PATCH v3 02/17] livepatch: Tighten alignment checks.

2017-09-11 Thread Konrad Rzeszutek Wilk
-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> --- v1: Initial patch v2: Drop the check when loading it in memory Add check for alignment being anything but power of two (ignoring 0, and 1) Change dprintk to include hex values and print addr not size. v3: Change the two checks to

[Xen-devel] [PATCH v3 07/17] livepatch/arm/x86: Strip note_depends symbol from test-cases.

2017-09-11 Thread Konrad Rzeszutek Wilk
mbol resolution." but that patch is stuck in limbo). Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> --- v3: First version --- xen/test/livepatch/Makefile | 4 1 file changed, 4 insertions(+) diff --git a/xen/test/livepatch/Makefile b/xen/test/livepatch/Makefile index 89a

[Xen-devel] [PATCH v3] Livepatching patch set for 4.10

2017-09-11 Thread Konrad Rzeszutek Wilk
+ xen/test/livepatch/xen_local_symbols.c | 53 xen/test/livepatch/xen_nop.c | 1 + xen/test/livepatch/xen_replace_world.c | 1 + 25 files changed, 521 insertions(+), 173 deletions(-) Konrad Rzeszutek Wilk (16): livepatch: Expand check for safe_for_reapply if livepatch has

[Xen-devel] [PATCH v3 03/17] livepatch: Include sizes when an mismatch occurs

2017-09-11 Thread Konrad Rzeszutek Wilk
would fail if the size of the .ex_table was being zero - but that is OK. Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> --- v1: Initial version v2: - Changed to 'Multiple' per Jan's recommendation. - Folded the checks in 'check_size' function and removed all the other

[Xen-devel] [PATCH v3 09/17] livepatch/arm[32, 64]: Modify livepatch_funcs

2017-09-11 Thread Konrad Rzeszutek Wilk
is to add the 'W' flag during loading of the .livepatch_funcs which would result the section being in writeable region from the gecko. Note that this vmap solution could be extended to x86 as well. Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> --- xen/arch/arm/arm32/livepatch.c

[Xen-devel] [PATCH v3 13/17] livepatch: Expand spin_debug_disable in [apply|revert]_payload

2017-09-11 Thread Konrad Rzeszutek Wilk
[] check_for_livepatch_work+0x1f3/0x390 [] domain.c#continue_idle_domain+0x1b/0x22 But are definitly the case on x86 - so we expand the scope of the spin_debug_disable. Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> --- xen/common/livepatch.c | 30 -- 1 file chang

[Xen-devel] [PATCH v3 11/17] livepatch/x86/arm[32, 64]: Use common vmap code for applying.

2017-09-11 Thread Konrad Rzeszutek Wilk
erestingly the arch_livepatch_revert looks almost the same on x86 and ARM. See 'livepatch/x86/arm[32,64]: Unify arch_livepatch_revert' Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> --- xen/arch/arm/livepatch.c| 64 xen/arch/x86/livepat

[Xen-devel] [PATCH v3 12/17] livepatch/x86/arm[32, 64]: Unify arch_livepatch_revert

2017-09-11 Thread Konrad Rzeszutek Wilk
The arch_livepatch_revert is very similar between the platforms. Lets unify it as much as possible. Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> --- xen/arch/arm/livepatch.c| 10 +- xen/arch/x86/livepatch.c| 10 ++ xen/common/livepatch.c

  1   2   3   4   5   6   7   8   9   10   >