linux-stable/arch/s390
Niklas Schnelle 7e8403ecaf s390: add HWCAP_S390_PCI_MIO to ELF hwcaps
In order to support the use of enhanced PCI instructions in both kernel-
and userspace we need both hardware support and proper setup in the
kernel. The latter can be toggled off with the pci=nomio command line
option.

Thus availability of this feature in userspace depends on all of kernel
configuration (CONFIG_PCI), hardware support and the current kernel
command line and can thus not rely solely on a facility bit. Instead
let's introduce a new ELF hardware capability bit HWCAP_S390_PCI_MIO to
tell userspace whether these PCI instructions can be used.

Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
2021-07-27 09:39:19 +02:00
..
appldata
boot s390/boot: move dma sections from decompressor to decompressed kernel 2021-07-27 09:39:17 +02:00
configs s390: update defconfigs 2021-07-20 17:59:40 +02:00
crypto s390/archrandom: add parameter check for s390_arch_random_generate 2021-04-21 12:32:12 +02:00
hypfs s390/hypfs: use register pair instead of register asm 2021-06-28 11:18:28 +02:00
include s390: add HWCAP_S390_PCI_MIO to ELF hwcaps 2021-07-27 09:39:19 +02:00
kernel s390: add HWCAP_S390_PCI_MIO to ELF hwcaps 2021-07-27 09:39:19 +02:00
kvm s390 updates for the 5.14 merge window 2021-07-04 12:17:38 -07:00
lib s390/lib: use call_on_stack() macro 2021-07-08 22:12:18 +02:00
mm s390/boot: introduce boot data 'initrd_data' 2021-07-27 09:39:15 +02:00
net s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1] 2021-07-15 19:47:25 +02:00
pci s390: make PCI mio support a machine flag 2021-07-27 09:39:19 +02:00
purgatory s390: disable SSP when needed 2021-06-07 17:07:00 +02:00
tools s390/disassembler: add instructions 2021-07-27 09:39:19 +02:00
Kbuild
Kconfig s390/vdso: add minimal compat vdso 2021-07-08 15:37:28 +02:00
Kconfig.debug s390/cio: add CRW inject functionality 2021-03-22 11:36:04 +01:00
Makefile Kbuild updates for v5.14 2021-07-10 11:01:38 -07:00