Received: from eggs.gnu.org ([2001:4830:134:3::10]:45223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9HLx-0000f2-JI for qemu-devel@nongnu.org; Wed, 16 Dec 2015 14:03:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9HLt-00054G-Je for qemu-devel@nongnu.org; Wed, 16 Dec 2015 14:03:09 -0500 Received: from mail-bn1on0139.outbound.protection.outlook.com ([157.56.110.139]:35553 helo=na01-bn1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9HLs-00053y-Vr for qemu-devel@nongnu.org; Wed, 16 Dec 2015 14:03:05 -0500 From: Andrew Baumann Date: Wed, 16 Dec 2015 11:02:45 -0800 Message-ID: <1450292568-18148-1-git-send-email-Andrew.Baumann@microsoft.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH v2 0/3] SD emulation fixes for Pi2 Tianocore EDK2 UEFI List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Igor Mitsyanko , Peter Maydell , Peter Crosthwaite , Andrew Baumann , Stefan Hajnoczi This series contains fixes to the SD card emulation that are needed to unblock Tianocore EDK2 UEFI (specifically, the bootloader for Windows on Raspberry Pi 2). Changes in v2, based on feedback from Peter Crosthwaite: * correct implementation of CMD23 to switch to transfer state on completion * use an actual timer for the power-up delay, rather than relying on the guest polling ACMD41 twice * added patch 3: replace fprintfs with guest error logging (I'm guessing at the CC list here, since this code appears to be unmaintained. Apologies if I guessed wrong!) Cheers, Andrew Andrew Baumann (3): hw/sd: implement CMD23 (SET_BLOCK_COUNT) for MMC compatibility hw/sd: model a power-up delay, as a workaround for an EDK2 bug hw/sd: use guest error logging rather than fprintf to stderr hw/sd/sd.c | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 90 insertions(+), 14 deletions(-) -- 2.5.3