Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3582985pxj; Tue, 11 May 2021 07:37:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhSBAXlnNPN8VXWLNdHFzXza3J6nDcQ1i5s0W63XASyVlaq+OBjJlhrzTU0poYG6q1LhqF X-Received: by 2002:a17:906:e28c:: with SMTP id gg12mr32062382ejb.483.1620743849670; Tue, 11 May 2021 07:37:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620743849; cv=none; d=google.com; s=arc-20160816; b=xQk5OyTTt47RXsLyNGQFQXRyImE15o41bs66eTFtWIRAHh0hMzxgTll35Xk5yjGHdv akl3EbQN8SLBU4TMKM/xlBt3J97EFYplMMhPR7P2TUqMytBQs82Nv5Syl04woUDJ/NeR MboGERqOs/9IvGYz5J0SXbIX2E4skGQbU6HhVrZu0q+i/cz/x01N9qKTHBPoxgN+PhN4 C1yJhA/g07hWBuJ/726ow+LeEV2VnhuOZoRTiZWWh8Z1oWnZ5bfwwIE40gx7bpUd6r8L ZM8X+5/QoGwJzfwalp0Q0fjFSGQZH7Yyoh9ZellYH8kBA9kXMij2SbI21HIY+/nhzFIC YzFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:cc:from :references:to:subject:dkim-signature; bh=ETXAFKWQdH8/eG9YgJ2MyXQqUI4w0G+a8+7kidOetNw=; b=KpJXwg4z7Q7phpOGbVzenKCOLJh1lDghDqKrFhiMvIZ5GNgXKO25aElKdylFmWjnPt 8ve4bCJ7MuHdV6igRqzk552Vh8+pKvE27mJNWOaPfGwPM8RHQ3EvVUY+5c7dW8h2/jeI CDDK+wJoak7fo8GuhN/lhxepx/Zpni4EDJjMX7/IPI7K7viUaqmAfrFscas2AcIavw36 MAnKUXKj4xo0/U9YtmgPNmLix0g/OrB5CmrAt+6qFIqtWZKZxhXkNW8dGV9kydVx2Ykv bUWkGfxGWmuOObqYVPpABYsX2PZNih5pGnx+BjoG+Kp1lwUbA5eVOYR/SFys/2UYqPpH nYcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ieee.org header.s=google header.b=D+8UcMkB; 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=ieee.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p31si84757edb.415.2021.05.11.07.37.05; Tue, 11 May 2021 07:37:29 -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; dkim=pass header.i=@ieee.org header.s=google header.b=D+8UcMkB; 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=ieee.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231948AbhEKOhH (ORCPT + 99 others); Tue, 11 May 2021 10:37:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231920AbhEKOhF (ORCPT ); Tue, 11 May 2021 10:37:05 -0400 Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E87BC06138F for ; Tue, 11 May 2021 07:35:58 -0700 (PDT) Received: by mail-oi1-x231.google.com with SMTP id v22so14329136oic.2 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=MBtDw720zDxQ2cx7/MjS2E3yomDyafQ1f0MQ1f/t96Yro1eahWmveSDXQFzG5aKcba 5BqC7JpM9tTsDI7PA22b9482c8Izj+5HL/kLWXYsfWP1qhzX3yioOmdQp6sndLOEhnjm GkeKqx5ak/xSi4uxtCUyDdaTSD3VEyQ8mgDScS9W4Tf4hd80d7nV0UDVTwuyB3iaypvg q2B4LhbGnCX4dUJwm4LYxsegOL1ojEdtQToyWAd/v6NeI68JW6lC4usVu2v/yhSdap31 sfBXKSPhf0WOKmXduRfmsR1O/XH+4VZhJZlu0REBqwChGpL5nhJaA67XXASfFYkUf5i+ 2lxg== X-Gm-Message-State: AOAM5328N4oYOyRUSNTVvhJc7jYzuk2XYINzHxUr2za4hUPjJbw5zCPs DFIJA9pG1ja1+voYzM3spKOdMg== 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-kernel@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 > . . .