qemu/hw/arm
Cornelia Huck 918d0de072 arm/kvm: add support for MTE
Extend the 'mte' property for the virt machine to cover KVM as
well. For KVM, we don't allocate tag memory, but instead enable
the capability.

If MTE has been enabled, we need to disable migration, as we do not
yet have a way to migrate the tags as well. Therefore, MTE will stay
off with KVM unless requested explicitly.

[gankulkarni: This patch is rework of commit b320e21c48
which broke TCG since it made the TCG -cpu max
report the presence of MTE to the guest even if the board hadn't
enabled MTE by wiring up the tag RAM. This meant that if the guest
then tried to use MTE QEMU would segfault accessing the
non-existent tag RAM.]

Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Reviewed-by: Gustavo Romero <gustavo.romero@linaro.org>
Signed-off-by: Ganapatrao Kulkarni <gankulkarni@os.amperecomputing.com>
Message-id: 20241008114302.4855-1-gankulkarni@os.amperecomputing.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2024-10-29 12:54:40 +00:00
..
allwinner-a10.c replace error_setg(&error_fatal, ...) with error_report() 2024-10-21 22:40:47 +03:00
allwinner-h3.c replace error_setg(&error_fatal, ...) with error_report() 2024-10-21 22:40:47 +03:00
allwinner-r40.c replace error_setg(&error_fatal, ...) with error_report() 2024-10-21 22:40:47 +03:00
armsse.c hw: Use device_class_set_legacy_reset() instead of opencoding 2024-09-13 15:31:44 +01:00
armv7m.c
aspeed_ast10x0.c
aspeed_ast27x0.c aspeed/soc: Support GPIO for AST2700 2024-10-24 07:57:47 +02:00
aspeed_ast2400.c hw/char: Extract serial-mm 2024-10-03 19:33:23 +02:00
aspeed_ast2600.c aspeed: Introduce a AspeedSoCClass 'boot_from_emmc' handler 2024-07-21 07:46:38 +02:00
aspeed_eeprom.c
aspeed_eeprom.h
aspeed_soc_common.c hw/char: Extract serial-mm 2024-10-03 19:33:23 +02:00
aspeed.c hw/arm/aspeed: Correct fmc_model w25q80bl for ast1030-a1 EVB 2024-10-24 07:57:47 +02:00
b-l475e-iot01a.c
bananapi_m2u.c
bcm2835_peripherals.c
bcm2836.c
bcm2838_peripherals.c
bcm2838.c
boot.c hw/arm/boot: Explain why load_elf_hdr() error is ignored 2024-09-05 13:12:37 +01:00
collie.c
cubieboard.c
digic_boards.c
digic.c
exynos4_boards.c
exynos4210.c
fby35.c
fsl-imx6.c
fsl-imx6ul.c
fsl-imx7.c
fsl-imx25.c
fsl-imx31.c
highbank.c hw/arm: replace assert(0) with g_assert_not_reached() 2024-09-24 13:53:35 +02:00
imx25_pdk.c
integratorcp.c
Kconfig hw/block: Remove ecc 2024-10-15 15:16:17 +01:00
kzm.c hw/char: Extract serial-mm 2024-10-03 19:33:23 +02:00
mcimx6ul-evk.c
mcimx7d-sabre.c
meson.build hw/arm: Remove omap2.c 2024-10-01 14:44:10 +01:00
microbit.c
mps2-tz.c reset: Use ResetType for qemu_devices_reset() and MachineClass::reset() 2024-09-24 11:33:34 +02:00
mps2.c
mps3r.c
msf2-soc.c hw/char: Extract serial-mm 2024-10-03 19:33:23 +02:00
msf2-som.c
musca.c
musicpal.c hw/char: Extract serial-mm 2024-10-03 19:33:23 +02:00
netduino2.c
netduinoplus2.c
npcm7xx_boards.c
npcm7xx.c hw/char: Extract serial-mm 2024-10-03 19:33:23 +02:00
nrf51_soc.c
olimex-stm32-h405.c
omap1.c hw/arm/omap1: Remove unused omap_uwire_attach() method 2024-10-15 11:29:45 +01:00
omap_sx1.c
orangepi.c
raspi4b.c
raspi.c
realview.c
sabrelite.c
sbsa-ref.c hw/arm/sbsa-ref: Don't leak string in sbsa_fdt_add_gic_node() 2024-09-05 13:12:37 +01:00
smmu-common.c docs: Fix some typos (found by typos) and grammar issues 2024-08-16 14:12:59 +01:00
smmu-internal.h
smmuv3-internal.h hw/arm/smmuv3: Assert input to oas2bits() is valid 2024-07-29 13:34:18 +01:00
smmuv3.c hw/arm/smmuv3: Update comment documenting "stage" property 2024-09-05 13:12:36 +01:00
stellaris.c
stm32f100_soc.c
stm32f205_soc.c
stm32f405_soc.c hw/arm/stm32f405: Add RCC device to stm32f405 SoC 2024-10-15 11:29:45 +01:00
stm32l4x5_soc.c hw/misc: Create STM32L4x5 SYSCFG clock 2024-10-15 11:29:45 +01:00
stm32vldiscovery.c
strongarm.c hw: Use device_class_set_legacy_reset() instead of opencoding 2024-09-13 15:31:44 +01:00
strongarm.h
trace-events hw/arm: xenpvh: Break out a common PVH machine 2024-09-04 16:50:42 +02:00
trace.h
versatilepb.c
vexpress.c
virt-acpi-build.c arm/virt: place power button pin number on a define 2024-08-12 11:40:16 +01:00
virt.c arm/kvm: add support for MTE 2024-10-29 12:54:40 +00:00
xen-pvh.c hw/arm: xenpvh: Enable PCI for ARM PVH 2024-10-03 19:37:35 +02:00
xen-stubs.c hw/arm: xenpvh: Move stubbed functions to xen-stubs.c 2024-09-04 16:50:42 +02:00
xilinx_zynq.c hw/arm/xilinx_zynq: Add various missing unimplemented devices 2024-10-15 15:16:17 +01:00
xlnx-versal-virt.c replace error_setg(&error_fatal, ...) with error_report() 2024-10-21 22:40:47 +03:00
xlnx-versal.c hw/arm/xlnx: Connect secondary CGEM IRQs 2024-10-01 13:55:38 +01:00
xlnx-zcu102.c
xlnx-zynqmp.c hw/arm/xlnx: Connect secondary CGEM IRQs 2024-10-01 13:55:38 +01:00