[PATCH 2/4] vmbus: add missing breaks

2014-02-21 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- 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 acpi_status

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

2014-02-21 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 --- drivers/hv/vmbus_drv.c | 16 ++-- include/linux/hyperv.h | 3 +-- 2 files changed, 11 insertions(+), 8 deletions

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

2014-02-21 Thread Gerd Hoffmann
From: "K. Y. Srinivasan" 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 version of the pat

[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 Signed-off-by: Gerd Hoffmann --- drivers/video/hyperv_fb.c | 86 +-- 1 file changed, 60 insertions(+), 26 deletions(-) diff --git a/drivers/video/hyperv_fb.c b/drivers/video/hyperv_fb.c index 130708f

[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

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

2014-02-24 Thread Gerd Hoffmann
From: "K. Y. Srinivasan" 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 version of the pat

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

2014-02-24 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- 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 acpi_status

[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 --- drivers/hv/vmbus_drv.c | 16 ++-- include/linux/hyperv.h | 3 +-- 2 files changed, 11 insertions(+), 8 deletions

[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 Signed-off-by: Gerd Hoffmann --- drivers/video/hyperv_fb.c | 86 +-- 1 file changed, 60 insertions(+), 26 deletions(-) diff --git a/drivers/video/hyperv_fb.c b/drivers/video/hyperv_fb.c index 130708f

[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 branc

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

2014-02-24 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- 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 acpi_status

[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 --- drivers/hv/vmbus_drv.c | 16 ++-- include/linux/hyperv.h | 3 +-- 2 files changed, 11 insertions(+), 8 deletions

[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 Signed-off-by: Gerd Hoffmann --- drivers/video/hyperv_fb.c | 86 +-- 1 file changed, 60 insertions(+), 26 deletions(-) diff --git a/drivers/video/hyperv_fb.c b/drivers/video/hyperv_fb.c index 130708f

[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

[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 Signed-off-by: Gerd Hoffmann --- drivers/video/hyperv_fb.c | 86 +-- 1 file changed, 60 insertions(+), 26 deletions(-) diff --git a/drivers/video/hyperv_fb.c b/drivers/video/hyperv_fb.c index 130708f

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

2014-02-25 Thread Gerd Hoffmann
e 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

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].bas

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

2014-02-26 Thread Gerd Hoffmann
char-misc. 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(-) -

[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 Signed-off-by: Gerd Hoffmann --- drivers/video/hyperv_fb.c | 86 +-- 1 file changed, 60 insertions(+), 26 deletions(-) diff --git a/drivers/video/hyperv_fb.c b/drivers/video/hyperv_fb.c index 130708f

[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

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 > >

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 ma

[PATCH 2/2] hyperv-fb: add blanking support

2013-10-02 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- drivers/video/hyperv_fb.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/video/hyperv_fb.c b/drivers/video/hyperv_fb.c index 8d456dc..130708f 100644 --- a/drivers/video/hyperv_fb.c +++ b/drivers/video/hyperv_fb.c @@ -575,6 +575,10 @@ static int

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

2013-10-02 Thread Gerd Hoffmann
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 --- drivers/video/hyperv_fb.c | 40 +++- 1 file changed, 39 insertions(+), 1 deletion(-) diff --git a/drivers

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

2013-10-06 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 e

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; To