Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4130965imm; Tue, 29 May 2018 23:00:31 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKewd0U4kpK/LCdpeAl9IgSIGx6fQrw8bUqn1+w4tn3N3Xhm/WgbDbK16s1LcU7ZlAjS1ne X-Received: by 2002:a65:4549:: with SMTP id x9-v6mr1146112pgr.158.1527660031371; Tue, 29 May 2018 23:00:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527660031; cv=none; d=google.com; s=arc-20160816; b=bMnd3QXQchd6rWRC3PMUtwDk9APYfM//a4VFbiOrgx6WMV/C0tUWBY/s0j5hXmlYaf 0SF3XGVuwXhzH9kjVI4EoS8ZNCs+pc4sGGULF8dn4VbD0nbPlyrktxE2eIyrDiy8Nrbj 9iHGT9440sPT/aIAUHfwNCkmkT1eyh/yzBs4a2HUe86je+D0bnUU04kiQ/Nopn6fwz9e FVgg6s1Bk3jMZ2WI2FsNsn6dSEYmbxfHh+jakxLqRu4uNq3rZJBCvrWLukNt5Xbj92RO FSZKgx52PGd3WfyG5FkIVYZ+qOh9jfLBIVAGBzrJQJVdqjDe+ru1uTGf6EcE/EfaVtFA I00Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :message-id:subject:cc:to:from:date:arc-authentication-results; bh=8d1o8zoOr8hhwyGzlNZxZ5LlnTA+jKrhTiSe5OEEfak=; b=Nei4h9famk1ZxvGYk2O9R0Kcy0ex+Hxavnp9tfAmzimEFqLHTyPyAx2s1knsdskk/E EXkrAK8/2cE34cHLsZp21NG7iuZSv++mSEAdqBOmuSYoqQR12ZBMVrP9Em1ze5lqRwNh 2uf52OFpwQqfBrQkUqSGOduOMen3Xzot7x5cSG3y6wSoeQsKYhkkiTk57MamzApuLaqF gKIozWla1mie/Rklmt6yrSHBkfQO9ziVLGeJh/Q/F9xYTA2DryY9AGjN8Xt1RP8RLUfW uUUoVz0IjHki6nR7VfADqSQ94R3b4Pqra8XgO+fxXCrfcE3x32l0hikFoyiCmNC2NcTd /dLA== 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 1-v6si33797145ply.226.2018.05.29.23.00.17; Tue, 29 May 2018 23:00:31 -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 S935522AbeE3F7b convert rfc822-to-8bit (ORCPT + 99 others); Wed, 30 May 2018 01:59:31 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:50282 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934498AbeE3F73 (ORCPT ); Wed, 30 May 2018 01:59:29 -0400 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4U5xFbj136189 for ; Wed, 30 May 2018 01:59:29 -0400 Received: from e06smtp10.uk.ibm.com (e06smtp10.uk.ibm.com [195.75.94.106]) by mx0a-001b2d01.pphosted.com with ESMTP id 2j9nn99cs5-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 30 May 2018 01:59:28 -0400 Received: from localhost by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 30 May 2018 06:59:24 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp10.uk.ibm.com (192.168.101.140) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 30 May 2018 06:59:22 +0100 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w4U5xL6F24314002 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 30 May 2018 05:59:21 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7C0194C04A; Wed, 30 May 2018 06:50:52 +0100 (BST) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3A9154C050; Wed, 30 May 2018 06:50:52 +0100 (BST) Received: from mschwideX1 (unknown [9.145.76.203]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Wed, 30 May 2018 06:50:52 +0100 (BST) Date: Wed, 30 May 2018 07:59:20 +0200 From: Martin Schwidefsky To: Linus Torvalds Cc: linux-kernel , linux-s390 , Heiko Carstens Subject: [GIT PULL] two more s390 bug fixes for 4.17 X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) X-TM-AS-GCONF: 00 x-cbid: 18053005-0040-0000-0000-0000043F2A01 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18053005-0041-0000-0000-000026447BF4 Message-Id: <20180530075920.1f73275a@mschwideX1> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-30_01:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=846 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1805220000 definitions=main-1805300069 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: Two bug fixes for 4.17 * A missing -msoft-float for the compile of the kexec purgatory * A fix for the dasd driver to avoid the double use of a field in the 'struct request' Philipp Rudo (1): s390/purgatory: Fix endless interrupt loop Sebastian Ott (1): s390/dasd: use blk_mq_rq_from_pdu for per request data arch/s390/purgatory/Makefile | 2 +- drivers/s390/block/dasd.c | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/s390/purgatory/Makefile b/arch/s390/purgatory/Makefile index e9525bc..1ace023 100644 --- a/arch/s390/purgatory/Makefile +++ b/arch/s390/purgatory/Makefile @@ -21,7 +21,7 @@ LDFLAGS_purgatory.ro += -z nodefaultlib KBUILD_CFLAGS := -fno-strict-aliasing -Wall -Wstrict-prototypes KBUILD_CFLAGS += -Wno-pointer-sign -Wno-sign-compare KBUILD_CFLAGS += -fno-zero-initialized-in-bss -fno-builtin -ffreestanding -KBUILD_CFLAGS += -c -MD -Os -m64 +KBUILD_CFLAGS += -c -MD -Os -m64 -msoft-float KBUILD_CFLAGS += $(call cc-option,-fno-PIE) $(obj)/purgatory.ro: $(PURGATORY_OBJS) FORCE diff --git a/drivers/s390/block/dasd.c b/drivers/s390/block/dasd.c index 04143c0..02c03e4 100644 --- a/drivers/s390/block/dasd.c +++ b/drivers/s390/block/dasd.c @@ -3034,7 +3034,8 @@ static blk_status_t do_dasd_request(struct blk_mq_hw_ctx *hctx, cqr->callback_data = req; cqr->status = DASD_CQR_FILLED; cqr->dq = dq; - req->completion_data = cqr; + *((struct dasd_ccw_req **) blk_mq_rq_to_pdu(req)) = cqr; + blk_mq_start_request(req); spin_lock(&block->queue_lock); list_add_tail(&cqr->blocklist, &block->ccw_queue); @@ -3058,12 +3059,13 @@ static blk_status_t do_dasd_request(struct blk_mq_hw_ctx *hctx, */ enum blk_eh_timer_return dasd_times_out(struct request *req, bool reserved) { - struct dasd_ccw_req *cqr = req->completion_data; struct dasd_block *block = req->q->queuedata; struct dasd_device *device; + struct dasd_ccw_req *cqr; unsigned long flags; int rc = 0; + cqr = *((struct dasd_ccw_req **) blk_mq_rq_to_pdu(req)); if (!cqr) return BLK_EH_NOT_HANDLED; @@ -3169,6 +3171,7 @@ static int dasd_alloc_queue(struct dasd_block *block) int rc; block->tag_set.ops = &dasd_mq_ops; + block->tag_set.cmd_size = sizeof(struct dasd_ccw_req *); block->tag_set.nr_hw_queues = DASD_NR_HW_QUEUES; block->tag_set.queue_depth = DASD_MAX_LCU_DEV * DASD_REQ_PER_DEV; block->tag_set.flags = BLK_MQ_F_SHOULD_MERGE;