Received: by 10.213.65.68 with SMTP id h4csp923656imn; Fri, 6 Apr 2018 11:14:30 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+361RRqduqUupzKQajyRZDK2MI3R4LdEPrQK09QFVUzcqMYwpVwKRhoqZHS9mEmE98RFOA X-Received: by 2002:a17:902:6ec5:: with SMTP id l5-v6mr28046538pln.113.1523038470809; Fri, 06 Apr 2018 11:14:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523038470; cv=none; d=google.com; s=arc-20160816; b=nRPbB0/6dqZ7YWlNCOtBliDjnrEl+0K7Ljq/pjaI3dox/p62Yz5J2eQdhVGiH1fbr7 bhBJvXeUv6H+td76wYLD61Fr1EApV9xpvlq7BT9dU9INNq3RjRI0GvBEosscw1x4kqy+ ipl5PDTpjxgeDb4uzv/mwawjjlCDucXbTPE13ASTmDP5xqCSNxPmBO3NLtiHtebOOwbj +IHQQHQMSRdN1344scmm1NK0vc9CGy//Yb7wAAS4j80YnYDZ8OEkQYxwFW0PwgvYVn5Q P8j/QRc0VHU7zKB71vnlQK+fkfmeYnaRzYQgmr+sfQEZV+Mnf+/6vwFrgXnGatxPCI19 CdCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:mime-version:organization :user-agent:references:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=jG36nZpg2XI4yDEqzqzfBaN/gSKYEwL8HmQzd4olSyA=; b=S5URJcA0I/DeFVzA6aLBoqgZ514sZjRbHp/udqnAyR+8puBXIQvIq7a7dmuWyl52Jb +DEpQmYZuYPKvvRQVQOC1OBWHXo6QSDCfHiRZtwXEcQiF8rvJ6+z1LdhFCQ47LfVU1al v1+M2fILI0+JVZlHgOIJyBwGYcYuFu/GBxFY8Lj7yE3s10ZA3C1gdeaHnrJc5cO4dS8J AglpiyCec17wRvlTh4VrL/ogryGtu96T10E9Q9mlXoB/QCq/h6UjefP+V5TXT3LuIbgI CTrZl981hoqZL8h5V0St0+j7fv+FM+jI/n1lTFLWsZqHF/KbB0JGh4CDYfqHtn45cN4C jRTg== 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 n68si8436499pfj.378.2018.04.06.11.13.53; Fri, 06 Apr 2018 11:14:30 -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 S1751410AbeDFSLM (ORCPT + 99 others); Fri, 6 Apr 2018 14:11:12 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:51652 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750807AbeDFSLK (ORCPT ); Fri, 6 Apr 2018 14:11:10 -0400 Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w36I9ehW015130 for ; Fri, 6 Apr 2018 14:11:10 -0400 Received: from e06smtp14.uk.ibm.com (e06smtp14.uk.ibm.com [195.75.94.110]) by mx0a-001b2d01.pphosted.com with ESMTP id 2h6bwud01u-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Fri, 06 Apr 2018 14:11:10 -0400 Received: from localhost by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 6 Apr 2018 19:11:08 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp14.uk.ibm.com (192.168.101.144) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 6 Apr 2018 19:10:59 +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 w36IAxwI52953188; Fri, 6 Apr 2018 18:10:59 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 40B7E42041; Fri, 6 Apr 2018 19:02:47 +0100 (BST) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6E9B94203F; Fri, 6 Apr 2018 19:02:46 +0100 (BST) Received: from icon-9-167-239-104.megacenter.de.ibm.com (unknown [9.167.239.104]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Fri, 6 Apr 2018 19:02:46 +0100 (BST) Date: Fri, 6 Apr 2018 20:10:57 +0200 (CEST) From: Sebastian Ott X-X-Sender: sebott@schleppi To: Kees Cook cc: Linus Torvalds , LKML , Heiko Carstens , Martin Uecker , Ingo Molnar , Miguel Ojeda Subject: Re: [bisected] 3c8ba0d61d04ced9f8d9ff93977995a9e4e96e91 oopses on s390 In-Reply-To: References: User-Agent: Alpine 2.21 (LFD 202 2017-01-01) Organization: =?ISO-8859-15?Q?=22IBM_Deutschland_Research_&_Development_GmbH?= =?ISO-8859-15?Q?_=2F_Vorsitzende_des_Aufsichtsrats=3A_Martina?= =?ISO-8859-15?Q?_Koederitz_Gesch=E4ftsf=FChrung=3A_Dirk_Wittkopp?= =?ISO-8859-15?Q?_Sitz_der_Gesellschaft=3A_B=F6blingen_=2F_Reg?= =?ISO-8859-15?Q?istergericht=3A_Amtsgericht_Stuttgart=2C_HRB_2432?= =?ISO-8859-15?Q?94=22?= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-TM-AS-GCONF: 00 x-cbid: 18040618-0044-0000-0000-00000544580A X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18040618-0045-0000-0000-000028847B56 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-06_09:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=3 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-1804060182 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 6 Apr 2018, Kees Cook wrote: > On Fri, Apr 6, 2018 at 9:47 AM, Kees Cook wrote: > > On Fri, Apr 6, 2018 at 2:47 AM, Sebastian Ott wrote: > >> Today's kernel oopsed on s390. Bisect points to: > >> 3c8ba0d61d04 ("kernel.h: Retain constant expression output for max()/min()") > >> > >> [ 1.898277] dasd-eckd 0.0.3304: DASD with 4 KB/block, 21636720 KB total size, 48 KB/track, compatible disk layout > >> [ 1.898308] ------------[ cut here ]------------ > >> [ 1.898310] kernel BUG at block/bio.c:1798! > > > > Well that's extremely bad. :( > > > >> Bisect log and config attached. I'll look at min/max users in the affected > >> areas later today. > > > > Seems like a comparison of objdump output with/without the patch may > > be needed. And why is this s390 only? Ugh. > > I did a objdump diff with your .config and it's rather large -- mostly > seems to be register swaps, so it's not easy to browse. Yes, I'm looking at that too. > BTW, what version of gcc did you use? I built using: gcc version 7.2.0 (GCC)