Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp370233pxf; Wed, 7 Apr 2021 01:18:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpo5Sm5vUKanpJps/Y/uLueXbipZiDLBTpRXIcLFJIamzi72cR3743tekTwtIrupzJ+PgU X-Received: by 2002:a92:c0c7:: with SMTP id t7mr1904703ilf.302.1617783492884; Wed, 07 Apr 2021 01:18:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617783492; cv=none; d=google.com; s=arc-20160816; b=k+vbbOWFoPEGzXyCc4ODTQFUJXfWXNiu2RVt2uQxbvf4nHwXedBK8JAI6s6lTNAguo uOpHdnQX6B+16qqb1ueWsqFtF/hXpqo32FDooTO8Kla/PcTTo4W3obfZqWFSBpXju+Jk SiL4dPKsgf/kJGaSicjXm//fTSdgDmBv9ydDGh+j/QU+xv8nQDO7XswIHwmCZwBeU7f6 LiMapyYZ8y7AVXGGmKVMjh5ah+Bjr1JZSPSd1pt772Jyb1UShxncVM+NfHhcuee5YkG/ kyeo9qGUYj8r8h0ZViVhOZ61I0/uCmBpV85JRJebK5rufTX4j0x6QUUXe44/nVwSJjGp Rgqg== 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:dkim-signature; bh=eQnC4YbqcPkvvMzS/WXtytqd+L3POj6wkG54irRdxac=; b=mF5h4bvAOGXB8BpyiBb3fEPbviW52wJVmxcLedcvz5eAjrIKZ0OyScUP2ncV1SVQgS TnP5P5H2LX4qe1A9SJ+l77IiOtCchionk2sfkgDioagiflAjDadUWvIjVSCMKUZ/sKf7 ecBdNFMTfQThQQjmHwMoFPJl6dN/eDfxK+qL5y1yBphExdwD4yapcyM/mZ9CVVbeKERK H/SvNHT3OR8oMDKDxoeZVFrcNK4DRQh6ptpN3JzclCtOp3q/kPdvhzcoX5jyBBxOT9t0 DZmclsF8ZWUsfvIBUQgIt40WTomfFicjAbeNulFmf3x093DZ7HMmyQH1btLnf9UAL9Na Bw5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=YAhhm9Bk; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f14si20015532ilu.78.2021.04.07.01.18.00; Wed, 07 Apr 2021 01:18:12 -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=@chromium.org header.s=google header.b=YAhhm9Bk; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238621AbhDFSoU (ORCPT + 99 others); Tue, 6 Apr 2021 14:44:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43090 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237439AbhDFSoM (ORCPT ); Tue, 6 Apr 2021 14:44:12 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7D98FC061761 for ; Tue, 6 Apr 2021 11:44:03 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id d8so7997236plh.11 for ; Tue, 06 Apr 2021 11:44:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=eQnC4YbqcPkvvMzS/WXtytqd+L3POj6wkG54irRdxac=; b=YAhhm9BkpY5y7HrE34KfvVWOVgEO0sYzWSUTiqziDNEK4+3Lral7Ghh0posJjIrz61 tfc63YozQ8TRMvb+TNGvA+LWvP4faXgXV6k8KT0Nv6y/u9B7f1LE4XzO3OjKob023F9j xZGLdr3UYpKw1f93SAnQ8fSdVZaYmuMHTRPdw= 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=eQnC4YbqcPkvvMzS/WXtytqd+L3POj6wkG54irRdxac=; b=A15ww6E7Tw8vFyoe9mVcAUORgq0Ki68nVA6SWpaQeB/0+qXHwYPEYjNMujoFTIB07K t4lb3ObOO9F220tttv/xejpv22dxQG9DddiAFd4Y3ncHmMPZoNr6Tw4KBQtnD6t7gCxZ XkSDxPoSvEkYEOPk6sv/COBEFNNI1EbZwg9FucevtdlF8erHJhfpjlgyw5MYEiMtADm/ qy0OMbQPZfBQpQTs0DlTxXeTtDxq2LU995dZraROMXcH5pV5cWprNWtBT8RywoSvxdjK K9cbMVzrzIdEnnYq4YbzQaOIaiCJaGpfohnfiilMxRZrluH49cPoO2G13nXCx16YAjTG DmPA== X-Gm-Message-State: AOAM531JnHaQWRmEYS/LFTQiH7cLMNi5wBPagr1RaT1JRN80em+uy0lY Uagnlw48HGivGDbYB5JW9IbC4A== X-Received: by 2002:a17:902:e74e:b029:e5:bde4:2b80 with SMTP id p14-20020a170902e74eb02900e5bde42b80mr30088911plf.44.1617734642419; Tue, 06 Apr 2021 11:44:02 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id i9sm3610423pjh.9.2021.04.06.11.44.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 11:44:01 -0700 (PDT) Date: Tue, 6 Apr 2021 11:44:00 -0700 From: Kees Cook To: Andy Shevchenko Cc: Michael Ellerman , Joerg Roedel , Wei Liu , Michael Kelley , Mike Rapoport , Corey Minyard , Bjorn Andersson , Mathieu Poirier , Andrew Morton , Tetsuo Handa , Vlastimil Babka , "Paul E. McKenney" , "Steven Rostedt (VMware)" , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, openipmi-developer@lists.sourceforge.net, linux-remoteproc@vger.kernel.org, linux-arch@vger.kernel.org, kexec@lists.infradead.org, rcu@vger.kernel.org, linux-fsdevel@vger.kernel.org, Benjamin Herrenschmidt , Paul Mackerras , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Corey Minyard , Ohad Ben-Cohen , Arnd Bergmann , Eric Biederman , Josh Triplett , Mathieu Desnoyers , Lai Jiangshan , Joel Fernandes , Luis Chamberlain , Iurii Zaikin Subject: Re: [PATCH v1 1/1] kernel.h: Split out panic and oops helpers Message-ID: <202104061143.E11D2D0@keescook> References: <20210406133158.73700-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210406133158.73700-1-andriy.shevchenko@linux.intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 06, 2021 at 04:31:58PM +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. > > At the same time convert users in header and lib folder to use new header. > Though for time being include new header back to kernel.h to avoid twisted > indirected includes for existing users. > > Signed-off-by: Andy Shevchenko I like it! Do you have a multi-arch CI to do allmodconfig builds to double-check this? Acked-by: Kees Cook -Kees -- Kees Cook