Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp527408ybn; Wed, 2 Oct 2019 01:56:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqxOLj9+luWSImMVbSDpUoNqFVj6acHl35IliZN+aZU1tDqD+IZL2bDWQ2p6wDYYVq5P1pTb X-Received: by 2002:a17:906:7d13:: with SMTP id u19mr1962277ejo.311.1570006589471; Wed, 02 Oct 2019 01:56:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570006589; cv=none; d=google.com; s=arc-20160816; b=H7K5EotaiP/Vz7BSrLIbOKKmYPSie0Xx7jGPp/nptl0A50wBzMmqdJwqXbbHHSE6Dt FFK7AUcRC+J6wQ7TGSfV+6bFQQhYtozWvLFuh5B5sIg7cEdl2dlIyjTNQDL6o9qMnXV3 Ihs44da3qZTQTRhoHpP0dTnSYhtTyDAzoZ1Ena2PFhsBHI8GRh6KYbG2JfVQ8Qaxa6gf 8ZX96vUijSlKKX32r9m4p+lXZBsLrjYIuVHkAdMxheh2tLYyLyZgVdo3ghnlvyHH0DVc FP+8qlB3icAHmQEKF3dKIwt5CtHEATAXk4Hz/LCbVXrvQOCv+vaGsk42Zbztk5wUxQdF PF3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:in-reply-to :content-disposition:mime-version:references:subject:cc:to:from:date; bh=7ePSMk6Ea50qNPtGjLfLIoFtkqiGPEud9jmQP0WVQTk=; b=OlU6gORbX4Zd5SRidwt5llFRydwvvMWQTqm4skLTjU+94qRO1D0sZOrevPDZv+qbh4 QLepNTq4hbfmNWGIovDe333StGGERNoDvE1u5ksBxN9EjsgXLjBkyRn19goO0Y37PLgp khOLMysB/iYuRYlUuFpGxpIJWSG+YiKJ1MLnEM6Ce29Sx+3J8reTpRjjWA5jelZj5EGT VZWwACLLR9kWcvhy/1p0/xCbh/gsN84JTpTrcalgomfIHXPLiXjtWIzL5NMJ1bXyWQu0 dYMhId6oXa51xLpIts3cB0y5kTKDqxyh3az2RtTYvckFY2pq6It9BBeDV/2p+seT2LhV lbIg== 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 h23si11428343edh.248.2019.10.02.01.56.04; Wed, 02 Oct 2019 01:56:29 -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 S1727737AbfJBIWI (ORCPT + 99 others); Wed, 2 Oct 2019 04:22:08 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:65134 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726462AbfJBIWH (ORCPT ); Wed, 2 Oct 2019 04:22:07 -0400 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x928HFfr046392 for ; Wed, 2 Oct 2019 04:22:06 -0400 Received: from e06smtp07.uk.ibm.com (e06smtp07.uk.ibm.com [195.75.94.103]) by mx0a-001b2d01.pphosted.com with ESMTP id 2vckpcyqf2-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 02 Oct 2019 04:22:06 -0400 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 2 Oct 2019 09:22:04 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp07.uk.ibm.com (192.168.101.137) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Wed, 2 Oct 2019 09:22:01 +0100 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x928LxqH46006398 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 2 Oct 2019 08:21:59 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 74E6B5204F; Wed, 2 Oct 2019 08:21:59 +0000 (GMT) Received: from osiris (unknown [9.152.212.201]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id 24DF152050; Wed, 2 Oct 2019 08:21:59 +0000 (GMT) Date: Wed, 2 Oct 2019 10:21:57 +0200 From: Heiko Carstens To: Michal Kubecek Cc: linux-kernel@vger.kernel.org, Jiri Kosina , Vasily Gorbik , Christian Borntraeger , Masahiro Yamada , Linus Torvalds , linux-s390@vger.kernel.org Subject: Re: [PATCH 5.4-rc1 BUILD FIX] s390: mark __cpacf_query() as __always_inline References: <20191002064605.GA7405@osiris> <20191002070333.GE24815@unicorn.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191002070333.GE24815@unicorn.suse.cz> X-TM-AS-GCONF: 00 x-cbid: 19100208-0028-0000-0000-000003A53F58 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19100208-0029-0000-0000-00002467419C Message-Id: <20191002082157.GA9535@osiris> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-10-02_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=926 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910020079 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 02, 2019 at 09:03:33AM +0200, Michal Kubecek wrote: > On Wed, Oct 02, 2019 at 08:46:05AM +0200, Heiko Carstens wrote: > > On Tue, Oct 01, 2019 at 10:08:01PM +0200, Jiri Kosina wrote: > > > > > > In file included from arch/s390/kvm/kvm-s390.c:44: > > > ./arch/s390/include/asm/cpacf.h: In function '__cpacf_query': > > > ./arch/s390/include/asm/cpacf.h:179:2: warning: asm operand 3 probably doesn't match constraints > > > 179 | asm volatile( > > > | ^~~ > > > ./arch/s390/include/asm/cpacf.h:179:2: error: impossible constraint in 'asm' > > > > > > ... > > > > > > I am wondering how is it possible that none of the build-testing > > > infrastructure we have running against linux-next caught this? Not enough > > > non-x86 coverage? > > > > Well, there is plenty of s390 coverage with respect to daily builds > > (also here). It doesn't fail for me with gcc 9.1; so you may either > > have a different gcc version or different config options(?) so the > > compiler decided to not inline the function. > > I think I found the reason: we only hit the build failure with one > special config used for zfcpdump which has > > CONFIG_CC_OPTIMIZE_FOR_SIZE=y > > When I switched to CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y (which we have > in other s390x configs and which most people probably prefer), the build > does not fail even without the patch. Yes, with CONFIG_CC_OPTIMIZE_FOR_SIZE=y I can see plenty of _additional_ compile failures on s390 with "defconfig". Will fix them all... Thanks for reporting!