Re: [Xen-devel] [PATCH] x86/setup: do not relocate below the end of current Xen image placement

2017-11-27 Thread Konrad Rzeszutek Wilk
tion for the kexec region fails, because the > current location of Xen isn't taken into account. > > The end of the chosen kexec region (0xa020 + 0x0c00) overlaps > with the bottom of the Xen image. Never got to upstream this, nor actually do the RFC thing I mentioned.. c

Re: [Xen-devel] [PATCH 2/3 v3] xen: Add support for initializing 16550 UART using ACPI

2017-11-24 Thread Konrad Rzeszutek Wilk
ew.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> > CC: Stefano Stabellini <sstabell...@kernel.org&

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

2017-11-24 Thread Konrad Rzeszutek Wilk
Ho <l...@apm.com> > Acked-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> > Signed-off-by: Rafael J. Wysocki <rafael.j.wyso...@intel.com> > > Signed-off-by: Bhupinder Thakur <bhupinder.tha...@linaro.org> Reviewed-by: Konrad Rzeszutek Wilk <konrad.w

Re: [Xen-devel] [PATCH 1/3 v3] xen: Refactor 16550 UART code

2017-11-24 Thread Konrad Rzeszutek Wilk
g> > --- > Changes since v2: > - Refactored the code to prepare for later patches. > > 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 <jbeu

Re: [Xen-devel] [PATCH] Xen/pciback: Implement PCI slot or bus reset with 'do_flr' SysFS attribute

2017-11-29 Thread Konrad Rzeszutek Wilk
On Wed, Nov 29, 2017 at 09:40:20AM -0700, Jan Beulich wrote: > >>> On 29.11.17 at 17:29, wrote: > > On Wed, Nov 29, 2017 at 08:35:33AM -0700, Jan Beulich wrote: > >> >>> On 29.11.17 at 16:08, wrote: > >> > On 11/9/2017 2:28 AM, Jan Beulich wrote:

Re: [Xen-devel] [PATCH] Xen/pciback: Implement PCI slot or bus reset with 'do_flr' SysFS attribute

2017-11-29 Thread Konrad Rzeszutek Wilk
On Wed, Nov 29, 2017 at 08:35:33AM -0700, Jan Beulich wrote: > >>> On 29.11.17 at 16:08, wrote: > > On 11/9/2017 2:28 AM, Jan Beulich wrote: > > On 08.11.17 at 16:44, wrote: > >>> On 11/7/2017 8:40 AM, Jan Beulich wrote: > >>> On

Re: [Xen-devel] [RFC] xen/arm: Handling cache maintenance instructions by set/way

2017-12-06 Thread Konrad Rzeszutek Wilk
.snip.. > The suggested policy is based on the KVM one: > - If we trap a S/W instructions, we enable VM trapping (e.g > HCR_EL2.TVM) to > detect cache being turned on/off, and do a full clean. > - We flush the caches on both caches being turned on and off. > - Once the caches

Re: [Xen-devel] [PATCH v2] xen/kbdif: Add features to control keyboard and pointer

2018-04-27 Thread Konrad Rzeszutek Wilk
On Fri, Apr 27, 2018 at 06:19:35PM +0300, Oleksandr Andrushchenko wrote: > On 04/27/2018 06:11 PM, Konrad Rzeszutek Wilk wrote: > > On Fri, Apr 27, 2018 at 09:58:11AM +0300, Oleksandr Andrushchenko wrote: > > > From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com>

Re: [Xen-devel] [PATCH v2] xen/kbdif: Add features to control keyboard and pointer

2018-04-27 Thread Konrad Rzeszutek Wilk
On Fri, Apr 27, 2018 at 09:58:11AM +0300, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > It is now not fully possible to control if and which virtual devices > are created by the frontend, e.g. keyboard and pointer devices > are always

Re: [Xen-devel] [PATCH v4 1/2] xen/kbdif: Add string constants for raw pointer

2018-05-11 Thread Konrad Rzeszutek Wilk
654ff7fe ("kbdif: Define "feature-raw-pointer" and > "request-raw-pointer") > > Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Thank you! > --- > xen/include

Re: [Xen-devel] [PATCH 01/10] x86/spec_ctrl: Read MSR_ARCH_CAPABILITIES only once

2018-05-11 Thread Konrad Rzeszutek Wilk
coop...@citrix.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Thank you! > --- > CC: Jan Beulich <jbeul...@suse.com> > CC: Wei Liu <wei.l...@citrix.com> > CC: Roger Pau Monné <roger@citrix.com> > CC: Juergen Gr

Re: [Xen-devel] [PATCH v4 1/2] xen/kbdif: Add string constants for raw pointer

2018-05-11 Thread Konrad Rzeszutek Wilk
On Fri, May 11, 2018 at 09:37:57AM -0400, Konrad Rzeszutek Wilk wrote: > On Wed, May 02, 2018 at 05:49:18PM +0300, Oleksandr Andrushchenko wrote: > > From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> > > > > Add missing string constants for {f

Re: [Xen-devel] [PATCH v3 1/2] doc: correct livepatch.markdown syntax

2018-05-11 Thread Konrad Rzeszutek Wilk
jgr...@suse.com> > > Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> > > Git complains of trailing whitespace: > > Importing patch "doc-correct-livepatch-markdown" ... :69: > trailing whitespace. > > :72: trailing whitespace. > &

Re: [Xen-devel] [PATCH v4 2/2] xen/kbdif: Add features to disable keyboard and pointer

2018-05-17 Thread Konrad Rzeszutek Wilk
On Thu, May 17, 2018 at 08:51:38AM +0300, Oleksandr Andrushchenko wrote: > On 05/17/2018 08:50 AM, Juergen Gross wrote: > > On 17/05/18 07:45, Oleksandr Andrushchenko wrote: > > > Hi, Juergen! > > > > > > This patch should go into 4.11 as it is needed for a related Linux > > > kernel patch and

Re: [Xen-devel] [PATCH v3 2/2] Input: xen-kbdfront - allow better run-time configuration

2018-05-17 Thread Konrad Rzeszutek Wilk
On Thu, May 17, 2018 at 04:09:04PM +0300, Oleksandr Andrushchenko wrote: > On 05/17/2018 04:08 PM, Boris Ostrovsky wrote: > > On 05/17/2018 01:31 AM, Oleksandr Andrushchenko wrote: > > > I will go with the change you suggested and > > > I'll send v4 tomorrow then. > > > > > > Please make sure

[Xen-devel] [GIT PULL] (swiotlb) stable/for-linus-4.17

2018-05-24 Thread Konrad Rzeszutek Wilk
Hey Linus, Please git pull the following branch in your tree: git pull git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb.git stable/for-linus-4.17 There is one single fix in there - that is under Xen the DMA32 heap (in the hypervisor) would end up looking like swiss cheese. The

Re: [Xen-devel] [PATCH v2 0/4] Unique-id and fixes to some protocols

2018-06-08 Thread Konrad Rzeszutek Wilk
> > Oleksandr Andrushchenko (4): > >xen/kbdif: Move multi-touch device parameters to backend nodes > >xen/kbdif: Add unique input device identifier > >xen/displif: Add unique display connector identifier > >xen/sndif: Change stream's unique-id to string > > > >

Re: [Xen-devel] [PATCH 2/3] xen/kbdif: Add unique input device identifier

2018-06-07 Thread Konrad Rzeszutek Wilk
On Wed, May 23, 2018 at 09:19:22AM +0300, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > If frontend is configured to expose multiple input device instances > then backend may require a way to uniquely identify concrete input > device within the frontend. This is useful for

Re: [Xen-devel] [PATCH 3/3] xen/displif: Add unique display connector identifier

2018-06-07 Thread Konrad Rzeszutek Wilk
On Wed, May 23, 2018 at 09:19:23AM +0300, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko > > If frontend is configured to expose multiple connectors then backend may > require a way to uniquely identify concrete virtual connector within the > frontend. This is useful for

Re: [Xen-devel] [PATCH 1/3] xen/kbdif: Move multi-touch device parameters to backend nodes

2018-06-07 Thread Konrad Rzeszutek Wilk
figuration. Fix this by moving > the parameters to the proper section. > > Fixes: b7a3ce49d528 ("xen/kbdif: add multi-touch support") > > Signed-off-by: Oleksandr Andrushchenko > Reported-by: Oleksandr Grytsov > Reviewed-by: Oleksandr Grytsov Reviewed-by: Konr

Re: [Xen-devel] [PATCH 2/3] xen/kbdif: Add unique input device identifier

2018-06-07 Thread Konrad Rzeszutek Wilk
On Thu, Jun 07, 2018 at 04:40:48PM +0300, Oleksandr Andrushchenko wrote: > On 06/07/2018 04:28 PM, Konrad Rzeszutek Wilk wrote: > > On Wed, May 23, 2018 at 09:19:22AM +0300, Oleksandr Andrushchenko wrote: > > > From: Oleksandr Andrushchenko > > > > > >

Re: [Xen-devel] [RFC PATCH 00/12] Enable PM hibernation on guest VMs

2018-06-12 Thread Konrad Rzeszutek Wilk
On Tue, Jun 12, 2018 at 08:56:07PM +, Anchal Agarwal wrote: > Hello, > I am sending out a series of patches that implements guest > PM hibernation. These guests are running on xen hypervisor. > The patches had been tested against mainstream kernel and latest > xen version-4.11. EC2 instance

Re: [Xen-devel] [PATCH v3 07/13] xen/arm: Simplify alternative patching of non-writable region

2018-06-12 Thread Konrad Rzeszutek Wilk
re-mapped only which is writeable non-executable. > > This is part of XSA-263. > > Signed-off-by: Julien Grall > Reviewed-by: Stefano Stabellini > > --- > > Cc: Konrad Rzeszutek Wilk > > Changes in v3: > - Add stefano's reviewed-by > > Changes in v2

Re: [Xen-devel] [PATCH v12 09/11] x86/tsc: prepare for early sched_clock

2018-07-02 Thread Konrad Rzeszutek Wilk
On Fri, Jun 29, 2018 at 09:30:10AM +0200, Thomas Gleixner wrote: > On Thu, 28 Jun 2018, Pavel Tatashin wrote: > > On Thu, Jun 28, 2018 at 11:23 AM Thomas Gleixner wrote: > > Hi Thomas, > > > > In addition to above, we have xen hvm: > > > > setup_arch() > > ... > >

Re: [Xen-devel] [Notes for xen summit 2018 design session] PCI pass-through with de-privileged QEMU

2018-07-02 Thread Konrad Rzeszutek Wilk
On Mon, Jul 02, 2018 at 02:04:45PM +, Lars Kurth wrote: > This is a session hosted by Xin Li from Citrix on PCI-passthrough in a > deprivleged QEMU. Including Elena as she did a patch for this (so that any PCI operation does not require root access). > > (Went over key points of QEMU

Re: [Xen-devel] [PATCH v3] xen/kbdif: Add features to disable keyboard and pointer

2018-05-02 Thread Konrad Rzeszutek Wilk
r by default. > > Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Thank you! > --- > xen/include/public/io/kbdif.h | 14 ++ > 1 file changed, 14 insertions(+) > > diff --git a/xen/in

Re: [Xen-devel] [PATCH 5/7] doc: correct livepatch.markdown syntax

2018-04-26 Thread Konrad Rzeszutek Wilk
> - > + 48 c7 45 c0 00 00 00 00 movq $0x0,-0x40(%rbp) How come you deleted: 48 c7 45 b8 00 00 00 00 movq $0x0,-0x48(%rbp) ? It is OK, but I am just curious. And either way - if you want to add that back in or not - please add Reviewed-by: Konrad Rzeszutek Wi

Re: [Xen-devel] [PATCH RESEND v1 3/7] x86: add intel proecessor trace support for cpuid

2018-04-30 Thread Konrad Rzeszutek Wilk
On Tue, Jan 16, 2018 at 02:12:29AM +0800, Luwei Kang wrote: > This patch add Intel processor trace support > for cpuid handling. The 0x14 usage screams of wanting an #define. ___ Xen-devel mailing list Xen-devel@lists.xenproject.org

Re: [Xen-devel] [PATCH RESEND v1 0/7] Intel Processor Trace virtulization enabling

2018-04-30 Thread Konrad Rzeszutek Wilk
On Tue, Jan 16, 2018 at 02:12:26AM +0800, Luwei Kang wrote: > Hi All, > > Here is a patch-series which adding Processor Trace enabling in XEN guest. > You can get It's software developer manuals from: >

Re: [Xen-devel] xl pci-detach failure when using SR-IOV NIC

2018-07-03 Thread Konrad Rzeszutek Wilk
On Tue, Jul 03, 2018 at 10:46:51AM +0800, zhiyong ye wrote: > Hi, > I've come across a need to hotplug PCI devices between dom0 and domU > using SR-IOV NIC. But I'm experiencing problems when trying to detach VF > more than one PV guests. > I can attach VF to DomU successful as follow:

Re: [Xen-devel] [PATCH RFC 05/16] Save/Restore Support: Add kernel shutdown logic to shutdown.c

2017-12-21 Thread Konrad Rzeszutek Wilk
.snip.. > diff --git a/shutdown.c b/shutdown.c > new file mode 100644 > index 000..b3cea6d > --- /dev/null > +++ b/shutdown.c > @@ -0,0 +1,188 @@ > +/* > + * MiniOS > + * > + * file: fromdevice.cc > + * > + * NEC Europe Ltd. PROPRIETARY INFORMATION > + * > + * This software

Re: [Xen-devel] [PATCH v2 09/23] vixen: modify the e820 table to advertise HVM special pages as RAM

2018-01-07 Thread Konrad Rzeszutek Wilk
On Sun, Jan 07, 2018 at 12:28:25PM -0800, Anthony Liguori wrote: > From: Anthony Liguori ..snip. > diff --git a/xen/arch/x86/guest/vixen.c b/xen/arch/x86/guest/vixen.c > index c0a81dd..cacbe69 100644 > --- a/xen/arch/x86/guest/vixen.c > +++ b/xen/arch/x86/guest/vixen.c > @@

Re: [Xen-devel] [PATCH v2 15/23] vixen: pass through version hypercalls to parent Xen

2018-01-07 Thread Konrad Rzeszutek Wilk
On Sun, Jan 07, 2018 at 12:28:31PM -0800, Anthony Liguori wrote: > From: Anthony Liguori > > This is necessary to trigger event channel upcalls but it is also > useful to passthrough the full version information such that the > guest believes it is running on the parent Xen.

Re: [Xen-devel] [PATCH v2 13/23] vixen: Use SCHEDOP_shutdown to shutdown the machine

2018-01-07 Thread Konrad Rzeszutek Wilk
On Sun, Jan 07, 2018 at 12:28:29PM -0800, Anthony Liguori wrote: > From: Jan H. Schönherr > > While the hwdom_shutdown() is able to reboot the system, it fails to > properly power it off. With SCHEDOP_shutdown, we delegate the problem. > > Signed-off-by: Jan H. Schönherr

Re: [Xen-devel] [PATCH v2 15/23] vixen: pass through version hypercalls to parent Xen

2018-01-07 Thread Konrad Rzeszutek Wilk
> >> integer_param("vixen_domid", vixen_domid); > >> +boolean_param("vixen_ptver", vixen_ptver); > > > > Would it make sense to have a custom parameter function that would > > be called 'vixen' and have all of those in it? > > Can you give an example? I'm not sure what you mean. Andrew's bti=

Re: [Xen-devel] [PATCH 22/22] vixen: dom0 builder support

2018-01-08 Thread Konrad Rzeszutek Wilk
.snip.. > +printk("Vixen Xenstore evtchn is %d, pfn is 0x%" PRIx64 "\n", > + *pstore_evtchn, *pstore_mfn); So.. patch " console: do not print banner if below info log threshold" speaks about having the printk be as close to what the PV guest would be but here you are providing the

Re: [Xen-devel] Radical proposal: ship not-fully-tidied shim as 4.10.1

2018-01-08 Thread Konrad Rzeszutek Wilk
On Mon, Jan 08, 2018 at 05:45:32PM +, Ian Jackson wrote: > AIUI we have a series for pv-in-pvh shim which is nearing completion > in the sense that it will have been well-tested (especially the > hypervisor parts) and has good functionality. (Wei is handling the > assembly of this series.) >

Re: [Xen-devel] [PATCH] x86/link: Don't merge .init.text and .init.data

2018-01-11 Thread Konrad Rzeszutek Wilk
d-off-by: Andrew Cooper <andrew.coop...@citrix.com> with that change above: Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> > --- > CC: Jan Beulich <jbeul...@suse.com> > --- > xen/arch/x86/efi/efi-boot.h | 12 > xen/arch/x86/efi/mkreloc.c | 5

Re: [Xen-devel] [PATCH] x86/link: Don't merge .init.text and .init.data

2018-01-11 Thread Konrad Rzeszutek Wilk
On Thu, Jan 11, 2018 at 03:06:37PM +, Andrew Cooper wrote: > On 11/01/18 14:58, Konrad Rzeszutek Wilk wrote: > > On Thu, Jan 11, 2018 at 02:17:57PM +, Andrew Cooper wrote: > >> c/s 1308f0170c merged .init.text and .init.data, because EFI might properly > >>

Re: [Xen-devel] Radical proposal v2: Publish Amazon's verison now, Citrix's version soon

2018-01-11 Thread Konrad Rzeszutek Wilk
On Thu, Jan 11, 2018 at 03:17:45PM +, George Dunlap wrote: > On 01/10/2018 01:34 PM, George Dunlap wrote: > > * Executive summary > > > > - We've agreed on a "convergence" point for PV shim functionality that > > covers as many users as possible: > > - 'HVM' functionality: boots in HVM

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

2018-01-10 Thread Konrad Rzeszutek Wilk
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> > Cc: Wei Liu <wei.l...@citrix.com> > Cc: Juergen Gross <jgr...@s

Re: [Xen-devel] [PATCH 5/7] xen/arm32: Invalidate BTB on guest exit for Cortex A17 and 12

2018-01-24 Thread Konrad Rzeszutek Wilk
On Fri, Jan 19, 2018 at 01:41:01PM +, Julien Grall wrote: > In order to avoid aliasing attackes agains the branch predictor, let's > invalidate the BTB on guest exist. This is made complicated by the fact > that we cannot take a branch invalidating the BTB. > > This is based on the first

Re: [Xen-devel] [PATCH] MAINTAINERS: add the iommu list for swiotlb and xen-swiotlb

2018-01-25 Thread Konrad Rzeszutek Wilk
h...@lst.de> I am so behind emails.. I am not sure if I had replied to this, but just in case I hadn't: Acked-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> P.S. I am behind on the review of your dma rework - really sorry it is taking that long. > --- > MAINTAINERS | 3 ++- >

Re: [Xen-devel] [PATCH v10 09/11] x86/ctxt: Issue a speculation barrier between vcpu contexts

2018-01-25 Thread Konrad Rzeszutek Wilk
On Wed, Jan 24, 2018 at 02:31:20PM +, David Woodhouse wrote: > On Wed, 2018-01-24 at 13:49 +, Andrew Cooper wrote: > > On 24/01/18 13:34, Woodhouse, David wrote: > > > I am loath to suggest *more* tweakables, but given the IBPB cost is > > > there any merit in having a mode which does it

Re: [Xen-devel] [PATCH v3 3/7] coverage: introduce generic file

2018-01-25 Thread Konrad Rzeszutek Wilk
On Wed, Jan 24, 2018 at 10:01:21AM +, Roger Pau Monne wrote: > It will contain the generic implementation of sysctl_cov_op, which > will be shared between all the coverage implementations. > > Signed-off-by: Roger Pau Monné <roger@citrix.com> > Reviewed-by: Konrad Rze

Re: [Xen-devel] [PATCH RFC] xen: Improvements to domain_crash_sync()

2018-01-25 Thread Konrad Rzeszutek Wilk
d calling function are identified, and the > message is emitted as a non-debug guest error. > > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> I think I saw this at some point, from Ross like a year ago? Anyhow: Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com>

Re: [Xen-devel] [PATCH 0.5/5] arm/alternatives: Drop the !HAS_ALTERNATIVE infrastructure

2018-01-31 Thread Konrad Rzeszutek Wilk
; Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> > >> --- > >> CC: Stefano Stabellini <sstabell...@kernel.org> > >> CC: Julien Grall <julien.gr...@arm.com> > >> CC: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> > >> > >> N.B

Re: [Xen-devel] [PATCH] x86/boot: Make alternative patching NMI-safe

2018-02-05 Thread Konrad Rzeszutek Wilk
ng the patching loop in NMI context, at > which point the CPU will defer further NMIs until patching is complete. Oh, that is a very simple fix. Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> > > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> > -

Re: [Xen-devel] [PATCH] xen/livepatch: Drop stray tabs and fix indentation

2018-02-05 Thread Konrad Rzeszutek Wilk
On Mon, Feb 05, 2018 at 11:04:01AM +, Andrew Cooper wrote: > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> > --- > CC: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> > CC: Ross Lagerw

Re: [Xen-devel] [PATCH] xen: Improvements to domain_crash_sync()

2018-02-05 Thread Konrad Rzeszutek Wilk
on is identified, and the message is emitted as > a non-debug guest error. > > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> > --- > CC: Jan Beulich <jbeul...@suse.com> > CC: Jun Nakajima <jun.

Re: [Xen-devel] [PATCH v2] xen: append EXTRA_CFLAGS_XEN_CORE to CFLAGS

2018-02-22 Thread Konrad Rzeszutek Wilk
ing when you need to make changes. > > Signed-off-by: Doug Goldstein <car...@cardoe.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [PATCH 2/7] x86/alt: Clean up struct alt_instr and its users

2018-02-21 Thread Konrad Rzeszutek Wilk
.com> > --- > CC: Jan Beulich <jbeul...@suse.com> > CC: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> ___ Xen-devel mailing list Xen-devel@lists.xenproject.or

Re: [Xen-devel] [RFC v1] ALSA: xen-front: Add Xen para-virtualized frontend driver

2017-12-22 Thread Konrad Rzeszutek Wilk
On Mon, Dec 11, 2017 at 10:45:27AM +0200, Oleksandr Andrushchenko wrote: > ping ..snip.. > > > This is implemented as a change to the sndif protocol [8] and allows > > > [8] > > > https://github.com/andr2000/linux/commit/095d7feae00bf00c852c67c4f1044de5601678ed .. I must have missed it being

Re: [Xen-devel] [RFC v1] ALSA: xen-front: Add Xen para-virtualized frontend driver

2017-12-22 Thread Konrad Rzeszutek Wilk
On Fri, Dec 22, 2017 at 05:48:45PM +0200, Oleksandr Andrushchenko wrote: > > On 12/22/2017 05:12 PM, Konrad Rzeszutek Wilk wrote: > > On Mon, Dec 11, 2017 at 10:45:27AM +0200, Oleksandr Andrushchenko wrote: > > > ping > > ..snip.. > > > > > This is implem

Re: [Xen-devel] [PATCH v3 2/3] xen/compiler: introduce a define for weak symbols

2018-08-15 Thread Konrad Rzeszutek Wilk
On Tue, Jul 24, 2018 at 07:42:21AM -0600, Jan Beulich wrote: > >>> On 12.07.18 at 09:29, wrote: > > Forgot to Cc maintainers. > > Konrad, Ross: Ping? Reviewed-by: Konrad Rzeszutek Wilk Thank you! > > Jan > > > On Wed, Jul 11, 2018 at 05:34:49PM +0200,

Re: [Xen-devel] Armv8-A: Not able to enable secondary CPUs in Hikey960 board

2018-08-13 Thread Konrad Rzeszutek Wilk
bisection point working. (My box is right now packed in a box - moving so can't help rightn ow). > All secondary CPUs got enabled and started. > > If you any idea, please tell me Why latest xen is not working? Adding xen-devel back. > > Thank you, > Omkar B > > On Sat, Aug

Re: [Xen-devel] Armv8-A: Not able to enable secondary CPUs in Hikey960 board

2018-08-11 Thread Konrad Rzeszutek Wilk
On Sat, Aug 11, 2018 at 08:44:42PM +0530, Omkar Bolla wrote: > Hi, > > I am using Hikey960 board and i started trying to port xen on hykey960. > > I followed all procedure has given in > https://wiki.xenproject.org/wiki/HiKey960 link. > And using *Xen version 4.11.1-pre *and linux as mentioned

Re: [Xen-devel] [PATCH 00/34] Make CONFIG_HVM work

2018-08-17 Thread Konrad Rzeszutek Wilk
On Fri, Aug 17, 2018 at 04:12:18PM +0100, Wei Liu wrote: > This series goes through x86 code to make CONFIG_HVM work. > > With this series, it is possible to build Xen with PV support only. > > Running `xl info` on a host with PV only Xen: 'PV only'? You mean HVM only surely? > >

Re: [Xen-devel] [PATCH v3 0/5] xen/blk: persistent grant rework

2018-08-27 Thread Konrad Rzeszutek Wilk
On Fri, Aug 24, 2018 at 03:52:23PM +0200, Juergen Gross wrote: > On 17/08/18 17:59, Roger Pau Monné wrote: > > On Mon, Aug 13, 2018 at 04:01:09PM +0200, Juergen Gross wrote: > >> Persistent grants are used in the Xen's blkfront/blkback drivers to > >> avoid mapping/unmapping of I/O buffers in the

[Xen-devel] [GIT PULL] (xen) stable/for-jens-4.19 for 4.19..

2018-08-27 Thread Konrad Rzeszutek Wilk
Hey Jens, Would you be OK pulling the following branch: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-jens-4.19 which has a fix for flushing out persistent pages at a deterministic rate. Thanks to the L1TF I did not manage to send this email until today - but

Re: [Xen-devel] [PATCH] x86/alt: Fix build when CONFIG_LIVEPATCH is disabled

2018-08-29 Thread Konrad Rzeszutek Wilk
l. > > > > Reported-by: Olaf Hering > > Signed-off-by: Andrew Cooper > > Reviewed-by: Wei Liu Reviewed-by: Konrad Rzeszutek Wilk Thank you! ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [PATCH v2 4/6] x86: bring up all CPUs even if not all are supposed to be used

2018-07-18 Thread Konrad Rzeszutek Wilk
On Wed, Jul 18, 2018 at 02:21:53AM -0600, Jan Beulich wrote: > Reportedly Intel CPUs which can't broadcast #MC to all targeted > cores/threads because some have CR4.MCE clear will shut down. Therefore > we want to keep CR4.MCE enabled when offlining a CPU, and we need to > bring up all CPUs in

Re: [Xen-devel] Memory Read Only Enforcement: VMM assisted kernel rootkit mitigation for KVM

2018-07-19 Thread Konrad Rzeszutek Wilk
On Thu, Jul 19, 2018 at 11:37:59PM +0200, Ahmed Abd El Mawgood wrote: > Hi, > > This is my first set of patches that works as I would expect, and the > third revision I sent to mailing lists. > > Following up with my previous discussions about kernel rootkit mitigation > via placing R/O

Re: [Xen-devel] [PATCH v2 5/5] x86/msr: Blacklist various MSRs which guests definitely shouldn't be using

2018-03-07 Thread Konrad Rzeszutek Wilk
from real hardware. SGX isn't yet virtualised, > but likely will be in the future. > > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Thank you! ___ Xen-deve

Re: [Xen-devel] [PATCH v2 3/5] x86: Fix APIC MSR constant names

2018-03-07 Thread Konrad Rzeszutek Wilk
ntical). > > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Thank you! ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

[Xen-devel] [PATCH LINUX] Fixes to xen-blkfront.

2018-03-07 Thread Konrad Rzeszutek Wilk
Hi! We found this tiny bug when we were unplugging and re-plugging different block-devices to a guest and found a bug in there resulting in the multi-queue parameter being lost. This patch fixes it. I meant to post this in December but got side-tracked with Spectre_v2 work.

Re: [Xen-devel] [PATCH v2 4/5] x86/hvm: Handle x2apic MSRs via the new guest_{rd, wr}msr() infrastructure

2018-03-07 Thread Konrad Rzeszutek Wilk
; > Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

[Xen-devel] [PATCH] xen-blkfront: move negotiate_mq to cover all cases of new VBDs

2018-03-07 Thread Konrad Rzeszutek Wilk
-queue. Signed-off-by: Bhavesh Davda <bhavesh.da...@oracle.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> --- drivers/block/xen-blkfront.c | 17 - 1 file changed, 8 insertions(+), 9 deletions(

Re: [Xen-devel] [RFC PATCH 01/12] libacpi: new DSDT ACPI table for Q35

2018-03-12 Thread Konrad Rzeszutek Wilk
On Tue, Mar 13, 2018 at 04:33:46AM +1000, Alexey Gerasimenko wrote: > This patch adds the DSDT table for Q35 (new tools/libacpi/dsdt_q35.asl > file). There are not many differences with dsdt.asl (for i440) at the > moment, namely: > > - BDF location of LPC Controller > - Minor changes related to

Re: [Xen-devel] [RFC PATCH v4 4/7] xen/pvh: Move Xen specific PVH VM initialization out of common code

2018-02-28 Thread Konrad Rzeszutek Wilk
. > > Signed-off-by: Maran Wilson <maran.wil...@oracle.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Thank you! ___ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel

Re: [Xen-devel] [RFC PATCH v4 3/7] xen/pvh: Create a new file for Xen specific PVH code

2018-02-28 Thread Konrad Rzeszutek Wilk
On Wed, Feb 28, 2018 at 10:27:59AM -0800, Maran Wilson wrote: > We need to refactor PVH entry code so that support for other hypervisors > like Qemu/KVM can be added more easily. > > The first step in that direction is to create a new file that will > eventually hold the Xen specific routines. >

Re: [Xen-devel] [RFC PATCH v4 2/7] xen/pvh: Move PVH entry code out of Xen specific tree

2018-02-28 Thread Konrad Rzeszutek Wilk
maran.wil...@oracle.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Thank you! > --- > MAINTAINERS | 1 + > arch/x86/Kbuild | 3 +++ > arch/x86/{xen/xen-pvh.S => pvh-head.S} | 0 > arch/x86

Re: [Xen-devel] [RFC PATCH v4 6/7] xen/pvh: Add memory map pointer to hvm_start_info struct

2018-03-01 Thread Konrad Rzeszutek Wilk
On Wed, Feb 28, 2018 at 10:28:02AM -0800, Maran Wilson wrote: > The start info structure that is defined as part of the x86/HVM direct boot > ABI and used for starting Xen PVH guests would be more versatile if it also > included a way to pass information about the memory map to the guest. This >

Re: [Xen-devel] [PATCH] xenbaked.c: Avoid divide by zero issue on dump_stats()

2018-03-13 Thread Konrad Rzeszutek Wilk
sing 'time' system call which gives us resolution in seconds." > > Signed-off-by: Joe Jin <joe@oracle.com> > Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> > Cc: Wei Liu <wei.l...@citrix.com> > Cc: Ian Campbell <ian.campb...@citrix.com>

Re: [Xen-devel] [PATCH v2 1/3] sndif: Introduce protocol version

2018-03-15 Thread Konrad Rzeszutek Wilk
rent protocol version. > > Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Thank you! > --- > xen/include/public/io/sndif.h | 7 +++ > 1 file changed, 7 insertions(+) > > di

Re: [Xen-devel] [PATCH v2 0/8] Using GitLab CI for build testing

2018-03-15 Thread Konrad Rzeszutek Wilk
age is not yet the same as Travis CI due to missing > arm builds. I took a peek at your patches and I am not an expert of GitLab but it all looks fine to me. You can add Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> On them if you would like. _

Re: [Xen-devel] [PATCH v2 2/3] sndif: Add explicit back and front synchronization

2018-03-15 Thread Konrad Rzeszutek Wilk
> + > ** > + *Back to front events delivery > + > ** > + * In order to deliver asynchronous events from back to front a

[Xen-devel] [GIT PULL] (xen) stable/for-jens-4.15

2018-03-08 Thread Konrad Rzeszutek Wilk
Hi Jens, Please git pull the following branch for your for-linus branch: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-jens-4.15 It has one simple fix for the multi-queue support not showing up after a block device was detached/re-attached. The patch was originally

Re: [Xen-devel] Xen Virtio Drivers

2018-03-07 Thread Konrad Rzeszutek Wilk
On Wed, Mar 07, 2018 at 04:13:47PM +0200, Volo M. wrote: > Hi Devs, > > Could you please help me to identify right way to start using Virtio > drivers for Xen guests > as described here https://wiki.xen.org/wiki/QEMU_Upstream . > I've managed to start my Windows 2008 VM with Virtio network

Re: [Xen-devel] [PATCH] xenbaked.c: Avoid divide by zero issue on dump_stats()

2018-03-14 Thread Konrad Rzeszutek Wilk
On Wed, Mar 14, 2018 at 10:54:42AM +, George Dunlap wrote: > On Wed, Mar 14, 2018 at 2:24 AM, Konrad Rzeszutek Wilk > <konrad.w...@oracle.com> wrote: > > On Tue, Mar 13, 2018 at 06:38:24PM -0700, Joe Jin wrote: > >> run_time on dump_stats() maybe zero if break

Re: [Xen-devel] [RFC PATCH 01/12] libacpi: new DSDT ACPI table for Q35

2018-03-12 Thread Konrad Rzeszutek Wilk
On Tue, Mar 13, 2018 at 06:10:35AM +1000, Alexey G wrote: > On Mon, 12 Mar 2018 15:38:03 -0400 > Konrad Rzeszutek Wilk <konrad.w...@oracle.com> wrote: > > >On Tue, Mar 13, 2018 at 04:33:46AM +1000, Alexey Gerasimenko wrote: > >> This patch adds the DSDT table f

Re: [Xen-devel] Resume from suspend to RAM broken when using early microcode updates

2018-04-11 Thread Konrad Rzeszutek Wilk
On Wed, Apr 11, 2018 at 01:12:51PM +0100, Andrew Cooper wrote: > On 11/04/18 13:01, Simon Gaiser wrote: > > Andrew Cooper: > >> On 11/04/18 12:48, Simon Gaiser wrote: > >>> Hi, > >>> > >>> when I use early microcode loading with the microcode update with the > >>> BTI mitigations, resuming from

Re: [Xen-devel] [PATCH v3 0/5] sndif: add explicit back and front synchronization

2018-04-12 Thread Konrad Rzeszutek Wilk
cially if you've > > already tested something. > Thank you, I have tested the changes and need them to start upstreaming > the frontend driver used to test the protocol. > Do you mind if I put your Acked-by (or you prefer Reviewed-by?) tag to these > patches: > > [PATCH v3

Re: [Xen-devel] [PATCH RESEND] xen/sndif: Sync up with the canonical definition in Xen

2018-04-12 Thread Konrad Rzeszutek Wilk
response to this request > > returns allowed min/max intervals/masks to be used. > > > > Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> > > Signed-off-by: Oleksandr Grytsov <oleksandr_gryt...@epam.com&g

Re: [Xen-devel] [PATCH 2/8] x86/HVM/SVM: Add AVIC initialization code

2018-04-23 Thread Konrad Rzeszutek Wilk
> +++ b/xen/arch/x86/hvm/svm/avic.c > @@ -0,0 +1,191 @@ > +/* > + * avic.c: implements AMD Advanced Virtual Interrupt Controller (AVIC) > support > + * Copyright (c) 2016, Advanced Micro Devices, Inc. Not 2018? ___ Xen-devel mailing list

Re: [Xen-devel] [PATCH for-4.11] x86/spec_ctrl: Updates to retpoline-safety decision making

2018-04-23 Thread Konrad Rzeszutek Wilk
> diff --git a/xen/arch/x86/spec_ctrl.c b/xen/arch/x86/spec_ctrl.c > index 5b5ec90..aff06f0 100644 > --- a/xen/arch/x86/spec_ctrl.c > +++ b/xen/arch/x86/spec_ctrl.c > @@ -113,12 +113,13 @@ static void __init print_details(enum ind_thunk thunk) > printk(XENLOG_DEBUG "Speculative mitigation

Re: [Xen-devel] [PATCH for-4.11] x86/spec_ctrl: Fix typo in ARCH_CAPS decode

2018-04-24 Thread Konrad Rzeszutek Wilk
On April 24, 2018 5:44:33 AM EDT, Andrew Cooper <andrew.coop...@citrix.com> wrote: >Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> >--- >CC: Jan Beulich <jbeul...@suse.com> >CC: Juergen Gross <jgr...@suse.com> You are missing an Reported-by.. Al

[Xen-devel] [PATCH v1] xen-blkfront: dynamic configuration of per-vbd resources

2018-04-02 Thread Konrad Rzeszutek Wilk
g_page_order echo > /sys/devices/vbd-xxx/max_queues Signed-off-by: Bob Liu <bob@oracle.com> Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnas...@oracle.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> --- d

[Xen-devel] [PATCH v1] Xen-blkfront fixes to dynamically adjust ring.

2018-04-02 Thread Konrad Rzeszutek Wilk
Hi! This patch allows dynamic reconfiguration of the three different parameters that an Xen blkfront driver initially negotiates: * max_indirect_segs: Maximum amount of segments. * max_ring_page_order: Maximum order of pages to be used for the shared ring. * max_queues: Maximum of

Re: [Xen-devel] [PATCH v5 0/2] Containing AER unrecoverable errors

2018-03-16 Thread Konrad Rzeszutek Wilk
On Tue, Mar 13, 2018 at 01:43:39PM -0500, Venu Busireddy wrote: > This patch set is part of a set of patches that together allow containment > of unrecoverable AER errors from PCIe devices assigned to guests in > passthrough mode. The containment is achieved by forcibly removing the > erring PCIe

Re: [Xen-devel] [PATCH v3 1/4] x86/PVHv2: Add memory map pointer to hvm_start_info struct

2018-03-20 Thread Konrad Rzeszutek Wilk
On Fri, Mar 16, 2018 at 10:00:54AM -0700, Maran Wilson wrote: > On 3/16/2018 4:11 AM, Roger Pau Monné wrote: > > On Thu, Mar 15, 2018 at 02:33:09PM -0700, Maran Wilson wrote: > > > The start info structure that is defined as part of the x86/HVM direct > > > boot > > > ABI and used for starting

Re: [Xen-devel] [PATCH 1/2] sndif: introduce protocol version

2018-03-01 Thread Konrad Rzeszutek Wilk
rent protocol version. > > Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> Thank you! > --- > xen/include/public/io/sndif.h | 7 +++ > 1 file changed, 7 insertions(+) > > di

Re: [Xen-devel] [PATCH 2/2] sndif: add explicit back and front synchronization

2018-03-01 Thread Konrad Rzeszutek Wilk
> * +++++ > * | gref_directory | 24 > * +++++ > - * | reserved

Re: [Xen-devel] [PATCH] Please Welcome Julien, our new Committer

2018-03-01 Thread Konrad Rzeszutek Wilk
t; M: George Dunlap <george.dun...@eu.citrix.com> > M: Ian Jackson <ian.jack...@eu.citrix.com> > M: Jan Beulich <jbeul...@suse.com> > +M: Julien Grall <julien.gr...@arm.com> > M: Konrad Rzeszutek Wilk <konrad.w...@oracle

Re: [Xen-devel] [PATCH 1/1] x86/PVHv2: Add memory map pointer to hvm_start_info struct

2018-03-02 Thread Konrad Rzeszutek Wilk
On Fri, Mar 02, 2018 at 12:54:29PM -0800, Maran Wilson wrote: > The start info structure that is defined as part of the x86/HVM direct boot > ABI and used for starting Xen PVH guests would be more versatile if it also > included a way to pass information about the memory map to the guest. This >

Re: [Xen-devel] [PATCH v3 07/13] xen/arm: Simplify alternative patching of non-writable region

2018-06-22 Thread Konrad Rzeszutek Wilk
On Tue, Jun 12, 2018 at 11:06:16PM +0100, Julien Grall wrote: > Hi Konrad, > > On 12/06/2018 22:17, Konrad Rzeszutek Wilk wrote: > > On Tue, Jun 12, 2018 at 12:36:37PM +0100, Julien Grall wrote: > > > During the MMU setup process, Xen will set SCTLR_EL2.WNX > >

Re: [Xen-devel] [PATCH V2] xen-swiotlb: use actually allocated size on check physical continuous

2018-10-18 Thread Konrad Rzeszutek Wilk
ly try to exchange the memory with Xen, leading to the kernel hitting an BUG (as the hypercall returned an error). This patch fixes it by making the 'size' variable be of the same size as the amount of memory allocated. I checked it as such.. > > Signed-off-by: Joe Jin > Cc: Konrad

Re: [Xen-devel] [PATCH v2] xen/blkfront: avoid NULL blkfront_info dereference on device removal

2018-10-18 Thread Konrad Rzeszutek Wilk
On Mon, Oct 15, 2018 at 04:25:56PM +0200, Vasilis Liaskovitis wrote: > On Mon, 2018-10-15 at 16:02 +0200, Roger Pau Monné wrote: > > > > > This results in a NULL pointer BUG when blkfront_remove and > > > blkif_free > > > try to access the failing device's NULL struct blkfront_info. > > > > > >

[Xen-devel] [GIT PULL] (xen-swiotlb) stable/for-linus-4.20

2018-10-22 Thread Konrad Rzeszutek Wilk
Hi Linus, Please git pull the following branch: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb.git stable/for-linus-4.20 which has one tiny fix for the Xen SWIOTLB mechanism that occasionally happened with devices that didn't allocate size in power of two but rather some odd

[Xen-devel] [GIT PULL] (xen) stable/for-jens-4.20

2018-10-22 Thread Konrad Rzeszutek Wilk
Hi Jens, Please git pull the following branch: git pull git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-jens-4.20 which has exactly one tiny patch fixing an NULL pointer issue (also has stable tree CCed). Thank you! drivers/block/xen-blkfront.c | 3 +++ 1 file

  1   2   >