Re: [Xen-devel] [PATCH 0/5] Intel Code/Data Prioritization(CDP) feature enabling

2015-09-05 Thread He Chen
On Wed, Sep 02, 2015 at 01:08:33PM +0100, Andrew Cooper wrote: > On 02/09/15 09:27, He Chen wrote: > > Hi all, > > > > Code/Data Prioritization(CDP) is offered in Intel Broadwell and later server > > platforms, which is an extension of CAT. CDP enables isolation and separate > > prioritization of c

Re: [Xen-devel] [PATCH v6 02/18] Add cmpxchg16b support for x86-64

2015-09-05 Thread Wu, Feng
> -Original Message- > From: Wu, Feng > Sent: Sunday, September 06, 2015 2:07 PM > To: Jan Beulich > Cc: Andrew Cooper; xen-devel@lists.xen.org; Keir Fraser; Wu, Feng > Subject: RE: [PATCH v6 02/18] Add cmpxchg16b support for x86-64 > > > > > -Original Message- > > From: Jan Be

Re: [Xen-devel] [PATCH v6 02/18] Add cmpxchg16b support for x86-64

2015-09-05 Thread Wu, Feng
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Friday, September 04, 2015 10:23 PM > To: Wu, Feng > Cc: Andrew Cooper; xen-devel@lists.xen.org; Keir Fraser > Subject: Re: [PATCH v6 02/18] Add cmpxchg16b support for x86-64 > > >>> On 25.08.15 at 03:57, wrote:

Re: [Xen-devel] [PATCH v6 11/18] vt-d: Add API to update IRTE when VT-d PI is used

2015-09-05 Thread Wu, Feng
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Friday, September 04, 2015 11:11 PM > To: Wu, Feng > Cc: Andrew Cooper; Tian, Kevin; Zhang, Yang Z; xen-devel@lists.xen.org; Keir > Fraser > Subject: Re: [PATCH v6 11/18] vt-d: Add API to update IRTE when VT-d PI

Re: [Xen-devel] [PATCH v6 13/18] Update IRTE according to guest interrupt config changes

2015-09-05 Thread Wu, Feng
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Friday, September 04, 2015 11:59 PM > To: Wu, Feng > Cc: xen-devel@lists.xen.org > Subject: Re: [PATCH v6 13/18] Update IRTE according to guest interrupt config > changes > > >>> On 25.08.15 at 03:57, wrote: >

Re: [Xen-devel] [PATCH 15/16] xen/vtd: prevent from assign the device with shared rmrr

2015-09-05 Thread Tamas K Lengyel
> Took me a while to find the xl config option to set this flag (pci = [ >> 'sbdf, rdm_policy=strict/relaxed' ]) but now it works as expected! >> >> > I remember 'relaxed' is a default value so 'rdm_policy' can't be dropped > here if you like this. > Without specifically setting rdm_policy=relaxed

Re: [Xen-devel] [PATCH 15/16] xen/vtd: prevent from assign the device with shared rmrr

2015-09-05 Thread Chen, Tiejun
On 9/6/2015 11:19 AM, Tamas K Lengyel wrote: diff --git a/xen/drivers/passthrough/vtd/iommu.c b/xen/drivers/passthrough/vtd/iommu.c index 836aed5..038776a 100644 --- a/xen/drivers/passthrough/vtd/iommu.c +++ b/xen/drivers/passthrough/vtd/iommu.c @@ -2310,12 +2310,16 @@ static int intel_iommu_ass

Re: [Xen-devel] [PATCH 15/16] xen/vtd: prevent from assign the device with shared rmrr

2015-09-05 Thread Tamas K Lengyel
> > diff --git a/xen/drivers/passthrough/vtd/iommu.c > b/xen/drivers/passthrough/vtd/iommu.c > index 836aed5..038776a 100644 > --- a/xen/drivers/passthrough/vtd/iommu.c > +++ b/xen/drivers/passthrough/vtd/iommu.c > @@ -2310,12 +2310,16 @@ static int intel_iommu_assign_device( > PCI_DE

Re: [Xen-devel] [PATCH v6 08/18] vmx: Suppress posting interrupts when 'SN' is set

2015-09-05 Thread Wu, Feng
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Friday, September 04, 2015 10:53 PM > To: Wu, Feng > Cc: Andrew Cooper; Tian, Kevin; xen-devel@lists.xen.org; Keir Fraser > Subject: Re: [PATCH v6 08/18] vmx: Suppress posting interrupts when 'SN' is > set > > >

Re: [Xen-devel] [PATCH v6 07/18] vmx: Initialize VT-d Posted-Interrupts Descriptor

2015-09-05 Thread Wu, Feng
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Friday, September 04, 2015 10:47 PM > To: Wu, Feng > Cc: Andrew Cooper; Tian, Kevin; xen-devel@lists.xen.org; Keir Fraser > Subject: Re: [PATCH v6 07/18] vmx: Initialize VT-d Posted-Interrupts > Descriptor > > >

Re: [Xen-devel] [PATCH 15/16] xen/vtd: prevent from assign the device with shared rmrr

2015-09-05 Thread Chen, Tiejun
Sorry for this delay response because I was on vacation. On 9/5/2015 5:52 AM, Tamas K Lengyel wrote: On Fri, Sep 4, 2015 at 2:17 AM, Jan Beulich wrote: >>> On 03.09.15 at 21:39, wrote: > So this change in 4.6 prevents me from passing through devices that have > worked previously with VT-d: >

Re: [Xen-devel] [PATCH v6 06/18] vmx: Add some helper functions for Posted-Interrupts

2015-09-05 Thread Wu, Feng
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Friday, September 04, 2015 10:40 PM > To: Wu, Feng > Cc: Andrew Cooper; Tian, Kevin; xen-devel@lists.xen.org; Keir Fraser > Subject: Re: [PATCH v6 06/18] vmx: Add some helper functions for > Posted-Interrupts > >

Re: [Xen-devel] [PATCH v6 04/18] vt-d: VT-d Posted-Interrupts feature detection

2015-09-05 Thread Wu, Feng
> -Original Message- > From: Jan Beulich [mailto:jbeul...@suse.com] > Sent: Friday, September 04, 2015 10:31 PM > To: Wu, Feng > Cc: Tian, Kevin; Zhang, Yang Z; xen-devel@lists.xen.org > Subject: Re: [Xen-devel] [PATCH v6 04/18] vt-d: VT-d Posted-Interrupts feature > detection > > >>> On

[Xen-devel] [libvirt test] 61360: trouble: blocked/broken

2015-09-05 Thread osstest service owner
flight 61360 libvirt real [real] http://logs.test-lab.xenproject.org/osstest/logs/61360/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf-xsm 3 host-install(3) broken REGR. vs. 61304 buil

Re: [Xen-devel] [PATCH 0/5] Intel Code/Data Prioritization(CDP) feature enabling

2015-09-05 Thread Chao Peng
On Wed, Sep 02, 2015 at 01:08:33PM +0100, Andrew Cooper wrote: > On 02/09/15 09:27, He Chen wrote: > > Hi all, > > > > Code/Data Prioritization(CDP) is offered in Intel Broadwell and later server > > platforms, which is an extension of CAT. CDP enables isolation and separate > > prioritization of c

[Xen-devel] [xen-4.5-testing test] 61356: trouble: blocked/broken

2015-09-05 Thread osstest service owner
flight 61356 xen-4.5-testing real [real] http://logs.test-lab.xenproject.org/osstest/logs/61356/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf 3 host-install(3) broken REGR. vs. 607

[Xen-devel] [distros-debian-snapshot test] 37897: regressions - FAIL

2015-09-05 Thread Platform Team regression test user
flight 37897 distros-debian-snapshot real [real] http://osstest.xs.citrite.net/~osstest/testlogs/logs/37897/ Regressions :-( Tests which did not succeed and are blocking, including tests which could not be run: test-amd64-amd64-i386-current-netinst-pygrub 7 host-ping-check-xen fail REGR. vs. 37

[Xen-devel] [xen-unstable test] 61352: trouble: blocked/broken

2015-09-05 Thread osstest service owner
flight 61352 xen-unstable real [real] http://logs.test-lab.xenproject.org/osstest/logs/61352/ Failures and problems with tests :-( Tests which did not succeed and are blocking, including tests which could not be run: build-armhf 3 host-install(3) broken REGR. vs. 61059

[Xen-devel] [PATCH v3 9/9] xen/blkback: get number of hardware queues/rings from blkfront

2015-09-05 Thread Bob Liu
Backend advertises "multi-queue-max-queues" to front, and then read back the final negotiated queues/rings from "multi-queue-num-queues" which is wrote by blkfront. Signed-off-by: Bob Liu --- drivers/block/xen-blkback/blkback.c |8 drivers/block/xen-blkback/xenbus.c | 36

[Xen-devel] [PATCH v3 8/9] xen/blkback: pseudo support for multi hardware queues/rings

2015-09-05 Thread Bob Liu
Prepare patch for multi hardware queues/rings, the ring number was set to 1 by force. Signed-off-by: Arianna Avanzini Signed-off-by: Bob Liu --- drivers/block/xen-blkback/common.h |3 +- drivers/block/xen-blkback/xenbus.c | 328 +++- 2 files changed, 209 ins

[Xen-devel] [PATCH v3 7/9] xen/blkback: separate ring information out of struct xen_blkif

2015-09-05 Thread Bob Liu
Split per ring information to an new structure:xen_blkif_ring, so that one vbd device can associate with one or more rings/hardware queues. This patch is a preparation for supporting multi hardware queues/rings. Signed-off-by: Arianna Avanzini Signed-off-by: Bob Liu --- drivers/block/xen-blkba

[Xen-devel] [PATCH v3 5/9] xen/blkfront: convert per device io_lock to per ring ring_lock

2015-09-05 Thread Bob Liu
The per device io_lock became a coarser grained lock after multi-queues/rings was introduced, this patch converts it to a fine-grained per ring lock. NOTE: The per dev_info structure was no more protected by any lock. Signed-off-by: Bob Liu --- drivers/block/xen-blkfront.c | 44 ++

[Xen-devel] [PATCH v3 2/9] xen-block: add document for mutli hardware queues/rings

2015-09-05 Thread Bob Liu
Document multi queues/rings of xen-block. Signed-off-by: Bob Liu --- include/xen/interface/io/blkif.h | 32 1 file changed, 32 insertions(+) diff --git a/include/xen/interface/io/blkif.h b/include/xen/interface/io/blkif.h index c33e1c4..b453b70 100644 --- a/in

[Xen-devel] [PATCH v3 6/9] xen/blkfront: negotiate the number of hw queues/rings with backend

2015-09-05 Thread Bob Liu
The max number of hardware queues for xen/blkfront is set by parameter 'max_queues', while the number xen/blkback supported is notified through xenstore("multi-queue-max-queues"). The negotiated number was the smaller one, and was written back to xen/blkback as "multi-queue-num-queues". Signed-of

[Xen-devel] [PATCH v3 3/9] xen/blkfront: separate per ring information out of device info

2015-09-05 Thread Bob Liu
Split per ring information to an new structure:blkfront_ring_info, also rename per blkfront_info to blkfront_dev_info. A ring is the representation of a hardware queue, every vbd device can associate with one or more blkfront_ring_info depending on how many hardware queues/rings to be used. This

[Xen-devel] [PATCH v3 1/9] xen-blkfront: convert to blk-mq APIs

2015-09-05 Thread Bob Liu
Note: This patch is based on original work of Arianna's internship for GNOME's Outreach Program for Women. Only one hardware queue is used now, so there is no significant performance change The legacy non-mq code is deleted completely which is the same as other drivers like virtio, mtip, and nvme

[Xen-devel] [PATCH v3 0/9] xen-block: support multi hardware-queues/rings

2015-09-05 Thread Bob Liu
Note: These patches were based on original work of Arianna's internship for GNOME's Outreach Program for Women. The first patch which just convert xen-blkfront driver to use blk-mq api has been applied by David. After using blk-mq api, a guest has more than one(nr_vpus) software request queues as

[Xen-devel] [PATCH v3 4/9] xen/blkfront: pseudo support for multi hardware queues/rings

2015-09-05 Thread Bob Liu
Prepare patch for multi hardware queues/rings, the ring number was set to 1 by force. * Use 'nr_rings' in per dev_info to identify how many hw queues/rings are supported, and a pointer *rinfo for all its rings. * Rename 'nr_ring_pages' => 'pages_per_ring' to distinguish from 'nr_rings' better.

[Xen-devel] [RFC v0 1/9] smpboot: Add a separate CPU state when a surviving CPU times out

2015-09-05 Thread Daniel Wagner
The CPU_DEAD_FROZEN state is abused to report to cpu_wait_death() that the operation timeout. It has nothing to do with the pm freezing process. Introduce a new state to allow proper distinction between the states and also prepares the code to get rid of all FROZEN states. This was intruced in 80

Re: [Xen-devel] Fwd: [PATCH] x86: Use larger chunks in mtrr_cleanup

2015-09-05 Thread Toshi Kani
On Fri, 2015-09-04 at 03:40 +0200, Luis R. Rodriguez wrote: > On Thu, Sep 03, 2015 at 06:48:46PM -0600, Toshi Kani wrote: > > On Fri, 2015-09-04 at 01:54 +0200, Luis R. Rodriguez wrote: > > > On Thu, Sep 03, 2015 at 05:21:14PM -0600, Toshi Kani wrote: > > > > On Fri, 2015-09-04 at 00:45 +0200, Luis