[Qemu-devel] [PULL 00/54] s390x update

Cornelia Huck posted 54 patches 6 years, 5 months ago
Test docker-clang@ubuntu passed
Test asan passed
Test checkpatch failed
Test docker-mingw@fedora passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190520170302.13643-1-cohuck@redhat.com
Maintainers: Cornelia Huck <cohuck@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Christian Borntraeger <borntraeger@de.ibm.com>, Halil Pasic <pasic@linux.ibm.com>, David Hildenbrand <david@redhat.com>, Richard Henderson <rth@twiddle.net>, Thomas Huth <thuth@redhat.com>
There is a newer version of this series
[Qemu-devel] [PULL 00/54] s390x update
Posted by Cornelia Huck 6 years, 5 months ago
The following changes since commit d8276573da58e8ce78dab8c46dd660efd664bcb7:

  Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20190510' into staging (2019-05-16 13:15:08 +0100)

are available in the Git repository at:

  https://github.com/cohuck/qemu tags/s390x-20190520

for you to fetch changes up to f9de88d07258b7288b59ebca77ff1da75b0e8e9f:

  s390x/cpumodel: wire up 8561 and 8562 as gen15 machines (2019-05-20 08:35:42 +0200)

----------------------------------------------------------------
s390x update:
- have the bios tolerate bootmap signature entries
- next chunk of vector instruction support in tcg
- a headers update against Linux 5.2-rc1
- add more facilities and gen15 machines to the cpu model

----------------------------------------------------------------

Christian Borntraeger (8):
  s390x/cpumodel: ignore csske for expansion
  s390x/cpumodel: Miscellaneous-Instruction-Extensions Facility 3
  s390x/cpumodel: msa9 facility
  s390x/cpumodel: vector enhancements
  s390x/cpumodel: enhanced sort facility
  s390x/cpumodel: add Deflate-conversion facility
  s390x/cpumodel: add gen15 defintions
  s390x/cpumodel: wire up 8561 and 8562 as gen15 machines

Cornelia Huck (3):
  s390/ipl: cast to SCSIDevice directly
  s390/css: handle CCW_FLAG_SKIP
  linux headers: update against Linux 5.2-rc1

David Hildenbrand (40):
  s390x/tcg: Implement VECTOR ADD
  s390x/tcg: Implement VECTOR ADD COMPUTE CARRY
  s390x/tcg: Implement VECTOR ADD WITH CARRY
  s390x/tcg: Implement VECTOR ADD WITH CARRY COMPUTE CARRY
  s390x/tcg: Implement VECTOR AND (WITH COMPLEMENT)
  s390x/tcg: Implement VECTOR AVERAGE
  s390x/tcg: Implement VECTOR AVERAGE LOGICAL
  s390x/tcg: Implement VECTOR CHECKSUM
  s390x/tcg: Implement VECTOR ELEMENT COMPARE *
  s390x/tcg: Implement VECTOR COMPARE *
  s390x/tcg: Implement VECTOR COUNT LEADING ZEROS
  s390x/tcg: Implement VECTOR COUNT TRAILING ZEROS
  s390x/tcg: Implement VECTOR EXCLUSIVE OR
  s390x/tcg: Implement VECTOR GALOIS FIELD MULTIPLY SUM (AND ACCUMULATE)
  s390x/tcg: Implement VECTOR LOAD COMPLEMENT
  s390x/tcg: Implement VECTOR LOAD POSITIVE
  s390x/tcg: Implement VECTOR (MAXIMUM|MINIMUM) (LOGICAL)
  s390x/tcg: Implement VECTOR MULTIPLY AND ADD *
  s390x/tcg: Implement VECTOR MULTIPLY *
  s390x/tcg: Implement VECTOR NAND
  s390x/tcg: Implement VECTOR NOR
  s390x/tcg: Implement VECTOR NOT EXCLUSIVE OR
  s390x/tcg: Implement VECTOR OR
  s390x/tcg: Implement VECTOR OR WITH COMPLEMENT
  s390x/tcg: Implement VECTOR POPULATION COUNT
  s390x/tcg: Implement VECTOR ELEMENT ROTATE LEFT LOGICAL
  s390x/tcg: Implement VECTOR ELEMENT ROTATE AND INSERT UNDER MASK
  s390x/tcg: Implement VECTOR ELEMENT SHIFT
  s390x/tcg: Implement VECTOR SHIFT LEFT (BY BYTE)
  s390x/tcg: Implement VECTOR SHIFT LEFT DOUBLE BY BYTE
  s390x/tcg: Implement VECTOR SHIFT RIGHT ARITHMETIC
  s390x/tcg: Implement VECTOR SHIFT RIGHT LOGICAL *
  s390x/tcg: Implement VECTOR SUBTRACT
  s390x/tcg: Implement VECTOR SUBTRACT COMPUTE BORROW INDICATION
  s390x/tcg: Implement VECTOR SUBTRACT WITH BORROW INDICATION
  s390x/tcg: Implement VECTOR SUBTRACT WITH BORROW COMPUTE BORROW
    INDICATION
  s390x/tcg: Implement VECTOR SUM ACROSS DOUBLEWORD
  s390x/tcg: Implement VECTOR SUM ACROSS QUADWORD
  s390x/tcg: Implement VECTOR SUM ACROSS WORD
  s390x/tcg: Implement VECTOR TEST UNDER MASK

Jason J. Herne (1):
  s390-bios: Skip bootmap signature entries

Markus Armbruster (1):
  pc-bios/s390-ccw: Clean up harmless misuse of isdigit()

Thomas Huth (1):
  pc-bios/s390: Update firmware image with "Skip bootmap signature
    entries" fix

-- 
2.20.1


Re: [Qemu-devel] [PULL 00/54] s390x update
Posted by Peter Maydell 6 years, 5 months ago
On Mon, 20 May 2019 at 18:03, Cornelia Huck <cohuck@redhat.com> wrote:
>
> The following changes since commit d8276573da58e8ce78dab8c46dd660efd664bcb7:
>
>   Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20190510' into staging (2019-05-16 13:15:08 +0100)
>
> are available in the Git repository at:
>
>   https://github.com/cohuck/qemu tags/s390x-20190520
>
> for you to fetch changes up to f9de88d07258b7288b59ebca77ff1da75b0e8e9f:
>
>   s390x/cpumodel: wire up 8561 and 8562 as gen15 machines (2019-05-20 08:35:42 +0200)
>
> ----------------------------------------------------------------
> s390x update:
> - have the bios tolerate bootmap signature entries
> - next chunk of vector instruction support in tcg
> - a headers update against Linux 5.2-rc1
> - add more facilities and gen15 machines to the cpu model
>
> ----------------------------------------------------------------

Hi -- this fails to build on aarch64:

In file included from /home/pm215/qemu/linux-headers/linux/kvm.h:14:0,
                 from /home/pm215/qemu/target/arm/kvm-consts.h:18,
                 from /home/pm215/qemu/target/arm/cpu.h:23,
                 from /home/pm215/qemu/disas.c:8:
/home/pm215/qemu/build/all/linux-headers/asm/kvm.h:38:29: fatal error:
asm/sve_context.h: No such file or directory
 #include <asm/sve_context.h>
                             ^
compilation terminated.

Looks like we need to fix update-linux-headers.sh to account for
that new header file before we can do the header sync.

thanks
-- PMM

Re: [Qemu-devel] [PULL 00/54] s390x update
Posted by Cornelia Huck 6 years, 5 months ago
On Mon, 20 May 2019 18:30:46 +0100
Peter Maydell <peter.maydell@linaro.org> wrote:

> On Mon, 20 May 2019 at 18:03, Cornelia Huck <cohuck@redhat.com> wrote:
> >
> > The following changes since commit d8276573da58e8ce78dab8c46dd660efd664bcb7:
> >
> >   Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20190510' into staging (2019-05-16 13:15:08 +0100)
> >
> > are available in the Git repository at:
> >
> >   https://github.com/cohuck/qemu tags/s390x-20190520
> >
> > for you to fetch changes up to f9de88d07258b7288b59ebca77ff1da75b0e8e9f:
> >
> >   s390x/cpumodel: wire up 8561 and 8562 as gen15 machines (2019-05-20 08:35:42 +0200)
> >
> > ----------------------------------------------------------------
> > s390x update:
> > - have the bios tolerate bootmap signature entries
> > - next chunk of vector instruction support in tcg
> > - a headers update against Linux 5.2-rc1
> > - add more facilities and gen15 machines to the cpu model
> >
> > ----------------------------------------------------------------  
> 
> Hi -- this fails to build on aarch64:
> 
> In file included from /home/pm215/qemu/linux-headers/linux/kvm.h:14:0,
>                  from /home/pm215/qemu/target/arm/kvm-consts.h:18,
>                  from /home/pm215/qemu/target/arm/cpu.h:23,
>                  from /home/pm215/qemu/disas.c:8:
> /home/pm215/qemu/build/all/linux-headers/asm/kvm.h:38:29: fatal error:
> asm/sve_context.h: No such file or directory
>  #include <asm/sve_context.h>
>                              ^
> compilation terminated.
> 
> Looks like we need to fix update-linux-headers.sh to account for
> that new header file before we can do the header sync.

Ugh. I'll try to figure it out tomorrow.

Re: [Qemu-devel] [qemu-s390x] [PULL 00/54] s390x update
Posted by Christian Borntraeger 6 years, 5 months ago

On 20.05.19 21:00, Cornelia Huck wrote:
> On Mon, 20 May 2019 18:30:46 +0100
> Peter Maydell <peter.maydell@linaro.org> wrote:
> 
>> On Mon, 20 May 2019 at 18:03, Cornelia Huck <cohuck@redhat.com> wrote:
>>>
>>> The following changes since commit d8276573da58e8ce78dab8c46dd660efd664bcb7:
>>>
>>>   Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20190510' into staging (2019-05-16 13:15:08 +0100)
>>>
>>> are available in the Git repository at:
>>>
>>>   https://github.com/cohuck/qemu tags/s390x-20190520
>>>
>>> for you to fetch changes up to f9de88d07258b7288b59ebca77ff1da75b0e8e9f:
>>>
>>>   s390x/cpumodel: wire up 8561 and 8562 as gen15 machines (2019-05-20 08:35:42 +0200)
>>>
>>> ----------------------------------------------------------------
>>> s390x update:
>>> - have the bios tolerate bootmap signature entries
>>> - next chunk of vector instruction support in tcg
>>> - a headers update against Linux 5.2-rc1
>>> - add more facilities and gen15 machines to the cpu model
>>>
>>> ----------------------------------------------------------------  
>>
>> Hi -- this fails to build on aarch64:
>>
>> In file included from /home/pm215/qemu/linux-headers/linux/kvm.h:14:0,
>>                  from /home/pm215/qemu/target/arm/kvm-consts.h:18,
>>                  from /home/pm215/qemu/target/arm/cpu.h:23,
>>                  from /home/pm215/qemu/disas.c:8:
>> /home/pm215/qemu/build/all/linux-headers/asm/kvm.h:38:29: fatal error:
>> asm/sve_context.h: No such file or directory
>>  #include <asm/sve_context.h>
>>                              ^
>> compilation terminated.
>>
>> Looks like we need to fix update-linux-headers.sh to account for
>> that new header file before we can do the header sync.
> 
> Ugh. I'll try to figure it out tomorrow.
>

Maybe something like the following?
 
diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
index c3819d2..67d4d2a 100755
--- a/scripts/update-linux-headers.sh
+++ b/scripts/update-linux-headers.sh
@@ -121,6 +121,7 @@ for arch in $ARCHLIST; do
         cp "$tmpdir/include/asm/unistd-eabi.h" "$output/linux-headers/asm-arm/"
         cp "$tmpdir/include/asm/unistd-oabi.h" "$output/linux-headers/asm-arm/"
         cp "$tmpdir/include/asm/unistd-common.h" "$output/linux-headers/asm-arm/"
+        cp "$tmpdir/include/asm/sve_context.h" "$output/linux-headers/asm-arm/"
     fi
     if [ $arch = x86 ]; then
         cp "$tmpdir/include/asm/unistd_32.h" "$output/linux-headers/asm-x86/"


Re: [Qemu-devel] [qemu-s390x] [PULL 00/54] s390x update
Posted by Cornelia Huck 6 years, 5 months ago
On Tue, 21 May 2019 09:20:15 +0200
Christian Borntraeger <borntraeger@de.ibm.com> wrote:

> On 20.05.19 21:00, Cornelia Huck wrote:
> > On Mon, 20 May 2019 18:30:46 +0100
> > Peter Maydell <peter.maydell@linaro.org> wrote:
> >   
> >> On Mon, 20 May 2019 at 18:03, Cornelia Huck <cohuck@redhat.com> wrote:  
> >>>
> >>> The following changes since commit d8276573da58e8ce78dab8c46dd660efd664bcb7:
> >>>
> >>>   Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20190510' into staging (2019-05-16 13:15:08 +0100)
> >>>
> >>> are available in the Git repository at:
> >>>
> >>>   https://github.com/cohuck/qemu tags/s390x-20190520
> >>>
> >>> for you to fetch changes up to f9de88d07258b7288b59ebca77ff1da75b0e8e9f:
> >>>
> >>>   s390x/cpumodel: wire up 8561 and 8562 as gen15 machines (2019-05-20 08:35:42 +0200)
> >>>
> >>> ----------------------------------------------------------------
> >>> s390x update:
> >>> - have the bios tolerate bootmap signature entries
> >>> - next chunk of vector instruction support in tcg
> >>> - a headers update against Linux 5.2-rc1
> >>> - add more facilities and gen15 machines to the cpu model
> >>>
> >>> ----------------------------------------------------------------    
> >>
> >> Hi -- this fails to build on aarch64:
> >>
> >> In file included from /home/pm215/qemu/linux-headers/linux/kvm.h:14:0,
> >>                  from /home/pm215/qemu/target/arm/kvm-consts.h:18,
> >>                  from /home/pm215/qemu/target/arm/cpu.h:23,
> >>                  from /home/pm215/qemu/disas.c:8:
> >> /home/pm215/qemu/build/all/linux-headers/asm/kvm.h:38:29: fatal error:
> >> asm/sve_context.h: No such file or directory
> >>  #include <asm/sve_context.h>
> >>                              ^
> >> compilation terminated.
> >>
> >> Looks like we need to fix update-linux-headers.sh to account for
> >> that new header file before we can do the header sync.  
> > 
> > Ugh. I'll try to figure it out tomorrow.
> >  
> 
> Maybe something like the following?
>  
> diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux-headers.sh
> index c3819d2..67d4d2a 100755
> --- a/scripts/update-linux-headers.sh
> +++ b/scripts/update-linux-headers.sh
> @@ -121,6 +121,7 @@ for arch in $ARCHLIST; do
>          cp "$tmpdir/include/asm/unistd-eabi.h" "$output/linux-headers/asm-arm/"
>          cp "$tmpdir/include/asm/unistd-oabi.h" "$output/linux-headers/asm-arm/"
>          cp "$tmpdir/include/asm/unistd-common.h" "$output/linux-headers/asm-arm/"
> +        cp "$tmpdir/include/asm/sve_context.h" "$output/linux-headers/asm-arm/"
>      fi
>      if [ $arch = x86 ]; then
>          cp "$tmpdir/include/asm/unistd_32.h" "$output/linux-headers/asm-x86/"
> 

Yes, but needs to go under arm64 (not arm).

Could find no other instances of new includes, hopefully we're all fine
with that (currently building, but don't have an arm machine for build
testing handy.)