Branch: refs/heads/master Home: https://github.com/qemu/qemu Commit: 36476562d57a3b64bbe86db26e63677dd21907c5 https://github.com/qemu/qemu/commit/36476562d57a3b64bbe86db26e63677dd21907c5 Author: Peter Maydell <peter.mayd...@linaro.org> Date: 2018-02-22 (Thu, 22 Feb 2018)
Changed paths: M target/arm/helper.c Log Message: ----------- target/arm: Fix register definitions for VMIDR and VMPIDR The register definitions for VMIDR and VMPIDR have separate reginfo structs for the AArch32 and AArch64 registers. However the 32-bit versions are wrong: * they use offsetof instead of offsetoflow32 to mark where the 32-bit value lives in the uint64_t CPU state field * they don't mark themselves as ARM_CP_ALIAS In particular this means that if you try to use an Arm guest CPU which enables EL2 on a big-endian host it will assert at reset: target/arm/cpu.c:114: cp_reg_check_reset: Assertion `oldvalue == newvalue' failed. because the reset of the 32-bit register writes to the top half of the uint64_t. Correct the errors in the structures. Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> --- This is necessary for 'make check' to pass on big endian systems with the 'raspi3' board enabled, which is the first board which has an EL2-enabled-by-default CPU. Commit: 1c3db49d39d66646ff546ec26f36e3b9040f3504 https://github.com/qemu/qemu/commit/1c3db49d39d66646ff546ec26f36e3b9040f3504 Author: Pekka Enberg <penb...@iki.fi> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/arm/raspi.c Log Message: ----------- raspi: Add "raspi3" machine type This patch adds a "raspi3" machine type, which can now be selected as the machine to run on by users via the "-M" command line option to QEMU. The machine type does *not* ignore memory transaction failures so we likely need to add some dummy devices later when people run something more complicated than what I'm using for testing. Signed-off-by: Pekka Enberg <penb...@iki.fi> [PMM: added #ifdef TARGET_AARCH64 so we don't provide the 64-bit board in the 32-bit only arm-softmmu build.] Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: f6bfe45af2a9bd1b929955ca3bf54726d1e68d88 https://github.com/qemu/qemu/commit/f6bfe45af2a9bd1b929955ca3bf54726d1e68d88 Author: Richard Braun <rbr...@sceen.net> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/char/stm32f2xx_usart.c M include/hw/char/stm32f2xx_usart.h Log Message: ----------- hw/char/stm32f2xx_usart: fix TXE/TC bit handling I/O currently being synchronous, there is no reason to ever clear the SR_TXE bit. However the SR_TC bit may be cleared by software writing to the SR register, so set it on each write. In addition, fix the reset value of the USART status register. Signed-off-by: Richard Braun <rbr...@sceen.net> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> [PMM: removed XXX tag from comment, since it isn't something we need to come back and fix in QEMU] Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 5c1d3a2b6e5c084696b57edc33aa4bb554e7c37b https://github.com/qemu/qemu/commit/5c1d3a2b6e5c084696b57edc33aa4bb554e7c37b Author: Hugo Landau <hlan...@devever.net> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/misc/aspeed_scu.c M hw/misc/aspeed_sdmc.c Log Message: ----------- Fix ast2500 protection register emulation Some register blocks of the ast2500 are protected by protection key registers which require the right magic value to be written to those registers to allow those registers to be mutated. Register manuals indicate that writing the correct magic value to these registers should cause subsequent reads from those values to return 1, and writing any other value should cause subsequent reads to return 0. Previously, qemu implemented these registers incorrectly: the registers were handled as simple memory, meaning that writing some value x to a protection key register would result in subsequent reads from that register returning the same value x. The protection was implemented by ensuring that the current value of that register equaled the magic value. This modifies qemu to have the correct behaviour: attempts to write to a ast2500 protection register results in a transition to 1 or 0 depending on whether the written value is the correct magic. The protection logic is updated to ensure that the value of the register is nonzero. This bug caused deadlocks with u-boot HEAD: when u-boot is done with a protectable register block, it attempts to lock it by writing the bitwise inverse of the correct magic value, and then spinning forever until the register reads as zero. Since qemu implemented writes to these registers as ordinary memory writes, writing the inverse of the magic value resulted in subsequent reads returning that value, leading to u-boot spinning forever. Signed-off-by: Hugo Landau <hlan...@devever.net> Reviewed-by: Cédric Le Goater <c...@kaod.org> Acked-by: Andrew Jeffery <and...@aj.id.au> Message-id: 20180220132627.4163-1-hlan...@devever.net [PMM: fixed incorrect code indentation] Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: d9f98aab67bd5e0de4d8a53139806337d6caf5b5 https://github.com/qemu/qemu/commit/d9f98aab67bd5e0de4d8a53139806337d6caf5b5 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/milkymist-memcard.c Log Message: ----------- hw/sd/milkymist-memcard: use qemu_log_mask() Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Acked-by: Michael Walle <mich...@walle.cc> Message-id: 20180216022933.10945-2-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 85fd6e5db15173fcbf214e5667860e5d634156d3 https://github.com/qemu/qemu/commit/85fd6e5db15173fcbf214e5667860e5d634156d3 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/milkymist-memcard.c Log Message: ----------- hw/sd/milkymist-memcard: split realize() out of SysBusDevice init() Create the SDCard in the realize() function. Suggested-by: Michael Walle <mich...@walle.cc> Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Acked-by: Michael Walle <mich...@walle.cc> Message-id: 20180216022933.10945-3-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 3d0369ba499866cc6a839f71212d97876500762d https://github.com/qemu/qemu/commit/3d0369ba499866cc6a839f71212d97876500762d Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/milkymist-memcard.c Log Message: ----------- hw/sd/milkymist-memcard: expose a SDBus and connect the SDCard to it using the sdbus_*() API. Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Acked-by: Michael Walle <mich...@walle.cc> Message-id: 20180216022933.10945-4-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: c3abd91309b476ca539b3ec73b30887d4759aba8 https://github.com/qemu/qemu/commit/c3abd91309b476ca539b3ec73b30887d4759aba8 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/ssi-sd.c Log Message: ----------- hw/sd/ssi-sd: use the SDBus API, connect the SDCard to the bus On reset the bus will reset the card, we can now drop the device_reset() call. Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180216022933.10945-5-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: d49b1ce0a39ab5cf41c7bea33bbee973fc0e05f5 https://github.com/qemu/qemu/commit/d49b1ce0a39ab5cf41c7bea33bbee973fc0e05f5 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c Log Message: ----------- sdcard: reorder SDState struct members place card registers first, this will ease further code movements. Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215220540.6556-2-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 1b640aa9292bc00beb441e97d862ba322a7ba18d https://github.com/qemu/qemu/commit/1b640aa9292bc00beb441e97d862ba322a7ba18d Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c M hw/sd/trace-events Log Message: ----------- sdcard: replace DPRINTF() by trace events Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215220540.6556-3-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 55921932317ed8c1e073e876471c921a3b2a984f https://github.com/qemu/qemu/commit/55921932317ed8c1e073e876471c921a3b2a984f Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c M hw/sd/trace-events Log Message: ----------- sdcard: add a trace event for command responses Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Message-id: 20180215220540.6556-4-f4...@amsat.org Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 5cd5e2e7e393a4104c6fd4bf6677ba00e70218e3 https://github.com/qemu/qemu/commit/5cd5e2e7e393a4104c6fd4bf6677ba00e70218e3 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c Log Message: ----------- sdcard: replace fprintf() by qemu_hexdump() Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215220540.6556-5-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 814b2adc1635336e1b8d1c5ec36dce5504ff0113 https://github.com/qemu/qemu/commit/814b2adc1635336e1b8d1c5ec36dce5504ff0113 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c M hw/sd/trace-events Log Message: ----------- sdcard: add more trace events Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Acked-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215220540.6556-6-f4...@amsat.org Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: f250015be6e208dbb9c45873ad7abb96ac893927 https://github.com/qemu/qemu/commit/f250015be6e208dbb9c45873ad7abb96ac893927 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c A hw/sd/sdmmc-internal.h Log Message: ----------- sdcard: define SDMMC_CMD_MAX instead of using the magic '64' Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215220540.6556-8-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 7af83490fe02e6ca4d97ef736e24d65a5fb1b1c1 https://github.com/qemu/qemu/commit/7af83490fe02e6ca4d97ef736e24d65a5fb1b1c1 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c Log Message: ----------- sdcard: use G_BYTE from cutils code is now easier to read. Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215220540.6556-11-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 6f296421f8963bfd2cae13b4648b2c115f7562c9 https://github.com/qemu/qemu/commit/6f296421f8963bfd2cae13b4648b2c115f7562c9 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c M include/hw/sd/sd.h Log Message: ----------- sdcard: use the registerfields API to access the OCR register Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215220540.6556-12-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 9273ea6123f129a66c9d119c124af40419d57423 https://github.com/qemu/qemu/commit/9273ea6123f129a66c9d119c124af40419d57423 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c Log Message: ----------- sdcard: Don't always set the high capacity bit Don't set the high capacity bit by default as it will be set if required in the sd_set_csd() function. [based on a patch from Alistair Francis <alistair.fran...@xilinx.com> and Peter Ogden <og...@xilinx.com> from qemu/xilinx tag xilinx-v2015.4] Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215221325.7611-2-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: e8feec808e96163dd82754521383a203b8fe7bce https://github.com/qemu/qemu/commit/e8feec808e96163dd82754521383a203b8fe7bce Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c Log Message: ----------- sdcard: update the CSD CRC register regardless the CSD structure version Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215221325.7611-3-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: d7ecb8675298fefdaea35f6d7a558e91ec0b4138 https://github.com/qemu/qemu/commit/d7ecb8675298fefdaea35f6d7a558e91ec0b4138 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c Log Message: ----------- sdcard: fix the 'maximum data transfer rate' to 25MHz To comply with Spec v1.10 (and 2.00, 3.01): . TRAN_SPEED for current SD Memory Cards that field must be always 0_0110_010b (032h) which is equal to 25MHz - the mandatory maximum operating frequency of SD Memory Card. Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215221325.7611-4-f4...@amsat.org [PMM: fixed comment indent] Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 9b7ec55c5c66ca466a8e34f7780f13a8e77b8a99 https://github.com/qemu/qemu/commit/9b7ec55c5c66ca466a8e34f7780f13a8e77b8a99 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c Log Message: ----------- sdcard: clean the SCR register and add few comments Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215221325.7611-5-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 0aad4fdfd4c030ab0d0db312e849c7e5fb696b26 https://github.com/qemu/qemu/commit/0aad4fdfd4c030ab0d0db312e849c7e5fb696b26 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c Log Message: ----------- sdcard: remove commands from unsupported old MMC specification This device does not model MMCA Specification previous to v4.2 Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215221325.7611-6-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 67bfddd62b97a6cb9c1da14a148c161b1ff18661 https://github.com/qemu/qemu/commit/67bfddd62b97a6cb9c1da14a148c161b1ff18661 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c Log Message: ----------- sdcard: simplify using the ldst API the code is easier to review/refactor. Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215221325.7611-7-f4...@amsat.org Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 3d42fb52b281cfba2c7e29a6973c0b1549c12ca5 https://github.com/qemu/qemu/commit/3d42fb52b281cfba2c7e29a6973c0b1549c12ca5 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c Log Message: ----------- sdcard: use the correct masked OCR in the R3 reply use the registerfields API to access the OCR register Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215221325.7611-8-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: da26e3f360c64478e15aa27c79a0acf833eaa436 https://github.com/qemu/qemu/commit/da26e3f360c64478e15aa27c79a0acf833eaa436 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c Log Message: ----------- sdcard: use the registerfields API for the CARD_STATUS register masks Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Acked-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215221325.7611-9-f4...@amsat.org Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 49fb7381b2c86e78ca117451f5602f2299fb726a https://github.com/qemu/qemu/commit/49fb7381b2c86e78ca117451f5602f2299fb726a Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c Log Message: ----------- sdcard: handle CMD54 (SDIO) Linux uses it to poll the bus before polling for a card. Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215221325.7611-10-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 688491c71adedcb349248ca467f2ddfc7c4cf566 https://github.com/qemu/qemu/commit/688491c71adedcb349248ca467f2ddfc7c4cf566 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c Log Message: ----------- sdcard: handle the Security Specification commands returning sd_illegal, since they are not implemented. Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215221325.7611-11-f4...@amsat.org [PMM: tweak multiline comment format] Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: a21208646d28f642d32a5802463b1ad731bb9e92 https://github.com/qemu/qemu/commit/a21208646d28f642d32a5802463b1ad731bb9e92 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c Log Message: ----------- sdcard: use a more descriptive label 'unimplemented_spi_cmd' Suggested-by: Alistair Francis <alistair.fran...@xilinx.com> Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215221325.7611-12-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 946897ce1897d50a9a432828a44e80be746066f7 https://github.com/qemu/qemu/commit/946897ce1897d50a9a432828a44e80be746066f7 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c Log Message: ----------- sdcard: handles more commands in SPI mode Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215221325.7611-13-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: d6911486550b794f879584821a0ec4d40e61a47b https://github.com/qemu/qemu/commit/d6911486550b794f879584821a0ec4d40e61a47b Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c Log Message: ----------- sdcard: check the card is in correct state for APP CMD (CMD55) Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215221325.7611-14-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 3116280040a7ca898b925651001962167433b084 https://github.com/qemu/qemu/commit/3116280040a7ca898b925651001962167433b084 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c Log Message: ----------- sdcard: warn if host uses an incorrect address for APP CMD (CMD55) Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215221325.7611-15-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: ad0ade55479490fa57ffa31d50fb355e0084c61b https://github.com/qemu/qemu/commit/ad0ade55479490fa57ffa31d50fb355e0084c61b Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c Log Message: ----------- sdcard: simplify SEND_IF_COND (CMD8) replace switch(single case) -> if() Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215221325.7611-16-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 4e5cc6756586e967993187657dfcdde4e00288d9 https://github.com/qemu/qemu/commit/4e5cc6756586e967993187657dfcdde4e00288d9 Author: Philippe Mathieu-Daudé <f4...@amsat.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/sd/sd.c Log Message: ----------- sdcard: simplify SD_SEND_OP_COND (ACMD41) replace switch(single case) -> if() Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> Reviewed-by: Alistair Francis <alistair.fran...@xilinx.com> Message-id: 20180215221325.7611-17-f4...@amsat.org Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Commit: 205e3e78d23422fb58163772aba76940d998975c https://github.com/qemu/qemu/commit/205e3e78d23422fb58163772aba76940d998975c Author: Peter Maydell <peter.mayd...@linaro.org> Date: 2018-02-22 (Thu, 22 Feb 2018) Changed paths: M hw/arm/raspi.c M hw/char/stm32f2xx_usart.c M hw/misc/aspeed_scu.c M hw/misc/aspeed_sdmc.c M hw/sd/milkymist-memcard.c M hw/sd/sd.c A hw/sd/sdmmc-internal.h M hw/sd/ssi-sd.c M hw/sd/trace-events M include/hw/char/stm32f2xx_usart.h M include/hw/sd/sd.h M target/arm/helper.c Log Message: ----------- Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180222' into staging * New "raspi3" machine emulating RaspberryPi 3 * Fix bad register definitions for VMIDR and VMPIDR (which caused assertions for 64-bit guest CPUs with EL2 on big-endian hosts) * hw/char/stm32f2xx_usart: fix TXE/TC bit handling * Fix ast2500 protection register emulation * Lots of SD card emulation cleanups and bugfixes # gpg: Signature made Thu 22 Feb 2018 15:18:53 GMT # gpg: using RSA key 3C2525ED14360CDE # gpg: Good signature from "Peter Maydell <peter.mayd...@linaro.org>" # gpg: aka "Peter Maydell <pmayd...@gmail.com>" # gpg: aka "Peter Maydell <pmayd...@chiark.greenend.org.uk>" # Primary key fingerprint: E1A5 C593 CD41 9DE2 8E83 15CF 3C25 25ED 1436 0CDE * remotes/pmaydell/tags/pull-target-arm-20180222: (32 commits) sdcard: simplify SD_SEND_OP_COND (ACMD41) sdcard: simplify SEND_IF_COND (CMD8) sdcard: warn if host uses an incorrect address for APP CMD (CMD55) sdcard: check the card is in correct state for APP CMD (CMD55) sdcard: handles more commands in SPI mode sdcard: use a more descriptive label 'unimplemented_spi_cmd' sdcard: handle the Security Specification commands sdcard: handle CMD54 (SDIO) sdcard: use the registerfields API for the CARD_STATUS register masks sdcard: use the correct masked OCR in the R3 reply sdcard: simplify using the ldst API sdcard: remove commands from unsupported old MMC specification sdcard: clean the SCR register and add few comments sdcard: fix the 'maximum data transfer rate' to 25MHz sdcard: update the CSD CRC register regardless the CSD structure version sdcard: Don't always set the high capacity bit sdcard: use the registerfields API to access the OCR register sdcard: use G_BYTE from cutils sdcard: define SDMMC_CMD_MAX instead of using the magic '64' sdcard: add more trace events ... Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> Compare: https://github.com/qemu/qemu/compare/0ce9cb913e32...205e3e78d234