qemu/tests/qtest
Philippe Mathieu-Daudé 3baae28150 tests/qtest/npcm7xx_sdhci: Access the card using its published address
Currently setup_sd_card() asks the card its address,
but discard the response and use hardcoded 0x4567.

Set the SDHC_CMD_RESPONSE bit to have the controller
record the bus response, and read the response from
the RSPREG0 register. Then we can select the card with
its real address.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Message-Id: <20240702140842.54242-4-philmd@linaro.org>
2024-07-05 23:50:12 +02:00
..
fuzz tests/qtest/fuzz: fix memleak in qos_fuzz.c 2024-06-24 08:10:06 +02:00
libqos tests/qtest/npcm7xx_sdhci: Access the card using its published address 2024-07-05 23:50:12 +02:00
ac97-test.c
acpi-utils.c
acpi-utils.h
adm1266-test.c
adm1272-test.c
ahci-test.c
am53c974-test.c
arm-cpu-features.c tests/qtest: arm: fix operation in a build without any boards or devices 2024-05-10 15:45:15 +02:00
aspeed_fsi-test.c
aspeed_gpio-test.c
aspeed_hace-test.c
aspeed_smc-test.c
bcm2835-dma-test.c
bcm2835-i2c-test.c
bios-tables-test-allowed-diff.h
bios-tables-test.c tests/qtest/bios-tables-test.c: Set "arch" for x86 tests 2024-07-03 18:14:06 -04:00
boot-order-test.c
boot-sector.c
boot-sector.h
boot-serial-test.c tests/qtest: Move common define from libqos-spapr.h to new ppc-util.h 2024-06-14 14:00:46 -03:00
cdrom-test.c
cmsdk-apb-dualtimer-test.c
cmsdk-apb-timer-test.c
cmsdk-apb-watchdog-test.c
cpu-plug-test.c
cxl-test.c
dbus-display-test.c
dbus-vmstate-test.c
device-introspect-test.c tests/qtest: Use qtest_add_data_func_full() 2024-07-02 09:34:14 +02:00
device-plug-test.c
display-vga-test.c
dm163-test.c
drive_del-test.c
ds1338-test.c
e1000-test.c
e1000e-test.c
eepro100-test.c
emc141x-test.c
endianness-test.c
erst-test.c
es1370-test.c
fdc-test.c
fuzz-e1000e-test.c
fuzz-lsi53c895a-test.c
fuzz-megasas-test.c
fuzz-sb16-test.c
fuzz-sdcard-test.c
fuzz-virtio-scsi-test.c
fuzz-xlnx-dp-test.c
fw_cfg-test.c
hd-geo-test.c
hexloader-test.c
i440fx-test.c
i82801b11-test.c
ide-test.c
igb-test.c
intel-hda-test.c
ioh3420-test.c
ipmi-bt-test.c
ipmi-kcs-test.c
ipoctal232-test.c
isl_pmbus_vr-test.c
ivshmem-test.c
libqmp.c
libqmp.h
libqtest-single.h
libqtest.c tests/qtest: Free old machine variable name 2024-07-02 09:34:55 +02:00
libqtest.h monitor: Stop removing non-duplicated fds 2024-06-21 09:44:53 -03:00
lpc-ich9-test.c
lsm303dlhc-mag-test.c
m48t59-test.c
machine-none-test.c
max34451-test.c
megasas-test.c
meson.build pc-bios/meson.build: Add support for RISC-V in unpack_edk2_blobs 2024-07-03 18:14:07 -04:00
microbit-test.c
migration-helpers.c tests/migration-tests: migration_event_wait() 2024-06-21 09:48:00 -03:00
migration-helpers.h tests/migration-tests: migration_event_wait() 2024-06-21 09:48:00 -03:00
migration-test.c tests/qtest/migration-test: enable on s390x with TCG 2024-07-02 08:02:01 +02:00
modules-test.c
ne2000-test.c
netdev-socket.c
npcm7xx_adc-test.c
npcm7xx_emc-test.c
npcm7xx_gpio-test.c
npcm7xx_pwm-test.c
npcm7xx_rng-test.c
npcm7xx_sdhci-test.c tests/qtest/npcm7xx_sdhci: Access the card using its published address 2024-07-05 23:50:12 +02:00
npcm7xx_smbus-test.c
npcm7xx_timer-test.c
npcm7xx_watchdog_timer-test.c
npcm_gmac-test.c
numa-test.c qtest/x86/numa-test: do not use the obsolete 'pentium' cpu 2024-06-12 10:19:57 +02:00
nvme-test.c
pca9552-test.c
pci-test.c
pcnet-test.c
pflash-cfi02-test.c
pnv-host-i2c-test.c
pnv-xscom-test.c
pnv-xscom.h
ppc-util.h tests/qtest: Move common define from libqos-spapr.h to new ppc-util.h 2024-06-14 14:00:46 -03:00
prom-env-test.c tests/qtest: Move common define from libqos-spapr.h to new ppc-util.h 2024-06-14 14:00:46 -03:00
pvpanic-pci-test.c tests/qtest/pvpanic: add tests for pvshutdown event 2024-07-01 17:16:04 -04:00
pvpanic-test.c tests/qtest/pvpanic: add tests for pvshutdown event 2024-07-01 17:16:04 -04:00
pxe-test.c tests/qtest: Move common define from libqos-spapr.h to new ppc-util.h 2024-06-14 14:00:46 -03:00
q35-test.c
qmp-cmd-test.c
qmp-test.c
qom-test.c
qos-test.c tests/qtest: Free paths 2024-07-02 09:34:55 +02:00
qtest_aspeed.c
qtest_aspeed.h
readconfig-test.c
rtas-test.c
rtc-test.c
rtl8139-test.c
sdhci-test.c
sifive-e-aon-watchdog-test.c
spapr-phb-test.c
sse-timer-test.c
stm32l4x5_exti-test.c tests/qtest: Ensure STM32L4x5 EXTI state is correct at the end of QTests 2024-07-01 15:40:54 +01:00
stm32l4x5_gpio-test.c
stm32l4x5_rcc-test.c
stm32l4x5_syscfg-test.c tests/qtest: Ensure STM32L4x5 EXTI state is correct at the end of QTests 2024-07-01 15:40:54 +01:00
stm32l4x5_usart-test.c
tco-test.c
test-arm-mptimer.c
test-filter-mirror.c
test-filter-redirector.c
test-hmp.c
test-netfilter.c
test-x86-cpuid-compat.c tests/qtest/x86: check for availability of older cpu models before running tests 2024-06-12 10:21:44 +02:00
tmp105-test.c
tpm-crb-swtpm-test.c
tpm-crb-test.c
tpm-emu.c
tpm-emu.h
tpm-tests.c
tpm-tests.h
tpm-tis-device-swtpm-test.c
tpm-tis-device-test.c
tpm-tis-i2c-test.c
tpm-tis-swtpm-test.c
tpm-tis-test.c
tpm-tis-util.c
tpm-tis-util.h
tpm-util.c
tpm-util.h
tulip-test.c
ufs-test.c
usb-hcd-ehci-test.c
usb-hcd-ohci-test.c
usb-hcd-uhci-test.c
usb-hcd-xhci-test.c
vhost-user-blk-test.c tests/qtest/vhost-user-blk-test: use memory-backend-shm 2024-07-03 18:14:06 -04:00
vhost-user-test.c virtio: features,fixes 2024-07-03 20:54:17 -07:00
virtio-9p-test.c
virtio-blk-test.c
virtio-ccw-test.c
virtio-iommu-test.c
virtio-net-failover.c
virtio-net-test.c
virtio-rng-test.c
virtio-scsi-test.c
virtio-serial-test.c
virtio-test.c
vmgenid-test.c
vmxnet3-test.c
vnc-display-test.c
wdt_ib700-test.c
xlnx-can-test.c
xlnx-canfd-test.c
xlnx-versal-trng-test.c