qemu/hw
Suraj Jitindar Singh ee4d9ecc36 target/ppc: Move setting of patb_entry on hash table init
The patb_entry is used to store the location of the process table in
guest memory. The msb is also used to indicate the mmu mode of the
guest, that is patb_entry & 1 << 63 ? radix_mode : hash_mode.

Currently we set this to zero in spapr_setup_hpt_and_vrma() since if
this function gets called then we know we're hash. However some code
paths, such as setting up the hpt on incoming migration of a hash guest,
call spapr_reallocate_hpt() directly bypassing this higher level
function. Since we assume radix if the host is capable this results in
the msb in patb_entry being left set so in spapr_post_load() we call
kvmppc_configure_v3_mmu() and tell the host we're radix which as
expected means addresses cannot be translated once we actually run the cpu.

To fix this move the zeroing of patb_entry into spapr_reallocate_hpt().

Signed-off-by: Suraj Jitindar Singh <sjitindarsingh@gmail.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2017-11-27 12:20:11 +11:00
..
9pfs 9pfs: fix v9fs_mark_fids_unreclaim() return value 2017-11-06 18:05:35 +01:00
acpi
adc
alpha alpha: use generic cpu_model parsing 2017-10-27 16:03:53 +02:00
arm hw/arm/virt: Add 2.11 machine type 2017-11-24 11:28:56 +00:00
audio
block xen: dont try setting max grants multiple times 2017-10-26 14:23:08 -07:00
bt
char spapr: Implement bug in spapr-vty device to be compatible with PowerVM 2017-11-22 15:28:37 +11:00
core
cpu
cris cris: use generic cpu_model parsing 2017-10-27 16:03:54 +02:00
display vga: bugfixes for 2.11 2017-11-13 14:33:29 +00:00
dma sun4m_iommu: remove legacy sparc_iommu_memory_rw() function 2017-10-31 17:25:37 +00:00
gpio
i2c
i386 NUMA: Enable adding NUMA node implicitly 2017-11-16 17:46:53 +02:00
ide ide: avoid referencing NULL dev in rotational rate setting 2017-10-31 18:00:03 -04:00
input ps2: fix scancodes sent for Ctrl+Pause key combination 2017-10-23 10:50:02 +02:00
intc nvic: Fix ARMv7M MPU_RBAR reads 2017-11-20 13:39:48 +00:00
ipack
ipmi
isa
lm32 lm32: lm32_boards: use generic cpu_model parsing 2017-10-27 16:03:54 +02:00
m68k m68k: mcf5208: use generic cpu_model parsing 2017-10-27 16:03:54 +02:00
mem
microblaze
mips mips: r4k: replace cpu_model with cpu_type 2017-10-27 16:04:28 +02:00
misc hw/arm/aspeed: Unlock SCU when running kernel 2017-11-20 13:47:49 +00:00
moxie moxie: use generic cpu_model parsing 2017-10-27 16:03:54 +02:00
net hw/net/vmxnet3: Fix code to work on big endian hosts, too 2017-11-20 11:08:00 +08:00
nios2
nvram
openrisc openrisc: use generic cpu_model parsing 2017-10-27 16:03:54 +02:00
pci pci: Initialize pci_dev->name before use 2017-11-16 17:46:53 +02:00
pci-bridge hw/pcie-pci-bridge: restrict to X86 and ARM 2017-11-16 17:46:53 +02:00
pci-host hw/pci-host: Fix x86 Host Bridges 64bit PCI hole 2017-11-16 17:46:53 +02:00
pcmcia
ppc target/ppc: Move setting of patb_entry on hash table init 2017-11-27 12:20:11 +11:00
s390x s390/kvm_virtio/linux-headers: remove traces of old virtio transport 2017-11-24 10:52:05 +01:00
scsi vhost-user-scsi: add missing virtqueue_size param 2017-11-14 14:31:33 +01:00
sd
sh4 sh4: shix: use generic cpu_model parsing 2017-10-27 16:03:54 +02:00
smbios
sparc sparc32_dma: introduce new SPARC32_DMA type container object 2017-10-31 17:25:36 +00:00
sparc64 sparc: sun4u/sun4v/niagara: use generic cpu_model parsing 2017-10-27 16:04:27 +02:00
ssi msf2: Remove dead code reported by Coverity 2017-10-31 11:50:51 +00:00
timer
tpm tpm_tis: Return 0 for every register in case of failure mode 2017-11-15 06:47:35 -05:00
tricore tricore: use generic cpu_model parsing 2017-10-27 16:04:27 +02:00
unicore32 unicore32: use generic cpu_model parsing 2017-10-27 16:04:27 +02:00
usb usb-ccid: remove needless migration state code 2017-10-23 10:05:28 +02:00
vfio
virtio fix: unrealize virtio device if we fail to hotplug it 2017-11-16 17:46:53 +02:00
watchdog
xen pci-assign: Remove 2017-11-05 14:52:10 +01:00
xenpv
xtensa xtensa: lx60/lx200/ml605/kc705: use generic cpu_model parsing 2017-10-27 16:04:27 +02:00
Makefile.objs