Re: [Xen-devel] [PATCH 1/2] Xen acpi pad implement

2012-10-30 Thread Konrad Rzeszutek Wilk
+config XEN_ACPI_PAD_STUB + bool + depends on XEN_DOM0 X86_64 ACPI + default n + This Kconfig is pointless, if CONFIG_XEN_ACPI_PAD_STUB = n, native pad would successfully registerred, and then mwait #UD (we would revert df88b2d96e36d9a9e325bfcd12eb45671cbbc937, right?). So

Re: [PATCH -v3 0/7] x86: Use BRK to pre mapping page table to make xen happy

2012-10-30 Thread Konrad Rzeszutek Wilk
On Wed, Oct 10, 2012 at 11:13:45PM -0700, Yinghai Lu wrote: On Wed, Oct 10, 2012 at 9:40 AM, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: So you are missing the Xen patches entirely in this iteration of the series? please check updated for-x86-mm branch. [PATCH -v4

Re: [PATCH 1/2] xen/hypercall: fix hypercall fallback code for very old hypervisors

2012-10-30 Thread Konrad Rzeszutek Wilk
On Mon, Oct 29, 2012 at 10:08:17AM -0400, Konrad Rzeszutek Wilk wrote: From: Jan Beulich jbeul...@suse.com While copying the argument structures in HYPERVISOR_event_channel_op() and HYPERVISOR_physdev_op() into the local variable is sufficiently safe even if the actual structure is smaller

Re: [PATCH v2] Persistent grant maps for xen blk drivers

2012-10-30 Thread Konrad Rzeszutek Wilk
On Tue, Oct 30, 2012 at 07:33:16PM +0100, Roger Pau Monné wrote: On 30/10/12 18:01, Konrad Rzeszutek Wilk wrote: On Wed, Oct 24, 2012 at 06:58:45PM +0200, Roger Pau Monne wrote: This patch implements persistent grants for the xen-blk{front,back} mechanism. The effect of this change

Re: [PATCH 2/2] ACPI, ia64: export acpi_[un]register_gsi()

2012-10-30 Thread Konrad Rzeszutek Wilk
On Mon, Oct 29, 2012 at 11:26:32AM +0200, Mika Westerberg wrote: These functions might be called from modules as well so make sure they are exported. Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com --- arch/ia64/kernel/acpi.c | 2 ++ 1 file changed, 2 insertions(+) diff

Re: [PATCH 1/2] ACPI, x86: export acpi_[un]register_gsi()

2012-10-30 Thread Konrad Rzeszutek Wilk
On Mon, Oct 29, 2012 at 11:26:31AM +0200, Mika Westerberg wrote: From: Andy Shevchenko andriy.shevche...@linux.intel.com These functions might be called from modules as well so make sure they are exported. In addition we implement empty version of acpi_unregister_gsi() and remove the one

Please add swiotlb.git tree to linux-next

2012-10-31 Thread Konrad Rzeszutek Wilk
: commit 6e28b761c5020c4bc943c7e38da86bea8af77d5c Author: Konrad Rzeszutek Wilk konrad.w...@oracle.com Date: Mon Oct 8 16:28:05 2012 -0700 MAINTAINERS: add Konrad as the SWIOTLB maintainer Now that I've an IA64 box on top of the other boxes (IBM with Calgary-X, Intel VT-d, AMD Vi

Re: dma_mapping_error() interfaces

2012-10-31 Thread Konrad Rzeszutek Wilk
On Thu, Oct 25, 2012 at 01:56:20PM -0600, Shuah Khan wrote: I am working on changing dma_mapping_error() interfaces to add call to debug_dma_mapping_error() interface. I found several dma_mapping_error() defines in various arch specific dma-mapping.h files. Majority of these arch specific

Re: [PATCH RFC] mm: simplify frontswap_init()

2012-10-31 Thread Konrad Rzeszutek Wilk
On Tue, Oct 30, 2012 at 09:12:53PM -0200, Cesar Eduardo Barros wrote: The function frontswap_init() uses the passed parameter only to check for the presence of the frontswap_map. It is also passed down to frontswap_ops.init(), but all implementations of it in the kernel ignore the parameter.

Re: [PATCH 1/2] mm: refactor reinsert of swap_info in sys_swapoff

2012-10-31 Thread Konrad Rzeszutek Wilk
On Tue, Oct 30, 2012 at 02:04:17PM -0700, Andrew Morton wrote: On Sat, 27 Oct 2012 19:20:46 -0200 Cesar Eduardo Barros ces...@cesarb.net wrote: The block within sys_swapoff which re-inserts the swap_info into the swap_list in case of failure of try_to_unuse() reads a few values outside

Re: [Xen-devel] [PATCH 1/2] Xen acpi pad implement

2012-10-31 Thread Konrad Rzeszutek Wilk
On Tue, Oct 30, 2012 at 03:18:59PM +, Liu, Jinsong wrote: Konrad Rzeszutek Wilk wrote: +config XEN_ACPI_PAD_STUB + bool + depends on XEN_DOM0 X86_64 ACPI + default n + This Kconfig is pointless, if CONFIG_XEN_ACPI_PAD_STUB = n, native pad would successfully registerred

[PATCH] xen/mmu: Use Xen specific TLB flush instead of the generic one.

2012-10-31 Thread Konrad Rzeszutek Wilk
. Oracle-bug: 14630170 CC: sta...@vger.kernel.org Tested-by: Jingjie Jiang jingjie.ji...@oracle.com Suggested-by: Mukesh Rathor mukesh.rat...@oracle.com Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/x86/xen/mmu.c | 21 - include/trace/events

Re: [patch] x86, xen: fix build dependency when USB_SUPPORT is not enabled

2012-11-01 Thread Konrad Rzeszutek Wilk
On Wed, Oct 31, 2012 at 10:42:30PM -0700, David Rientjes wrote: CONFIG_XEN_DOM0 must depend on CONFIG_USB_SUPPORT, otherwise there is no definition of xen_dbgp_reset_prep() and xen_dbgp_external_startup() resulting in the following link error: drivers/built-in.o: In function

Re: linux-next: manual merge of the tmem tree with the xen-two tree

2012-11-01 Thread Konrad Rzeszutek Wilk
On Thu, Nov 01, 2012 at 02:40:59PM +1100, Stephen Rothwell wrote: Hi Konrad, Today's linux-next merge of the tmem tree got conflicts in arch/x86/include/asm/xen/interface.h and drivers/xen/cpu_hotplug.c between commit 6c6067f26388 (xen/pvh: Extend vcpu_guest_context, p2m, event, and XenBus)

Re: linux-next: manual merge of the tmem tree with the xen-two tree

2012-11-01 Thread Konrad Rzeszutek Wilk
On Fri, Nov 02, 2012 at 12:17:32AM +1100, Stephen Rothwell wrote: Hi Konrad, On Thu, 1 Nov 2012 09:03:10 -0400 Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: I am not really sure how this happen - the 'tmem' tree should not have had 7282a68f5aea, and more interestingly, I cannot

Re: linux-next: Tree for Nov 1 (xen)

2012-11-01 Thread Konrad Rzeszutek Wilk
On Thu, Nov 01, 2012 at 10:18:47AM -0700, Randy Dunlap wrote: On 10/31/2012 10:36 PM, Stephen Rothwell wrote: Hi all, New trees: rr-fixes and swiotlb Changes since 20121031: arch/x86/xen/enlighten.c:109:0: warning: xen_pvh_domain redefined include/xen/xen.h:23:0: note: this

Re: [patch] x86, xen: fix build dependency when USB_SUPPORT is not enabled

2012-11-01 Thread Konrad Rzeszutek Wilk
On Thu, Nov 01, 2012 at 08:04:58PM +, Jan Beulich wrote: Konrad Rzeszutek Wilk konrad.w...@oracle.com 11/01/12 1:49 PM On Wed, Oct 31, 2012 at 10:42:30PM -0700, David Rientjes wrote: CONFIG_XEN_DOM0 must depend on CONFIG_USB_SUPPORT, otherwise there is no definition

[GIT PULL] (xen) stable/for-linus-3.7-rc4-tag

2012-11-02 Thread Konrad Rzeszutek Wilk
CLOSED without CLOSING xen-kbdfront: handle backend CLOSED without CLOSING Jan Beulich (1): xen/xenbus: fix overflow check in xenbus_file_write() Konrad Rzeszutek Wilk (1): xen/mmu: Use Xen specific TLB flush instead of the generic one. Olaf Hering (1): x86: remove obsolete

Re: [RFC] mm: add support for zsmalloc and zcache

2012-11-02 Thread Konrad Rzeszutek Wilk
On Fri, Oct 26, 2012 at 04:45:14PM -0500, Seth Jennings wrote: On 10/02/2012 01:17 PM, Dan Magenheimer wrote: If so, shake hands and move forward? What do you see as next steps? I've been reviewing the changes between zcache and zcache2 and getting a feel for the scope and direction of

Re: [PATCH v3 0/7] Improve swiotlb performance by using physical addresses

2012-11-02 Thread Konrad Rzeszutek Wilk
On Mon, Oct 29, 2012 at 03:05:56PM -0400, Konrad Rzeszutek Wilk wrote: On Mon, Oct 29, 2012 at 11:18:09AM -0700, Alexander Duyck wrote: On Mon, Oct 15, 2012 at 10:19 AM, Alexander Duyck alexander.h.du...@intel.com wrote: While working on 10Gb/s routing performance I found a significant

Re: [Xen-devel] [PATCH] xen/hvm: If we fail to fetch an HVM parameter print out which flag it is.

2012-11-02 Thread Konrad Rzeszutek Wilk
On Tue, Oct 23, 2012 at 10:22:18AM +0100, Ian Campbell wrote: On Fri, 2012-10-19 at 20:03 +0100, Konrad Rzeszutek Wilk wrote: Makes it easier to troubleshoot in the field. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- include/xen/hvm.h | 31

Re: [PATCH 1/2] xen/hypercall: fix hypercall fallback code for very old hypervisors

2012-11-02 Thread Konrad Rzeszutek Wilk
On Wed, Oct 31, 2012 at 08:55:54AM +, Jan Beulich wrote: On 30.10.12 at 16:44, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Mon, Oct 29, 2012 at 10:08:17AM -0400, Konrad Rzeszutek Wilk wrote: From: Jan Beulich jbeul...@suse.com While copying the argument structures

Re: [Xen-devel] [PATCH 1/2] Xen acpi pad implement

2012-11-02 Thread Konrad Rzeszutek Wilk
On Thu, Nov 01, 2012 at 06:34:45AM +, Liu, Jinsong wrote: Thanks! updated as attached. Jinsong = From f514b97628945cfac00efb0d456f133d44754c9d Mon Sep 17 00:00:00 2001 From: Liu, Jinsong jinsong@intel.com Date: Thu, 1 Nov 2012 21:02:36 +0800 Subject: [PATCH

Re: [PATCH] xen-blk: persistent-grants fixes

2012-11-02 Thread Konrad Rzeszutek Wilk
Wilk. * new_map is a boolean, use true or false instead of 1 and 0. Reported by Konrad Rzeszutek Wilk. * blkfront announces the persistent-grants feature as feature-persistent-grants, use feature-persistent instead which is consistent with blkback and the public Xen headers

Re: [PATCH 2/5] mm: frontswap: lazy initialization to allow tmem backends to build/run as modules

2012-11-02 Thread Konrad Rzeszutek Wilk
+ frontswap_enabled = 1; If frontswap_enabled is going to be on all the time, then what point does it serve? By extension, can all of the static inline wrappers in frontswap.h be done away with? Hm, or the frontswap_enabled can be converted to a frontswap_flag which has: #define

Re: [PATCH 2/5] mm: frontswap: lazy initialization to allow tmem backends to build/run as modules

2012-11-02 Thread Konrad Rzeszutek Wilk
Hengelein ilen...@googlemail.com Signed-off-by: Florian Schmaus fschm...@gmail.com Signed-off-by: Andor Daam andor.d...@googlemail.com Signed-off-by: Dan Magenheimer dan.magenhei...@oracle.com [v1: Fixes per Seth Jennings suggestions] Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com

Re: [PATCH 1/5] mm: cleancache: lazy initialization to allow tmem backends to build/run as modules

2012-11-02 Thread Konrad Rzeszutek Wilk
: used #define for some values and bools] Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- include/linux/cleancache.h | 1 + mm/cleancache.c| 156 - 2 files changed, 140 insertions(+), 17 deletions(-) diff --git a/include/linux

Re: [PATCH 3/5] staging: zcache2+ramster: enable zcache2 to be built/loaded as a module

2012-11-02 Thread Konrad Rzeszutek Wilk
On Wed, Oct 31, 2012 at 08:07:52AM -0700, Dan Magenheimer wrote: Allow zcache2 to be built/loaded as a module. Note runtime dependency disallows loading if cleancache/frontswap lazy initialization patches are not present. Zsmalloc support has not yet been merged into zcache2 but, once

Re: [PATCH 0/2] xen-pciback: parsing improvements

2012-11-02 Thread Konrad Rzeszutek Wilk
On Fri, Nov 02, 2012 at 02:35:40PM +, Jan Beulich wrote: 1: simplify and tighten parsing of device IDs 2: reject out of range inputs applied for v3.8. Thanks! Signed-off-by: Jan Beulich jbeul...@suse.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [Xen-devel] [PATCH] Xen-SWIOTLB fixes (v4) for v3.7

2012-09-22 Thread Konrad Rzeszutek Wilk
to allow it to use an io_tlb passed in. Note: I hadn't tested this on IA64 and that is something I need to do. Done. I got my hands on a HP zx6000 and the patch series did not show any regressions. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH] PCI, x86: clear initial value for root info resources

2012-09-23 Thread Konrad Rzeszutek Wilk
On Fri, Sep 21, 2012 at 11:27:00AM -0700, Yinghai Lu wrote: On Fri, Sep 21, 2012 at 9:50 AM, Konrad Rzeszutek Wilk kon...@kernel.org wrote: On Wed, Sep 19, 2012 at 10:49:00AM -0700, Yinghai Lu wrote: Can you include the stack trace? [ 414.997281] pci_bus :00: freeing pci_bus info

[GIT PULL] (xen) stable/for-linus-3.7-rc7-tag

2012-09-24 Thread Konrad Rzeszutek Wilk
to the PV guests. When we do get to that point, then this patch will have to be reverted. Konrad Rzeszutek Wilk (1): xen/boot: Disable NUMA for PV guests. arch/x86/xen/setup.c |4 1 files changed, 4 insertions(+), 0 deletions(-) -- To unsubscribe from this list: send the line

Re: [PATCH v2] Persistent grant maps for xen blk drivers

2012-09-24 Thread Konrad Rzeszutek Wilk
On Mon, Sep 24, 2012 at 10:38:48AM -0400, Andres Lagar-Cavilla wrote: On Sep 21, 2012, at 4:46 PM, Konrad Rzeszutek Wilk wrote: On Fri, Sep 21, 2012 at 02:56:22PM -0400, Konrad Rzeszutek Wilk wrote: *: With a PVHVM guest I get [ 261.927218] privcmd_fault: vma=88002a31dce8

Re: [RFC PATCH] x86-32: Start out eflags and cr4 clean

2012-09-25 Thread Konrad Rzeszutek Wilk
On Mon, Sep 24, 2012 at 04:27:19PM -0700, H. Peter Anvin wrote: From: H. Peter Anvin h...@linux.intel.com %cr4 is supposed to reflect a set of features into which the operating system is opting in. If the BIOS or bootloader leaks bits here, this is not desirable. Consider a bootloader

[PATCH 1/2] xen/pciback: Restore the PCI config space after an FLR.

2012-09-25 Thread Konrad Rzeszutek Wilk
for v3.4 and v3.5 Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/xen/xen-pciback/pci_stub.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/xen/xen-pciback/pci_stub.c b/drivers/xen/xen-pciback/pci_stub.c index acec6fa..e5a0c13 100644

[PATCH] fixes to xen-pciback for v3.7 (v1)

2012-09-25 Thread Konrad Rzeszutek Wilk
One fixes that I thought I had fixed but not so. This was discovered when trying to passthrough an PCIe network card to an PVHVM guest and finding that it can't use MSIs. I thought I had it fixed with git commit 80ba77dfbce85f2d1be54847de3c866de1b18a9a xen/pciback: Fix proper FLR steps. but that

[PATCH 2/2] xen/pciback: When resetting the device don't disable twice.

2012-09-25 Thread Konrad Rzeszutek Wilk
We call 'pci_disable_device' which sets the bus_master to zero and it also disables the PCI_COMMAND. There is no need to do it outside the PCI library. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/xen/xen-pciback/pciback_ops.c |4 1 files changed, 0 insertions

Re: [RFC PATCH] x86-32: Start out eflags and cr4 clean

2012-09-26 Thread Konrad Rzeszutek Wilk
: Acked-by: Ian Campbell ian.campb...@citrix.com FWIW it looks correct to me from the native PoV too, but you probably already knew that ;-) And sanity testing confirmed it. Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com Tested-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com Ian

Re: [PATCH RFC 0/2] kvm: Improving undercommit,overcommit scenarios in PLE handler

2012-09-26 Thread Konrad Rzeszutek Wilk
On Tue, Sep 25, 2012 at 05:00:30PM +0200, Dor Laor wrote: On 09/24/2012 02:02 PM, Raghavendra K T wrote: On 09/24/2012 02:12 PM, Dor Laor wrote: In order to help PLE and pvticketlock converge I thought that a small test code should be developed to test this in a predictable, deterministic

Re: [PATCH v2] dma-debug: New interfaces to debug dma mapping errors

2012-09-26 Thread Konrad Rzeszutek Wilk
Enhancements to dma-debug API are made to add new debugfs interfaces to report total dma errors, dma errors that are not checked, and unmap errors for the entire system. Please note that these are system wide counters for all devices in the system. The following new dma-debug interface is

[GIT PULL] (xen) stable/for-jens-3.7

2012-09-26 Thread Konrad Rzeszutek Wilk
Hey Jens, I've one more patch (a small change) that I was hoping you could pull in your v3.7 branch. The branch is: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-jens-3.7 and has this tiny patch: Oliver Chick (1): xen/blkback: Change xen_vbd's flush_support

Re: [PATCH 00/11] x86/microcode: Early load microcode

2012-10-03 Thread Konrad Rzeszutek Wilk
On Tue, Oct 2, 2012 at 3:04 PM, H. Peter Anvin h...@zytor.com wrote: On 10/02/2012 12:00 PM, Konrad Rzeszutek Wilk wrote: When he got interrupted did he have any beta patches to dracut that could be posted? To *dracut*? The replacement for mkinitrd. You know the thing that creates your

Re: [PATCH] xen: point xen_start_info to a dummy struct for PV on HVM guests

2012-10-03 Thread Konrad Rzeszutek Wilk
to it, as we do on ARM. This is not going to change things for PV guests because xen_start_info is set by arch/x86/xen/xen-head.S:startup_xen. Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com Reported-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com diff --git a/arch/x86

Re: [Xen-devel] [PATCH] xen: point xen_start_info to a dummy struct for PV on HVM guests

2012-10-03 Thread Konrad Rzeszutek Wilk
On Wed, Oct 03, 2012 at 02:54:42PM +0100, Ian Campbell wrote: On Wed, 2012-10-03 at 14:51 +0100, Stefano Stabellini wrote: On Wed, 3 Oct 2012, Ian Campbell wrote: On Wed, 2012-10-03 at 14:37 +0100, Stefano Stabellini wrote: PV on HVM guests don't have a start_info page mapped by Xen, so

Re: [PATCH 4/4] ACPI: remove acpi_op_start workaround

2012-10-04 Thread Konrad Rzeszutek Wilk
On Wed, Oct 3, 2012 at 7:00 PM, Yinghai Lu ying...@kernel.org wrote: No .start on any acpi_driver ops anymore. Could you include the git commit number (of the one that removed it) and a little description of why it was removed please? Signed-off-by: Yinghai Lu ying...@kernel.org ---

Re: [PATCH 1/4] ACPI: add drivers_autoprobe in struct acpi_device

2012-10-04 Thread Konrad Rzeszutek Wilk
On Wed, Oct 3, 2012 at 7:00 PM, Yinghai Lu ying...@kernel.org wrote: To use to control the delay attach driver for acpi_device. blinks I am not sure what this says. Can you please explain how it controls the delaying of attaching drivers? Will use bus notifier to toggle this bits when needed.

Re: [RFC PATCH 0/7] Improve swiotlb performance by using physical addresses

2012-10-04 Thread Konrad Rzeszutek Wilk
On Wed, Oct 03, 2012 at 05:38:41PM -0700, Alexander Duyck wrote: While working on 10Gb/s routing performance I found a significant amount of time was being spent in the swiotlb DMA handler. Further digging found that a significant amount of this was due to the fact that virtual to physical

Re: [RFC PATCH 1/7] swiotlb: Instead of tracking the end of the swiotlb region just calculate it

2012-10-04 Thread Konrad Rzeszutek Wilk
On Wed, Oct 03, 2012 at 05:38:47PM -0700, Alexander Duyck wrote: In the case of swiotlb we already have the start of the region and the number of slabs that give us the region size. Instead of having to call virt_to_phys on two pointers we can just take advantage of the fact that the region

Re: [RFC PATCH 2/7] swiotlb: Make io_tlb_start a physical address instead of a virtual address

2012-10-04 Thread Konrad Rzeszutek Wilk
On Wed, Oct 03, 2012 at 05:38:53PM -0700, Alexander Duyck wrote: This change makes it so that io_tlb_start contains a physical address instead of a virtual address. The advantage to this is that we can avoid costly translations between virtual and physical addresses when comparing the

Re: [RFC PATCH 0/7] Improve swiotlb performance by using physical addresses

2012-10-04 Thread Konrad Rzeszutek Wilk
On Wed, Oct 03, 2012 at 05:38:41PM -0700, Alexander Duyck wrote: While working on 10Gb/s routing performance I found a significant amount of time was being spent in the swiotlb DMA handler. Further digging found that a significant amount of this was due to the fact that virtual to physical

Re: [PATCH 04/13] x86, mm: Revert back good_end setting for 64bit

2012-10-04 Thread Konrad Rzeszutek Wilk
On Wed, Oct 03, 2012 at 11:51:06AM -0500, Jacob Shin wrote: On Mon, Oct 01, 2012 at 12:00:26PM +0100, Stefano Stabellini wrote: On Sun, 30 Sep 2012, Yinghai Lu wrote: After | commit 8548c84da2f47e71bbbe300f55edb768492575f7 | Author: Takashi Iwai ti...@suse.de | Date: Sun Oct

Re: [PATCH v3] dma-debug: New interfaces to debug dma mapping errors

2012-10-04 Thread Konrad Rzeszutek Wilk
On Wed, Oct 03, 2012 at 02:45:11PM -0700, Andrew Morton wrote: On Wed, 03 Oct 2012 08:55:59 -0600 Shuah Khan shuah.k...@hp.com wrote: A recent dma mapping error analysis effort showed that a large percentage of dma_map_single() and dma_map_page() returns are not checked for mapping

Re: [PATCH 1/5] PCI: Add pci_dev_type

2012-10-04 Thread Konrad Rzeszutek Wilk
On Wed, Oct 03, 2012 at 10:51:31AM -0700, Yinghai Lu wrote: need to use it for visiable attribute control in syfsfs for pci_dev. Please use 'ispell' before sending your patches. Also please explain why do you want this? If I do 'git annotate' on that file (say six months from now when I've

Re: [PATCH 4/5] PCI: Add max_vfs in sysfs per pci device where supports

2012-10-04 Thread Konrad Rzeszutek Wilk
On Wed, Oct 03, 2012 at 10:51:34AM -0700, Yinghai Lu wrote: only pci device that support sriov will have max_vfs show up in /sys ^-Only ^-devices ^-SRIOV when user set value in /sys, driver ops set_max_vfs will be called to enable VF there. Huh? What value? What are they

[GIT PULL] (xen) stable/for-linus-3.7-arm-tag

2012-10-04 Thread Konrad Rzeszutek Wilk
Hey Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/for-linus-3.7-arm-tag which has the initial support for booting a Linux Xen guest under the ARM (specifically ARMv7 with virtualized extensions). The details of how to use/what

[PATCH] MAINTAINERS: Add myself as the SWIOTLB maintainer.

2012-10-04 Thread Konrad Rzeszutek Wilk
: Thomas Gleixner t...@linutronix.de Cc: Andrew Morton a...@linux-foundation.org CC: Tony Luck tony.l...@intel.com Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- MAINTAINERS |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS

Re: [RFC PATCH 1/7] swiotlb: Instead of tracking the end of the swiotlb region just calculate it

2012-10-04 Thread Konrad Rzeszutek Wilk
On Thu, Oct 04, 2012 at 08:54:09AM -0700, Alexander Duyck wrote: On 10/04/2012 06:01 AM, Konrad Rzeszutek Wilk wrote: On Wed, Oct 03, 2012 at 05:38:47PM -0700, Alexander Duyck wrote: In the case of swiotlb we already have the start of the region and the number of slabs that give us

Re: [PATCH 04/13] x86, mm: Revert back good_end setting for 64bit

2012-10-04 Thread Konrad Rzeszutek Wilk
On Thu, Oct 04, 2012 at 08:57:55AM -0700, Yinghai Lu wrote: On Mon, Oct 1, 2012 at 4:00 AM, Stefano Stabellini stefano.stabell...@eu.citrix.com wrote: On Sun, 30 Sep 2012, Yinghai Lu wrote: After | commit 8548c84da2f47e71bbbe300f55edb768492575f7 | Author: Takashi Iwai ti...@suse.de |

Re: [PATCH 04/13] x86, mm: Revert back good_end setting for 64bit

2012-10-04 Thread Konrad Rzeszutek Wilk
On Thu, Oct 04, 2012 at 09:19:08AM -0700, Yinghai Lu wrote: On Wed, Oct 3, 2012 at 9:51 AM, Jacob Shin jacob.s...@amd.com wrote: Any comments, thoughts? hpa? Yinghai? So it seems that during init_memory_mapping Xen needs to modify page table bits and the memory where the page tables live

Re: [RFC PATCH 2/7] swiotlb: Make io_tlb_start a physical address instead of a virtual address

2012-10-04 Thread Konrad Rzeszutek Wilk
@@ -450,7 +451,7 @@ void *swiotlb_tbl_map_single(struct device *hwdev, dma_addr_t tbl_dma_addr, io_tlb_list[i] = 0; for (i = index - 1; (OFFSET(i, IO_TLB_SEGSIZE) != IO_TLB_SEGSIZE - 1) io_tlb_list[i]; i--)

Re: [PATCH v3] dma-debug: New interfaces to debug dma mapping errors

2012-10-04 Thread Konrad Rzeszutek Wilk
one extra field added. Otherwise: Reviewed-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com #ifdef CONFIG_STACKTRACE struct stack_trace stacktrace; unsigned longst_entries[DMA_DEBUG_STACKTRACE_ENTRIES]; @@ -83,6 +90,11 @@ static u32 global_disable __read_mostly

Re: [PATCH] dma-debug: fix to not have dependency on get_dma_ops() interface

2012-11-05 Thread Konrad Rzeszutek Wilk
On Sat, Nov 03, 2012 at 05:00:07PM -0600, Shuah Khan wrote: dma-debug depends on get_dma_ops() interface. Several architectures do not define dma_ops and get_dma_ops(). When dma debug interfaces are used on an architecture (e.g: c6x) that doesn't define get_dmap_ops(), compilation fails.

[PATCH 05/11] zcache: The last of the atomic reads has now an accessory function.

2012-11-05 Thread Konrad Rzeszutek Wilk
And now we can move the code to its own file. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/staging/ramster/zcache-main.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/staging/ramster/zcache-main.c b/drivers/staging/ramster

[PATCH 04/11] zcache: Provide accessory functions for counter decrease.

2012-11-05 Thread Konrad Rzeszutek Wilk
This way we can have all wrapped with these functions and can disable/enable this with CONFIG_DEBUG_FS. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/staging/ramster/zcache-main.c | 88 +++-- 1 files changed, 51 insertions(+), 37 deletions

[PATCH 07/11] zcache: Make the debug code use pr_debug

2012-11-05 Thread Konrad Rzeszutek Wilk
as if you are debugging this driver you would be using 'debug' on the command line anyhow - and this would dump the debug data on the proper loglevel. While at it also remove the unconditional #define ZCACHE_DEBUG. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/staging

[PATCH 11/11] zcache: Coalesce all debug under CONFIG_ZCACHE2_DEBUG

2012-11-05 Thread Konrad Rzeszutek Wilk
and also define this extra attribute in the Kconfig entry. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/staging/ramster/Kconfig |8 drivers/staging/ramster/Makefile |2 +- drivers/staging/ramster/debug.h |2 +- drivers/staging

[PATCH 02/11] zcache: Module license is defined twice.

2012-11-05 Thread Konrad Rzeszutek Wilk
The other (same license) is at the end of the file. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/staging/ramster/zcache-main.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/staging/ramster/zcache-main.c b/drivers/staging/ramster

[PATCH 09/11] zcache: Use an array to initialize/use debugfs attributes.

2012-11-05 Thread Konrad Rzeszutek Wilk
It makes it neater and also allows us to piggyback on that in the zcache_dump function. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/staging/ramster/debug.c | 141 +-- 1 files changed, 47 insertions(+), 94 deletions(-) diff --git

[PATCH 03/11] zcache: Provide accessory functions for counter increase

2012-11-05 Thread Konrad Rzeszutek Wilk
This is the first step in moving the debugfs code out of the main file in-to another file. And also allow the code to run without CONFIG_DEBUG_FS defined. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/staging/ramster/zcache-main.c | 103

[PATCH 10/11] zcache: Move the last of the debugfs counters out

2012-11-05 Thread Konrad Rzeszutek Wilk
We now have in zcache-main only the counters that are are not debugfs related. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/staging/ramster/debug.h | 80 + drivers/staging/ramster/zcache-main.c | 71

[PATCH 01/11] zcache2: s/int/bool/ on the various options.

2012-11-05 Thread Konrad Rzeszutek Wilk
There are so many, but this allows us to at least have them right in as bool. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/staging/ramster/zcache-main.c | 46 1 files changed, 23 insertions(+), 23 deletions(-) diff --git a/drivers

[PATCH 08/11] zcache: Move debugfs code out of zcache-main.c file.

2012-11-05 Thread Konrad Rzeszutek Wilk
Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/staging/ramster/Makefile |1 + drivers/staging/ramster/debug.c | 113 +++ drivers/staging/ramster/debug.h | 183 drivers/staging/ramster/zcache-main.c | 247

[RFC PATCH] zcache2 cleanups (s/int/bool + debugfs movement).

2012-11-05 Thread Konrad Rzeszutek Wilk
++ drivers/staging/ramster/debug.h | 225 +++ drivers/staging/ramster/zcache-main.c | 384 - 5 files changed, 389 insertions(+), 295 deletions(-) Konrad Rzeszutek Wilk (11): zcache2: s/int/bool/ on the various options. zcache

[PATCH 06/11] zcache: Fix compile warnings due to usage of debugfs_create_size_t

2012-11-05 Thread Konrad Rzeszutek Wilk
end up using 'unsigned' or 'unsigned long' instead of 'ssize_t'. So lets fix this up and use the proper type. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/staging/ramster/zcache-main.c | 135 + 1 files changed, 68 insertions(+), 67

Re: [PATCH v3 6/8] x86/xen: Use __pa_symbol instead of __pa on C visible symbols

2012-11-06 Thread Konrad Rzeszutek Wilk
pointer is a part of the kernel text or just standard virtual memory. Cc: Konrad Rzeszutek Wilk konrad.w...@oracle.com Acked-by. Signed-off-by: Alexander Duyck alexander.h.du...@intel.com --- arch/x86/xen/mmu.c | 21 +++-- 1 files changed, 11 insertions(+), 10 deletions

Re: [PATCH] xen/events: xen/events: fix RCU warning

2012-11-06 Thread Konrad Rzeszutek Wilk
-off-by: Mojiong Qiu mj...@tencent.com Cc: Konrad Rzeszutek Wilk konrad.w...@oracle.com Cc: Jeremy Fitzhardinge jer...@goop.org Cc: xen-de...@lists.xensource.com Cc: virtualizat...@lists.linux-foundation.org Cc: linux-kernel@vger.kernel.org Cc: sta...@kernel.org (at least to 3.0.y

Re: [Xen-devel] [PATCH 1/2] Xen acpi pad implement

2012-11-06 Thread Konrad Rzeszutek Wilk
On Tue, Nov 06, 2012 at 04:23:57PM +, Liu, Jinsong wrote: Stefano Stabellini wrote: On Tue, 6 Nov 2012, Liu, Jinsong wrote: Liu, Jinsong wrote: Stefano Stabellini wrote: diff --git a/drivers/xen/Makefile b/drivers/xen/Makefile index 0e86370..a2af622 100644 ---

Re: [PATCH] add tpm_xenu.ko: Xen Virtual TPM frontend driver

2012-11-06 Thread Konrad Rzeszutek Wilk
On Mon, Nov 05, 2012 at 10:09:57AM -0500, Matthew Fioravante wrote: This patch ports the xen vtpm frontend driver for linux from the linux-2.6.18-xen.hg tree to linux-stable. So how does on test it ? Set it up? Use it? Is there some documentation about it - if so it should be in the patch

[PATCH] Fix various compile errors/warnings on ARM with CONFIG_XEN_*=m

2012-11-06 Thread Konrad Rzeszutek Wilk
Two patches that I was thinking for v3.7 to fix compile issues. [PATCH 1/2] xen/generic: Disable fallback build on ARM. This one, requires Stefano's Ack: [PATCH 2/2] xen/arm: Fix compile errors when drivers are compiled as -- To unsubscribe from this list: send the line unsubscribe

[PATCH 2/2] xen/arm: Fix compile errors when drivers are compiled as modules.

2012-11-06 Thread Konrad Rzeszutek Wilk
in hypercall.S). Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- arch/arm/xen/enlighten.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/xen/enlighten.c b/arch/arm/xen/enlighten.c index 59bcb96..96d969d 100644 --- a/arch/arm/xen/enlighten.c

[PATCH 1/2] xen/generic: Disable fallback build on ARM.

2012-11-06 Thread Konrad Rzeszutek Wilk
undeclared identifier is reported only once for each function it appears in .. and more Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/xen/Makefile |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/xen/Makefile b/drivers/xen/Makefile index 46de6cd

Re: [Xen-devel] [PATCH 1/2] xen/generic: Disable fallback build on ARM.

2012-11-07 Thread Konrad Rzeszutek Wilk
On Wed, Nov 07, 2012 at 08:38:44AM +, Jan Beulich wrote: On 07.11.12 at 08:19, Ian Campbell ian.campb...@citrix.com wrote: On Tue, 2012-11-06 at 22:13 +, Konrad Rzeszutek Wilk wrote: As there is no need for it (the fallback code is for older hypervisors and they won't run under ARM

Re: [Xen-devel] [PATCH 1/2] Xen acpi pad implement

2012-11-07 Thread Konrad Rzeszutek Wilk
On Wed, Nov 07, 2012 at 12:58:19PM +, Liu, Jinsong wrote: If it is generic ACPI code, than it can depend only on ACPI. If it is ACPI code that contains X86 specific info, than it needs to depend on X86 too. No x86 specific so let's depend on ACPI. Huh? This feature is x86

Re: [PATCH] add tpm_xenu.ko: Xen Virtual TPM frontend driver

2012-11-07 Thread Konrad Rzeszutek Wilk
On Wed, Nov 07, 2012 at 09:05:26AM -0500, Matthew Fioravante wrote: On 11/06/2012 02:39 PM, Konrad Rzeszutek Wilk wrote: On Mon, Nov 05, 2012 at 10:09:57AM -0500, Matthew Fioravante wrote: This patch ports the xen vtpm frontend driver for linux from the linux-2.6.18-xen.hg tree to linux-stable

Re: [PATCH -v3 0/7] x86: Use BRK to pre mapping page table to make xen happy

2012-11-07 Thread Konrad Rzeszutek Wilk
On Mon, Nov 05, 2012 at 12:25:12PM -0800, Yinghai Lu wrote: On Sat, Nov 3, 2012 at 2:37 PM, H. Peter Anvin h...@zytor.com wrote: I am travelling at the moment... I hope to be able to look at it Sunday. can you put for-x86-mm-test to tip for more testing? or you want to rebase the whole

Re: [Xen-devel] [PATCH 1/2] Xen acpi pad implement

2012-11-07 Thread Konrad Rzeszutek Wilk
On Wed, Nov 07, 2012 at 04:52:50PM +, Liu, Jinsong wrote: Konrad Rzeszutek Wilk wrote: On Wed, Nov 07, 2012 at 12:58:19PM +, Liu, Jinsong wrote: If it is generic ACPI code, than it can depend only on ACPI. If it is ACPI code that contains X86 specific info, than it needs

Re: [PATCH] add tpm_xenu.ko: Xen Virtual TPM frontend driver

2012-11-07 Thread Konrad Rzeszutek Wilk
On Wed, Nov 07, 2012 at 01:14:25PM -0500, Matthew Fioravante wrote: On 11/07/2012 09:46 AM, Kent Yoder wrote: Hi Matthew, On Mon, Nov 05, 2012 at 10:09:57AM -0500, Matthew Fioravante wrote: This patch ports the xen vtpm frontend driver for linux from the linux-2.6.18-xen.hg tree to

Re: [Xen-devel] [PATCH] add tpm_xenu.ko: Xen Virtual TPM frontend driver

2012-11-08 Thread Konrad Rzeszutek Wilk
On Thu, Nov 08, 2012 at 09:46:16AM +0100, Ian Campbell wrote: +typedef struct tpmif_tx_request tpmif_tx_request_t; checkpatch warned on this new typedef - please run through checkpatch and fix up that stuff. tpmif.h has a couple of typedefs which do trigger checkpatch warnings.

Re: [PATCH 3/5] xen-pcifront: handle backend CLOSED without CLOSING

2012-10-19 Thread Konrad Rzeszutek Wilk
and will not properly shutdown. So, treat an unexpected backend CLOSED state the same as CLOSING. Signed-off-by: David Vrabel david.vra...@citrix.com Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- Cc: linux-...@vger.kernel.org Cc: Bjorn Helgaas bhelg...@google.com Bjorn, do you want me

Re: [PATCH 4/5] xen-fbfront: handle backend CLOSED without CLOSING

2012-10-19 Thread Konrad Rzeszutek Wilk
and will not properly shutdown. So, treat an unexpected backend CLOSED state the same as CLOSING. Signed-off-by: David Vrabel david.vra...@citrix.com Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- Cc: linux-fb...@vger.kernel.org Cc: Florian Tobias Schandinat florianschandi...@gmx.de Hey

Re: [PATCH 5/5] xen-kbdfront: handle backend CLOSED without CLOSING

2012-10-19 Thread Konrad Rzeszutek Wilk
and will not properly shutdown. So, treat an unexpected backend CLOSED state the same as CLOSING. Signed-off-by: David Vrabel david.vra...@citrix.com Acked-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- Cc: linux-in...@vger.kernel.org Cc: Dmitry Torokhov dmitry.torok...@gmail.com Hey Dmitry

Re: [PATCH V3 1/6]: PVH: basic and header changes, elfnote changes, ...

2012-10-19 Thread Konrad Rzeszutek Wilk
On Wed, Oct 17, 2012 at 05:26:42PM -0700, Mukesh Rathor wrote: [PATCH 1/6] PVH: is a PV linux guest that has extended capabilities. This patch allows it to be configured and enabled. Also, basic header file changes to add new subcalls to physmap hypercall. Lastly, mfn_to_local_pfn must

Re: [PATCH V3 1/6]: PVH: basic and header changes, elfnote changes, ...

2012-10-19 Thread Konrad Rzeszutek Wilk
+config XEN_X86_PVH + bool Support for running as a PVH guest (EXPERIMENTAL) + depends on X86_64 XEN EXPERIMENTAL + default n + help + This option enables support for running as a PVH guest (PV guest + using hardware extensions) under a suitably capable

Re: [PATCH V3 5/6]: PVH:balloon and grant changes

2012-10-19 Thread Konrad Rzeszutek Wilk
On Thu, Oct 18, 2012 at 12:44:16PM +0100, Stefano Stabellini wrote: On Thu, 18 Oct 2012, Mukesh Rathor wrote: PVH: balloon and grant changes. For balloon changes we skip setting of local p2m as it's updated in xen. For grant, the shared grant frame is the pfn and not mfn, hence its mapped

Re: [PATCH v2 1/7] swiotlb: Make io_tlb_end a physical address instead of a virtual one

2012-10-19 Thread Konrad Rzeszutek Wilk
On Thu, Oct 18, 2012 at 08:53:33AM -0700, Alexander Duyck wrote: On 10/18/2012 05:41 AM, Konrad Rzeszutek Wilk wrote: On Mon, Oct 15, 2012 at 08:43:28AM -0700, Alexander Duyck wrote: On 10/13/2012 05:52 AM, Hillf Danton wrote: Hi Alexander, On Fri, Oct 12, 2012 at 4:34 AM, Alexander

Is: Xen architecture document. Was: Re: [Xen-devel] Is: axe read_tscp pvops call. Was: Re: [RFC] ACPI S3 and Xen (suprisingly small\!).

2012-10-19 Thread Konrad Rzeszutek Wilk
paravirtualized architectures out there which are perfectly well documented and supportable, but Xen has resisted doing that for years, and all we ever get are vague future promises. There is no resistance - and it is being done. Every month we document various APIs, man-pages, etc so that

Re: [PATCH v2] Documentation DMA-API-HOWTO.txt Add dma mapping error check usage examples

2012-10-19 Thread Konrad Rzeszutek Wilk
. Includes correct and incorrect usages to high light some common mistakes in error paths especially when dma mapping fails when more than one dma mapping call is made. Signed-off-by: Shuah Khan shuah.k...@hp.com Reviewed-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- Documentation/DMA-API

Re: [RFC] ACPI S3 and Xen (suprisingly small\!).

2012-10-19 Thread Konrad Rzeszutek Wilk
. .. And then another issue :-( Plus patches specific to XenClient Enterprise. On Wed, Oct 17, 2012 at 1:43 PM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Wed, Oct 17, 2012 at 01:46:09PM -0400, Ben Guthro wrote: On Wed, Oct 17, 2012 at 9:49 AM, Konrad Rzeszutek Wilk

[PATCH] xen/hvm: If we fail to fetch an HVM parameter print out which flag it is.

2012-10-19 Thread Konrad Rzeszutek Wilk
Makes it easier to troubleshoot in the field. Signed-off-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- include/xen/hvm.h | 31 +-- 1 files changed, 29 insertions(+), 2 deletions(-) diff --git a/include/xen/hvm.h b/include/xen/hvm.h index b193fa2..c2a4238

[PATCH 5/6] xen/pvh: balloon and grant changes.

2012-10-19 Thread Konrad Rzeszutek Wilk
-by: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/xen/balloon.c | 15 +-- drivers/xen/gntdev.c |3 ++- drivers/xen/grant-table.c | 26 ++ 3 files changed, 33 insertions(+), 11 deletions(-) diff --git a/drivers/xen/balloon.c b/drivers/xen

  1   2   3   4   5   6   7   8   9   10   >