Re: [kvm-devel] 2.6.23.1-rt4 and kvm 48

2007-10-30 Thread Alexander Graf
On Oct 30, 2007, at 10:49 AM, Jan Kiszka wrote: Carsten Emde wrote: Avi Kivity wrote: David Brown wrote: I thought I'd try out the realtime patch set and it didn't work at all with kvm. The console didn't dump anything and the system completely locked up. Up to now, the unmodified kvm

[REGRESSION] nfsd crashing with 3.6.0-rc7 on PowerPC

2012-09-27 Thread Alexander Graf
Howdy, While running 3.6.0-rcX I am having a few issues with nfsd on my PPC970 based system. For some reason every time I actually end up accessing an NFS share on it, it crashes away at random points. It looks a lot like corrupted pointers in all logs. I also can't reproduce the oopses

Re: [REGRESSION] nfsd crashing with 3.6.0-rc7 on PowerPC

2012-09-27 Thread Alexander Graf
On 28.09.2012, at 04:04, Linus Torvalds wrote: On Thu, Sep 27, 2012 at 6:55 PM, Alexander Graf ag...@suse.de wrote: Below are OOPS excerpts from different rc's I tried. All of them crashed - all the way up to current Linus' master branch. I haven't cross-checked, but I don't remember any

Re: [PATCH] powerpc/iommu: Fix multiple issues with IOMMU pools code

2012-10-04 Thread Alexander Graf
to provide locking around dart_tlb_invalidate_all and dart_tlb_invalidate_one now that the global lock is gone. Reported-by: Alexander Graf ag...@suse.de Signed-off-by: Anton Blanchard an...@samba.org --- There is still an issue with the lazy u3 flushing, but I wanted to get this out for testing

Re: linux-next: manual merge of the kvm-ppc tree with the powerpc-merge tree

2012-10-11 Thread Alexander Graf
On 11.10.2012, at 05:32, Tabi Timur-B04825 wrote: On Wed, Oct 10, 2012 at 9:47 PM, Stephen Rothwell s...@canb.auug.org.au wrote: Commit 549d62d889b4 (KVM: PPC: use definitions in epapr header for hcalls) from the kvm-ppc tree added an include of asm/epapr_hcall.h to the user visible part

Re: linux-next: manual merge of the kvm-ppc tree with the powerpc-merge tree

2012-10-11 Thread Alexander Graf
On 11.10.2012, at 11:27, David Howells wrote: Stephen Rothwell s...@canb.auug.org.au wrote: I just removed epapr_hcalls.h from the Kbuild file as I am not sure how it should be broken up. David, can you have a look at this, please? Files should be broken up along around __KERNEL__

Re: linux-next: manual merge of the kvm-ppc tree with the powerpc-merge tree

2012-10-11 Thread Alexander Graf
On 11.10.2012, at 17:50, Scott Wood wrote: On 10/11/2012 08:04:58 AM, Alexander Graf wrote: On 11.10.2012, at 05:32, Tabi Timur-B04825 wrote: On Wed, Oct 10, 2012 at 9:47 PM, Stephen Rothwell s...@canb.auug.org.au wrote: Commit 549d62d889b4 (KVM: PPC: use definitions in epapr header

[PATCH] PPC: ePAPR: Convert header to uapi

2012-10-27 Thread Alexander Graf
The new uapi framework splits kernel internal and user space exported bits of header files more cleanly. Adjust the ePAPR header accordingly. Signed-off-by: Alexander Graf ag...@suse.de --- arch/powerpc/include/asm/Kbuild |1 - arch/powerpc/include/asm/epapr_hcalls.h | 56

Re: [PATCH] kvm: Allow build-time configuration of KVM device assignment

2013-04-16 Thread Alexander Graf
a step into the right direction. And it should also fix a build error that I experienced with CONFIG_IOMMU and CONFIG_KVM on ppc and arm. Reviewed-by: Alexander Graf ag...@suse.de -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-18 Thread Alexander Graf
Am 18.04.2013 um 09:32 schrieb Pranavkumar Sawargaonkar pranavku...@linaro.org: On 18 April 2013 12:21, Rusty Russell ru...@rustcorp.com.au wrote: PranavkumarSawargaonkar pranavku...@linaro.org writes: From: Pranavkumar Sawargaonkar pranavku...@linaro.org This patch implements early

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-18 Thread Alexander Graf
Am 18.04.2013 um 10:30 schrieb Peter Maydell peter.mayd...@linaro.org: On 18 April 2013 07:49, Marc Zyngier m...@misterjones.org wrote: If you need an early console, why not simply wire the 8250 emulation in kvmtool to be useable from the MMIO bus? I reckon this would solve your problem in

Re: [RFC] arm64: Early printk support for virtio-mmio console devices.

2013-04-18 Thread Alexander Graf
Am 18.04.2013 um 10:48 schrieb Pranavkumar Sawargaonkar pranavku...@linaro.org: Hi Marc, On 18 April 2013 13:06, Marc Zyngier marc.zyng...@arm.com wrote: On Thu, 18 Apr 2013 12:47:18 +0530, Pranavkumar Sawargaonkar pranavku...@linaro.org wrote: Hi Marc, On 18 April 2013 12:19, Marc

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Alexander Graf
On 04.04.2013, at 12:50, Michael S. Tsirkin wrote: With KVM, MMIO is much slower than PIO, due to the need to do page walk and emulation. But with EPT, it does not have to be: we know the address from the VMCS so if the address is unique, we can look up the eventfd directly, bypassing

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Alexander Graf
On 04.04.2013, at 13:04, Michael S. Tsirkin wrote: On Thu, Apr 04, 2013 at 01:57:34PM +0200, Alexander Graf wrote: On 04.04.2013, at 12:50, Michael S. Tsirkin wrote: With KVM, MMIO is much slower than PIO, due to the need to do page walk and emulation. But with EPT, it does not have

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Alexander Graf
On 04.04.2013, at 14:08, Gleb Natapov wrote: On Thu, Apr 04, 2013 at 01:57:34PM +0200, Alexander Graf wrote: On 04.04.2013, at 12:50, Michael S. Tsirkin wrote: With KVM, MMIO is much slower than PIO, due to the need to do page walk and emulation. But with EPT, it does not have to be: we

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Alexander Graf
On 04.04.2013, at 14:19, Gleb Natapov wrote: On Thu, Apr 04, 2013 at 02:09:53PM +0200, Alexander Graf wrote: On 04.04.2013, at 13:04, Michael S. Tsirkin wrote: On Thu, Apr 04, 2013 at 01:57:34PM +0200, Alexander Graf wrote: On 04.04.2013, at 12:50, Michael S. Tsirkin wrote: With KVM

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Alexander Graf
On 04.04.2013, at 14:08, Gleb Natapov wrote: On Thu, Apr 04, 2013 at 01:57:34PM +0200, Alexander Graf wrote: On 04.04.2013, at 12:50, Michael S. Tsirkin wrote: With KVM, MMIO is much slower than PIO, due to the need to do page walk and emulation. But with EPT, it does not have to be: we

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Alexander Graf
On 04.04.2013, at 14:34, Gleb Natapov wrote: On Thu, Apr 04, 2013 at 02:22:09PM +0200, Alexander Graf wrote: On 04.04.2013, at 14:08, Gleb Natapov wrote: On Thu, Apr 04, 2013 at 01:57:34PM +0200, Alexander Graf wrote: On 04.04.2013, at 12:50, Michael S. Tsirkin wrote: With KVM, MMIO

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Alexander Graf
On 04.04.2013, at 14:38, Gleb Natapov wrote: On Thu, Apr 04, 2013 at 02:32:08PM +0200, Alexander Graf wrote: On 04.04.2013, at 14:08, Gleb Natapov wrote: On Thu, Apr 04, 2013 at 01:57:34PM +0200, Alexander Graf wrote: On 04.04.2013, at 12:50, Michael S. Tsirkin wrote: With KVM, MMIO

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Alexander Graf
On 04.04.2013, at 14:45, Gleb Natapov wrote: On Thu, Apr 04, 2013 at 02:39:51PM +0200, Alexander Graf wrote: On 04.04.2013, at 14:38, Gleb Natapov wrote: On Thu, Apr 04, 2013 at 02:32:08PM +0200, Alexander Graf wrote: On 04.04.2013, at 14:08, Gleb Natapov wrote: On Thu, Apr 04, 2013

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Alexander Graf
On 04.04.2013, at 14:56, Gleb Natapov wrote: On Thu, Apr 04, 2013 at 02:49:39PM +0200, Alexander Graf wrote: On 04.04.2013, at 14:45, Gleb Natapov wrote: On Thu, Apr 04, 2013 at 02:39:51PM +0200, Alexander Graf wrote: On 04.04.2013, at 14:38, Gleb Natapov wrote: On Thu, Apr 04, 2013

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Alexander Graf
On 04.04.2013, at 14:58, Michael S. Tsirkin wrote: On Thu, Apr 04, 2013 at 02:22:09PM +0200, Alexander Graf wrote: On 04.04.2013, at 14:08, Gleb Natapov wrote: On Thu, Apr 04, 2013 at 01:57:34PM +0200, Alexander Graf wrote: On 04.04.2013, at 12:50, Michael S. Tsirkin wrote: With KVM

Re: [PATCH RFC] kvm: add PV MMIO EVENTFD

2013-04-04 Thread Alexander Graf
On 04.04.2013, at 15:33, Michael S. Tsirkin wrote: On Thu, Apr 04, 2013 at 03:06:42PM +0200, Alexander Graf wrote: On 04.04.2013, at 14:56, Gleb Natapov wrote: On Thu, Apr 04, 2013 at 02:49:39PM +0200, Alexander Graf wrote: On 04.04.2013, at 14:45, Gleb Natapov wrote: On Thu, Apr 04

Re: [PATCH] USB: ehci-s5p: Fix phy reset

2013-03-13 Thread Alexander Graf
On 13.03.2013, at 18:59, Doug Anderson wrote: Alexander, On Wed, Mar 13, 2013 at 10:45 AM, Alexander Graf ag...@suse.de wrote: + gpio_free(gpio); Freeing the gpio is a little on the iffy side since you actually care about keeping the value. Perhaps you can change

[PATCH v2] USB: ehci-s5p: Fix phy reset

2013-03-13 Thread Alexander Graf
. This way we don't accidently reserve the vbus GPIO pin, but later on defer the creation of our controller, because the phy device tree node hasn't been probed yet. This patch implements the above logic, making EHCI and OHCI work on Arndale systems for me. Signed-off-by: Alexander Graf ag...@suse.de

Re: [PATCH v2] USB: ehci-s5p: Fix phy reset

2013-03-14 Thread Alexander Graf
On 14.03.2013, at 05:19, Thomas Abraham wrote: On 14 March 2013 05:29, Alexander Graf ag...@suse.de wrote: On my Exynos 5 based Arndale system, I need to pull the reset line down and then let it go up again to actually perform a reset. Without that reset, I can't find any USB hubs on my bus

Re: [PATCH v2] USB: ehci-s5p: Fix phy reset

2013-03-14 Thread Alexander Graf
On 14.03.2013, at 04:38, Doug Anderson wrote: Alexander, On Wed, Mar 13, 2013 at 4:59 PM, Alexander Graf ag...@suse.de wrote: On my Exynos 5 based Arndale system, I need to pull the reset line down and then let it go up again to actually perform a reset. Without that reset, I can't find

Re: [PATCH v2] USB: ehci-s5p: Fix phy reset

2013-03-14 Thread Alexander Graf
On 14.03.2013, at 15:58, Thomas Abraham wrote: On 14 March 2013 17:31, Alexander Graf ag...@suse.de wrote: On 14.03.2013, at 05:19, Thomas Abraham wrote: On 14 March 2013 05:29, Alexander Graf ag...@suse.de wrote: On my Exynos 5 based Arndale system, I need to pull the reset line down

[PATCH] USB: ehci-s5p: Fix phy reset

2013-03-12 Thread Alexander Graf
on Arndale systems for me. Signed-off-by: Alexander Graf ag...@suse.de CC: Vivek Gautam gautam.vi...@samsung.com CC: Jingoo Han jg1@samsung.com CC: Alan Stern st...@rowland.harvard.edu CC: Kukjin Kim kgene@samsung.com CC: Felipe Balbi ba...@ti.com CC: Greg Kroah-Hartman gre

Re: [PATCH] USB: ehci-s5p: Fix phy reset

2013-03-13 Thread Alexander Graf
On 13.03.2013, at 18:28, Doug Anderson wrote: Alexander, On Tue, Mar 12, 2013 at 6:09 PM, Alexander Graf ag...@suse.de wrote: - err = gpio_request_one(gpio, GPIOF_OUT_INIT_HIGH, ehci_vbus_gpio); - if (err) + /* reset pulls the line down, then up again */ + err

Re: [PATCH] Documentation/kvm : Add documentation on Hypercalls

2012-08-02 Thread Alexander Graf
On 02.08.2012, at 09:08, Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote: On 08/01/2012 11:55 PM, Marcelo Tosatti wrote: On Wed, Aug 01, 2012 at 04:19:01PM +0530, Raghavendra K T wrote: On 08/01/2012 08:37 AM, Marcelo Tosatti wrote: On Tue, Jul 24, 2012 at 02:23:59PM +0530,

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-11 Thread Alexander Graf
On 11.07.2012, at 13:04, Avi Kivity wrote: On 07/11/2012 01:17 PM, Christian Borntraeger wrote: On 11/07/12 11:06, Avi Kivity wrote: [...] Almost all s390 kernels use diag9c (directed yield to a given guest cpu) for spinlocks, though. Perhaps x86 should copy this. See

Re: [PATCH RFC 0/2] kvm: Improving directed yield in PLE handler

2012-07-11 Thread Alexander Graf
On 11.07.2012, at 13:23, Avi Kivity wrote: On 07/11/2012 02:16 PM, Alexander Graf wrote: yes the data structure itself seems based on the algorithm and not on arch specific things. That should work. If we move that to common code then s390 will use that scheme automatically

Re: linux-next: manual merge of the kvm-ppc tree with the powerpc tree

2012-07-11 Thread Alexander Graf
On 12.07.2012, at 05:57, Stephen Rothwell wrote: Hi Alexander, Today's linux-next merge of the kvm-ppc tree got a conflict in arch/powerpc/kvm/booke_interrupts.S between commit c75df6f96c59 (powerpc: Fix usage of register macros getting ready for %r0 change) from the powerpc tree and

Re: [PATCH] Documentation/kvm : Add documentation on Hypercalls

2012-07-24 Thread Alexander Graf
On 07/24/2012 10:53 AM, Raghavendra K T wrote: From: Raghavendra K T raghavendra...@linux.vnet.ibm.com Thanks Alex for KVM_HC_FEATURES inputs and Jan for VAPIC_POLL_IRQ, and Peter (HPA) for suggesting hypercall ABI addition. Signed-off-by: Raghavendra K T raghavendra...@linux.vnet.ibm.com ---

Re: [PATCH] applesmc: add sysfs file to report OSK

2012-12-10 Thread Alexander Graf
creates a sysfs entry which reports the value of these keys as an ASCII string, to help emulators (such as QEMU) load OS X when running on genuine Apple hardware. Signed-off-by: Gabriel L. Somlo so...@cmu.edu Acked-by: Alexander Graf ag...@suse.de Alex --- For extra context: To boot OS X

Re: [PATCH] applesmc: add sysfs file to report OSK

2012-12-10 Thread Alexander Graf
On 10.12.2012, at 20:54, Henrik Rydberg wrote: Hi Guenter, On Mon, Dec 10, 2012 at 09:51:35AM -0500, Gabriel L. Somlo wrote: The AppleSMC contains two char[32] keys, OSK0 and OSK1, which are not reported in the key count and index by default. These keys are used by the OS X boot sequence,

Re: [PATCH] applesmc: add sysfs file to report OSK

2012-12-10 Thread Alexander Graf
On 10.12.2012, at 21:43, Rene Rebe r...@exactcode.com wrote: On 10.12.2012, at 21:19, Alexander Graf ag...@suse.de wrote: On 10.12.2012, at 20:54, Henrik Rydberg wrote: Hi Guenter, On Mon, Dec 10, 2012 at 09:51:35AM -0500, Gabriel L. Somlo wrote: The AppleSMC contains two char[32

Re: [REGRESSION] nfsd crashing with 3.6.0-rc7 on PowerPC

2012-09-28 Thread Alexander Graf
On 28.09.2012, at 17:10, J. Bruce Fields wrote: On Fri, Sep 28, 2012 at 04:19:55AM +0200, Alexander Graf wrote: On 28.09.2012, at 04:04, Linus Torvalds wrote: On Thu, Sep 27, 2012 at 6:55 PM, Alexander Graf ag...@suse.de wrote: Below are OOPS excerpts from different rc's I tried. All

Re: [REGRESSION] nfsd crashing with 3.6.0-rc7 on PowerPC

2012-10-01 Thread Alexander Graf
On 28.09.2012, at 17:10, J. Bruce Fields wrote: On Fri, Sep 28, 2012 at 04:19:55AM +0200, Alexander Graf wrote: On 28.09.2012, at 04:04, Linus Torvalds wrote: On Thu, Sep 27, 2012 at 6:55 PM, Alexander Graf ag...@suse.de wrote: Below are OOPS excerpts from different rc's I tried. All

Re: [PATCH 3/6] arch/powerpc/kvm/e500_tlb.c: fix error return code

2012-10-02 Thread Alexander Graf
On 05.08.2012, at 11:52, Julia Lawall wrote: From: Julia Lawall ju...@diku.dk Convert a 0 error return code to a negative one, as returned elsewhere in the function. A new label is also added to avoid freeing things that are known to not yet be allocated. A simplified version of the

Re: [REGRESSION] nfsd crashing with 3.6.0-rc7 on PowerPC

2012-10-02 Thread Alexander Graf
On 02.10.2012, at 23:43, Nishanth Aravamudan wrote: Hi Ben, On 02.10.2012 [10:58:29 +1000], Benjamin Herrenschmidt wrote: On Mon, 2012-10-01 at 16:03 +0200, Alexander Graf wrote: Phew. Here we go :). It looks to be more of a PPC specific problem than it appeared as at first: Ok, so I

Re: [REGRESSION] nfsd crashing with 3.6.0-rc7 on PowerPC

2012-10-02 Thread Alexander Graf
On 03.10.2012, at 00:17, Nishanth Aravamudan wrote: On 02.10.2012 [23:47:39 +0200], Alexander Graf wrote: On 02.10.2012, at 23:43, Nishanth Aravamudan wrote: Hi Ben, On 02.10.2012 [10:58:29 +1000], Benjamin Herrenschmidt wrote: On Mon, 2012-10-01 at 16:03 +0200, Alexander Graf wrote

[PATCH] fix logic error in ipc compat semctl()

2007-06-29 Thread Alexander Graf
Hi, when calling a semctl(IPC_STAT) without IPC_64 the check if the memory is unevaluated. This patch fixes this. Signed-off-by: Alexander Graf [EMAIL PROTECTED] Index: linux/ipc/compat.c === --- linux.orig/ipc/compat.c +++ linux

Re: [PATCH 0/2] powerpc: allow kvm to use kerel debug framework

2013-07-25 Thread Alexander Graf
On 10.07.2013, at 09:25, Michael Neuling wrote: Alexander Graf ag...@suse.de wrote: On 09.07.2013, at 06:24, Michael Neuling wrote: Alexander Graf ag...@suse.de wrote: On 04.07.2013, at 08:15, Bharat Bhushan wrote: From: Bharat Bhushan bharat.bhus...@freescale.com

Re: [PATCH 2/2] ppc: kvm: use anon_inode_getfd() with O_CLOEXEC flag

2013-08-25 Thread Alexander Graf
ydrone...@opteya.com Link: http://lkml.kernel.org/r/cover.1377372576.git.ydrone...@opteya.com Reviewed-by: Alexander Graf ag...@suse.de Would it make sense to simply inherit the O_CLOEXEC flag from the parent kvm fd instead? That would give user space the power to keep fds across exec

Re: [PATCH] KVM: PPC: Book3S PR: return appropriate error when allocation fails

2013-08-28 Thread Alexander Graf
On 17.07.2013, at 17:10, Thadeu Lima de Souza Cascardo wrote: err was overwritten by a previous function call, and checked to be 0. If the following page allocation fails, 0 is going to be returned instead of -ENOMEM. Signed-off-by: Thadeu Lima de Souza Cascardo casca...@linux.vnet.ibm.com

Re: [PATCH 03/10] KVM: PPC: reserve a capability and ioctl numbers for realmode VFIO

2013-08-15 Thread Alexander Graf
On 01.08.2013, at 06:44, Alexey Kardashevskiy wrote: This is to reserve a capablity number for upcoming support of VFIO-IOMMU DMA operations in real mode. Signed-off-by: Alexey Kardashevskiy a...@ozlabs.ru --- Changes: 2013/07/16: * changed the number 2013/07/11: * changed order

Re: [PATCH 03/10] KVM: PPC: reserve a capability and ioctl numbers for realmode VFIO

2013-08-15 Thread Alexander Graf
On 15.08.2013, at 09:22, Alexey Kardashevskiy wrote: On 08/15/2013 05:16 PM, Alexander Graf wrote: On 01.08.2013, at 06:44, Alexey Kardashevskiy wrote: This is to reserve a capablity number for upcoming support of VFIO-IOMMU DMA operations in real mode. Signed-off-by: Alexey

Re: [PATCH 03/10] KVM: PPC: reserve a capability and ioctl numbers for realmode VFIO

2013-08-15 Thread Alexander Graf
On 15.08.2013, at 09:24, Alexander Graf wrote: On 15.08.2013, at 09:22, Alexey Kardashevskiy wrote: On 08/15/2013 05:16 PM, Alexander Graf wrote: On 01.08.2013, at 06:44, Alexey Kardashevskiy wrote: This is to reserve a capablity number for upcoming support of VFIO-IOMMU DMA

Re: [PATCH 03/10] KVM: PPC: reserve a capability and ioctl numbers for realmode VFIO

2013-08-15 Thread Alexander Graf
On 15.08.2013, at 09:42, Alexey Kardashevskiy wrote: On 08/15/2013 05:25 PM, Alexander Graf wrote: On 15.08.2013, at 09:24, Alexander Graf wrote: On 15.08.2013, at 09:22, Alexey Kardashevskiy wrote: On 08/15/2013 05:16 PM, Alexander Graf wrote: On 01.08.2013, at 06:44, Alexey

Re: [PATCH 03/10] KVM: PPC: reserve a capability and ioctl numbers for realmode VFIO

2013-08-15 Thread Alexander Graf
On 15.08.2013, at 09:54, Alexey Kardashevskiy wrote: On 08/15/2013 05:43 PM, Alexander Graf wrote: On 15.08.2013, at 09:42, Alexey Kardashevskiy wrote: On 08/15/2013 05:25 PM, Alexander Graf wrote: On 15.08.2013, at 09:24, Alexander Graf wrote: On 15.08.2013, at 09:22, Alexey

Re: [PATCH 0/2] powerpc: allow kvm to use kerel debug framework

2013-07-09 Thread Alexander Graf
On 09.07.2013, at 06:24, Michael Neuling wrote: Alexander Graf ag...@suse.de wrote: On 04.07.2013, at 08:15, Bharat Bhushan wrote: From: Bharat Bhushan bharat.bhus...@freescale.com This patchset moves the debug registers in a structure, which allows kvm to use same structure

Re: [PATCH 0/2] powerpc: allow kvm to use kerel debug framework

2013-07-10 Thread Alexander Graf
Am 10.07.2013 um 09:25 schrieb Michael Neuling mi...@neuling.org: Alexander Graf ag...@suse.de wrote: On 09.07.2013, at 06:24, Michael Neuling wrote: Alexander Graf ag...@suse.de wrote: On 04.07.2013, at 08:15, Bharat Bhushan wrote: From: Bharat Bhushan bharat.bhus

Re: [PATCH 6/8] KVM: PPC: Add support for multiple-TCE hcalls

2013-07-10 Thread Alexander Graf
On 10.07.2013, at 07:00, Alexey Kardashevskiy wrote: On 07/10/2013 03:02 AM, Alexander Graf wrote: On 07/06/2013 05:07 PM, Alexey Kardashevskiy wrote: This adds real mode handlers for the H_PUT_TCE_INDIRECT and H_STUFF_TCE hypercalls for QEMU emulated devices such as IBMVIO devices

Re: [PATCH 2/8] KVM: PPC: reserve a capability and ioctl numbers for realmode VFIO

2013-07-10 Thread Alexander Graf
On 10.07.2013, at 01:35, Alexey Kardashevskiy wrote: On 07/10/2013 01:35 AM, Alexander Graf wrote: On 06/27/2013 07:02 AM, Alexey Kardashevskiy wrote: Signed-off-by: Alexey Kardashevskiya...@ozlabs.ru --- include/uapi/linux/kvm.h |2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH 8/8] KVM: PPC: Add hugepage support for IOMMU in-kernel handling

2013-07-10 Thread Alexander Graf
On 10.07.2013, at 01:29, Alexey Kardashevskiy wrote: On 07/10/2013 03:32 AM, Alexander Graf wrote: On 07/06/2013 05:07 PM, Alexey Kardashevskiy wrote: This adds special support for huge pages (16MB). The reference counting cannot be easily done for such pages in real mode (when MMU is off

Re: [PATCH 3/4] PF: Provide additional direct page notification

2013-07-10 Thread Alexander Graf
On 09.07.2013, at 18:01, Christian Borntraeger wrote: On 09/07/13 15:56, Dominik Dingel wrote: By setting a Kconfig option, the architecture can control when guest notifications will be presented by the apf backend. So there is the default batch mechanism, working as before, where the vcpu

Re: [PATCH 8/8] KVM: PPC: Add hugepage support for IOMMU in-kernel handling

2013-07-10 Thread Alexander Graf
On 10.07.2013, at 12:39, Benjamin Herrenschmidt wrote: On Wed, 2013-07-10 at 12:33 +0200, Alexander Graf wrote: It's not exactly obvious that you're calling it with writing == 1 :). Can you create a new local variable is_write in the calling function, set that to 1 before the call

Re: [PATCH 8/8] KVM: PPC: Add hugepage support for IOMMU in-kernel handling

2013-07-10 Thread Alexander Graf
On 10.07.2013, at 12:40, Alexander Graf wrote: On 10.07.2013, at 12:39, Benjamin Herrenschmidt wrote: On Wed, 2013-07-10 at 12:33 +0200, Alexander Graf wrote: It's not exactly obvious that you're calling it with writing == 1 :). Can you create a new local variable is_write

Re: [PATCH 3/4] PF: Provide additional direct page notification

2013-07-10 Thread Alexander Graf
On 10.07.2013, at 12:42, Gleb Natapov wrote: On Wed, Jul 10, 2013 at 12:39:01PM +0200, Alexander Graf wrote: On 09.07.2013, at 18:01, Christian Borntraeger wrote: On 09/07/13 15:56, Dominik Dingel wrote: By setting a Kconfig option, the architecture can control when guest notifications

Re: [PATCH 3/4] PF: Provide additional direct page notification

2013-07-10 Thread Alexander Graf
On 10.07.2013, at 12:49, Christian Borntraeger wrote: On 10/07/13 12:39, Alexander Graf wrote: On 09.07.2013, at 18:01, Christian Borntraeger wrote: On 09/07/13 15:56, Dominik Dingel wrote: By setting a Kconfig option, the architecture can control when guest notifications

Re: [PATCH 3/4] PF: Provide additional direct page notification

2013-07-10 Thread Alexander Graf
On 10.07.2013, at 12:48, Gleb Natapov wrote: On Wed, Jul 10, 2013 at 12:45:59PM +0200, Alexander Graf wrote: On 10.07.2013, at 12:42, Gleb Natapov wrote: On Wed, Jul 10, 2013 at 12:39:01PM +0200, Alexander Graf wrote: On 09.07.2013, at 18:01, Christian Borntraeger wrote: On 09/07/13

Re: [PATCH 2/8] KVM: PPC: reserve a capability and ioctl numbers for realmode VFIO

2013-07-10 Thread Alexander Graf
On 10.07.2013, at 16:17, Alexey Kardashevskiy wrote: On 07/10/2013 08:27 PM, Alexander Graf wrote: On 10.07.2013, at 01:35, Alexey Kardashevskiy wrote: On 07/10/2013 01:35 AM, Alexander Graf wrote: On 06/27/2013 07:02 AM, Alexey Kardashevskiy wrote: Signed-off-by: Alexey Kardashevskiya

Re: [PATCH 8/8] KVM: PPC: Add hugepage support for IOMMU in-kernel handling

2013-07-11 Thread Alexander Graf
On 11.07.2013, at 10:57, Alexey Kardashevskiy wrote: On 07/10/2013 03:32 AM, Alexander Graf wrote: On 07/06/2013 05:07 PM, Alexey Kardashevskiy wrote: This adds special support for huge pages (16MB). The reference counting cannot be easily done for such pages in real mode (when MMU is off

Re: [PATCH 6/8] KVM: PPC: Add support for multiple-TCE hcalls

2013-07-11 Thread Alexander Graf
On 11.07.2013, at 07:12, Alexey Kardashevskiy wrote: On 07/10/2013 08:05 PM, Alexander Graf wrote: On 10.07.2013, at 07:00, Alexey Kardashevskiy wrote: On 07/10/2013 03:02 AM, Alexander Graf wrote: On 07/06/2013 05:07 PM, Alexey Kardashevskiy wrote: This adds real mode handlers

Re: [PATCH 6/8] KVM: PPC: Add support for multiple-TCE hcalls

2013-07-11 Thread Alexander Graf
On 11.07.2013, at 12:54, Alexey Kardashevskiy wrote: On 07/11/2013 08:11 PM, Alexander Graf wrote: On 11.07.2013, at 07:12, Alexey Kardashevskiy wrote: On 07/10/2013 08:05 PM, Alexander Graf wrote: On 10.07.2013, at 07:00, Alexey Kardashevskiy wrote: On 07/10/2013 03:02 AM

Re: [PATCH 8/8] KVM: PPC: Add hugepage support for IOMMU in-kernel handling

2013-07-11 Thread Alexander Graf
On 11.07.2013, at 14:37, Benjamin Herrenschmidt wrote: On Thu, 2013-07-11 at 11:52 +0200, Alexander Graf wrote: Where exactly (it is rather SPAPR_TCE_IOMMU but does not really matter)? Select it on KVM_BOOK3S_64? CONFIG_KVM_BOOK3S_64_HV? CONFIG_KVM_BOOK3S_64_PR? PPC_BOOK3S_64? I'd say

Re: [PATCH 6/8] KVM: PPC: Add support for multiple-TCE hcalls

2013-07-11 Thread Alexander Graf
On 11.07.2013, at 14:39, Benjamin Herrenschmidt wrote: On Thu, 2013-07-11 at 13:15 +0200, Alexander Graf wrote: And that's bad. Jeez, seriously. Don't argue this case. We enable new features individually unless we're 100% sure we can keep everything working. In this case an ENABLE_CAP

Re: [PATCH 6/8] KVM: PPC: Add support for multiple-TCE hcalls

2013-07-11 Thread Alexander Graf
On 11.07.2013, at 14:33, Benjamin Herrenschmidt wrote: On Thu, 2013-07-11 at 15:12 +1000, Alexey Kardashevskiy wrote: Any debug code is prohibited? Ok, I'll remove. Debug code that requires code changes is prohibited, yes. Debug code that is runtime switchable (pr_debug, trace points, etc)

Re: [PATCH 6/8] KVM: PPC: Add support for multiple-TCE hcalls

2013-07-11 Thread Alexander Graf
On 11.07.2013, at 15:13, Alexey Kardashevskiy wrote: On 07/11/2013 10:58 PM, Benjamin Herrenschmidt wrote: On Thu, 2013-07-11 at 14:51 +0200, Alexander Graf wrote: I don't like bloat usually. But Alexey even had an #ifdef DEBUG in there to selectively disable in-kernel handling of multi-TCE

Re: [PATCH 8/8] KVM: PPC: Add hugepage support for IOMMU in-kernel handling

2013-07-11 Thread Alexander Graf
On 11.07.2013, at 15:41, chandrashekar shastri wrote: Hi All, I complied the latest kernel 3.10.0+ pulled from the git on top of 3.10.0-rc5+ by enabling the new Virtualiztaion features. The compliation was sucessfull, when I rebooted the machine it fails to boot with error as systemd

Re: [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-06-19 Thread Alexander Graf
On 19.06.2013, at 06:59, Benjamin Herrenschmidt wrote: On Wed, 2013-06-19 at 13:05 +0930, Rusty Russell wrote: symbol_get() won't try to load a module; it'll just fail. This is what you want, since they must have vfio in the kernel to get a valid fd... Ok, cool. I suppose what we want

Re: [PATCH 0/2] powerpc: allow kvm to use kerel debug framework

2013-09-12 Thread Alexander Graf
On 10.07.2013, at 02:25, Michael Neuling wrote: Alexander Graf ag...@suse.de wrote: On 09.07.2013, at 06:24, Michael Neuling wrote: Alexander Graf ag...@suse.de wrote: On 04.07.2013, at 08:15, Bharat Bhushan wrote: From: Bharat Bhushan bharat.bhus...@freescale.com

Re: [PATCH 3/3] KVM: PPC: Book3S: Add support for hwrng found on some powernv systems

2013-10-01 Thread Alexander Graf
On 10/01/2013 11:23 AM, Paul Mackerras wrote: On Tue, Oct 01, 2013 at 11:39:08AM +0300, Gleb Natapov wrote: On Tue, Oct 01, 2013 at 06:34:26PM +1000, Michael Ellerman wrote: On Thu, Sep 26, 2013 at 11:06:59AM +0200, Paolo Bonzini wrote: Il 26/09/2013 08:31, Michael Ellerman ha scritto: Some

Re: [PATCH 3/3] KVM: PPC: Book3S: Add support for hwrng found on some powernv systems

2013-10-02 Thread Alexander Graf
On 02.10.2013, at 11:06, Benjamin Herrenschmidt wrote: On Wed, 2013-10-02 at 10:46 +0200, Paolo Bonzini wrote: Thanks. Any chance you can give some numbers of a kernel hypercall and a userspace hypercall on Power, so we have actual data? For example a hypercall that returns H_PARAMETER

Re: [PATCH 3/3] KVM: PPC: Book3S: Add support for hwrng found on some powernv systems

2013-10-02 Thread Alexander Graf
On 02.10.2013, at 11:11, Alexander Graf wrote: On 02.10.2013, at 11:06, Benjamin Herrenschmidt wrote: On Wed, 2013-10-02 at 10:46 +0200, Paolo Bonzini wrote: Thanks. Any chance you can give some numbers of a kernel hypercall and a userspace hypercall on Power, so we have actual data

Re: [PATCH 3/3] KVM: PPC: Book3S: Add support for hwrng found on some powernv systems

2013-10-02 Thread Alexander Graf
On 02.10.2013, at 15:57, Michael Ellerman wrote: On Wed, 2013-10-02 at 13:02 +0300, Gleb Natapov wrote: On Wed, Oct 02, 2013 at 11:50:50AM +0200, Alexander Graf wrote: On 02.10.2013, at 11:11, Alexander Graf wrote: So how do you solve live migration between a kernel that has this patch

Re: [PATCH 3/3] KVM: PPC: Book3S: Add support for hwrng found on some powernv systems

2013-10-02 Thread Alexander Graf
On 02.10.2013, at 16:33, Paolo Bonzini wrote: Il 02/10/2013 16:08, Alexander Graf ha scritto: The hwrng is accessible by host userspace via /dev/mem. A guest should live on the same permission level as a user space application. If you run QEMU as UID 1000 without access to /dev/mem, why

Re: [PATCH 0/2] powerpc: allow kvm to use kerel debug framework

2013-10-04 Thread Alexander Graf
On 10.07.2013, at 09:25, Michael Neuling wrote: Alexander Graf ag...@suse.de wrote: On 09.07.2013, at 06:24, Michael Neuling wrote: Alexander Graf ag...@suse.de wrote: On 04.07.2013, at 08:15, Bharat Bhushan wrote: From: Bharat Bhushan bharat.bhus...@freescale.com

Re: [PATCH 1/3] arm: kvm: clamp NR_VCPUS to MAX_VCPUS

2013-09-14 Thread Alexander Graf
Am 14.09.2013 um 07:10 schrieb Andrew Jones drjo...@redhat.com: Signed-off-by: Andrew Jones drjo...@redhat.com --- arch/arm/kvm/arm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/kvm/arm.c b/arch/arm/kvm/arm.c index 741f66a2edbd7..9ebf8ac3a12ff 100644 ---

gem csum breakage with 018c5bba (Handle CHECKSUM_COMPLETE more adequately ...)

2013-11-22 Thread Alexander Graf
Hi, With current Linus' master tree my ibook started emitting a lot of annoying csum calculation warnings. I've bisected it down to the commit seen in the subject line, but I suppose the real problem lies somewhere a lot deeper and only gets revealed thanks to the more clever checksum logic

Re: [PATCH] sched: Remove PREEMPT_NEED_RESCHED from generic code

2013-11-28 Thread Alexander Graf
goes back to relying on TIF_NEED_RESCHED. Boot tested on x86_64 and compile tested on ppc64. Reported-by: Alexander Graf ag...@suse.de Reported-by: Benjamin Herrenschmidt b...@kernel.crashing.org Signed-off-by: Peter Zijlstra pet...@infradead.org Fixes the issue for me. Tested-by: Alexander Graf

Re: ping: re: [PATCH 1/1] kernel code that do not handle NULL return of kmem_cache_zalloc

2013-12-02 Thread Alexander Graf
On 02.12.2013, at 04:07, Zhouyi Zhou yizhouz...@ict.ac.cn wrote: ping I do a grep for kmem_cache_zalloc and kmem_cache_alloc in kernel tree, and find some code do not handle NULL return of kmem_cache_zalloc correctly Signed-off-by: Zhouyi Zhou yizhouz...@ict.ac.cn Thanks a lot

[PATCH] ksm: Expose configuration via sysctl

2014-02-24 Thread Alexander Graf
Signed-off-by: Alexander Graf ag...@suse.de --- kernel/sysctl.c | 10 +++ mm/ksm.c| 78 +++ 2 files changed, 88 insertions(+), 0 deletions(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 332cefc..2169a00 100644 --- a/kernel

Re: [PATCH] ksm: Expose configuration via sysctl

2014-02-25 Thread Alexander Graf
Am 26.02.2014 um 01:34 schrieb Dave Hansen dave.han...@intel.com: On 02/24/2014 03:28 PM, Alexander Graf wrote: Configuration of tunables and Linux virtual memory settings has traditionally happened via sysctl. Thanks to that there are well established ways to make sysctl configuration

Re: [PATCH] ksm: Expose configuration via sysctl

2014-02-25 Thread Alexander Graf
Am 26.02.2014 um 01:19 schrieb Peter Zijlstra pet...@infradead.org: On Tue, Feb 25, 2014 at 12:15:28PM -0500, Johannes Weiner wrote: On Tue, Feb 25, 2014 at 12:28:04AM +0100, Alexander Graf wrote: Configuration of tunables and Linux virtual memory settings has traditionally happened via

Re: [PATCH] ksm: Expose configuration via sysctl

2014-02-26 Thread Alexander Graf
Am 26.02.2014 um 09:05 schrieb Hugh Dickins hu...@google.com: On Tue, 25 Feb 2014, Johannes Weiner wrote: On Tue, Feb 25, 2014 at 12:28:04AM +0100, Alexander Graf wrote: Configuration of tunables and Linux virtual memory settings has traditionally happened via sysctl. Thanks

Re: [PATCH] ksm: Expose configuration via sysctl

2014-02-26 Thread Alexander Graf
Sven-Haegar Koch wrote: On Tue, 25 Feb 2014, Dave Hansen wrote: On 02/25/2014 03:09 PM, Alexander Graf wrote: Couldn't we also (maybe in parallel) just teach the sysctl userspace about sysfs? This way we don't have to do parallel sysctls and sysfs for *EVERYTHING* in the kernel

Re: [PATCH] PPC: KVM: fix VCPU run for HV KVM

2014-01-12 Thread Alexander Graf
On 10.01.2014, at 08:21, Alexey Kardashevskiy a...@ozlabs.ru wrote: When write to MMIO happens and there is an ioeventfd for that and is handled successfully, ioeventfd_write() returns 0 (success) and kvmppc_handle_store() returns EMULATE_DONE. Then kvmppc_emulate_mmio() converts

Re: [PATCH 1/4] KVM: PPC: Add support for multiple-TCE hcalls

2013-06-16 Thread Alexander Graf
On 05.06.2013, at 08:11, Alexey Kardashevskiy wrote: This adds real mode handlers for the H_PUT_TCE_INDIRECT and H_STUFF_TCE hypercalls for QEMU emulated devices such as IBMVIO devices or emulated PCI. These calls allow adding multiple entries (up to 512) into the TCE table in one call

Re: [PATCH 3/4] KVM: PPC: Add support for IOMMU in-kernel handling

2013-06-16 Thread Alexander Graf
On 05.06.2013, at 08:11, Alexey Kardashevskiy wrote: This allows the host kernel to handle H_PUT_TCE, H_PUT_TCE_INDIRECT and H_STUFF_TCE requests without passing them to QEMU, which should save time on switching to QEMU and back. Both real and virtual modes are supported - whenever the

Re: [PATCH 1/4] KVM: PPC: Add support for multiple-TCE hcalls

2013-06-17 Thread Alexander Graf
On 17.06.2013, at 09:55, Alexey Kardashevskiy wrote: On 06/17/2013 08:06 AM, Alexander Graf wrote: On 05.06.2013, at 08:11, Alexey Kardashevskiy wrote: This adds real mode handlers for the H_PUT_TCE_INDIRECT and H_STUFF_TCE hypercalls for QEMU emulated devices such as IBMVIO devices

Re: [PATCH 1/4] KVM: PPC: Add support for multiple-TCE hcalls

2013-06-17 Thread Alexander Graf
On 17.06.2013, at 10:34, Alexey Kardashevskiy wrote: On 06/17/2013 06:02 PM, Alexander Graf wrote: On 17.06.2013, at 09:55, Alexey Kardashevskiy wrote: On 06/17/2013 08:06 AM, Alexander Graf wrote: On 05.06.2013, at 08:11, Alexey Kardashevskiy wrote: This adds real mode handlers

Re: [PATCH 1/4] KVM: PPC: Add support for multiple-TCE hcalls

2013-06-17 Thread Alexander Graf
On 17.06.2013, at 10:37, Benjamin Herrenschmidt wrote: On Mon, 2013-06-17 at 17:55 +1000, Alexey Kardashevskiy wrote: David: === So, in the case of MULTITCE, that's not quite right. PR KVM can emulate a PAPR system on a BookE machine, and there's no reason not to allow TCE acceleration as

Re: [PATCH 1/4] KVM: PPC: Add support for multiple-TCE hcalls

2013-06-17 Thread Alexander Graf
On 06/17/2013 10:51 AM, Alexey Kardashevskiy wrote: On 06/17/2013 06:40 PM, Alexander Graf wrote: On 17.06.2013, at 10:34, Alexey Kardashevskiy wrote: On 06/17/2013 06:02 PM, Alexander Graf wrote: On 17.06.2013, at 09:55, Alexey Kardashevskiy wrote: On 06/17/2013 08:06 AM, Alexander Graf

Re: [PATCH 1/4] KVM: PPC: Add support for multiple-TCE hcalls

2013-06-17 Thread Alexander Graf
On 06/17/2013 12:46 PM, Alexander Graf wrote: On 06/17/2013 10:51 AM, Alexey Kardashevskiy wrote: On 06/17/2013 06:40 PM, Alexander Graf wrote: On 17.06.2013, at 10:34, Alexey Kardashevskiy wrote: On 06/17/2013 06:02 PM, Alexander Graf wrote: On 17.06.2013, at 09:55, Alexey Kardashevskiy

Re: [PATCH 0/2] Early printk support for virtio console devices.

2013-04-29 Thread Alexander Graf
Am 29.04.2013 um 05:09 schrieb Rusty Russell ru...@rustcorp.com.au: Alexander Graf ag...@suse.de writes: On 26.04.2013, at 13:04, Pranavkumar Sawargaonkar wrote: This patch-set implements early printk support for virtio console devices without using any hypercalls. The current virtio

Re: [PATCH 0/2] Early printk support for virtio console devices.

2013-04-29 Thread Alexander Graf
On 29.04.2013, at 14:48, Pranavkumar Sawargaonkar wrote: On 29 April 2013 17:52, Alexander Graf ag...@suse.de wrote: Am 29.04.2013 um 05:09 schrieb Rusty Russell ru...@rustcorp.com.au: Alexander Graf ag...@suse.de writes: On 26.04.2013, at 13:04, Pranavkumar Sawargaonkar wrote

Re: [PATCH 0/2] Early printk support for virtio console devices.

2013-04-29 Thread Alexander Graf
On 29.04.2013, at 14:50, Peter Maydell wrote: On 29 April 2013 13:22, Alexander Graf ag...@suse.de wrote: Oh, and it should default to off. That would be a pretty unhelpful default. We should default things so that console output from the kernel is available as early as reasonably

  1   2   3   4   5   6   7   8   9   >