Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1504854pxf; Fri, 9 Apr 2021 10:00:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2PPaXtHX8lrm4UW/WQrpqb98ttEsJHIzNNvzt/PkJQ19h2CKQr07xr9deBYuGvhXpGc+F X-Received: by 2002:a05:6402:3593:: with SMTP id y19mr18443968edc.317.1617987643704; Fri, 09 Apr 2021 10:00:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617987643; cv=none; d=google.com; s=arc-20160816; b=RFON0IqhJ45OUgzn4xq1PwoJxkIm30yFazgRFTUN32bGZr4LYdpnayq9lH6dZ67Ahx jOv6Kx8yFcwp5Wtlxh+0VHpvLdVBuTWfW/OcWJ9HyYGpWolMMvR/dtdSGys5Z6JIbkj5 SB3MnXZREE9lKI1Cmd7Ii4YkdumVANs5zFvD8Oq5g3ny4oYoc7joOBYmNPIhDNDopPjG 1zLUaWoBrKIzjtc7iUr5X2eQh+DxbzEq4TOG1dJsbv/SL2pIqOeyyh3gu8cEgKeM0D5C +CibdIX58ecMtFo6sBRWazDuIlWTqXA+69lJJYuwUC+L1VIV1aEnYfBNPvTbn8mrMkk9 zn7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=+9xha/pXNeFBGiuagKWknyCqPbUKuPA8GXpvrC9Jx0I=; b=b5oZHzBcFtkzGkzu44Trsv6uvtyx+7KbgE3m/troKOOI4CbQ72ckqHUqOOZHham60i ty4KwZX/Bm9CCNtBJCHY4jXSmwJkuzt5xMjy5nmhocjhHsDr2u42Oxb72lIpOGk2Lg/1 9Y+NhJwJ2049/mrA3h2OLmv344kpFVUxlAIJH/WFxrMpVshLsAh2NiRg3DQocZwL4XP0 91h/C/HyYfJY/2Qd8iGAW8EuGs8xCCw7bMHr0lXG+0tWTAp9qqcRs2cS0nVBLx74YlFc 5kHpwUOXf+HcypRz8eucjNj6oPm7YCP1vRGrMWKzuolFQ5O/HbfpmVfKVh+89qs6oH9i u3gA== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h13si2334703ejt.315.2021.04.09.10.00.20; Fri, 09 Apr 2021 10:00:43 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234067AbhDIQ7g (ORCPT + 99 others); Fri, 9 Apr 2021 12:59:36 -0400 Received: from mail-pl1-f172.google.com ([209.85.214.172]:33766 "EHLO mail-pl1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233038AbhDIQ7e (ORCPT ); Fri, 9 Apr 2021 12:59:34 -0400 Received: by mail-pl1-f172.google.com with SMTP id p10so3070587pld.0; Fri, 09 Apr 2021 09:59:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=+9xha/pXNeFBGiuagKWknyCqPbUKuPA8GXpvrC9Jx0I=; b=BxoSKw8xD3QUltwN7gsMzZ89xAodvTc81Ucn20t1I1o7Y+bOpFUbxjg4eKdu6F+2Nn 2fWjNzGRaRW+I+Ptq6VbQMGZBPxK8efxYaqZI5y+5VLBDxM84vy/eKNmYobLUyvgNVxg MCOUPGybbTtvFRWiuo6R670DigT1q6XlgQmiMDXLv+TILPESw2gvcCaRm9KjT1ppqT8a 3/MktU3k7KoE+qiNJj6eCwHrwqx7b2shYmdwO/Nk9bGuKnMrmX5MMMYt26SQKc1sSbZ1 RKmLamiYfdrJpNh5JD7/g0dsy8gJ3fXYzRCnBM+MZxx6yAv9AWxVJH/scmFmICdf4Stv 966w== X-Gm-Message-State: AOAM5305g4CkeQT1F9gmV4rNZwwr8Vv4+4S20W54eUB70KSj82WxNzYp iVhFaYawaj9NArMskz9q66EB0t3i3nvsYCbl X-Received: by 2002:a17:90a:6b08:: with SMTP id v8mr14057598pjj.131.1617987559528; Fri, 09 Apr 2021 09:59:19 -0700 (PDT) Received: from 42.do-not-panic.com (42.do-not-panic.com. [157.230.128.187]) by smtp.gmail.com with ESMTPSA id z23sm2795483pjh.45.2021.04.09.09.59.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Apr 2021 09:59:18 -0700 (PDT) Received: by 42.do-not-panic.com (Postfix, from userid 1000) id 6D85340256; Fri, 9 Apr 2021 16:59:17 +0000 (UTC) Date: Fri, 9 Apr 2021 16:59:17 +0000 From: Luis Chamberlain To: Andy Shevchenko Cc: Thomas Bogendoerfer , Alexander Lobakin , Wei Liu , Rasmus Villemoes , Arnd Bergmann , Bjorn Andersson , Christian Brauner , Andrew Morton , Kees Cook , Mike Rapoport , Corey Minyard , Michael Ellerman , Vasily Gorbik , "Jason J. Herne" , Joerg Roedel , Michael Kelley , Joe Perches , Florian Fainelli , Krzysztof Kozlowski , Greg Kroah-Hartman , Scott Branden , Olof Johansson , Mihai Carabas , Wang Wenhu , Marek Czerski , Hongbo Yao , Mathieu Poirier , Vineeth Vijayan , Heiko Carstens , Peter Oberparleiter , Alexander Egorenkov , Tetsuo Handa , Vlastimil Babka , "Paul E. McKenney" , "Steven Rostedt (VMware)" , linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org, linux-hyperv@vger.kernel.org, xen-devel@lists.xenproject.org, linux-xtensa@linux-xtensa.org, openipmi-developer@lists.sourceforge.net, linux-clk@vger.kernel.org, linux-edac@vger.kernel.org, coresight@lists.linaro.org, linux-leds@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, netdev@vger.kernel.org, linux-pm@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-staging@lists.linux.dev, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-arch@vger.kernel.org, kexec@lists.infradead.org, rcu@vger.kernel.org, linux-fsdevel@vger.kernel.org, Richard Henderson , Ivan Kokshaysky , Matt Turner , Catalin Marinas , Will Deacon , "James E.J. Bottomley" , Helge Deller , Benjamin Herrenschmidt , Paul Mackerras , Christian Borntraeger , "David S. Miller" , Jeff Dike , Richard Weinberger , Anton Ivanov , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Boris Ostrovsky , Juergen Gross , Stefano Stabellini , Chris Zankel , Max Filippov , Corey Minyard , Paul Walmsley , Michael Turquette , Stephen Boyd , Dinh Nguyen , Mauro Carvalho Chehab , Tony Luck , James Morse , Robert Richter , Suzuki K Poulose , Mike Leach , Leo Yan , Alexander Shishkin , Pavel Machek , Alex Elder , Jakub Kicinski , Sebastian Reichel , Ohad Ben-Cohen , Jens Frederich , Daniel Drake , Jon Nettleton , Eric Biederman , Josh Triplett , Mathieu Desnoyers , Lai Jiangshan , Joel Fernandes , Iurii Zaikin , Mike Rapoport Subject: Re: [PATCH v2 1/1] kernel.h: Split out panic and oops helpers Message-ID: <20210409165917.GH4332@42.do-not-panic.com> References: <20210409100250.25922-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210409100250.25922-1-andriy.shevchenko@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 09, 2021 at 01:02:50PM +0300, Andy Shevchenko wrote: > kernel.h is being used as a dump for all kinds of stuff for a long time. > Here is the attempt to start cleaning it up by splitting out panic and > oops helpers. > > There are several purposes of doing this: > - dropping dependency in bug.h > - dropping a loop by moving out panic_notifier.h > - unload kernel.h from something which has its own domain > > At the same time convert users tree-wide to use new headers, although > for the time being include new header back to kernel.h to avoid twisted > indirected includes for existing users. > > Signed-off-by: Andy Shevchenko > Reviewed-by: Bjorn Andersson > Acked-by: Mike Rapoport > Acked-by: Corey Minyard > Acked-by: Christian Brauner > Acked-by: Arnd Bergmann > Acked-by: Kees Cook > Acked-by: Wei Liu > Acked-by: Rasmus Villemoes > Signed-off-by: Andrew Morton Acked-by: Luis Chamberlain Luis