qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/6] Add several Power ISA 3.1 32/64-bit vector instructions


From: Cédric Le Goater
Subject: Re: [PATCH 0/6] Add several Power ISA 3.1 32/64-bit vector instructions
Date: Tue, 16 Jun 2020 08:00:50 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

On 6/15/20 10:54 PM, Lijun Pan wrote:
> 
> 
>> On Jun 15, 2020, at 12:36 PM, Cédric Le Goater <clg@kaod.org> wrote:
>>
>> Hello,
>>
>> On 6/13/20 6:20 AM, Lijun Pan wrote:
>>> This patch series add several newly introduced 32/64-bit vector
>>> instructions in Power ISA 3.1. The newly added instructions are
>>> flagged as ISA300 temporarily in vmx-ops.inc.c and vmx-impl.inc.c
>>> to make them compile and function since Power ISA 3.1, together
>>> with next generation processor, has not been fully enabled in QEMU
>>> yet. When Power ISA 3.1 and next generation processor are fully
>>> supported, the flags should be changed.
>>
>> What do you mean ? 
>>
>> ISA 3.1 and POWER10 are merged in Linux and in the QEMU pseries 
>> and PowerNV (OPAL) machines.
>>
>> It's very much empty but it's there.
> 
> I mean it does not work if you boots the guest in TCG mode, not KVM mode.

Something is wrong in your environment. With the latest QEMU and
Linux 5.8-rc1, here is a POWER10 pseries machine : 
    
    BusyBox v1.30.1 (Ubuntu 1:1.30.1-4ubuntu4) built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    (initramfs) 
    (initramfs) cat /proc/cpuinfo 
    processor   : 0
    cpu         : POWER10 (architected), altivec supported
    clock       : 1000.000000MHz
    revision    : 1.0 (pvr 0080 0100)
    
    processor   : 1
    cpu         : POWER10 (architected), altivec supported
    clock       : 1000.000000MHz
    revision    : 1.0 (pvr 0080 0100)
    
    processor   : 2
    cpu         : POWER10 (architected), altivec supported
    clock       : 1000.000000MHz
    revision    : 1.0 (pvr 0080 0100)
    
    processor   : 3
    cpu         : POWER10 (architected), altivec supported
    clock       : 1000.000000MHz
    revision    : 1.0 (pvr 0080 0100)
    
    timebase    : 512000000
    platform    : pSeries
    model       : IBM pSeries (emulated by qemu)
    machine     : CHRP IBM pSeries (emulated by qemu)
    MMU         : Radix
    (initramfs) uname -a 
    Linux (none) 5.8.0-rc1+ #199 SMP Tue Jun 16 07:54:06 CEST 2020 ppc64le 
GNU/Linux



KVM works also but you will need to run the guest under a QEMU
PowerNV machine using my powernv-5.1 branch. All support for
POWER10 baremetal is not merged yet.

Thanks,

C.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]