------- Comment From [email protected] 2017-03-27 15:08 EDT-------
Based on #comment 26 we're ok now, but only to let it registered anyway:

Yes, today I don't see anything we can do in QEMU. The reason is that
kernel (arch/powerpc/include/asm/cputable.h) defines a basic feature set
for Power8:

#define CPU_FTRS_POWER8 (CPU_FTR_USE_TB | CPU_FTR_LWSYNC | \
CPU_FTR_PPCAS_ARCH_V2 | CPU_FTR_CTRL | CPU_FTR_ARCH_206 |\
CPU_FTR_MMCRA | CPU_FTR_SMT | \
CPU_FTR_COHERENT_ICACHE | \
CPU_FTR_PURR | CPU_FTR_SPURR | CPU_FTR_REAL_LE | \
CPU_FTR_DSCR | CPU_FTR_SAO  | \
CPU_FTR_STCX_CHECKS_ADDRESS | CPU_FTR_POPCNTB | CPU_FTR_POPCNTD | \
CPU_FTR_ICSWX | CPU_FTR_CFAR | CPU_FTR_HVMODE | CPU_FTR_VMX_COPY | \
CPU_FTR_DBELL | CPU_FTR_HAS_PPR | CPU_FTR_DAWR | \
CPU_FTR_ARCH_207S | CPU_FTR_TM_COMP | CPU_FTR_SUBCORE)

and CPU_FTR_TM_COMP (0x0080000000000000) is among them.

Then, in arch/powerpc/kernel/prom.c, a function initializes the device
tree and scans the CPUs in the current system. During the scan
(early_init_dt_scan_cpus), the architecture is identified
(arch/powerpc/kernel/cputable.c - identify_cpu) and the feature set
above is assigned to the processor.

So, in a nutshell, when the kernel loads, the CPU arch is identified and
its basic feature set is loaded.

Based on it, I could work around it by setting a Power7 arch: qemu-
system-ppc64 -machine pseries -cpu POWER7 -vga none -nographic ...

Thanks

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1664622

Title:
  qemu: Missing transaction memory advertisement

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1664622/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to