[PATCH 4.3 034/125] MIPS: KVM: Fix ASID restoration logic

2015-12-07 Thread Greg Kroah-Hartman
-m...@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- arch/mips/kvm/locore.S | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) --- a/arch/mips/kvm

[PATCH 4.1 34/95] MIPS: KVM: Fix CACHE immediate offset sign extension

2015-12-07 Thread Greg Kroah-Hartman
..@redhat.com> Cc: Gleb Natapov <g...@kernel.org> Cc: linux-m...@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- arch/mips/kvm/emulate.c |2 +- 1 file changed

[PATCH 4.3 036/125] MIPS: KVM: Uninit VCPU in vcpu_create error path

2015-12-07 Thread Greg Kroah-Hartman
ps.org> Cc: Paolo Bonzini <pbonz...@redhat.com> Cc: Gleb Natapov <g...@kernel.org> Cc: linux-m...@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- arch/mips/kvm/mip

[PATCH 4.3 035/125] MIPS: KVM: Fix CACHE immediate offset sign extension

2015-12-07 Thread Greg Kroah-Hartman
..@redhat.com> Cc: Gleb Natapov <g...@kernel.org> Cc: linux-m...@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- arch/mips/kvm/emulate.c |2 +- 1 file changed

[PATCH 4.2 045/124] MIPS: KVM: Fix CACHE immediate offset sign extension

2015-12-07 Thread Greg Kroah-Hartman
..@redhat.com> Cc: Gleb Natapov <g...@kernel.org> Cc: linux-m...@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- arch/mips/kvm/emulate.c |2 +- 1 file changed

[PATCH 4.2 044/124] MIPS: KVM: Fix ASID restoration logic

2015-12-07 Thread Greg Kroah-Hartman
-m...@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- arch/mips/kvm/locore.S | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) --- a/arch/mips/kvm

[PATCH 4.1 33/95] MIPS: KVM: Fix ASID restoration logic

2015-12-07 Thread Greg Kroah-Hartman
-m...@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- arch/mips/kvm/locore.S | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) --- a/arch/mips/kvm

[PATCH 4.2 046/124] MIPS: KVM: Uninit VCPU in vcpu_create error path

2015-12-07 Thread Greg Kroah-Hartman
ps.org> Cc: Paolo Bonzini <pbonz...@redhat.com> Cc: Gleb Natapov <g...@kernel.org> Cc: linux-m...@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- arch/mips/kvm/mip

[PATCH 4.1 35/95] MIPS: KVM: Uninit VCPU in vcpu_create error path

2015-12-07 Thread Greg Kroah-Hartman
ps.org> Cc: Paolo Bonzini <pbonz...@redhat.com> Cc: Gleb Natapov <g...@kernel.org> Cc: linux-m...@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org> --- arch/mips/kvm/mip

[PATCH 3.10 89/89] MIPS: KVM: Do not sign extend on unsigned MMIO load

2015-07-31 Thread Greg Kroah-Hartman
-ker...@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/9985/ Signed-off-by: Ralf Baechle r...@linux-mips.org Signed-off-by: James Hogan james.ho...@imgtec.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kvm/kvm_mips_emul.c |2 +- 1 file changed

[PATCH 3.14 125/125] MIPS: KVM: Do not sign extend on unsigned MMIO load

2015-07-31 Thread Greg Kroah-Hartman
-ker...@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/9985/ Signed-off-by: Ralf Baechle r...@linux-mips.org Signed-off-by: James Hogan james.ho...@imgtec.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kvm/kvm_mips_emul.c |2 +- 1 file changed

[PATCH 4.0 067/105] MIPS: KVM: Do not sign extend on unsigned MMIO load

2015-06-19 Thread Greg Kroah-Hartman
-ker...@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/9985/ Signed-off-by: Ralf Baechle r...@linux-mips.org Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kvm/emulate.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/mips/kvm

[PATCH 3.19 076/177] KVM: MIPS: Fix trace event to save PC directly

2015-03-16 Thread Greg Kroah-Hartman
: kvm@vger.kernel.org Acked-by: Steven Rostedt rost...@goodmis.org Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kvm/trace.h |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/arch/mips/kvm/trace.h +++ b

[PATCH 3.14 45/96] KVM: MIPS: Fix trace event to save PC directly

2015-03-16 Thread Greg Kroah-Hartman
: kvm@vger.kernel.org Acked-by: Steven Rostedt rost...@goodmis.org Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kvm/trace.h |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/arch/mips/kvm/trace.h +++ b

[PATCH 3.10 29/62] KVM: MIPS: Fix trace event to save PC directly

2015-03-16 Thread Greg Kroah-Hartman
: kvm@vger.kernel.org Acked-by: Steven Rostedt rost...@goodmis.org Signed-off-by: Marcelo Tosatti mtosa...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kvm/trace.h |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/arch/mips/kvm/trace.h +++ b

Re: [PATCH stable 3.10, 3.12, 3.14] MIPS: Export FP functions used by lose_fpu(1) for KVM

2015-03-06 Thread Greg Kroah-Hartman
On Fri, Mar 06, 2015 at 08:22:49AM -0800, Guenter Roeck wrote: On Thu, Mar 05, 2015 at 10:30:34PM -0800, Greg Kroah-Hartman wrote: On Thu, Mar 05, 2015 at 04:08:44PM +, James Hogan wrote: [ Upstream commit 3ce465e04bfd8de9956d515d6e9587faac3375dc ] Export the _save_fp asm function

Re: [PATCH stable 3.10, 3.12, 3.14] MIPS: Export FP functions used by lose_fpu(1) for KVM

2015-03-05 Thread Greg Kroah-Hartman
On Thu, Mar 05, 2015 at 04:08:44PM +, James Hogan wrote: [ Upstream commit 3ce465e04bfd8de9956d515d6e9587faac3375dc ] Export the _save_fp asm function used by the lose_fpu(1) macro to GPL modules so that KVM can make use of it when it is built as a module. This fixes the following

Re: [PATCH 3.14 58/73] KVM: MIPS: Dont leak FPU/DSP to guest

2015-03-04 Thread Greg Kroah-Hartman
On Wed, Mar 04, 2015 at 08:10:40AM +, James Hogan wrote: Hi Greg, On Tue, Mar 03, 2015 at 10:13:26PM -0800, Greg Kroah-Hartman wrote: 3.14-stable review patch. If anyone has any objections, please let me know. -- From: James Hogan james.ho...@imgtec.com

[PATCH 3.14 28/73] MIPS: KVM: Deliver guest interrupts after local_irq_disable()

2015-03-04 Thread Greg Kroah-Hartman
@vger.kernel.org Cc: Ralf Baechle r...@linux-mips.org Cc: linux-m...@linux-mips.org Cc: Sanjay Lal sanj...@kymasys.com Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kvm/kvm_mips.c |2 +- 1 file changed, 1 insertion

[PATCH 3.10 43/53] KVM: MIPS: Dont leak FPU/DSP to guest

2015-03-04 Thread Greg Kroah-Hartman
...@vger.kernel.org # v3.10+ Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: James Hogan james.ho...@imgtec.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kvm/kvm_locore.S |2 +- arch/mips/kvm/kvm_mips.c |6 +++--- 2 files changed, 4 insertions(+), 4

[PATCH 3.10 20/53] MIPS: KVM: Deliver guest interrupts after local_irq_disable()

2015-03-04 Thread Greg Kroah-Hartman
@vger.kernel.org Cc: Ralf Baechle r...@linux-mips.org Cc: linux-m...@linux-mips.org Cc: Sanjay Lal sanj...@kymasys.com Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kvm/kvm_mips.c |2 +- 1 file changed, 1 insertion

[PATCH 3.19 076/175] KVM: MIPS: Disable HTW while in guest

2015-03-03 Thread Greg Kroah-Hartman
-mips.org Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kvm/mips.c | 13 + 1 file changed, 13 insertions(+) --- a/arch/mips/kvm/mips.c +++ b/arch/mips/kvm/mips.c @@ -18,6 +18,7 @@ #include asm/page.h

[PATCH 3.18 074/151] MIPS: Export MSA functions used by lose_fpu(1) for KVM

2015-03-03 Thread Greg Kroah-Hartman
/patch/9261/ Signed-off-by: Ralf Baechle r...@linux-mips.org Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kernel/mips_ksyms.c |4 1 file changed, 4 insertions(+) --- a/arch/mips/kernel/mips_ksyms.c +++ b/arch/mips/kernel/mips_ksyms.c @@ -15,6 +15,7

[PATCH 3.18 066/151] KVM: MIPS: Disable HTW while in guest

2015-03-03 Thread Greg Kroah-Hartman
-mips.org Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kvm/mips.c | 13 + 1 file changed, 13 insertions(+) --- a/arch/mips/kvm/mips.c +++ b/arch/mips/kvm/mips.c @@ -18,6 +18,7 @@ #include asm/page.h

[PATCH 3.18 067/151] KVM: MIPS: Dont leak FPU/DSP to guest

2015-03-03 Thread Greg Kroah-Hartman
Bonzini pbonz...@redhat.com Cc: Ralf Baechle r...@linux-mips.org Cc: Sanjay Lal sanj...@kymasys.com Cc: Gleb Natapov g...@kernel.org Cc: kvm@vger.kernel.org Cc: linux-m...@linux-mips.org Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org

[PATCH 3.18 073/151] MIPS: Export FP functions used by lose_fpu(1) for KVM

2015-03-03 Thread Greg Kroah-Hartman
-by: Ralf Baechle r...@linux-mips.org Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kernel/mips_ksyms.c |6 ++ 1 file changed, 6 insertions(+) --- a/arch/mips/kernel/mips_ksyms.c +++ b/arch/mips/kernel/mips_ksyms.c @@ -14,6 +14,7 @@ #include linux/mm.h #include

[PATCH 3.19 077/175] KVM: MIPS: Dont leak FPU/DSP to guest

2015-03-03 Thread Greg Kroah-Hartman
Bonzini pbonz...@redhat.com Cc: Ralf Baechle r...@linux-mips.org Cc: Sanjay Lal sanj...@kymasys.com Cc: Gleb Natapov g...@kernel.org Cc: kvm@vger.kernel.org Cc: linux-m...@linux-mips.org Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org

[PATCH 3.14 58/73] KVM: MIPS: Dont leak FPU/DSP to guest

2015-03-03 Thread Greg Kroah-Hartman
...@vger.kernel.org # v3.10+ Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: James Hogan james.ho...@imgtec.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- This should apply to stable trees 3.12 and 3.14, but not 3.10. The files had been renamed since v3.14 so it cherry-picked

[PATCH 3.19 083/175] MIPS: Export FP functions used by lose_fpu(1) for KVM

2015-03-03 Thread Greg Kroah-Hartman
-by: Ralf Baechle r...@linux-mips.org Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kernel/mips_ksyms.c |6 ++ 1 file changed, 6 insertions(+) --- a/arch/mips/kernel/mips_ksyms.c +++ b/arch/mips/kernel/mips_ksyms.c @@ -14,6 +14,7 @@ #include linux/mm.h #include

[PATCH 3.19 084/175] MIPS: Export MSA functions used by lose_fpu(1) for KVM

2015-03-03 Thread Greg Kroah-Hartman
/patch/9261/ Signed-off-by: Ralf Baechle r...@linux-mips.org Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kernel/mips_ksyms.c |4 1 file changed, 4 insertions(+) --- a/arch/mips/kernel/mips_ksyms.c +++ b/arch/mips/kernel/mips_ksyms.c @@ -15,6 +15,7

[PATCH 3.10 35/46] MIPS: KVM: Remove redundant NULL checks before kfree()

2014-07-04 Thread Greg Kroah-Hartman
Bonzini pbonz...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kvm/kvm_mips.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) --- a/arch/mips/kvm/kvm_mips.c +++ b/arch/mips/kvm/kvm_mips.c @@ -149,9 +149,7 @@ void kvm_mips_free_vcpus

[PATCH 3.14 49/59] MIPS: KVM: Remove redundant NULL checks before kfree()

2014-07-04 Thread Greg Kroah-Hartman
Bonzini pbonz...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kvm/kvm_mips.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) --- a/arch/mips/kvm/kvm_mips.c +++ b/arch/mips/kvm/kvm_mips.c @@ -149,9 +149,7 @@ void kvm_mips_free_vcpus

[PATCH 3.15 56/66] MIPS: KVM: Remove redundant NULL checks before kfree()

2014-07-04 Thread Greg Kroah-Hartman
Bonzini pbonz...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kvm/kvm_mips.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) --- a/arch/mips/kvm/kvm_mips.c +++ b/arch/mips/kvm/kvm_mips.c @@ -149,9 +149,7 @@ void kvm_mips_free_vcpus

[PATCH 3.15 25/61] MIPS: KVM: Allocate at least 16KB for exception handlers

2014-06-24 Thread Greg Kroah-Hartman
...@kymasys.com Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kvm/kvm_mips.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/mips/kvm/kvm_mips.c +++ b/arch/mips/kvm/kvm_mips.c @@ -304,7 +304,7 @@ struct

[PATCH 3.14 38/68] MIPS: KVM: Allocate at least 16KB for exception handlers

2014-06-24 Thread Greg Kroah-Hartman
...@kymasys.com Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kvm/kvm_mips.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/mips/kvm/kvm_mips.c +++ b/arch/mips/kvm/kvm_mips.c @@ -304,7 +304,7 @@ struct

[PATCH 3.10 29/52] MIPS: KVM: Allocate at least 16KB for exception handlers

2014-06-24 Thread Greg Kroah-Hartman
...@kymasys.com Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kvm/kvm_mips.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/mips/kvm/kvm_mips.c +++ b/arch/mips/kvm/kvm_mips.c @@ -299,7 +299,7 @@ struct

[PATCH 3.4 45/88] virtio-blk: Call del_gendisk() before disable guest kick

2014-06-09 Thread Greg Kroah-Hartman
Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/block/virtio_blk.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c @@ -581,13 +581,13 @@ static void __devexit virtblk_remove(str vblk

[PATCH 3.4 46/88] virtio-blk: Reset device after blk_cleanup_queue()

2014-06-09 Thread Greg Kroah-Hartman
-off-by: Ben Hutchings b...@decadent.org.uk Cc: Yijing Wang wangyij...@huawei.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/block/virtio_blk.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) --- a/drivers/block/virtio_blk.c +++ b/drivers/block

[PATCH 3.10 09/48] MIPS: KVM: Pass reserved instruction exceptions to guest

2014-05-11 Thread Greg Kroah-Hartman
Bonzini pbonz...@redhat.com Cc: Sanjay Lal sanj...@kymasys.com Cc: linux-m...@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kvm/kvm_mips_emul.c |7 --- 1 file changed, 4

[PATCH 3.14 11/83] MIPS: KVM: Pass reserved instruction exceptions to guest

2014-05-11 Thread Greg Kroah-Hartman
Bonzini pbonz...@redhat.com Cc: Sanjay Lal sanj...@kymasys.com Cc: linux-m...@linux-mips.org Cc: kvm@vger.kernel.org Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- arch/mips/kvm/kvm_mips_emul.c |7 --- 1 file changed, 4

[PATCH 3.4 22/24] virtio-blk: Use block layer provided spinlock

2014-02-18 Thread Greg Kroah-Hartman
-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/block/virtio_blk.c |9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c @@ -21,8 +21,6 @@ struct workqueue_struct *virtblk_wq; struct virtio_blk

Re: [REPOST][PATCH 1/2] driver core: Add new device_driver flag to allow binding via sysfs only

2013-12-19 Thread Greg Kroah-Hartman
On Thu, Dec 19, 2013 at 02:22:11PM -0600, Scott Wood wrote: On Wed, 2013-12-18 at 17:07 -0800, Greg Kroah-Hartman wrote: On Tue, Dec 03, 2013 at 12:34:46PM +, Kim Phillips wrote: VFIO supports pass-through of devices to user space - for sake of illustration, say a PCI e1000 device

Re: [REPOST][PATCH 2/2] driver core: platform: allow platform drivers to bind to any device

2013-12-19 Thread Greg Kroah-Hartman
On Thu, Dec 19, 2013 at 02:29:21PM -0600, Scott Wood wrote: On Wed, 2013-12-18 at 17:03 -0800, Greg Kroah-Hartman wrote: On Tue, Dec 03, 2013 at 12:34:54PM +, Kim Phillips wrote: Platform drivers such as the vfio-platform meta- driver [1] should be allowed to specify that they can

Re: [REPOST][PATCH 1/2] driver core: Add new device_driver flag to allow binding via sysfs only

2013-12-19 Thread Greg Kroah-Hartman
On Thu, Dec 19, 2013 at 09:06:21PM +, Stuart Yoder wrote: -Original Message- From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] Sent: Thursday, December 19, 2013 2:34 PM To: Wood Scott-B07421 Cc: Kim Phillips; linux-ker...@vger.kernel.org; kvm@vger.kernel.org

Re: [REPOST][PATCH 1/2] driver core: Add new device_driver flag to allow binding via sysfs only

2013-12-19 Thread Greg Kroah-Hartman
On Thu, Dec 19, 2013 at 04:15:03PM -0600, Scott Wood wrote: On Thu, 2013-12-19 at 13:43 -0800, Greg Kroah-Hartman wrote: On Thu, Dec 19, 2013 at 09:06:21PM +, Stuart Yoder wrote: -Original Message- From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] Sent

Re: [REPOST][PATCH 1/2] driver core: Add new device_driver flag to allow binding via sysfs only

2013-12-19 Thread Greg Kroah-Hartman
On Thu, Dec 19, 2013 at 11:08:55PM +, Stuart Yoder wrote: How will it know not to grab the device? The knowledge of whether the binding was explicitly requested or not does not get passed through to the probe function. Nor should it, as a driver should not know, nor care about

Re: [REPOST][PATCH 2/2] driver core: platform: allow platform drivers to bind to any device

2013-12-18 Thread Greg Kroah-Hartman
On Tue, Dec 03, 2013 at 12:34:54PM +, Kim Phillips wrote: Platform drivers such as the vfio-platform meta- driver [1] should be allowed to specify that they can bind to any device, much like PCI drivers can with PCI_ANY_ID. Currently, binding platform drivers to devices depends on: -

Re: [REPOST][PATCH 1/2] driver core: Add new device_driver flag to allow binding via sysfs only

2013-12-18 Thread Greg Kroah-Hartman
On Tue, Dec 03, 2013 at 12:34:46PM +, Kim Phillips wrote: VFIO supports pass-through of devices to user space - for sake of illustration, say a PCI e1000 device: - the e1000 is first unbound from the PCI e1000 driver via sysfs - the vfio-pci driver is told via new_id that it now handles

Re: [REPOST][PATCH 1/2] driver core: Add new device_driver flag to allow binding via sysfs only

2013-12-18 Thread Greg Kroah-Hartman
On Tue, Dec 03, 2013 at 04:34:33PM +0100, Jan Kiszka wrote: On 2013-12-03 13:34, Kim Phillips wrote: VFIO supports pass-through of devices to user space - for sake of illustration, say a PCI e1000 device: - the e1000 is first unbound from the PCI e1000 driver via sysfs - the vfio-pci

Re: RFC: (re-)binding the VFIO platform driver to a platform device

2013-10-01 Thread Greg Kroah-Hartman
On Tue, Oct 01, 2013 at 01:38:31PM -0500, Kim Phillips wrote: Hi, Santosh and I are having a problem figuring out how to enable binding (and re-binding) platform devices to a platform VFIO driver (see Antonis' WIP: [1]) in an upstream-acceptable manner. Binding platform drivers currently

Re: [PATCH] vhost-scsi: return -ENOENT when no matching tcm_vhost_tpg found

2013-06-11 Thread Greg Kroah-Hartman
On Wed, Jun 12, 2013 at 09:39:50AM +0800, wenchao wrote: cc to Greg for 3.9. formletter This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read Documentation/stable_kernel_rules.txt for how to do this properly. /formletter -- To unsubscribe from this

Re: [RFC PATCH 1/6] driver core: add a bus notification to temporarily reject driver binding

2012-11-10 Thread Greg Kroah-Hartman
On Sat, Nov 10, 2012 at 09:57:14PM +0800, Jiang Liu wrote: From: Jiang Liu jiang@huawei.com There are several requirements to temporarily reject device driver binding. Possible usage cases as below: 1) We should avoid binding an unsafe driver to a device belonging to an active VFIO

Re: [PATCH 1/2] PCI: Use local parameter pci_device_id for pci_get_subsys/class()

2012-09-07 Thread Greg Kroah-Hartman
On Fri, Sep 07, 2012 at 06:32:48PM -0700, Yinghai Lu wrote: Greg, Any reason for using kmalloc instead of local variable during your rewriting pci search code? commit 95247b57ed844511a212265b45cf9a919753aea1 Author: Greg Kroah-Hartman gre...@suse.de Date: Wed Feb 13 11:03:58 2008 -0800

[ 03/82] virtio-blk: Use block layer provided spinlock

2012-08-13 Thread Greg Kroah-Hartman
. Signed-off-by: Asias He as...@redhat.com Cc: virtualizat...@lists.linux-foundation.org Cc: kvm@vger.kernel.org Acked-by: Michael S. Tsirkin m...@redhat.com Signed-off-by: Rusty Russell ru...@rustcorp.com.au Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/block/virtio_blk.c

[ 02/82] virtio-blk: Reset device after blk_cleanup_queue()

2012-08-13 Thread Greg Kroah-Hartman
-by: Rusty Russell ru...@rustcorp.com.au Signed-off-by: Greg Kroah-Hartman gre...@linuxfoundation.org --- drivers/block/virtio_blk.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) --- a/drivers/block/virtio_blk.c +++ b/drivers/block/virtio_blk.c @@ -576,8 +576,6 @@ static void

[ 01/82] virtio-blk: Call del_gendisk() before disable guest kick

2012-08-13 Thread Greg Kroah-Hartman
-disk is not freed until put_disk(vblk-disk). Signed-off-by: Asias He as...@redhat.com Cc: virtualizat...@lists.linux-foundation.org Cc: kvm@vger.kernel.org Acked-by: Michael S. Tsirkin m...@redhat.com Signed-off-by: Rusty Russell ru...@rustcorp.com.au Signed-off-by: Greg Kroah-Hartman gre

Re: [PATCH] tcm_vhost: Expose ABI version via VHOST_SCSI_GET_ABI_VERSION

2012-07-24 Thread Greg Kroah-Hartman
On Tue, Jul 24, 2012 at 01:26:20AM +, Nicholas A. Bellinger wrote: From: Nicholas Bellinger n...@linux-iscsi.org As requested by Anthony, here is a patch against target-pending/for-next-merge to expose an ABI version to userspace via a new VHOST_SCSI_GET_ABI_VERSION ioctl operation.