From: Bjorn Helgaas <bhelgaas@google.com>
To: Sander Eikelenboom <linux@eikelenboom.it>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
Tony Luck <tony.luck@intel.com>, Dave Airlie <airlied@redhat.com>,
Eiichiro Oiwa <eiichiro.oiwa.nm@hitachi.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"linux-kernel @ vger . kernel . org"
<linux-kernel@vger.kernel.org>,
"linux-pci @ vger . kernel . org" <linux-pci@vger.kernel.org>,
linux-ia64@vger.kernel.org
Subject: Re: [PATCH v2] Setting the IORESOURCE_ROM_SHADOW flag on a VGA card other than the primary prevents
Date: Fri, 14 Feb 2014 20:26:43 +0000 [thread overview]
Message-ID: <20140214202643.GF31093@google.com> (raw)
In-Reply-To: <939539486.20140213104824@eikelenboom.it>
On Thu, Feb 13, 2014 at 10:48:24AM +0100, Sander Eikelenboom wrote:
> Hi Bjorn,
>
> I have given it another email and another week, but without gaining any reviewed or acked-by's.
> It seems the only way forward is to shovel it in linux-next earlier, give it a good soak and see if
> anyone starts to squeal .. or that everything seems to be ok :-)
>
> Would you need a v3 with the acked and reviewed-by from Konrad for x86 in it ?
No need, I applied this to my pci/misc branch for v3.15.
Tony, let me know if you have any issues with this.
Bjorn
> Monday, February 3, 2014, 3:52:05 PM, you wrote:
>
> > On Fri, Jan 31, 2014 at 10:28:22AM +0100, Sander Eikelenboom wrote:
> >> Hi Bjorn / Tony,
> >>
> >> I fixed up ia64 as well and brought it inline again with the x86 code,
> >> but i don't have a ia64 machine, so that part is untested.
> >> Perhaps Tony is able to review/test it ?
> >>
> >> Sander
> >>
> >>
> >>
> >> Setting the IORESOURCE_ROM_SHADOW flag on a VGA card other than the primary
> >> prevents it from reading it's own rom. It will get the content of the shadowrom
> >> at C000 instead, which is of the primary VGA card and the driver of the
> >> secondary card will bail out.
> >>
> >> Fix this by checking if the arch code or vga-arbitration has already
> >> determined the vga_default_device, if so only apply the fix to this
> >> primary video device and let the comment reflect this.
> >>
> >> v2:
> >> - Fix pci_fixup_video both in x86 and ia64
> >>
> >>
> >> Sander Eikelenboom (1):
> >> Setting the IORESOURCE_ROM_SHADOW flag on a VGA card other than the
> >> primary prevents it from reading it's own rom. It will get the
> >> content of the shadowrom at C000 instead, which is of the
> >> primary VGA card and the driver of the secondary card will bail
> >> out.
>
> > Your editor mutilated your subject line. It ought to have been just
> > one line.
>
> > Anyhow, you can also add 'Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com'
> > on the patch for the x86 part.
>
> > The ia64 "looks" OK to me, but my ia64 box won't boot v3.11 or later
> > so I can't give it a 'Tested-by' yet.
>
> >>
> >> arch/ia64/pci/fixup.c | 24 +++++++++++++-----------
> >> arch/x86/pci/fixup.c | 18 ++++++++++--------
> >> 2 files changed, 23 insertions(+), 19 deletions(-)
> >>
> >> --
> >> 1.7.10.4
> >>
>
>
WARNING: multiple messages have this Message-ID (diff)
From: Bjorn Helgaas <bhelgaas@google.com>
To: Sander Eikelenboom <linux@eikelenboom.it>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>,
Tony Luck <tony.luck@intel.com>, Dave Airlie <airlied@redhat.com>,
Eiichiro Oiwa <eiichiro.oiwa.nm@hitachi.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
"linux-kernel @ vger . kernel . org"
<linux-kernel@vger.kernel.org>,
"linux-pci @ vger . kernel . org" <linux-pci@vger.kernel.org>,
linux-ia64@vger.kernel.org
Subject: Re: [PATCH v2] Setting the IORESOURCE_ROM_SHADOW flag on a VGA card other than the primary prevents it from reading it's own rom. It will get the content of the shadowrom at C000 instead, which is of the primary VGA card and the driver of the secondary card will bail out.
Date: Fri, 14 Feb 2014 13:26:43 -0700 [thread overview]
Message-ID: <20140214202643.GF31093@google.com> (raw)
In-Reply-To: <939539486.20140213104824@eikelenboom.it>
On Thu, Feb 13, 2014 at 10:48:24AM +0100, Sander Eikelenboom wrote:
> Hi Bjorn,
>
> I have given it another email and another week, but without gaining any reviewed or acked-by's.
> It seems the only way forward is to shovel it in linux-next earlier, give it a good soak and see if
> anyone starts to squeal .. or that everything seems to be ok :-)
>
> Would you need a v3 with the acked and reviewed-by from Konrad for x86 in it ?
No need, I applied this to my pci/misc branch for v3.15.
Tony, let me know if you have any issues with this.
Bjorn
> Monday, February 3, 2014, 3:52:05 PM, you wrote:
>
> > On Fri, Jan 31, 2014 at 10:28:22AM +0100, Sander Eikelenboom wrote:
> >> Hi Bjorn / Tony,
> >>
> >> I fixed up ia64 as well and brought it inline again with the x86 code,
> >> but i don't have a ia64 machine, so that part is untested.
> >> Perhaps Tony is able to review/test it ?
> >>
> >> Sander
> >>
> >>
> >>
> >> Setting the IORESOURCE_ROM_SHADOW flag on a VGA card other than the primary
> >> prevents it from reading it's own rom. It will get the content of the shadowrom
> >> at C000 instead, which is of the primary VGA card and the driver of the
> >> secondary card will bail out.
> >>
> >> Fix this by checking if the arch code or vga-arbitration has already
> >> determined the vga_default_device, if so only apply the fix to this
> >> primary video device and let the comment reflect this.
> >>
> >> v2:
> >> - Fix pci_fixup_video both in x86 and ia64
> >>
> >>
> >> Sander Eikelenboom (1):
> >> Setting the IORESOURCE_ROM_SHADOW flag on a VGA card other than the
> >> primary prevents it from reading it's own rom. It will get the
> >> content of the shadowrom at C000 instead, which is of the
> >> primary VGA card and the driver of the secondary card will bail
> >> out.
>
> > Your editor mutilated your subject line. It ought to have been just
> > one line.
>
> > Anyhow, you can also add 'Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com'
> > on the patch for the x86 part.
>
> > The ia64 "looks" OK to me, but my ia64 box won't boot v3.11 or later
> > so I can't give it a 'Tested-by' yet.
>
> >>
> >> arch/ia64/pci/fixup.c | 24 +++++++++++++-----------
> >> arch/x86/pci/fixup.c | 18 ++++++++++--------
> >> 2 files changed, 23 insertions(+), 19 deletions(-)
> >>
> >> --
> >> 1.7.10.4
> >>
>
>
next prev parent reply other threads:[~2014-02-14 20:26 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-12 4:10 In "pci_fixup_video" check if this is or should be the primary video device to prevent setting the IORESOURCE_ROM_SHADOW flag on a secondary VGA card Sander Eikelenboom
2014-01-12 4:10 ` [PATCH] " Sander Eikelenboom
[not found] ` <XNM1$9$0$4$$3$3$7$A$9006858U52d4d109@hitachi.com>
2014-01-14 15:26 ` In "pci_fixup_video" check if this is or should be the primary video device t Sander Eikelenboom
[not found] ` <XNM1$9$0$4$$3$3$7$A$9006860U52d614ca@hitachi.com>
2014-01-15 8:40 ` In "pci_fixup_video" check if this is or should be the primary video devi Sander Eikelenboom
2014-01-15 19:36 ` Sander Eikelenboom
2014-01-15 21:50 ` Bjorn Helgaas
2014-01-15 22:25 ` Sander Eikelenboom
[not found] ` <XNM1$9$0$4$$3$3$7$A$9006862U52d758ed@hitachi.com>
2014-01-16 13:19 ` In "pci_fixup_video" check if this is or should be the primary video d Bjorn Helgaas
2014-01-16 13:19 ` [Qemu-devel] " Bjorn Helgaas
2014-01-30 0:08 ` In "pci_fixup_video" check if this is or should be the primary video devi Bjorn Helgaas
2014-01-31 9:28 ` [PATCH v2] Setting the IORESOURCE_ROM_SHADOW flag on a VGA card other than the primary prevents it f Sander Eikelenboom
2014-01-31 9:28 ` [PATCH v2] Setting the IORESOURCE_ROM_SHADOW flag on a VGA card other than the primary prevents it from reading it's own rom. It will get the content of the shadowrom at C000 instead, which is of the primary VGA card and the driver of the secondary card will bail out Sander Eikelenboom
2014-01-31 9:28 ` [PATCH v2] Setting the IORESOURCE_ROM_SHADOW flag on a VGA card other than the primary prevents it f Sander Eikelenboom
2014-01-31 9:28 ` [PATCH v2] Setting the IORESOURCE_ROM_SHADOW flag on a VGA card other than the primary prevents it from reading it's own rom. It will get the content of the shadowrom at C000 instead, which is of the primary VGA card and the driver of the secondary card will bail out Sander Eikelenboom
2014-02-03 14:52 ` [PATCH v2] Setting the IORESOURCE_ROM_SHADOW flag on a VGA card other than the primary prevents Konrad Rzeszutek Wilk
2014-02-03 14:52 ` [PATCH v2] Setting the IORESOURCE_ROM_SHADOW flag on a VGA card other than the primary prevents it from reading it's own rom. It will get the content of the shadowrom at C000 instead, which is of the primary VGA card and the driver of the secondary card will bail out Konrad Rzeszutek Wilk
2014-02-07 11:03 ` [PATCH v2] Setting the IORESOURCE_ROM_SHADOW flag on a VGA card other than the primary prevents Sander Eikelenboom
2014-02-07 11:03 ` [PATCH v2] Setting the IORESOURCE_ROM_SHADOW flag on a VGA card other than the primary prevents it from reading it's own rom. It will get the content of the shadowrom at C000 instead, which is of the primary VGA card and the driver of the secondary card will bail out Sander Eikelenboom
2014-02-13 9:48 ` [PATCH v2] Setting the IORESOURCE_ROM_SHADOW flag on a VGA card other than the primary prevents Sander Eikelenboom
2014-02-13 9:48 ` [PATCH v2] Setting the IORESOURCE_ROM_SHADOW flag on a VGA card other than the primary prevents it from reading it's own rom. It will get the content of the shadowrom at C000 instead, which is of the primary VGA card and the driver of the secondary card will bail out Sander Eikelenboom
2014-02-14 20:26 ` Bjorn Helgaas [this message]
2014-02-14 20:26 ` Bjorn Helgaas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140214202643.GF31093@google.com \
--to=bhelgaas@google.com \
--cc=airlied@redhat.com \
--cc=eiichiro.oiwa.nm@hitachi.com \
--cc=gregkh@linuxfoundation.org \
--cc=konrad.wilk@oracle.com \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=linux@eikelenboom.it \
--cc=tony.luck@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.