From: Arnd Bergmann <arnd@arndb.de>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
"Anthony Liguori" <aliguori@us.ibm.com>,
"Michael S. Tsirkin" <mst@redhat.com>,
"Patch Tracking" <patches@linaro.org>,
"Will Deacon" <will.deacon@arm.com>,
qemu-devel@nongnu.org, "Joss Reeves" <joseph.reeves@gmail.com>,
"Andreas Färber" <afaerber@suse.de>,
"Aurelien Jarno" <aurelien@aurel32.net>
Subject: Re: [Qemu-devel] [PATCH for-1.5 0/3] hw/pci-host/versatile: Fix issues with newer kernels
Date: Thu, 16 May 2013 18:58:57 +0200 [thread overview]
Message-ID: <201305161858.57214.arnd@arndb.de> (raw)
In-Reply-To: <CACRpkdaMwp9++SYLicKvFqQKMgcWTb1ZOD+L=JT_Q0N9fD9FNw@mail.gmail.com>
On Wednesday 15 May 2013, Linus Walleij wrote:
> On Tue, May 14, 2013 at 5:33 PM, Peter Maydell <peter.maydell@linaro.org> wrote:
>
> > The reworking of the versatile PCI controller model so that it actually
> > behaved like hardware included an attempt to autodetect whether the
> > guest Linux kernel was assuming the old broken behaviour. Unfortunately
> > it turns out that there are several different variant broken kernels
> > which behave slightly differently (though none of them will work on
> > real hardware). The first two patches in this series improve the
> > autodetection so that we will work out of the box on more kernels.
> > The third patch adds a property for forcing the behaviour, so that
> > if there are further cases we didn't know about, at least users have
> > a command line workaround they can enable.
>
> This looks like a viable approach to me. So FWIW:
> Acked-by: Linus Walleij <linus.walleij@linaro.org>
FWIW, I plan to really get this done in the kernel for 3.11 properly
and rework the entire versatile and realview code base to work without
any platform specific code in arch/arm. The plan is to use the new
infrastructure for PCI and put that code into drivers/pci/host,
and have it scan the hardware using DT only. We can have a backwards
compatibility setup for versatile-pb without DT, but in the long
run, I would prefer to kill off that boot option.
If this works out, any Linux kernel built for any platform should
be able to boot the versatilepb, versatileab, integratorcp, realview-eb,
realview-eb-mpcore, realview-pb-a8, realview-pbx-a9, vexpress-a9
and vexpress-a15 models, as long as you pass a -cpu option matching
a CPU enabled in the kernel, and all the drivers are enabled.
I remember there was a way to autogenerate the dtb blob in qemu at
some point, based on the devices enabled in the model. Did that ever
make it in?
Arnd
next prev parent reply other threads:[~2013-05-16 16:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-14 15:33 [Qemu-devel] [PATCH for-1.5 0/3] hw/pci-host/versatile: Fix issues with newer kernels Peter Maydell
2013-05-14 15:33 ` [Qemu-devel] [PATCH for-1.5 1/3] Revert "versatile_pci: Put the host bridge PCI device at slot 29" Peter Maydell
2013-05-14 15:33 ` [Qemu-devel] [PATCH for-1.5 2/3] hw/pci-host/versatile.c: Update autodetect to detect newer kernels Peter Maydell
2013-05-14 15:33 ` [Qemu-devel] [PATCH for-1.5 3/3] hw/pci-host/versatile.c: Provide property for forcing broken IRQ mapping Peter Maydell
2013-05-15 14:02 ` [Qemu-devel] [PATCH for-1.5 0/3] hw/pci-host/versatile: Fix issues with newer kernels Linus Walleij
2013-05-16 16:58 ` Arnd Bergmann [this message]
2013-05-16 17:07 ` Peter Maydell
2013-05-17 11:50 ` Linus Walleij
2013-05-17 12:10 ` Peter Maydell
2013-05-16 12:50 ` Anthony Liguori
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=201305161858.57214.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=afaerber@suse.de \
--cc=aliguori@us.ibm.com \
--cc=aurelien@aurel32.net \
--cc=joseph.reeves@gmail.com \
--cc=linus.walleij@linaro.org \
--cc=mst@redhat.com \
--cc=patches@linaro.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=will.deacon@arm.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.