qemu-irix/hw/ppc
David Gibson 1f20f2e0ee spapr: Allow some cases where we can't set VSMT mode in the kernel
At present if we require a vsmt mode that's not equal to the kernel's
default, and the kernel doesn't let us change it (e.g. because it's an old
kernel without support) then we always fail.

But in fact we can cope with the kernel having a different vsmt as long as
  a) it's >= the actual number of vthreads/vcore (so that guest threads
     that are supposed to be on the same core act like it)
  b) it's a submultiple of the requested vsmt mode (so that guest threads
     spaced by the vsmt value will act like they're on different cores)

Allowing this case gives us a bit more freedom to adjust the vsmt behaviour
without breaking existing cases.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Tested-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
2018-01-17 09:35:24 +11:00
..
Makefile.objs spapr: Capabilities infrastructure 2018-01-17 09:35:24 +11:00
e500-ccsr.h
e500.c e500: name openpic and pci host bridge 2017-12-15 09:49:23 +11:00
e500.h
e500plat.c
fdt.c
mac.h
mac_newworld.c
mac_oldworld.c
mpc8544_guts.c
mpc8544ds.c
pnv.c ppc/pnv: change powernv_ prefix to pnv_ for overall naming consistency 2018-01-10 12:53:00 +11:00
pnv_bmc.c ppc/pnv: change powernv_ prefix to pnv_ for overall naming consistency 2018-01-10 12:53:00 +11:00
pnv_core.c ppc/pnv: change powernv_ prefix to pnv_ for overall naming consistency 2018-01-10 12:53:00 +11:00
pnv_lpc.c target/ppc: more use of the PPC_*() macros 2018-01-10 12:53:00 +11:00
pnv_occ.c
pnv_psi.c ppc/pnv: change powernv_ prefix to pnv_ for overall naming consistency 2018-01-10 12:53:00 +11:00
pnv_xscom.c ppc/pnv: change powernv_ prefix to pnv_ for overall naming consistency 2018-01-10 12:53:00 +11:00
ppc.c
ppc4xx_devs.c
ppc4xx_pci.c pci: Rename root bus initialization functions for clarity 2017-12-05 19:13:45 +02:00
ppc405.h
ppc405_boards.c
ppc405_uc.c
ppc440_bamboo.c
ppc_booke.c
ppce500_spin.c
prep.c hw/net/ne2000: extract ne2k-isa code from i386/pc to ne2000-isa.c 2017-12-18 17:07:02 +03:00
prep_systemio.c
rs6000_mc.c
spapr.c spapr: Allow some cases where we can't set VSMT mode in the kernel 2018-01-17 09:35:24 +11:00
spapr_caps.c spapr: Remove unnecessary 'options' field from sPAPRCapabilityInfo 2018-01-17 09:35:24 +11:00
spapr_cpu_core.c hw: use "qemu/osdep.h" as first #include in source files 2017-12-18 17:07:02 +03:00
spapr_drc.c spapr: reset DRCs after devices 2017-11-20 10:10:56 +11:00
spapr_events.c spapr_events: drop bogus cell from "interrupt-ranges" property 2017-12-15 09:49:24 +11:00
spapr_hcall.c ppc: remove duplicated includes 2017-12-18 17:07:02 +03:00
spapr_iommu.c
spapr_ovec.c
spapr_pci.c Merge remote-tracking branch 'origin/master' into HEAD 2018-01-11 22:03:50 +02:00
spapr_pci_vfio.c hw/ppc: Remove the deprecated spapr-pci-vfio-host-bridge device 2018-01-10 12:53:00 +11:00
spapr_rng.c
spapr_rtas.c spapr: Correct compatibility mode setting for hotplugged CPUs 2018-01-10 12:53:00 +11:00
spapr_rtas_ddw.c
spapr_rtc.c
spapr_vio.c spapr: fix LSI interrupt specifiers in the device tree 2017-12-15 09:49:24 +11:00
trace-events spapr: move the IRQ allocation routines under the machine 2017-12-15 09:49:24 +11:00
virtex_ml507.c