Received: by 10.213.65.68 with SMTP id h4csp3292791imn; Tue, 3 Apr 2018 02:14:33 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/g+DGWlKdSqva50aW3//i1N1cJqbn8WqmgdzR7/lCplNuCjWBNN/L8NTj1j6eww1z3p8xV X-Received: by 10.98.236.4 with SMTP id k4mr9849688pfh.240.1522746873788; Tue, 03 Apr 2018 02:14:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522746873; cv=none; d=google.com; s=arc-20160816; b=NjlI0k3iQpWa9tjoqp5HWkf7aj5aB4oaKO34pnSWEf7qDv7KqacekbaiqmfaeVTJu0 FkKhd+YP9l+nJX+H43mpxYOnrzE1oEWOlPPmlctRC5QXgOss3f7tbWZ7jYuVlyWgzmdt o8T5NgWuu33lJXCXRAM3UrFhAGOJHyZ/Qtba8UyjTrasH3RTbCiq6ltaycEoLwHFNVtQ jb5mbqElBxup5tVzWYKiTl+N14P+ylrpwuMNAzYgjFvkVNlYKWoMq7HQLsSGaWJPpl0K 3vQCSh4jwEy1vbSg+sVfDjVFCrI0sUvGhHTaf1xVOkooodJAQXt/A5dZ95NYQyGIEqGv kI3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:subject:cc:to:from:date:arc-authentication-results; bh=g0T9IfrJdEOfhT6+U5XRe5Udq/x+qY8ZdcySL4lAbpI=; b=vbz77/Tqz8lBigSXLNSdHz6nvVWKtBITLMB1BUdnNDJILYA0DfkkNoOM02NNyHaQXO vbjIK7kL6pRyqDI7rFjE9S2Xz0TQEIWeHUnOM0qKOvZFXsG5vC8G3qpxsF4pAGmbUOiF I5bad8fIEZrnSdWkS44UJ9wuNf/UPbEqiuT5DfxH7Ze6oo59ztl0AGh25OPMhXFGWgDX TRq6E2K/8DfAu4ChQmqDL65vMQFziUPrFvZDelrrNVsyDsRgSUbU+cFeFeo8zUpRlxim poKyAShP4SiaVa3ZppYkK6WcvDR/IYa3FkrGTJD5De7R45dyaeWfh4FfskeLvaUglFO2 2cMQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y8si1662090pgq.230.2018.04.03.02.14.19; Tue, 03 Apr 2018 02:14:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755320AbeDCJMv (ORCPT + 99 others); Tue, 3 Apr 2018 05:12:51 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:60652 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753452AbeDCJMu (ORCPT ); Tue, 3 Apr 2018 05:12:50 -0400 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w339Aje0015153 for ; Tue, 3 Apr 2018 05:12:49 -0400 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0a-001b2d01.pphosted.com with ESMTP id 2h45ffc8uc-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Tue, 03 Apr 2018 05:12:49 -0400 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 3 Apr 2018 10:12:47 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 3 Apr 2018 10:12:43 +0100 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w339Ch9a51052746; Tue, 3 Apr 2018 09:12:43 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 293D642042; Tue, 3 Apr 2018 10:04:35 +0100 (BST) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F369542041; Tue, 3 Apr 2018 10:04:34 +0100 (BST) Received: from mschwideX1 (unknown [9.152.212.220]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 3 Apr 2018 10:04:34 +0100 (BST) Date: Tue, 3 Apr 2018 11:12:42 +0200 From: Martin Schwidefsky To: Linus Torvalds Cc: linux-kernel , linux-s390 , Heiko Carstens Subject: [GIT PULL] s390 patches for the 4.17 merge window #1 X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 18040309-0040-0000-0000-000004491295 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18040309-0041-0000-0000-000020ED1C46 Message-Id: <20180403111242.49f43ee7@mschwideX1> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-04-03_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=2 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1804030100 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: * Improvements for the spectre defense: - The spectre related code is consolidated to a single file nospec-branch.c - Automatic enable/disable for the spectre v2 defenses (expoline vs. nobp) - Syslog messages for specve v2 are added - Enable CONFIG_GENERIC_CPU_VULNERABILITIES and define the attribute functions for spectre v1 and v2 * Add helper macros for assembler alternatives and use them to shorten the code in entry.S. * Add support for persistent configuration data via the SCLP Store Data interface. The H/W interface requires a page table that uses 4K pages only, the code to setup such an address space is added as well. * Enable virtio GPU emulation in QEMU. To do this the depends statements for a few common Kconfig options are modified. * Add support for format-3 channel path descriptors and add a binary sysfs interface to export the associated utility strings. * Add a sysfs attribute to control the IFCC handling in case of constant channel errors. * The vfio-ccw changes from Cornelia. * Bug fixes and cleanups. There is a trivial merge conflict in drivers/video/console/Kconfig. Christian Borntraeger (2): s390/sclp_tty: enable line mode tty even if there is an ascii console s390/defkeymap: fix global init to zero Claudio Imbrenda (4): s390/sclp: clean up, use sccb_mask_t where appropriate s390/sclp: generic event mask accessors s390/sclp: 32 bit event mask compatibility mode s390/sclp: 64 bit event mask Cornelia Huck (3): s390: fix comment for scsw_cmd_is_valid_sctl vfio-ccw: update documentation vfio-ccw: fence off transport mode Farhan Ali (3): Kconfig : Remove HAS_IOMEM dependency for Graphics support s390/char : Rename EBCDIC keymap variables s390/setup : enable display support for KVM guest Harald Freudenberger (1): s390/crypto: Fix kernel crash on aes_s390 module remove. Heiko Carstens (1): s390/mm: provide base_asce_alloc() / base_asce_free() helper functions Julian Wiedmann (6): s390: fix typo in irb description s390/qdio: simplify math in get_*_buffer_frontier() s390/qdio: don't merge ERROR output buffers s390/qdio: restrict buffer merging to eligible devices s390/qdio: don't retry EQBS after CCQ 96 s390/qdio: split up CCQ handling for EQBS / SQBS Martin Schwidefsky (8): s390: move nobp parameter functions to nospec-branch.c s390: add automatic detection of the spectre defense s390: report spectre mitigation via syslog s390: add sysfs attributes for spectre s390: add assembler macros for CPU alternatives s390/entry.S: use assembler alternatives s390/lpp: use assembler alternatives for the LPP instruction s390/kvm: improve stack frame constants in entry.S Peter Oberparleiter (1): s390/sclp: Add support for Store Data SCLP interface Sebastian Ott (4): s390/cio: fix unbind of io_subchannel_driver s390/cio: rename struct channel_path_desc s390/chsc: query utility strings via fmt3 channel path descriptor s390/cio: add util_string sysfs attribute Stefan Haberland (3): s390/dasd: configurable IFCC handling s390/dasd: remove unneeded sanity check s390/dasd: set timestamps unconditionally Vasily Gorbik (4): s390/decompressor: discard __ex_table section s390: unify linker symbols usage s390: set bzImage as default image for packaging s390/decompressor: trim uncompressed image head during the build Documentation/s390/vfio-ccw.txt | 79 +++-- arch/s390/Kconfig | 3 +- arch/s390/Makefile | 8 +- arch/s390/boot/compressed/Makefile | 16 +- arch/s390/boot/compressed/head.S | 6 +- arch/s390/boot/compressed/misc.c | 10 +- arch/s390/boot/compressed/vmlinux.lds.S | 1 + arch/s390/crypto/aes_s390.c | 5 +- arch/s390/include/asm/alternative-asm.h | 108 ++++++ arch/s390/include/asm/ccwdev.h | 2 +- arch/s390/include/asm/chpid.h | 2 +- arch/s390/include/asm/cio.h | 2 +- arch/s390/include/asm/cpu_mf.h | 4 +- arch/s390/include/asm/css_chars.h | 6 +- arch/s390/include/asm/nospec-branch.h | 6 +- arch/s390/include/asm/pgalloc.h | 3 + arch/s390/include/asm/scsw.h | 4 +- arch/s390/include/asm/setup.h | 2 - arch/s390/include/uapi/asm/dasd.h | 38 ++- arch/s390/kernel/Makefile | 4 +- arch/s390/kernel/alternative.c | 24 +- arch/s390/kernel/asm-offsets.c | 1 + arch/s390/kernel/early.c | 4 +- arch/s390/kernel/entry.S | 96 ++---- arch/s390/kernel/module.c | 11 +- arch/s390/kernel/nospec-branch.c | 120 +++++-- arch/s390/kernel/setup.c | 22 +- arch/s390/kernel/suspend.c | 4 +- arch/s390/mm/dump_pagetables.c | 4 +- arch/s390/mm/pgalloc.c | 293 +++++++++++++++- drivers/s390/block/dasd.c | 9 +- drivers/s390/block/dasd_3990_erp.c | 17 +- drivers/s390/block/dasd_devmap.c | 43 ++- drivers/s390/block/dasd_eckd.c | 27 +- drivers/s390/char/Makefile | 2 +- drivers/s390/char/defkeymap.c | 66 ++-- drivers/s390/char/keyboard.c | 32 +- drivers/s390/char/keyboard.h | 11 + drivers/s390/char/sclp.c | 58 ++-- drivers/s390/char/sclp.h | 61 +++- drivers/s390/char/sclp_early.c | 2 +- drivers/s390/char/sclp_early_core.c | 38 ++- drivers/s390/char/sclp_sd.c | 569 ++++++++++++++++++++++++++++++++ drivers/s390/char/sclp_tty.c | 5 +- drivers/s390/cio/chp.c | 34 +- drivers/s390/cio/chp.h | 5 +- drivers/s390/cio/chsc.c | 59 ++-- drivers/s390/cio/chsc.h | 11 +- drivers/s390/cio/device.c | 16 +- drivers/s390/cio/device_ops.c | 4 +- drivers/s390/cio/qdio_main.c | 131 ++++---- drivers/s390/cio/vfio_ccw_fsm.c | 5 + drivers/s390/net/qeth_core_main.c | 2 +- drivers/tty/Kconfig | 2 +- drivers/video/Kconfig | 5 +- drivers/video/console/Kconfig | 6 +- 56 files changed, 1633 insertions(+), 475 deletions(-) create mode 100644 arch/s390/include/asm/alternative-asm.h create mode 100644 drivers/s390/char/sclp_sd.c