Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp302471ybt; Wed, 17 Jun 2020 01:03:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvPzOguA6s/JQ99ubtK8o+g5XUw198R0w7e3EkZZ67zb9SiSinjQtfPNzM/WYLXX1rMm+k X-Received: by 2002:a50:9eaf:: with SMTP id a44mr6189015edf.121.1592381038966; Wed, 17 Jun 2020 01:03:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592381038; cv=none; d=google.com; s=arc-20160816; b=zYc1LGSTWwieUbdwcyrS06fUEMCzMh5QuBknAYKJL+1SaPxPIXTzWkcqPV997BJauk cTvWK96Gt8b9ghYQQX9vgDkuCV/anpWTC5+Xg3je7yluhc/IhO6J+adQAeiuh2Mq0PS/ +e/QzqdHavOGPV1w5YTorWb0TwvXTwaJa87biZVLPVSskVya351BZI3+/02NAOg+EBb9 C8B12DI6lOXJ11pCyHjy/BW/sV7iv5JTfNxNPT4ai92rKy7p1erBTXLwG01iANn1Kynu wPF2+oCtTcIvHyfTBPYMuywuywiJ2CsRAH2MydmvGO8FOY1+1GtpLPXg/hR/+FQdrzaA Vq5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=TRsZ5ai2ey0zky2ENuCnHUSfQ2oxteHUOwCChRE2GMo=; b=yeNjxad6p3G0cxJgvaLoaN4UYiwyK/vx2ppAwV4HdgjcSSiY7yqx3ejuKTW3N7eouX jLLVqnIwBjARytbkc5DjMcmP9WTHpTxt52I6/Co/WJE5Ww8nOlegj15x5YipyGs3TNW0 iP/WJh9QNTaEwWDT4x2Gp86fFsG95SkFSb7zocV3zaQMwm1tDjQP8hOFwxWmT3W+JfUo bFyiLxggTTbsPVG9tHiwOIo9WkKkcMJcoNPcR15OngbmZssvn+RgQG+IeCWQeWbTAxXm TexX+rYRyBi39nibY8cFt2WPhS8F/hOquwfPXCG7/T4xB3VtMhLOWetrOHxZTJ6AeZ34 Hlbw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id d15si5721650edz.150.2020.06.17.01.03.36; Wed, 17 Jun 2020 01:03:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1726763AbgFQH7T (ORCPT + 99 others); Wed, 17 Jun 2020 03:59:19 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:49066 "EHLO mx0b-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725554AbgFQH7T (ORCPT ); Wed, 17 Jun 2020 03:59:19 -0400 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 05H7VgM3070389; Wed, 17 Jun 2020 03:58:38 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 31q6j9cvrv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 17 Jun 2020 03:58:38 -0400 Received: from m0098417.ppops.net (m0098417.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 05H7VnFr071046; Wed, 17 Jun 2020 03:58:38 -0400 Received: from ppma04ams.nl.ibm.com (63.31.33a9.ip4.static.sl-reverse.com [169.51.49.99]) by mx0a-001b2d01.pphosted.com with ESMTP id 31q6j9cvrb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 17 Jun 2020 03:58:38 -0400 Received: from pps.filterd (ppma04ams.nl.ibm.com [127.0.0.1]) by ppma04ams.nl.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 05H7ppgj005618; Wed, 17 Jun 2020 07:58:36 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma04ams.nl.ibm.com with ESMTP id 31q6ch8mq5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 17 Jun 2020 07:58:36 +0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 05H7wXJP58785952 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 17 Jun 2020 07:58:33 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 72B2E5204E; Wed, 17 Jun 2020 07:58:33 +0000 (GMT) Received: from osiris (unknown [9.171.12.194]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id 01F7852050; Wed, 17 Jun 2020 07:58:32 +0000 (GMT) Date: Wed, 17 Jun 2020 09:58:31 +0200 From: Heiko Carstens To: Herbert Xu Cc: Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Linux Kernel Mailing List , Peter Zijlstra , Ingo Molnar , Will Deacon , Vasily Gorbik , Christian Borntraeger , linux-s390@vger.kernel.org Subject: Re: [v3 PATCH 2/2] printk: Make linux/printk.h self-contained Message-ID: <20200617075831.GA4479@osiris> References: <20200617071524.GA3055@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216,18.0.687 definitions=2020-06-16_13:2020-06-16,2020-06-16 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 impostorscore=0 adultscore=0 spamscore=0 clxscore=1011 suspectscore=1 mlxlogscore=489 lowpriorityscore=0 bulkscore=0 malwarescore=0 mlxscore=0 phishscore=0 cotscore=-2147483648 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2006170056 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 17, 2020 at 05:17:21PM +1000, Herbert Xu wrote: > As it stands if you include printk.h by itself it will fail to > compile because it requires definitions from ratelimit.h. However, > simply including ratelimit.h from printk.h does not work due to > inclusion loops involving sched.h and kernel.h. > > This patch solves this by moving bits from ratelimit.h into a new > header file which can then be included by printk.h without any > worries about header loops. > > The build bot then revealed some intriguing failures arising out > of this patch. On s390 there is an inclusion loop with asm/bug.h > and linux/kernel.h that triggers a compile failure, because kernel.h > will cause asm-generic/bug.h to be included before s390's own > asm/bug.h has finished processing. This has been fixed by not > including kernel.h in arch/s390/include/asm/bug.h. > > Signed-off-by: Herbert Xu > Reviewed-by: Andy Shevchenko > Reviewed-by: Sergey Senozhatsky > Acked-by: Petr Mladek > Acked-by: Steven Rostedt (VMware) > --- > > arch/s390/include/asm/bug.h | 2 - FWIW, feel free to add Acked-by: Heiko Carstens for the s390 part.