[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 364765: target/arm: Fix register definitions
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 364765: target/arm: Fix register definitions for VMIDR and... |
Date: |
Thu, 22 Feb 2018 08:40:56 -0800 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 36476562d57a3b64bbe86db26e63677dd21907c5
https://github.com/qemu/qemu/commit/36476562d57a3b64bbe86db26e63677dd21907c5
Author: Peter Maydell <address@hidden>
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 <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
---
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 <address@hidden>
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 <address@hidden>
[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 <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Commit: f6bfe45af2a9bd1b929955ca3bf54726d1e68d88
https://github.com/qemu/qemu/commit/f6bfe45af2a9bd1b929955ca3bf54726d1e68d88
Author: Richard Braun <address@hidden>
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 <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
[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 <address@hidden>
Commit: 5c1d3a2b6e5c084696b57edc33aa4bb554e7c37b
https://github.com/qemu/qemu/commit/5c1d3a2b6e5c084696b57edc33aa4bb554e7c37b
Author: Hugo Landau <address@hidden>
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 <address@hidden>
Reviewed-by: Cédric Le Goater <address@hidden>
Acked-by: Andrew Jeffery <address@hidden>
Message-id: address@hidden
[PMM: fixed incorrect code indentation]
Signed-off-by: Peter Maydell <address@hidden>
Commit: d9f98aab67bd5e0de4d8a53139806337d6caf5b5
https://github.com/qemu/qemu/commit/d9f98aab67bd5e0de4d8a53139806337d6caf5b5
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Acked-by: Michael Walle <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: 85fd6e5db15173fcbf214e5667860e5d634156d3
https://github.com/qemu/qemu/commit/85fd6e5db15173fcbf214e5667860e5d634156d3
Author: Philippe Mathieu-Daudé <address@hidden>
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 <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Acked-by: Michael Walle <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: 3d0369ba499866cc6a839f71212d97876500762d
https://github.com/qemu/qemu/commit/3d0369ba499866cc6a839f71212d97876500762d
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Acked-by: Michael Walle <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: c3abd91309b476ca539b3ec73b30887d4759aba8
https://github.com/qemu/qemu/commit/c3abd91309b476ca539b3ec73b30887d4759aba8
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: d49b1ce0a39ab5cf41c7bea33bbee973fc0e05f5
https://github.com/qemu/qemu/commit/d49b1ce0a39ab5cf41c7bea33bbee973fc0e05f5
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: 1b640aa9292bc00beb441e97d862ba322a7ba18d
https://github.com/qemu/qemu/commit/1b640aa9292bc00beb441e97d862ba322a7ba18d
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: 55921932317ed8c1e073e876471c921a3b2a984f
https://github.com/qemu/qemu/commit/55921932317ed8c1e073e876471c921a3b2a984f
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Message-id: address@hidden
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Commit: 5cd5e2e7e393a4104c6fd4bf6677ba00e70218e3
https://github.com/qemu/qemu/commit/5cd5e2e7e393a4104c6fd4bf6677ba00e70218e3
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: 814b2adc1635336e1b8d1c5ec36dce5504ff0113
https://github.com/qemu/qemu/commit/814b2adc1635336e1b8d1c5ec36dce5504ff0113
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Acked-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Commit: f250015be6e208dbb9c45873ad7abb96ac893927
https://github.com/qemu/qemu/commit/f250015be6e208dbb9c45873ad7abb96ac893927
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: 7af83490fe02e6ca4d97ef736e24d65a5fb1b1c1
https://github.com/qemu/qemu/commit/7af83490fe02e6ca4d97ef736e24d65a5fb1b1c1
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: 6f296421f8963bfd2cae13b4648b2c115f7562c9
https://github.com/qemu/qemu/commit/6f296421f8963bfd2cae13b4648b2c115f7562c9
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: 9273ea6123f129a66c9d119c124af40419d57423
https://github.com/qemu/qemu/commit/9273ea6123f129a66c9d119c124af40419d57423
Author: Philippe Mathieu-Daudé <address@hidden>
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 <address@hidden>
and Peter Ogden <address@hidden> from qemu/xilinx tag xilinx-v2015.4]
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: e8feec808e96163dd82754521383a203b8fe7bce
https://github.com/qemu/qemu/commit/e8feec808e96163dd82754521383a203b8fe7bce
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: d7ecb8675298fefdaea35f6d7a558e91ec0b4138
https://github.com/qemu/qemu/commit/d7ecb8675298fefdaea35f6d7a558e91ec0b4138
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
[PMM: fixed comment indent]
Signed-off-by: Peter Maydell <address@hidden>
Commit: 9b7ec55c5c66ca466a8e34f7780f13a8e77b8a99
https://github.com/qemu/qemu/commit/9b7ec55c5c66ca466a8e34f7780f13a8e77b8a99
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: 0aad4fdfd4c030ab0d0db312e849c7e5fb696b26
https://github.com/qemu/qemu/commit/0aad4fdfd4c030ab0d0db312e849c7e5fb696b26
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: 67bfddd62b97a6cb9c1da14a148c161b1ff18661
https://github.com/qemu/qemu/commit/67bfddd62b97a6cb9c1da14a148c161b1ff18661
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Commit: 3d42fb52b281cfba2c7e29a6973c0b1549c12ca5
https://github.com/qemu/qemu/commit/3d42fb52b281cfba2c7e29a6973c0b1549c12ca5
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: da26e3f360c64478e15aa27c79a0acf833eaa436
https://github.com/qemu/qemu/commit/da26e3f360c64478e15aa27c79a0acf833eaa436
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Acked-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
Commit: 49fb7381b2c86e78ca117451f5602f2299fb726a
https://github.com/qemu/qemu/commit/49fb7381b2c86e78ca117451f5602f2299fb726a
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: 688491c71adedcb349248ca467f2ddfc7c4cf566
https://github.com/qemu/qemu/commit/688491c71adedcb349248ca467f2ddfc7c4cf566
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
[PMM: tweak multiline comment format]
Signed-off-by: Peter Maydell <address@hidden>
Commit: a21208646d28f642d32a5802463b1ad731bb9e92
https://github.com/qemu/qemu/commit/a21208646d28f642d32a5802463b1ad731bb9e92
Author: Philippe Mathieu-Daudé <address@hidden>
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 <address@hidden>
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: 946897ce1897d50a9a432828a44e80be746066f7
https://github.com/qemu/qemu/commit/946897ce1897d50a9a432828a44e80be746066f7
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: d6911486550b794f879584821a0ec4d40e61a47b
https://github.com/qemu/qemu/commit/d6911486550b794f879584821a0ec4d40e61a47b
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: 3116280040a7ca898b925651001962167433b084
https://github.com/qemu/qemu/commit/3116280040a7ca898b925651001962167433b084
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: ad0ade55479490fa57ffa31d50fb355e0084c61b
https://github.com/qemu/qemu/commit/ad0ade55479490fa57ffa31d50fb355e0084c61b
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: 4e5cc6756586e967993187657dfcdde4e00288d9
https://github.com/qemu/qemu/commit/4e5cc6756586e967993187657dfcdde4e00288d9
Author: Philippe Mathieu-Daudé <address@hidden>
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é <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>
Commit: 205e3e78d23422fb58163772aba76940d998975c
https://github.com/qemu/qemu/commit/205e3e78d23422fb58163772aba76940d998975c
Author: Peter Maydell <address@hidden>
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 <address@hidden>"
# gpg: aka "Peter Maydell <address@hidden>"
# gpg: aka "Peter Maydell <address@hidden>"
# 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 <address@hidden>
Compare: https://github.com/qemu/qemu/compare/0ce9cb913e32...205e3e78d234
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 364765: target/arm: Fix register definitions for VMIDR and...,
GitHub <=