Re: [PATCH v5 0/2] hyperv-fb: add support for generation 2 virtual machines

2014-02-28 Thread Gerd Hoffmann
On Fr, 2014-02-28 at 11:01 +0200, Tomi Valkeinen wrote: On 26/02/14 12:51, Gerd Hoffmann wrote: Hi, This patch series adds support for uefi-based gen2 virtual machines to the hyperv-fb driver. It depends on a few vmbus changes which are staged in Greg's char-misc tree (and linux

Re: [PATCH v3 1/4] vmbus: add missing breaks

2014-02-28 Thread Gerd Hoffmann
Why is this sent to fbdev list? Is this related to the hyperv-fb patches? Yes, the hyperv-fb patches depend on this one. Greg has picked it up meanwhile, that's why v4 + v5 of the patch series don't include it any more. cheers, Gerd ___ devel

Re: [PATCH v4 2/2] hyperv-fb: kick off efifb early

2014-02-26 Thread Gerd Hoffmann
Hi, diff --git a/drivers/video/hyperv_fb.c b/drivers/video/hyperv_fb.c index b7b3dd0..1b11886 100644 --- a/drivers/video/hyperv_fb.c +++ b/drivers/video/hyperv_fb.c @@ -683,6 +683,7 @@ static int hvfb_getmem(struct fb_info *info) info-apertures-ranges[0].base =

[PATCH v5 0/2] hyperv-fb: add support for generation 2 virtual machines

2014-02-26 Thread Gerd Hoffmann
. please apply, Gerd Gerd Hoffmann (2): hyperv-fb: add support for generation 2 virtual machines. hyperv-fb: kick off efifb early drivers/video/hyperv_fb.c | 88 +-- 1 file changed, 62 insertions(+), 26 deletions(-) -- 1.8.3.1

[PATCH v5 1/2] hyperv-fb: add support for generation 2 virtual machines.

2014-02-26 Thread Gerd Hoffmann
support for it. Based on a patch by Haiyang Zhang haiya...@microsoft.com Signed-off-by: Gerd Hoffmann kra...@redhat.com --- drivers/video/hyperv_fb.c | 86 +-- 1 file changed, 60 insertions(+), 26 deletions(-) diff --git a/drivers/video/hyperv_fb.c b

[PATCH v5 2/2] hyperv-fb: kick off efifb early

2014-02-26 Thread Gerd Hoffmann
Remove firmware framebuffer before initializing hyperv-fb. Needed on gen2 virtual machines. Letting register_framebuffer handle the switchover results in efifb still being active while hyperv graphics are initialized, which in turn can make the linux kernel hang. Signed-off-by: Gerd Hoffmann

[PATCH v4 2/2] hyperv-fb: kick off efifb early

2014-02-25 Thread Gerd Hoffmann
Remove firmware framebuffer before initializing hyperv-fb. Needed on gen2 virtual machines. Letting register_framebuffer handle the switchover results in efifb still being active while hyperv graphics are initialized, which in turn can make the linux kernel hang. Signed-off-by: Gerd Hoffmann

[PATCH v4 1/2] hyperv-fb: add support for generation 2 virtual machines.

2014-02-25 Thread Gerd Hoffmann
support for it. Based on a patch by Haiyang Zhang haiya...@microsoft.com Signed-off-by: Gerd Hoffmann kra...@redhat.com --- drivers/video/hyperv_fb.c | 86 +-- 1 file changed, 60 insertions(+), 26 deletions(-) diff --git a/drivers/video/hyperv_fb.c b

[PATCH v4 0/2] hyperv-fb: add support for generation 2 virtual machines.

2014-02-25 Thread Gerd Hoffmann
the framebuffer isn't used any more while hyperv-fb initialization is in progress. v4 changes: - use KBUILD_MODNAME everywhere for consistent naming. - drop the two patches which Greg has staged in char-misc. please apply, Gerd Gerd Hoffmann (2): hyperv-fb: add support for generation 2 virtual

[PATCH v2 1/5] Drivers: hv: vmbus: Extract the mmio information from DSDT

2014-02-24 Thread Gerd Hoffmann
From: K. Y. Srinivasan k...@microsoft.com On Gen2 firmware, Hyper-V does not emulate the PCI bus. However, the MMIO information is packaged up in DSDT. Extract this information and export it for use by the synthetic framebuffer driver. This is the only driver that needs this currently. In this

[PATCH v2 2/5] vmbus: add missing breaks

2014-02-24 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann kra...@redhat.com --- drivers/hv/vmbus_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index b37c91b..2352ae48 100644 --- a/drivers/hv/vmbus_drv.c +++ b/drivers/hv/vmbus_drv.c @@ -899,10 +899,12 @@ static

[PATCH v2 3/5] vmbus: use resource for hyperv mmio region

2014-02-24 Thread Gerd Hoffmann
Use a resource for the hyperv mmio region instead of start/size variables. Register the region properly so it shows up in /proc/iomem. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- drivers/hv/vmbus_drv.c | 16 ++-- include/linux/hyperv.h | 3 +-- 2 files changed, 11 insertions

[PATCH v2 4/5] hyperv-fb: add support for generation 2 virtual machines.

2014-02-24 Thread Gerd Hoffmann
support for it. Based on a patch by Haiyang Zhang haiya...@microsoft.com Signed-off-by: Gerd Hoffmann kra...@redhat.com --- drivers/video/hyperv_fb.c | 86 +-- 1 file changed, 60 insertions(+), 26 deletions(-) diff --git a/drivers/video/hyperv_fb.c b

[PATCH v2 5/5] hyperv-fb: kick off efifb early

2014-02-24 Thread Gerd Hoffmann
Remove firmware framebuffer before initializing hyperv-fb. Needed on gen2 virtual machines. Letting register_framebuffer handle the switchover results in efifb still being active while hyperv graphics are initialized, which in turn can make the linux kernel hang. Signed-off-by: Gerd Hoffmann

Re: [PATCH v2 2/5] vmbus: add missing breaks

2014-02-24 Thread Gerd Hoffmann
On Mo, 2014-02-24 at 13:42 +0300, Dan Carpenter wrote: I'm sorry, I know it sucks to not get credit for fixes, but please just fold this into [patch 1/5]. We really should have a tag for this kind of thing. It's not because of the credits, but because Greg picked up #1 into one of his

[PATCH v3 1/4] vmbus: add missing breaks

2014-02-24 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann kra...@redhat.com --- drivers/hv/vmbus_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index b37c91b..2352ae48 100644 --- a/drivers/hv/vmbus_drv.c +++ b/drivers/hv/vmbus_drv.c @@ -899,10 +899,12 @@ static

[PATCH v3 2/4] vmbus: use resource for hyperv mmio region

2014-02-24 Thread Gerd Hoffmann
Use a resource for the hyperv mmio region instead of start/size variables. Register the region properly so it shows up in /proc/iomem. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- drivers/hv/vmbus_drv.c | 16 ++-- include/linux/hyperv.h | 3 +-- 2 files changed, 11 insertions

[PATCH v3 3/4] hyperv-fb: add support for generation 2 virtual machines.

2014-02-24 Thread Gerd Hoffmann
support for it. Based on a patch by Haiyang Zhang haiya...@microsoft.com Signed-off-by: Gerd Hoffmann kra...@redhat.com --- drivers/video/hyperv_fb.c | 86 +-- 1 file changed, 60 insertions(+), 26 deletions(-) diff --git a/drivers/video/hyperv_fb.c b

[PATCH v3 4/4] hyperv-fb: kick off efifb early

2014-02-24 Thread Gerd Hoffmann
Remove firmware framebuffer before initializing hyperv-fb. Needed on gen2 virtual machines. Letting register_framebuffer handle the switchover results in efifb still being active while hyperv graphics are initialized, which in turn can make the linux kernel hang. Signed-off-by: Gerd Hoffmann

[PATCH v3 0/4] hyperv-fb: add support for generation 2 virtual machines.

2014-02-24 Thread Gerd Hoffmann
. This patch is new in v2 and it fixes the hang listed as known issue in v1 of this patch series. v3 changes: - fix a error handling bug in patch #3. - don't include 90f3453585479d5beb75058da46eb573ced0e6ac to avoid confusion please apply, Gerd Gerd Hoffmann (4): vmbus: add missing breaks vmbus

[PATCH 2/4] vmbus: add missing breaks

2014-02-21 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann kra...@redhat.com --- drivers/hv/vmbus_drv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c index b37c91b..2352ae48 100644 --- a/drivers/hv/vmbus_drv.c +++ b/drivers/hv/vmbus_drv.c @@ -899,10 +899,12 @@ static

[PATCH 1/4] Drivers: hv: vmbus: Extract the mmio information from DSDT

2014-02-21 Thread Gerd Hoffmann
From: K. Y. Srinivasan k...@microsoft.com On Gen2 firmware, Hyper-V does not emulate the PCI bus. However, the MMIO information is packaged up in DSDT. Extract this information and export it for use by the synthetic framebuffer driver. This is the only driver that needs this currently. In this

[PATCH 4/4] hyperv-fb: add support for generation 2 virtual machines.

2014-02-21 Thread Gerd Hoffmann
support for it. Based on a patch by Haiyang Zhang haiya...@microsoft.com Signed-off-by: Gerd Hoffmann kra...@redhat.com --- drivers/video/hyperv_fb.c | 86 +-- 1 file changed, 60 insertions(+), 26 deletions(-) diff --git a/drivers/video/hyperv_fb.c b

[PATCH] hyperv-fb: kick off efifb early

2014-02-21 Thread Gerd Hoffmann
Remove firmware framebuffer before initializing hyperv-fb. Needed on gen2 virtual machines. Letting register_framebuffer handle the switchover results in efifb still being active while hyperv graphics are initialized, which in turn can make the linux kernel hang. Signed-off-by: Gerd Hoffmann

Re: [PATCH 1/2] hyperv-fb: add pci stub

2013-10-08 Thread Gerd Hoffmann
On Mo, 2013-10-07 at 17:12 +, KY Srinivasan wrote: -Original Message- From: Gerd Hoffmann [mailto:kra...@redhat.com] Sent: Sunday, October 06, 2013 11:51 PM To: KY Srinivasan Cc: Haiyang Zhang; Jean-Christophe Plagniol-Villard; Tomi Valkeinen; open list:Hyper-V CORE

Re: [PATCH 1/2] hyperv-fb: add pci stub

2013-10-07 Thread Gerd Hoffmann
On Mi, 2013-10-02 at 14:29 +, KY Srinivasan wrote: This patch adds a pci stub driver to hyper-fb. The hyperv framebuffer driver will bind to the pci device then, so linux kernel and userspace know there is a proper kernel driver for the device active. lspci shows this for example:

[PATCH 1/2] hyperv-fb: add pci stub

2013-10-02 Thread Gerd Hoffmann
is that the xorg vesa driver will not attach to the device and thus the Xorg server will automatically use the fbdev driver instead. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- drivers/video/hyperv_fb.c | 40 +++- 1 file changed, 39 insertions(+), 1