From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E5F7BC43619 for ; Tue, 11 May 2021 14:36:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B244A611F1 for ; Tue, 11 May 2021 14:36:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231926AbhEKOhH (ORCPT ); Tue, 11 May 2021 10:37:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231941AbhEKOhG (ORCPT ); Tue, 11 May 2021 10:37:06 -0400 Received: from mail-oi1-x232.google.com (mail-oi1-x232.google.com [IPv6:2607:f8b0:4864:20::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53FBEC061574 for ; Tue, 11 May 2021 07:35:58 -0700 (PDT) Received: by mail-oi1-x232.google.com with SMTP id w22so5333597oiw.9 for ; Tue, 11 May 2021 07:35:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; h=subject:to:references:from:cc:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ETXAFKWQdH8/eG9YgJ2MyXQqUI4w0G+a8+7kidOetNw=; b=D+8UcMkB2GUwjj2F27jdDoxAVAL9rdC9MdMoJFlDBNeHzfe67XWP/sw3xSweHhjvu0 L7zFyh43n9/fy4cUZSlUsyNvNqDkT2TqDuEFXFN77WQ7UwdcaxgaJydbt2h0Tqt9neqT 2ljICDLxSDdscBg19eDiJRfFGl65YBejwUIvU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:cc:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ETXAFKWQdH8/eG9YgJ2MyXQqUI4w0G+a8+7kidOetNw=; b=ItiWE09vss/VcM2Pqs2IcYphaRRsEAdgc+DGninyQM2VFdIaN7ZvO8rMNWWMmbyNph ufTn4SNziWLe5EBqIJ+DNr8dGb/R9HCy3ndp1eNPDj3oLItgpgXyMnBGTVwSGApcvSvT UcC2r8giaFB/eWbBoOi8tf5OwUVWHtup9tpFM7/izjaNEO5DyeuMnSxHPVK4suTOt/ZY w9+mcdakP0Fssss5PKa0mlyOUxmswPL96IK88W64SCXtzkArKTT3TICWuL8MRHuAspyB 80XNRd9MGKXAUbAS5nMVFzamSvIlGU5jmsqVYVTx4hnf2UPtnH3u59vymbMizjNmp+pp Jv+g== X-Gm-Message-State: AOAM533/FLfjrMcisFRRFZL8vULYLdRcFw8hRIeFXDJxZAN3D2Clc2T0 CXyGPO6FS3SDwc43GQfNww8RWg== X-Google-Smtp-Source: ABdhPJyvp7T0CdewBKkqMXtDA5ThSmqkKCGgPnZJ05uagz+Vq5z9FBuvh4nrA0ZkdxuooO6UIklVPg== X-Received: by 2002:aca:53d8:: with SMTP id h207mr3883260oib.177.1620743757147; Tue, 11 May 2021 07:35:57 -0700 (PDT) Received: from [172.22.22.4] (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.googlemail.com with ESMTPSA id 2sm3341540ota.67.2021.05.11.07.35.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 11 May 2021 07:35:56 -0700 (PDT) Subject: Re: [PATCH v3 1/1] kernel.h: Split out panic and oops helpers To: Andy Shevchenko References: <20210511074137.33666-1-andriy.shevchenko@linux.intel.com> From: Alex Elder Cc: linux-xtensa@linux-xtensa.org, openipmi-developer@lists.sourceforge.net, linux-clk@vger.kernel.org, linux-edac@vger.kernel.org, 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, 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, xen-devel@lists.xenproject.org Message-ID: Date: Tue, 11 May 2021 09:35:54 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210511074137.33666-1-andriy.shevchenko@linux.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On 5/11/21 2:41 AM, 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 > Co-developed-by: Andrew Morton > Signed-off-by: Andrew Morton > Acked-by: Sebastian Reichel > Acked-by: Luis Chamberlain > Acked-by: Stephen Boyd > Acked-by: Thomas Bogendoerfer > Acked-by: Helge Deller # parisc > --- > v3: rebased on top of v5.13-rc1, collected a few more tags > > Note WRT Andrew's SoB tag above: I have added it since part of the cases > I took from him. Andrew, feel free to amend or tell me how you want me > to do. > Acked-by: Alex Elder . . . > diff --git a/drivers/net/ipa/ipa_smp2p.c b/drivers/net/ipa/ipa_smp2p.c > index a5f7a79a1923..34b68dc43886 100644 > --- a/drivers/net/ipa/ipa_smp2p.c > +++ b/drivers/net/ipa/ipa_smp2p.c > @@ -8,6 +8,7 @@ > #include > #include > #include > +#include > #include > #include > . . .