Received: from eggs.gnu.org ([2001:4830:134:3::10]:49416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxDTg-0006sN-QQ for qemu-devel@nongnu.org; Wed, 18 Jun 2014 06:52:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WxDTb-0005P6-Cd for qemu-devel@nongnu.org; Wed, 18 Jun 2014 06:52:28 -0400 Received: from mail-we0-x22e.google.com ([2a00:1450:400c:c03::22e]:36852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WxDTb-0005Ox-6k for qemu-devel@nongnu.org; Wed, 18 Jun 2014 06:52:23 -0400 Received: by mail-we0-f174.google.com with SMTP id u57so649129wes.19 for ; Wed, 18 Jun 2014 03:52:22 -0700 (PDT) Date: Wed, 18 Jun 2014 18:52:13 +0800 From: Stefan Hajnoczi Message-ID: <20140618105213.GJ14030@stefanha-thinkpad.redhat.com> References: <1402409025-25694-1-git-send-email-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QnBU6tTI9sljzm9u" Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [PATCH] hw/block/pflash_cfi01: Report correct size info for parallel configs List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Kevin Wolf , QEMU Developers , Stefan Hajnoczi , Patch Tracking --QnBU6tTI9sljzm9u Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 16, 2014 at 11:52:22AM +0100, Peter Maydell wrote: > On 10 June 2014 15:03, Peter Maydell wrote: > > If the flash device is configured with a device-width which is > > not equal to the bank-width, indicating that it is actually several > > narrow flash devices in parallel, the CFI table should report the > > number of blocks and the size of a single device, not of the whole > > combined setup. This stops Linux from complaining: > > "NOR chip too large to fit in mapping. Attempting to cope..." > > > > As usual, we retain the old broken but backwards compatible behaviour > > when the device-width is not specified. > > > > Signed-off-by: Peter Maydell > > --- > > At the moment vexpress is the only board which properly sets device-wid= th > > rather than using the back-compat misemulated behaviour... >=20 > Kevin, Stefan: since this only affects ARM boards at > the moment, I'll put this in via target-arm.next unless > you particularly want to put it in through the block queue. That's fine. Stefan --QnBU6tTI9sljzm9u Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJToW9dAAoJEJykq7OBq3PITHoH/2gd9uqRG7JAmKOGXKg23IOk 1G1AT42/a3UzDubjEXqkdcmsGiq3ZHT7LiNuA9BdshDcbQiAuh67mbUiVE/Ytw16 pHzSH9ApYHRlY+xXEcQrYgUlkJ3Gn58dgaeRgmUS/qDTfgq7e4w7sU5R5S8XPjx+ fUu4V3JbBopH3E6bDDfWXorH81KejJRwmdYN18VdwYDVd/ehJGVxopAiMjYLUXy+ G1tyZ4r8x80p7Nmzzk4Pupv0aIo7O/RqV/TNd8aHLgNJI3ZQiCtjhTwBW4/6GNMu KKQBZ5Ax8fAJ/jFDM2x5nw3vGAWfr6fdxYgAetFWAgrJeUb4/+AzVHOl1Xp9kdw= =3qE/ -----END PGP SIGNATURE----- --QnBU6tTI9sljzm9u--