public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: robherring2@gmail.com (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] mach-integrator: fix VGA base regression
Date: Mon, 05 Sep 2011 10:30:44 -0500	[thread overview]
Message-ID: <4E64EB24.7010800@gmail.com> (raw)
In-Reply-To: <CACRpkdYw4WCJ+kBm_FBH=H-vPKBUsb9DFToK0MN4F8t5T8Tc9g@mail.gmail.com>

On 09/05/2011 01:46 AM, Linus Walleij wrote:
> On Mon, Sep 5, 2011 at 6:00 AM, Rob Herring <robherring2@gmail.com> wrote:
> 
>>> @@ -154,6 +155,7 @@ static struct map_desc ap_io_desc[] __initdata = {
>>>  static void __init ap_map_io(void)
>>>  {
>>>       iotable_init(ap_io_desc, ARRAY_SIZE(ap_io_desc));
>>> +     vga_base = PCI_MEMORY_VADDR;
>>>  }
>>> @@ -505,7 +504,6 @@ void __init pci_v3_preinit(void)
>>>
>>>       pcibios_min_io = 0x6000;
>>>       pcibios_min_mem = 0x00100000;
>>> -     vga_base = PCI_MEMORY_VADDR;
>>>
>>>       /*
>>>        * Hook in our fault handler for PCI errors
>>
>> Should the VGA memory really be accessed before PCI host is initialized?
> 
> I don' know, I don't know one bit about how PCI works and should
> work, you tell me :-)
> 

I guess it's normal (from init/main.c):

        /*
         * HACK ALERT! This is early. We're enabling the console before
         * we've done PCI setups etc, and console_init() must be aware of
         * this. But we do want output early, in case something goes wrong.
         */

> What I know is that without this patch the 3.1 rc does not boot on
> Integrator.
> 
> Do you prefer that I revert your commit and wait with this thing
> until we figured out why it breaks the Integrator instead?

Well, it's really no difference with your patch or reverting mine in
terms of init order. I'd rather not have to add back hardware.h as a
required mach header.

So FWIW:

Acked-by: Rob Herring <rob.herring@calxeda.com>

Rob

  reply	other threads:[~2011-09-05 15:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-04 21:40 [PATCH] mach-integrator: fix VGA base regression Linus Walleij
2011-09-05  4:00 ` Rob Herring
2011-09-05  6:46   ` Linus Walleij
2011-09-05 15:30     ` Rob Herring [this message]
2011-09-06  5:25       ` Linus Walleij
2011-09-06 13:31         ` Rob Herring
2011-09-07  7:54           ` Linus Walleij
2011-09-05 12:35 ` Linus Walleij
2011-09-05 14:21   ` Arnd Bergmann
2011-09-20 20:43     ` Linus Walleij
2011-09-20 20:59       ` Arnd Bergmann

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=4E64EB24.7010800@gmail.com \
    --to=robherring2@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox