qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 910e20: arm_gicv3_kvm: kvm_dist_get/put: skip


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 910e20: arm_gicv3_kvm: kvm_dist_get/put: skip the register...
Date: Fri, 08 Jun 2018 09:17:49 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 910e204841954b95c051b2ee49ab0f5c735ff93c
      
https://github.com/qemu/qemu/commit/910e204841954b95c051b2ee49ab0f5c735ff93c
  Author: Shannon Zhao <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/intc/arm_gicv3_common.c
    M hw/intc/arm_gicv3_kvm.c
    M include/hw/intc/arm_gicv3_common.h

  Log Message:
  -----------
  arm_gicv3_kvm: kvm_dist_get/put: skip the registers banked by GICR

While we skip the GIC_INTERNAL irqs, we don't change the register offset
accordingly. This will overlap the GICR registers value and leave the
last GIC_INTERNAL irq's registers out of update.

Fix this by skipping the registers banked by GICR.

Also for migration compatibility if the migration source (old version
qemu) doesn't send gicd_no_migration_shift_bug = 1 to destination, then
we shift the data of PPI to get the right data for SPI.

Fixes: 367b9f527becdd20ddf116e17a3c0c2bbc486920
Cc: address@hidden
Reviewed-by: Eric Auger <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Shannon Zhao <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 72ee64b6a7d4500d992ad2b3780c31137a747c1f
      
https://github.com/qemu/qemu/commit/72ee64b6a7d4500d992ad2b3780c31137a747c1f
  Author: Cédric Le Goater <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/arm/aspeed.c

  Log Message:
  -----------
  aspeed: remove ignore_memory_transaction_failures on all boards

Signed-off-by: Cédric Le Goater <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 62c2c2ebde27c8cc07d7f5dce329a5fe04bb98bb
      
https://github.com/qemu/qemu/commit/62c2c2ebde27c8cc07d7f5dce329a5fe04bb98bb
  Author: Cédric Le Goater <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/arm/aspeed.c

  Log Message:
  -----------
  aspeed: add support for the witherspoon-bmc board

The Witherspoon boards are OpenPOWER system hosting POWER9 Processors.
Add support for their BMC including a couple of I2C devices as found
on real HW.

Signed-off-by: Cédric Le Goater <address@hidden>
Reviewed-by: Andrew Jeffery <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 6c4567c730488a667eb7d33f19c9dfcae21187bc
      
https://github.com/qemu/qemu/commit/6c4567c730488a667eb7d33f19c9dfcae21187bc
  Author: Cédric Le Goater <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/arm/aspeed.c

  Log Message:
  -----------
  aspeed: add an I2C RTC device to all machines

The AST2500 EVB does not have an RTC but we can pretend that one is
plugged on the I2C bus header.

The romulus and witherspoon boards expects an Epson RX8900 I2C RTC but
a ds1338 is good enough for the basic features we need.

Signed-off-by: Cédric Le Goater <address@hidden>
Reviewed-by: Andrew Jeffery <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: e22242141331bc829ecca194f5c06f674da618ef
      
https://github.com/qemu/qemu/commit/e22242141331bc829ecca194f5c06f674da618ef
  Author: Cédric Le Goater <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/i2c/smbus_eeprom.c
    M include/hw/i2c/smbus.h

  Log Message:
  -----------
  smbus: add a smbus_eeprom_init_one() routine

This is an helper routine to add a single EEPROM on an I2C bus. It can
be directly used by smbus_eeprom_init() which adds a certain number of
EEPROMs on mips and x86 machines.

Signed-off-by: Cédric Le Goater <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 3d165f12db211c0c17e937a87551d869b25a82db
      
https://github.com/qemu/qemu/commit/3d165f12db211c0c17e937a87551d869b25a82db
  Author: Cédric Le Goater <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/arm/aspeed.c

  Log Message:
  -----------
  aspeed: Add EEPROM I2C devices

The Aspeed boards have at least one EEPROM to hold the Vital Product
Data (VPD).

Signed-off-by: Cédric Le Goater <address@hidden>
Reviewed-by: Andrew Jeffery <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 5141d4158cf0dbdc13e42f175d1718d40b789f75
      
https://github.com/qemu/qemu/commit/5141d4158cf0dbdc13e42f175d1718d40b789f75
  Author: Cédric Le Goater <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M default-configs/arm-softmmu.mak
    M hw/misc/Makefile.objs
    A hw/misc/pca9552.c
    A include/hw/misc/pca9552.h
    A include/hw/misc/pca9552_regs.h
    M tests/Makefile.include
    M tests/libqos/i2c.h
    A tests/pca9552-test.c
    M tests/tmp105-test.c

  Log Message:
  -----------
  misc: add pca9552 LED blinker model

Specs are available here :

    https://www.nxp.com/docs/en/application-note/AN264.pdf

This is a simple model supporting the basic registers for led and GPIO
mode. The device also supports two blinking rates but not the model
yet.

Signed-off-by: Cédric Le Goater <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 8c9a61d7e0eae793df282894813074f3f43be97d
      
https://github.com/qemu/qemu/commit/8c9a61d7e0eae793df282894813074f3f43be97d
  Author: Cédric Le Goater <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/arm/aspeed.c

  Log Message:
  -----------
  aspeed: add the pc9552 chips to the witherspoon machine

The pca9552 LED blinkers on the Witherspoon machine are used for leds
but also as GPIOs to control fans and GPUs.

Signed-off-by: Cédric Le Goater <address@hidden>
Reviewed-by: Andrew Jeffery <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: cd679a76a0ec8e634922454ab26b7ef8d2d114b2
      
https://github.com/qemu/qemu/commit/cd679a76a0ec8e634922454ab26b7ef8d2d114b2
  Author: Cédric Le Goater <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/net/ftgmac100.c
    M include/hw/net/ftgmac100.h

  Log Message:
  -----------
  ftgmac100: compute maximum frame size depending on the protocol

The maximum frame size includes the CRC and depends if a VLAN tag is
inserted or not. Adjust the frame size limit in the transmit handler
using on the FTGMAC100State buffer size and in the receive handler use
the packet protocol.

Signed-off-by: Cédric Le Goater <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 8576b12df7abf29ddff0e69e1f9b6534e040cbcd
      
https://github.com/qemu/qemu/commit/8576b12df7abf29ddff0e69e1f9b6534e040cbcd
  Author: Cédric Le Goater <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/net/ftgmac100.c

  Log Message:
  -----------
  ftgmac100: add IEEE 802.1Q VLAN support

The ftgmac100 NIC supports VLAN tag insertion and the MAC engine also
has a control to remove VLAN tags from received packets.

The VLAN control bits and VLAN tag information are contained in the
second word of the transmit and receive descriptors. The Insert VLAN
bit and the VLAN Tag available bit are only valid in the first segment
of the packet.

Signed-off-by: Cédric Le Goater <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 44effc1f99d0375fe5939f99bd65a5b6037f5f1c
      
https://github.com/qemu/qemu/commit/44effc1f99d0375fe5939f99bd65a5b6037f5f1c
  Author: Cédric Le Goater <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/net/ftgmac100.c

  Log Message:
  -----------
  ftgmac100: fix multicast hash routine

Based on the multicast hash calculation of the FTGMAC100 Linux driver.

Signed-off-by: Cédric Le Goater <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 99a00e55c7dbf2fe622e77d6f7f563b8a5fe5d94
      
https://github.com/qemu/qemu/commit/99a00e55c7dbf2fe622e77d6f7f563b8a5fe5d94
  Author: Cédric Le Goater <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/net/ftgmac100.c

  Log Message:
  -----------
  ftgmac100: remove check on runt messages

This is a ethernet wire limitation not needed in emulation. It breaks
U-Boot n/w stack also.

Signed-off-by: Cédric Le Goater <address@hidden>
Message-id: address@hidden
Reviewed-by: Peter Maydell <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>


  Commit: da969774af548f7b75c0ec1672787fe8cebd1257
      
https://github.com/qemu/qemu/commit/da969774af548f7b75c0ec1672787fe8cebd1257
  Author: Thomas Huth <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/arm/xlnx-zcu102.c
    M qemu-doc.texi

  Log Message:
  -----------
  hw/arm: Remove the deprecated xlnx-ep108 machine

It has been marked as deprecated since QEMU v2.11, so it is time to
remove this now. The xlnx-zcu102 machine is very much the same and
can be used as a replacement instead.

Signed-off-by: Thomas Huth <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 08bb9b347b9597252338a599421818f4a4e333cb
      
https://github.com/qemu/qemu/commit/08bb9b347b9597252338a599421818f4a4e333cb
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M Makefile.objs
    M hw/i2c/core.c
    A hw/i2c/trace-events

  Log Message:
  -----------
  hw/i2c: Add trace events

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: c78d6a6466d6b76734b5ad59bf3f69d7369eff05
      
https://github.com/qemu/qemu/commit/c78d6a6466d6b76734b5ad59bf3f69d7369eff05
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/sd/milkymist-memcard.c

  Log Message:
  -----------
  hw/sd/milkymist-memcard: Add trailing '\n' to qemu_log() call

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: 428d42ce23758b1bf7c7208873c1b1d7fccce2ef
      
https://github.com/qemu/qemu/commit/428d42ce23758b1bf7c7208873c1b1d7fccce2ef
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/char/digic-uart.c
    M hw/timer/digic-timer.c

  Log Message:
  -----------
  hw/digic: Add trailing '\n' to qemu_log() calls

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: f2bbb6862820dfd9fc2db4ad7ee13704a1bc2c99
      
https://github.com/qemu/qemu/commit/f2bbb6862820dfd9fc2db4ad7ee13704a1bc2c99
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/display/xlnx_dp.c

  Log Message:
  -----------
  xilinx-dp: Add trailing '\n' to qemu_log() 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: c7e71a182d8212919060a5775a9208ed195c67ca
      
https://github.com/qemu/qemu/commit/c7e71a182d8212919060a5775a9208ed195c67ca
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/ppc/pnv_core.c

  Log Message:
  -----------
  ppc/pnv: Add trailing '\n' to qemu_log() calls

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Acked-by: David Gibson <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 697f4958ae9619c960117e04dfb5739914b88bfe
      
https://github.com/qemu/qemu/commit/697f4958ae9619c960117e04dfb5739914b88bfe
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/core/register.c

  Log Message:
  -----------
  hw/core/register: Add trailing '\n' to qemu_log() 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: c4c98835c6ef2778014ff583d42a38f395a7cc08
      
https://github.com/qemu/qemu/commit/c4c98835c6ef2778014ff583d42a38f395a7cc08
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/mips/boston.c

  Log Message:
  -----------
  hw/mips/boston: Add trailing '\n' to qemu_log() calls

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: 9492e4b2de7bb25bd2c9a1697e90307cc8a29b90
      
https://github.com/qemu/qemu/commit/9492e4b2de7bb25bd2c9a1697e90307cc8a29b90
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/arm/stellaris.c

  Log Message:
  -----------
  stellaris: Add trailing '\n' to qemu_log() calls

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: 0221c8fdf2321137b34bd4dbb2557d0725739822
      
https://github.com/qemu/qemu/commit/0221c8fdf2321137b34bd4dbb2557d0725739822
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M target/arm/helper.c

  Log Message:
  -----------
  target/arm: Add trailing '\n' to qemu_log() calls

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: 21528149eba03fc17f428a8e1660d8666683ca85
      
https://github.com/qemu/qemu/commit/21528149eba03fc17f428a8e1660d8666683ca85
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M target/m68k/translate.c

  Log Message:
  -----------
  target/m68k: Add trailing '\n' to qemu_log() call

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 0cd3f644feda1fc6c7c370c97a91df4552a69548
      
https://github.com/qemu/qemu/commit/0cd3f644feda1fc6c7c370c97a91df4552a69548
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M target/riscv/op_helper.c

  Log Message:
  -----------
  RISC-V: Add trailing '\n' to qemu_log() calls

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 8e96f594416a22f4aa6d38c0832f22ef6fc584c1
      
https://github.com/qemu/qemu/commit/8e96f594416a22f4aa6d38c0832f22ef6fc584c1
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M target/xtensa/translate.c

  Log Message:
  -----------
  target/xtensa: Add trailing '\n' to qemu_log() calls

Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Acked-by: Max Filippov <address@hidden>
Message-id: address@hidden
Signed-off-by: Peter Maydell <address@hidden>


  Commit: 9e1245795f99897d8ec4f49281938032de272536
      
https://github.com/qemu/qemu/commit/9e1245795f99897d8ec4f49281938032de272536
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/sd/sd.c

  Log Message:
  -----------
  sdcard: Update the Configuration Register (SCR) to Spec Version 1.10

The initial implementation is based on the Specs v1.10 (see a1bb27b1e98).

However the SCR is anouncing the card being v1.01.

The new chapters added in version 1.10 are:

    4.3.10 Switch function command

    Switch function command (CMD6) 1 is used to switch or expand
    memory card functions. [...]
    This is a new feature, introduced in SD physical Layer
    Specification Version 1.10. Therefore, cards that are
    compatible with earlier versions of the spec do not support
    it. The host shall check the "SD_SPEC" field in the SCR
    register to recognize what version of the spec the card
    complies with before using CMD6. It is mandatory for SD
    memory card of Ver1.10 to support CMD6.

    4.3.11 High-Speed mode (25MB/sec interface speed)

    Though the Rev 1.01 SD memory card supports up to 12.5MB/sec
    interface speed, the speed of 25MB/sec is necessary to support
    increasing performance needs of the host and because of memory
    size which continues to grow.
    To achieve 25MB/sec interface speed, clock rate is increased to
    50MHz and CLK/CMD/DAT signal timing and circuit conditions are
    reconsidered and changed from Physical Layer Specification
    Version 1.01.

    4.3.12 Command system (This chapter is newly added in version 1.10)

    SD commands CMD34-37, CMD50, CMD57 are reserved for SD command
    system expansion via the switch command.
    [These commands] will be considered as illegal commands (as
    defined in revision 1.01 of the SD physical layer specification).

The SWITCH_FUNCTION is implemented since the first commit, a1bb27b1e98.

The 25MB/sec High-Speed mode was already updated in d7ecb867529.

The current implementation does not implements CMD34-37, CMD50 and
CMD57, thus these commands already return ILLEGAL.

With this patch, the SCR register now matches the description of the header:

 * SD Memory Card emulation as defined in the "SD Memory Card Physical
 * layer specification, Version 1.10."

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: e2fce16edba8736eed4f18c4732ac80b7edaa0a6
      
https://github.com/qemu/qemu/commit/e2fce16edba8736eed4f18c4732ac80b7edaa0a6
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/sd/sd.c

  Log Message:
  -----------
  sdcard: Allow commands valid in SPI mode

>From the "Physical Layer Simplified Specification Version 1.10"
  Chapter 7.3 "SPI Mode Transaction Packets"
    Table 57: "Commands and arguments"

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: 2f0939c2342f0dbe5d3abb264cf5e6cd6636375a
      
https://github.com/qemu/qemu/commit/2f0939c2342f0dbe5d3abb264cf5e6cd6636375a
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/sd/sd.c
    M include/hw/sd/sd.h

  Log Message:
  -----------
  sdcard: Add a 'spec_version' property, default to Spec v2.00

As of this commit, the Spec v1 is not working, and all controllers
expect the cards to be conformant to Spec v2.

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: d1b322182bfebd8fe9442c52f50e7ac3acf07edd
      
https://github.com/qemu/qemu/commit/d1b322182bfebd8fe9442c52f50e7ac3acf07edd
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/sd/sd.c

  Log Message:
  -----------
  sdcard: Disable SEND_IF_COND (CMD8) for Spec v1

CMD8 is "Reserved" in Spec v1.10.

Spec v2.00 introduces the SEND_IF_COND command:

  6.4.1 Power Up

    CMD8 is newly added in the Physical Layer Specification Version
    2.00 to support multiple voltage ranges and used to check whether
    the card supports supplied voltage. The version 2.00 or later host
    shall issue CMD8 and verify voltage before card initialization.
    The host that does not support CMD8 shall supply high voltage range.

Message-Id: address@hidden
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: 2c51137538d5069f05244b414ae984cee1d4c53e
      
https://github.com/qemu/qemu/commit/2c51137538d5069f05244b414ae984cee1d4c53e
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/sd/sd.c
    M include/hw/sd/sd.h

  Log Message:
  -----------
  sdcard: Reflect when the Spec v3 is supported in the Config Register (SCR)

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: 113f31c06c6bf16451892b2459d83c9b9c5e9844
      
https://github.com/qemu/qemu/commit/113f31c06c6bf16451892b2459d83c9b9c5e9844
  Author: Philippe Mathieu-Daudé <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M hw/sd/sd.c

  Log Message:
  -----------
  sdcard: Disable CMD19/CMD23 for Spec v2

These commands got introduced by Spec v3
(see 0c3fb03f7ec and 4481bbc79d2).

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: 0d2fa03dae4fbe185a082f361342b1e30aed4582
      
https://github.com/qemu/qemu/commit/0d2fa03dae4fbe185a082f361342b1e30aed4582
  Author: Peter Maydell <address@hidden>
  Date:   2018-06-08 (Fri, 08 Jun 2018)

  Changed paths:
    M Makefile.objs
    M default-configs/arm-softmmu.mak
    M hw/arm/aspeed.c
    M hw/arm/stellaris.c
    M hw/arm/xlnx-zcu102.c
    M hw/char/digic-uart.c
    M hw/core/register.c
    M hw/display/xlnx_dp.c
    M hw/i2c/core.c
    M hw/i2c/smbus_eeprom.c
    A hw/i2c/trace-events
    M hw/intc/arm_gicv3_common.c
    M hw/intc/arm_gicv3_kvm.c
    M hw/mips/boston.c
    M hw/misc/Makefile.objs
    A hw/misc/pca9552.c
    M hw/net/ftgmac100.c
    M hw/ppc/pnv_core.c
    M hw/sd/milkymist-memcard.c
    M hw/sd/sd.c
    M hw/timer/digic-timer.c
    M include/hw/i2c/smbus.h
    M include/hw/intc/arm_gicv3_common.h
    A include/hw/misc/pca9552.h
    A include/hw/misc/pca9552_regs.h
    M include/hw/net/ftgmac100.h
    M include/hw/sd/sd.h
    M qemu-doc.texi
    M target/arm/helper.c
    M target/m68k/translate.c
    M target/riscv/op_helper.c
    M target/xtensa/translate.c
    M tests/Makefile.include
    M tests/libqos/i2c.h
    A tests/pca9552-test.c
    M tests/tmp105-test.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/pmaydell/tags/pull-target-arm-20180608' 
into staging

target-arm queue:
 * arm_gicv3_kvm: fix migration of registers corresponding to
   IRQs 992 to 1020 in the KVM GIC
 * aspeed: remove ignore_memory_transaction_failures on all boards
 * aspeed: add support for the witherspoon-bmc board
 * aspeed: add an I2C RTC device and EEPROM I2C devices
 * aspeed: add the pc9552 chips to the witherspoon machine
 * ftgmac100: fix various bugs
 * hw/arm: Remove the deprecated xlnx-ep108 machine
 * hw/i2c: Add trace events
 * add missing '\n' on various qemu_log() logging strings
 * sdcard: clean up spec version support so we report the
   right spec version to the guest and only implement the
   commands that are supposed to be present in that version

# gpg: Signature made Fri 08 Jun 2018 13:36:37 BST
# 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-20180608: (31 commits)
  sdcard: Disable CMD19/CMD23 for Spec v2
  sdcard: Reflect when the Spec v3 is supported in the Config Register (SCR)
  sdcard: Disable SEND_IF_COND (CMD8) for Spec v1
  sdcard: Add a 'spec_version' property, default to Spec v2.00
  sdcard: Allow commands valid in SPI mode
  sdcard: Update the Configuration Register (SCR) to Spec Version 1.10
  target/xtensa: Add trailing '\n' to qemu_log() calls
  RISC-V: Add trailing '\n' to qemu_log() calls
  target/m68k: Add trailing '\n' to qemu_log() call
  target/arm: Add trailing '\n' to qemu_log() calls
  stellaris: Add trailing '\n' to qemu_log() calls
  hw/mips/boston: Add trailing '\n' to qemu_log() calls
  hw/core/register: Add trailing '\n' to qemu_log() call
  ppc/pnv: Add trailing '\n' to qemu_log() calls
  xilinx-dp: Add trailing '\n' to qemu_log() call
  hw/digic: Add trailing '\n' to qemu_log() calls
  hw/sd/milkymist-memcard: Add trailing '\n' to qemu_log() call
  hw/i2c: Add trace events
  hw/arm: Remove the deprecated xlnx-ep108 machine
  ftgmac100: remove check on runt messages
  ...

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/ed6b018ef766...0d2fa03dae4f
      **NOTE:** This service been marked for deprecation: 
https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]