RE: [PATCH] PCI: hv: use effective affinity mask

2017-11-07 Thread Jake Oshins
> -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: Tuesday, November 7, 2017 4:15 PM > To: Jake Oshins <ja...@microsoft.com> > Cc: Dexuan Cui <de...@microsoft.com>; Bjorn Helgaas > <bhelg...@google.com>; linux-...

RE: [PATCH] PCI: hv: use effective affinity mask

2017-11-01 Thread Jake Oshins
> -Original Message- > From: Dexuan Cui > Sent: Wednesday, November 1, 2017 1:31 PM > To: Bjorn Helgaas <bhelg...@google.com>; linux-...@vger.kernel.org; Jake > Oshins <ja...@microsoft.com>; KY Srinivasan <k...@microsoft.com>; > Stephen Hemming

RE: [bug report] PCI: hv: Add paravirtual PCI front-end for Microsoft Hyper-V VMs

2017-02-07 Thread Jake Oshins
> -Original Message- > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > Sent: Monday, February 6, 2017 11:12 PM > To: Jake Oshins <ja...@microsoft.com> > Cc: de...@linuxdriverproject.org; linux-...@vger.kernel.org > Subject: [bug report] PCI: hv: Add p

RE: [PATCH 3/3] PCI: hv: delete the device earlier from hbus->children for hot-remove

2016-11-11 Thread Jake Oshins
om>; > Haiyang Zhang <haiya...@microsoft.com>; Stephen Hemminger > <sthem...@microsoft.com>; Jake Oshins <ja...@microsoft.com>; Hadden > Hoppert <hadd...@microsoft.com>; Vitaly Kuznetsov > <vkuzn...@redhat.com>; jasow...@redhat.com; a...@canonical.com; > o...@aep

RE: [PATCH 2/3] PCI: hv: fix hv_pci_remove() for hot-remove

2016-11-11 Thread Jake Oshins
om>; > Haiyang Zhang <haiya...@microsoft.com>; Stephen Hemminger > <sthem...@microsoft.com>; Jake Oshins <ja...@microsoft.com>; Hadden > Hoppert <hadd...@microsoft.com>; Vitaly Kuznetsov > <vkuzn...@redhat.com>; jasow...@redhat.com; a...@canonical.com; > o...@

RE: [PATCH 1/3] PCI: hv: use the correct buffer size in new_pcichild_device()

2016-11-10 Thread Jake Oshins
> -Original Message- > > > From: Jake Oshins > > > From: Dexuan Cui > > > Sent: Wednesday, November 9, 2016 11:18 PM > > > We don't really need such a big on-stack buffer. > > > vmbus_sendpacket() here only uses sizeof(struct pci_child_me

RE: [PATCH 1/3] PCI: hv: use the correct buffer size in new_pcichild_device()

2016-11-10 Thread Jake Oshins
om>; > Haiyang Zhang <haiya...@microsoft.com>; Stephen Hemminger > <sthem...@microsoft.com>; Jake Oshins <ja...@microsoft.com>; Hadden > Hoppert <hadd...@microsoft.com>; Vitaly Kuznetsov > <vkuzn...@redhat.com>; jasow...@redhat.com; a...@canonical.com; > o...@

RE: [PATCH] PCI: hv: Fix interrupt cleanup path

2016-07-12 Thread Jake Oshins
> -Original Message- > From: Cathy Avery [mailto:cav...@redhat.com] > Sent: Tuesday, July 12, 2016 8:31 AM > To: KY Srinivasan <k...@microsoft.com>; Haiyang Zhang > <haiya...@microsoft.com>; Jake Oshins <ja...@microsoft.com>; > bhelg...@goog

RE: [PATCH 2/2] PCI: hv: handle all pending messages in hv_pci_onchannelcallback()

2016-05-31 Thread Jake Oshins
gt; <haiya...@microsoft.com>; KY Srinivasan <k...@microsoft.com>; Jake > Oshins <ja...@microsoft.com> > Subject: [PATCH 2/2] PCI: hv: handle all pending messages in > hv_pci_onchannelcallback() > > When we have an interrupt from host we have a bit set in event page &g

RE: [PATCH 1/2] PCI: hv: don't leak buffer in hv_pci_onchannelcallback()

2016-05-31 Thread Jake Oshins
gt; <haiya...@microsoft.com>; KY Srinivasan <k...@microsoft.com>; Jake > Oshins <ja...@microsoft.com> > Subject: [PATCH 1/2] PCI: hv: don't leak buffer in hv_pci_onchannelcallback() > > We don't free buffer on several code paths in hv_pci_onchannelcallback(), > put

RE: [PATCH [RFC]] PCI: hv: add explicit fencing to config space access

2016-05-03 Thread Jake Oshins
gt; <haiya...@microsoft.com>; KY Srinivasan <k...@microsoft.com>; Jake > Oshins <ja...@microsoft.com> > Subject: [PATCH [RFC]] PCI: hv: add explicit fencing to config space access > > I'm trying to pass-through Broadcom BCM5720 NIC (Dell Device 1f5b) on Dell > R720 s

RE: [PATCH] PCI: hv: report resources release after stopping the bus

2016-04-29 Thread Jake Oshins
gt; <haiya...@microsoft.com>; Bjorn Helgaas <bhelg...@google.com>; Jake > Oshins <ja...@microsoft.com> > Subject: [PATCH] PCI: hv: report resources release after stopping the bus > > Kernel hang is observed when pci-hyperv module is release with device > drivers st

[PATCH v5 6/6] drivers:hv: Separate out frame buffer logic when picking MMIO range

2016-04-05 Thread Jake Oshins
Simplify the logic that picks MMIO ranges by pulling out the logic related to trying to lay frame buffer claim on top of where the firmware placed the frame buffer. Signed-off-by: Jake Oshins <ja...@microsoft.com> --- drivers/hv/vmbus_drv.

[PATCH v5 2/6] drivers:hv: Call vmbus_mmio_free() to reverse vmbus_mmio_allocate()

2016-04-05 Thread Jake Oshins
Existing code just called release_mem_region(). Adding a wrapper around it allows the more complex range tracking that is introduced later in this patch series. Signed-off-by: Jake Oshins <ja...@microsoft.com> --- drivers/hv/vmbus_drv.c | 15 +++ drivers/pci/ho

[PATCH v5 5/6] drivers:hv: Record MMIO range in use by frame buffer

2016-04-05 Thread Jake Oshins
this now allows that to be guaranteed. Signed-off-by: Jake Oshins <ja...@microsoft.com> --- drivers/hv/vmbus_drv.c | 37 - 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index dfc6149..eaa5c3b

[PATCH v5 4/6] drivers:hv: Track allocations of children of hv_vmbus in private resource tree

2016-04-05 Thread Jake Oshins
p layer, rather than in this driver. Rafael Wysocki, the maintainter of the pnp layer, has previously asked that we not modify the pnp layer as it is considered deprecated. This patch is thus essentially a workaround. Signed-off-by: Jake Oshins <ja...@microsoft.com> --- d

[PATCH v5 1/6] drivers:hv: Lock access to hyperv_mmio resource tree

2016-04-05 Thread Jake Oshins
on multiple threads. Signed-off-by: Jake Oshins <ja...@microsoft.com> --- drivers/hv/vmbus_drv.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index 64713ff..799518b 100644 --- a/drivers/hv/vmbus_drv.c

[PATCH v5 0/6] drivers:hv: Ensure that bridge windows don't overlap

2016-04-05 Thread Jake Oshins
windows can't overlap. The main memory resource tree, iomem_resource, contains resources properly marked as bridge windows, allowing their children to overlap with them. Jake Oshins (6): drivers:hv: Lock access to hyperv_mmio resource tree drivers:hv: Call vmbus_mmio_free() to reverse

RE: [PATCH v4 3/7] drivers:hv: Use new vmbus_mmio_free() from client drivers.

2016-04-05 Thread Jake Oshins
> -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: Tuesday, April 5, 2016 11:00 AM > To: Jake Oshins <ja...@microsoft.com> > Cc: linux-...@vger.kernel.org; gre...@linuxfoundation.org; KY Srinivasan > <k...@microsoft.com>; linu

[PATCH v4 1/7] drivers:hv: Lock access to hyperv_mmio resource tree

2016-04-01 Thread Jake Oshins
on multiple threads. Signed-off-by: Jake Oshins <ja...@microsoft.com> --- drivers/hv/vmbus_drv.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index 64713ff..799518b 100644 --- a/drivers/hv/vmbus_drv.c

[PATCH v4 5/7] drivers:hv: Track allocations of children of hv_vmbus in private resource tree

2016-04-01 Thread Jake Oshins
p layer, rather than in this driver. Rafael Wysocki, the maintainter of the pnp layer, has previously asked that we not modify the pnp layer as it is considered deprecated. This patch is thus essentially a workaround. Signed-off-by: Jake Oshins <ja...@microsoft.com> --- d

[PATCH v4 2/7] drivers:hv: Make a function to free mmio regions through vmbus

2016-04-01 Thread Jake Oshins
This patch introduces a function that reverses everything done by vmbus_allocate_mmio(). Existing code just called release_mem_region(). Future patches in this series require a more complex sequence of actions, so this function is introduced to wrap those actions. Signed-off-by: Jake Oshins <

[PATCH v4 6/7] drivers:hv: Record MMIO range in use by frame buffer

2016-04-01 Thread Jake Oshins
this now allows that to be guaranteed. Signed-off-by: Jake Oshins <ja...@microsoft.com> --- drivers/hv/vmbus_drv.c | 37 - 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index dfc6149..eaa5c3b

[PATCH v4 0/7] drivers:hv: Ensure that bridge windows don't overlap

2016-04-01 Thread Jake Oshins
devices in a separate resource tree, marking them such that the bridge windows can't overlap. The main memory resource tree, iomem_resource, contains resources properly marked as bridge windows, allowing their children to overlap with them. Jake Oshins (7): drivers:hv: Lock access to hyperv_mmio

[PATCH v4 7/7] drivers:hv: Separate out frame buffer logic when picking MMIO range

2016-04-01 Thread Jake Oshins
Simplify the logic that picks MMIO ranges by pulling out the logic related to trying to lay frame buffer claim on top of where the firmware placed the frame buffer. Signed-off-by: Jake Oshins <ja...@microsoft.com> --- drivers/hv/vmbus_drv.

[PATCH v4 4/7] drivers:hv: Reverse order of resources in hyperv_mmio

2016-04-01 Thread Jake Oshins
A patch later in this series allocates child nodes in this resource tree. For that to work, this tree needs to be sorted in ascending order. Signed-off-by: Jake Oshins <ja...@microsoft.com> --- drivers/hv/vmbus_drv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/d

[PATCH v4 3/7] drivers:hv: Use new vmbus_mmio_free() from client drivers.

2016-04-01 Thread Jake Oshins
This patch modifies all the callers of vmbus_mmio_allocate() to call vmbus_mmio_free() instead of release_mem_region(). Signed-off-by: Jake Oshins <ja...@microsoft.com> --- drivers/pci/host/pci-hyperv.c | 14 +++--- drivers/video/fbdev/hyperv_fb.c | 4 ++-- 2 files chan

[PATCH v3 4/7] drivers:hv: Reverse order of resources in hyperv_mmio

2016-04-01 Thread Jake Oshins
A patch later in this series allocates child nodes in this resource tree. For that to work, this tree needs to be sorted in ascending order. Signed-off-by: Jake Oshins <ja...@microsoft.com> --- drivers/hv/vmbus_drv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/d

[PATCH v3 3/7] drivers:hv: Use new vmbus_mmio_free() from client drivers.

2016-04-01 Thread Jake Oshins
This patch modifies all the callers of vmbus_mmio_allocate() to call vmbus_mmio_free() instead of release_mem_region(). Signed-off-by: Jake Oshins <ja...@microsoft.com> --- drivers/pci/host/pci-hyperv.c | 14 +++--- drivers/video/fbdev/hyperv_fb.c | 4 ++-- 2 files chan

[PATCH v3 5/7] drivers:hv: Track allocations of children of hv_vmbus in private resource tree

2016-04-01 Thread Jake Oshins
p layer, rather than in this driver. Rafael Wysocki, the maintainter of the pnp layer, has previously asked that we not modify the pnp layer as it is considered deprecated. This patch is thus essentially a workaround. Signed-off-by: Jake Oshins <ja...@microsoft.com> --- d

[PATCH v3 2/7] drivers:hv: Make a function to free mmio regions through vmbus

2016-04-01 Thread Jake Oshins
This patch introduces a function that reverses everything done by vmbus_allocate_mmio(). Existing code just called release_mem_region(). Future patches in this series require a more complex sequence of actions, so this function is introduced to wrap those actions. Signed-off-by: Jake Oshins <

[PATCH v3 1/7] drivers:hv: Lock access to hyperv_mmio resource tree

2016-04-01 Thread Jake Oshins
on multiple threads. Signed-off-by: Jake Oshins <ja...@microsoft.com> --- drivers/hv/vmbus_drv.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index 64713ff..799518b 100644 --- a/drivers/hv/vmbus_drv.c

[PATCH v3 7/7] drivers:hv: Separate out frame buffer logic when picking MMIO range

2016-04-01 Thread Jake Oshins
Simplify the logic that picks MMIO ranges by pulling out the logic related to trying to lay frame buffer claim on top of where the firmware placed the frame buffer. Signed-off-by: Jake Oshins <ja...@microsoft.com> --- drivers/hv/vmbus_drv.

[PATCH v3 6/7] drivers:hv: Record MMIO range in use by frame buffer

2016-04-01 Thread Jake Oshins
this now allows that to be guaranteed. Signed-off-by: Jake Oshins <ja...@microsoft.com> --- drivers/hv/vmbus_drv.c | 37 - 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index dfc6149..df59bfb

[PATCH v3 0/7] drivers:hv: Ensure that bridge windows don't overlap

2016-04-01 Thread Jake Oshins
by tracking allocations to child devices in a separate resource tree, marking them such that the bridge windows can't overlap. The main memory resource tree, iomem_resource, contains resources properly marked as bridge windows, allowing their children to overlap with them. Jake Oshins (7): drivers:hv

[PATCH v2 7/7] drivers:hv: Separate out frame buffer logic when picking MMIO range

2016-03-30 Thread Jake Oshins
Simplify the logic that picks MMIO ranges by pulling out the logic related to trying to lay frame buffer claim on top of where the firmware placed the frame buffer. Signed-off-by: Jake Oshins <ja...@microsoft.com> --- drivers/hv/vmbus_drv.

[PATCH v2 5/7] drivers:hv: Track allocations of children of hv_vmbus in private resource tree

2016-03-30 Thread Jake Oshins
p layer, rather than in this driver. Rafael Wysocki, the maintainter of the pnp layer, has previously asked that we not modify the pnp layer as it is considered deprecated. This patch is thus essentially a workaround. Signed-off-by: Jake Oshins <ja...@microsoft.com> --- d

[PATCH v2 4/7] drivers:hv: Reverse order of resources in hyperv_mmio

2016-03-30 Thread Jake Oshins
A patch later in this series allocates child nodes in this resource tree. For that to work, this tree needs to be sorted in ascending order. Signed-off-by: Jake Oshins <ja...@microsoft.com> --- drivers/hv/vmbus_drv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/d

[PATCH v2 6/7] drivers:hv: Record MMIO range in use by frame buffer

2016-03-30 Thread Jake Oshins
this now allows that to be guaranteed by the code introduced in the next patch. Signed-off-by: Jake Oshins <ja...@microsoft.com> --- drivers/hv/vmbus_drv.c | 37 - 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/drivers/hv/vmbus_drv.c b/driv

[PATCH v2 3/7] drivers:hv: Use new vmbus_mmio_free() from client drivers.

2016-03-30 Thread Jake Oshins
This patch modifies all the callers of vmbus_mmio_allocate() to call vmbus_mmio_free() instead of release_mem_region(). Signed-off-by: Jake Oshins <ja...@microsoft.com> --- drivers/pci/host/pci-hyperv.c | 14 +++--- drivers/video/fbdev/hyperv_fb.c | 4 ++-- 2 files chan

[PATCH v2 1/7] drivers:hv: Lock access to hyperv_mmio resource tree

2016-03-30 Thread Jake Oshins
on multiple threads. Signed-off-by: Jake Oshins <ja...@microsoft.com> --- drivers/hv/vmbus_drv.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index 64713ff..799518b 100644 --- a/drivers/hv/vmbus_drv.c

[PATCH v2 0/7] drivers:hv: Ensure that bridge windows don't overlap

2016-03-30 Thread Jake Oshins
marked as bridge windows, allowing their children to overlap with them. Jake Oshins (7): drivers:hv: Lock access to hyperv_mmio resource tree drivers:hv: Make a function to free mmio regions through vmbus drivers:hv: Use new vmbus_mmio_free() from client drivers. drivers:hv: Reverse order

[PATCH v2 2/7] drivers:hv: Make a function to free mmio regions through vmbus

2016-03-30 Thread Jake Oshins
This patch introduces a function that reverses everything done by vmbus_allocate_mmio(). Existing code just called release_mem_region(). Future patches in this series require a more complex sequence of actions, so this function is introduced to wrap those actions. Signed-off-by: Jake Oshins <

RE: [patch] PCI: hv: potential use after free

2016-02-29 Thread Jake Oshins
> -Original Message- > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > Sent: Saturday, February 27, 2016 2:44 AM > To: KY Srinivasan <k...@microsoft.com>; Jake Oshins > <ja...@microsoft.com> > Cc: Haiyang Zhang <haiya...@microsoft.com>; Bjorn

RE: [PATCH 5/5] hv: Track allocations of children of hv_vmbus in private resource tree

2016-02-26 Thread Jake Oshins
> -Original Message- > From: KY Srinivasan > Sent: Friday, February 26, 2016 5:09 PM > To: Jake Oshins <ja...@microsoft.com>; linux-...@vger.kernel.org; > gre...@linuxfoundation.org; linux-ker...@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a..

RE: [PATCH RESEND v2 3/3] PCI: hv: New paravirtual PCI front-end for Hyper-V VMs

2016-02-16 Thread Jake Oshins
> -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: Tuesday, February 16, 2016 2:44 PM > To: Jake Oshins <ja...@microsoft.com> > Cc: bhelg...@google.com; linux-...@vger.kernel.org; > gre...@linuxfoundation.org; KY Srinivasan <k...@m

RE: [PATCH RESEND v2 3/3] PCI: hv: New paravirtual PCI front-end for Hyper-V VMs

2016-02-16 Thread Jake Oshins
> -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: Tuesday, February 16, 2016 8:46 AM > To: Jake Oshins <ja...@microsoft.com> > Cc: bhelg...@google.com; linux-...@vger.kernel.org; > gre...@linuxfoundation.org; KY Srinivasan <k...@m

RE: [PATCH RESEND 3/3] PCI: hv: New paravirtual PCI front-end for Hyper-V VMs

2016-02-03 Thread Jake Oshins
> -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: Wednesday, February 3, 2016 1:29 PM > To: Jake Oshins <ja...@microsoft.com> > Cc: gre...@linuxfoundation.org; KY Srinivasan <k...@microsoft.com>; linux- > ker...@vger.kernel.org

RE: [PATCH RESEND 1/3] PCI: Add fwnode_handle to pci_sysdata

2016-02-03 Thread Jake Oshins
> -Original Message- > From: Marc Zyngier [mailto:marc.zyng...@arm.com] > Sent: Wednesday, February 3, 2016 10:57 AM > To: Bjorn Helgaas <helg...@kernel.org>; Jake Oshins > <ja...@microsoft.com> > Cc: gre...@linuxfoundation.org; KY Srinivasan <

RE: [PATCH RESEND 1/3] PCI: Add fwnode_handle to pci_sysdata

2016-02-03 Thread Jake Oshins
> -Original Message- > From: Bjorn Helgaas [mailto:helg...@kernel.org] > Sent: Wednesday, February 3, 2016 10:25 AM > To: Jake Oshins <ja...@microsoft.com> > Cc: gre...@linuxfoundation.org; KY Srinivasan <k...@microsoft.com>; linux- > ker...@vger.kernel.org

RE: [PATCH v9 4/7] PCI: Add fwnode_handle to pci_sysdata

2016-01-08 Thread Jake Oshins
t.org; o...@aepfle.de; > a...@canonical.com; vkuzn...@redhat.com; t...@linutronix.de; Haiyang > Zhang <haiya...@microsoft.com>; marc.zyng...@arm.com; > bhelg...@google.com; linux-...@vger.kernel.org > Cc: Jake Oshins <ja...@microsoft.com> > Subject: [PATCH v9 4/7] PCI: Add fwnode_

RE: [PATCH v7 4/7] PCI: Add fwnode_handle to pci_sysdata

2015-12-09 Thread Jake Oshins
> -Original Message- > From: Marc Zyngier [mailto:marc.zyng...@arm.com] > Sent: Wednesday, December 9, 2015 8:51 AM > To: Jake Oshins <ja...@microsoft.com>; gre...@linuxfoundation.org; KY > Srinivasan <k...@microsoft.com>; linux-ker...@vger.kernel.org; > d

RE: [PATCH v6 4/7] PCI: Add fwnode_handle to pci_sysdata

2015-12-03 Thread Jake Oshins
> -Original Message- > From: Jiang Liu [mailto:jiang@linux.intel.com] > Sent: Wednesday, December 2, 2015 10:53 PM > To: Jake Oshins <ja...@microsoft.com>; gre...@linuxfoundation.org; KY > Srinivasan <k...@microsoft.com>; linux-ker...@vger.kernel.org; > d

RE: [PATCH v6 7/7] PCI: hv: New paravirtual PCI front-end for Hyper-V VMs

2015-12-03 Thread Jake Oshins
> -Original Message- > From: Jiang Liu [mailto:jiang@linux.intel.com] > Sent: Wednesday, December 2, 2015 7:12 PM > To: Jake Oshins <ja...@microsoft.com>; gre...@linuxfoundation.org; KY > Srinivasan <k...@microsoft.com>; linux-ker...@vger.kernel.org; > d

RE: [PATCH v6 0/7] PCI: hv: New paravirtual PCI front-end for Hyper-V VMs

2015-12-02 Thread Jake Oshins
> a...@canonical.com; vkuzn...@redhat.com; t...@redhat.com; Haiyang > Zhang <haiya...@microsoft.com>; marc.zyng...@arm.com; > bhelg...@google.com; linux-...@vger.kernel.org > Cc: Jake Oshins <ja...@microsoft.com> > Subject: [PATCH v6 0/7] PCI: hv: New paravirtual PCI front-

RE: [PATCH v5 5/7] PCI: irqdomain: Look up IRQ domain by fwnode_handle

2015-10-31 Thread Jake Oshins
> -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Friday, October 30, 2015 2:44 PM > To: Jake Oshins <ja...@microsoft.com> > Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>; KY Srinivasan > <k...@microsoft.com>

RE: [PATCH v4 4/7] PCI: Add fwnode_handle to pci_sysdata

2015-10-30 Thread Jake Oshins
> -Original Message- > From: Jiang Liu [mailto:jiang@linux.intel.com] > Sent: Thursday, October 29, 2015 6:55 PM > To: Jake Oshins <ja...@microsoft.com>; gre...@linuxfoundation.org; KY > Srinivasan <k...@microsoft.com>; linux-ker...@vger.kernel.org; > d

RE: [PATCH v4 6/7] drivers:hv: Define the channel type for Hyper-V PCI Express pass-through

2015-10-30 Thread Jake Oshins
> -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Thursday, October 29, 2015 5:45 PM > To: Jake Oshins <ja...@microsoft.com> > Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>; KY Srinivasan > <k...@microsoft.com>

RE: [PATCH v4 5/7] PCI: irqdomain: Look up IRQ domain by fwnode_handle

2015-10-30 Thread Jake Oshins
> -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Thursday, October 29, 2015 5:28 PM > To: Jake Oshins <ja...@microsoft.com> > Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>; KY Srinivasan > <k...@microsoft.com>

RE: [PATCH v3 4/7] PCI: Record an fwnode associated with root PCI buses, optionally

2015-10-27 Thread Jake Oshins
> -Original Message- > From: Jiang Liu [mailto:jiang@linux.intel.com] > Sent: Tuesday, October 27, 2015 12:10 AM > To: Jake Oshins <ja...@microsoft.com>; gre...@linuxfoundation.org; KY > Srinivasan <k...@microsoft.com>; linux-ker...@vger.kernel.org; > d

RE: [PATCH v3 7/7] PCI: hv: New paravirtual PCI front-end for Hyper-V VMs

2015-10-27 Thread Jake Oshins
> -Original Message- > From: Jiang Liu [mailto:jiang@linux.intel.com] > Sent: Tuesday, October 27, 2015 12:11 AM > To: Jake Oshins <ja...@microsoft.com>; gre...@linuxfoundation.org; KY > Srinivasan <k...@microsoft.com>; linux-ker...@vger.kernel.org; > d

RE: [PATCH v2 00/12] New paravirtual PCI front-end for Hyper-V VMs

2015-09-15 Thread Jake Oshins
> -Original Message- > From: Marc Zyngier [mailto:marc.zyng...@arm.com] > Sent: Tuesday, September 15, 2015 2:57 AM > To: Jake Oshins <ja...@microsoft.com>; gre...@linuxfoundation.org; KY > Srinivasan <k...@microsoft.com>; linux-ker...@vger.kernel.org; > d

RE: [PATCH v2 06/12] drivers:hv: Export do_hypercall()

2015-09-15 Thread Jake Oshins
id *input, void *output) > > do_hypercall() is not an appropriate name for a function to be exported. I > plan to take the base > vmbus patches through Greg's tree and if it is ok with you, I will change the > name of this function. > > Regards, > > K. Y Of course. Thanks.

RE: [PATCH v2 00/12] New paravirtual PCI front-end for Hyper-V VMs

2015-09-14 Thread Jake Oshins
> -Original Message- > From: Marc Zyngier [mailto:marc.zyng...@arm.com] > Sent: Monday, September 14, 2015 8:01 AM > To: Jake Oshins <ja...@microsoft.com>; gre...@linuxfoundation.org; KY > Srinivasan <k...@microsoft.com>; linux-ker...@vger.kernel.org; > d

RE: [PATCH 4/4] drivers:pci:hv: New paravirtual PCI front-end for Hyper-V VMs

2015-08-03 Thread Jake Oshins
-Original Message- From: Thomas Gleixner [mailto:t...@linutronix.de] Sent: Sunday, August 2, 2015 1:47 AM To: Jake Oshins ja...@microsoft.com Cc: gre...@linuxfoundation.org; KY Srinivasan k...@microsoft.com; LKML linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; o

RE: [PATCH v3 6/6] drivers:pci:hv: New paravirtual PCI front-end for Hyper-V VMs

2015-06-22 Thread Jake Oshins
-Original Message- From: Dan Carpenter [mailto:dan.carpen...@oracle.com] Sent: Monday, June 22, 2015 7:14 AM To: Jake Oshins Cc: gre...@linuxfoundation.org; KY Srinivasan; linux- ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; vkuzn

RE: [PATCH v3 1/6] hv: Modify vmbus to search for all MMIO ranges available

2015-06-17 Thread Jake Oshins
-Original Message- From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] Sent: Wednesday, June 17, 2015 10:28 AM To: Jake Oshins Cc: gre...@linuxfoundation.org; KY Srinivasan; linux- ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; Haiyang

RE: [PATCH v2 4/6] drivers:hv: Export a function that maps Linux proc num onto Hyper-V proc num

2015-06-15 Thread Jake Oshins
-Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Monday, June 15, 2015 12:52 PM To: Jake Oshins Cc: KY Srinivasan; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; vkuzn...@redhat.com; bhelg...@google.com

RE: [PATCH 6/6] drivers:pci:hv: New paravirtual PCI front-end for Hyper-V VMs

2015-06-12 Thread Jake Oshins
-Original Message- From: Paul Bolle [mailto:pebo...@tiscali.nl] Sent: Friday, June 12, 2015 1:44 AM To: Jake Oshins Cc: gre...@linuxfoundation.org; KY Srinivasan; linux- ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; vkuzn...@redhat.com

RE: [PATCH 1/3] drivers:pnp Add support for descendants claiming memory address space

2015-03-10 Thread Jake Oshins
-Original Message- From: Rafael J. Wysocki [mailto:rafael.j.wyso...@intel.com] Sent: Thursday, March 5, 2015 3:04 PM To: Jake Oshins Cc: gre...@linuxfoundation.org; KY Srinivasan; linux- ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; vkuzn

[PATCH v2 3/3] drivers:hv Remove old MMIO management code

2015-03-03 Thread Jake Oshins
This patch removes the now-redundant code which examined the ACPI namespace directly for memory-mapped I/O regions for its children. Signed-off-by: Jake Oshins ja...@microsoft.com --- drivers/hv/vmbus_drv.c | 28 ++-- include/linux/hyperv.h | 2 -- 2 files changed, 2

[PATCH v2 2/3] drivers:hv Convert VMBus and its descendants to PnP

2015-03-03 Thread Jake Oshins
. (Thank you.) Signed-off-by: Jake Oshins ja...@microsoft.com --- drivers/hid/hid-hyperv.c | 6 +- drivers/hv/channel_mgmt.c | 5 +- drivers/hv/hyperv_vmbus.h | 1 + drivers/hv/vmbus_drv.c| 117 ++ drivers/input

[PATCH v2 0/3] Convert Hyper-V code to use the pnp layer

2015-03-03 Thread Jake Oshins
the space address space.) The second patch converts hv_vmbus and all the related Hyper-V drivers to use the pnp layer. The third patch removes the older code which examined the ACPI namespace directly. Jake Oshins (3): drivers:pnp Add support for descendants claiming memory address space

[PATCH v2 1/3] drivers:pnp Add support for descendants claiming memory address space

2015-03-03 Thread Jake Oshins
- Resource management for devices which are descendants + * (children or grandchildren of) devices which directly allocate resources, + * i.e. devices enumerated by ACPI, PCI, PCMCIA, ISAPNP or PNPBIOS + * + * Copyright (C) 2015 Microsoft + * Jake Oshins ja...@microsoft.com + * + * This program is free

RE: [PATCH 2/3] drivers:hv Convert VMBus and its descendants to PnP

2015-02-18 Thread Jake Oshins
-Original Message- From: Dan Carpenter [mailto:dan.carpen...@oracle.com] Sent: Wednesday, February 18, 2015 2:24 AM To: Jake Oshins Cc: rafael.j.wyso...@intel.com; gre...@linuxfoundation.org; KY Srinivasan; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de

[PATCH 3/3] drivers:hv Remove old MMIO management code

2015-02-17 Thread Jake Oshins
-by: Jake Oshins ja...@microsoft.com --- drivers/hv/vmbus_drv.c | 25 - drivers/video/fbdev/hyperv_fb.c | 27 ++- include/linux/hyperv.h | 2 -- 3 files changed, 14 insertions(+), 40 deletions(-) diff --git a/drivers/hv/vmbus_drv.c b

[PATCH 2/3] drivers:hv Convert VMBus and its descendants to PnP

2015-02-17 Thread Jake Oshins
. Signed-off-by: Jake Oshins ja...@microsoft.com --- drivers/hid/hid-hyperv.c | 6 +-- drivers/hv/channel_mgmt.c | 5 ++- drivers/hv/hyperv_vmbus.h | 1 + drivers/hv/vmbus_drv.c| 69 +++ drivers/input/serio

[PATCH 1/3] drivers:pnp Add support for descendants claiming memory address space

2015-02-17 Thread Jake Oshins
channel. This much more naturally aligns with the pnp layer. Signed-off-by: Jake Oshins ja...@microsoft.com --- drivers/pnp/Makefile | 2 +- drivers/pnp/base.h | 2 + drivers/pnp/core.c | 1 + drivers/pnp/descendant.c | 117

RE: [PATCH v2 1/1] drivers:hv:vmbus drivers:hv:vmbus Allow for more than one MMIO range for children

2015-02-06 Thread Jake Oshins
-Original Message- From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] Sent: Friday, February 6, 2015 7:04 AM To: Jake Oshins Cc: gre...@linuxfoundation.org; KY Srinivasan; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com Subject

RE: [PATCH v2 1/1] drivers:hv:vmbus drivers:hv:vmbus Allow for more than one MMIO range for children

2015-02-06 Thread Jake Oshins
-Original Message- From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] Sent: Friday, February 6, 2015 7:04 AM To: Jake Oshins Cc: gre...@linuxfoundation.org; KY Srinivasan; linux-ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com Subject: Re

[PATCH v2 1/1] drivers:hv:vmbus drivers:hv:vmbus Allow for more than one MMIO range for children

2015-01-26 Thread Jake Oshins
, only some of the memory-mapped I/O space will be available for child devices, and only in some virtual BIOS configurations (Generation 2 VMs). This patch has been updated with feedback from Vitaly Kuznetsov. Cleanup is now driven by the acpi remove callback function. Signed-off-by: Jake Oshins ja

[PATCH 1/1] drivers:hv:vmbus Allow for use of all MMIO ranges

2015-01-20 Thread Jake Oshins
, only some of the memory-mapped I/O space will be available for child devices, and only in some virtual BIOS configurations (Generation 2 VMs). Signed-off-by: Jake Oshins ja...@microsoft.com --- drivers/hv/vmbus_drv.c | 97 ++--- drivers/video/fbdev

[PATCH 1/1] drivers:hv:vmbus Allow for more than one MMIO range for children.

2015-01-20 Thread Jake Oshins
Signed-off-by: Jake Oshins ja...@microsoft.com --- drivers/hv/vmbus_drv.c | 85 + drivers/video/fbdev/hyperv_fb.c | 2 +- include/linux/hyperv.h | 2 +- 3 files changed, 72 insertions(+), 17 deletions(-) diff --git a/drivers/hv