lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171002072331.GB25930@pali>
Date:   Mon, 2 Oct 2017 09:23:31 +0200
From:   Pali Rohár <pali.rohar@...il.com>
To:     Pavel Machek <pavel@....cz>
Cc:     sre@...nel.org, kernel list <linux-kernel@...r.kernel.org>,
        linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
        linux-omap@...r.kernel.org, tony@...mide.com, khilman@...nel.org,
        aaro.koskinen@....fi, ivo.g.dimitrov.75@...il.com,
        patrikbachan@...il.com, serge@...lyn.com, abcloriens@...il.com,
        clayton@...ftyguy.net, martijn@...xit.nl,
        sakari.ailus@...ux.intel.com, wsa@...-dreams.de,
        linux-i2c@...r.kernel.org, balbi@...com, jlu@...gutronix.de,
        bigeasy@...utronix.de
Subject: Re: i2c-omap.c vs. qemu: too much work in one irq (and broken boot)

On Monday 02 October 2017 00:19:35 Pavel Machek wrote:
> 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@...utronix.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

-- 
Pali Rohár
pali.rohar@...il.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ