]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
s390: add alignment hints to vector load and store
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 22 Jul 2019 18:24:34 +0000 (20:24 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 13 Aug 2019 12:18:20 +0000 (14:18 +0200)
commit64bdfad43eab16e5636eb15a7b3728d07fb51a71
treed4e9d1c0daa371b00c11ab7959e04b13651352ec
parent0829d0e5eb2a6a7964bdb14abb1f4bfb9322ffd4
s390: add alignment hints to vector load and store

BugLink: https://bugs.launchpad.net/bugs/1836857
The z14 introduced alignment hints to increase the performance of
vector loads and stores. The kernel uses an implicit alignmenet
of 8 bytes for the vector registers, set the alignment hint to 3.

Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
(cherry picked from commit 142c52d7bce45d335f48d53fdbf428bb15cf3924)
Signed-off-by: Frank Heimes <frank.heimes@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Connor Kuehl <connor.kuehl@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
arch/s390/include/asm/vx-insn.h