From: Pavel Machek <pavel@ucw.cz>
To: "Pali Rohár" <pali.rohar@gmail.com>
Cc: sre@kernel.org, kernel list <linux-kernel@vger.kernel.org>,
linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
linux-omap@vger.kernel.org, tony@atomide.com, khilman@kernel.org,
aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com,
patrikbachan@gmail.com, serge@hallyn.com, abcloriens@gmail.com,
clayton@craftyguy.net, martijn@brixit.nl,
sakari.ailus@linux.intel.com, wsa@the-dreams.de,
linux-i2c@vger.kernel.org, balbi@ti.com, jlu@pengutronix.de,
bigeasy@linutronix.de
Subject: Re: i2c-omap.c vs. qemu: too much work in one irq (and broken boot)
Date: Tue, 3 Oct 2017 11:38:24 +0200 [thread overview]
Message-ID: <20171003093824.GA3769@amd> (raw)
In-Reply-To: <20171002072331.GB25930@pali>
[-- Attachment #1: Type: text/plain, Size: 1272 bytes --]
Hi!
> > > I'm trying to get qemu emulation of Nokia N900 to work, but
> > > unfortunately i2c-omap.c breaks boot in the emulator (real hardware
> > > works ok).
> >
> > I started bisection. v4.6 works, v4.7 is broken. (It still may be
> > config difference or something).
> >
> > This looked suspect, so I tried reverting it, but it did not help. And
> > it is only significant change in i2c-omap.c. So... this may be a lot
> > of fun.
> >
> > commit 126a66caec4a00b8d66dbc3174b0efa905cf68c3
> > Author: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
> > Date: Mon Apr 4 16:55:23 2016 +0300
> >
> > Unfortunately, mmc is broken in v4.6, so its useless for
> > emulation... [ 3.236724] mmc1: error -22 whilst initialising SDIO card
>
> Hi! You can apply special patch to make mmc work in both qemu and real
> N900 device for previous kernel versions...
>
> https://github.com/pali/linux-n900/commit/eb080ecdcfc5868d8e36d0f5f42d9cb7f13b4db9
Thanks a lot, this fixes mmc for me.
But I'm still stuck with v4.6 kernel for qemu. Do newer kernels work
there for anyone?
Thanks,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
prev parent reply other threads:[~2017-10-03 9:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-01 20:42 i2c-omap.c vs. qemu: too much work in one irq (and broken boot) Pavel Machek
2017-10-01 22:19 ` Pavel Machek
2017-10-02 7:23 ` Pali Rohár
2017-10-03 9:38 ` Pavel Machek [this message]
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=20171003093824.GA3769@amd \
--to=pavel@ucw.cz \
--cc=aaro.koskinen@iki.fi \
--cc=abcloriens@gmail.com \
--cc=balbi@ti.com \
--cc=bigeasy@linutronix.de \
--cc=clayton@craftyguy.net \
--cc=ivo.g.dimitrov.75@gmail.com \
--cc=jlu@pengutronix.de \
--cc=khilman@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=martijn@brixit.nl \
--cc=pali.rohar@gmail.com \
--cc=patrikbachan@gmail.com \
--cc=sakari.ailus@linux.intel.com \
--cc=serge@hallyn.com \
--cc=sre@kernel.org \
--cc=tony@atomide.com \
--cc=wsa@the-dreams.de \
/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;
as well as URLs for NNTP newsgroup(s).