Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp865593pxf; Wed, 7 Apr 2021 13:38:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRmQJ2lSvqhotTIS0n8vr61uYcIbGk2gXAq1lR4nCoMicX14ZxXzbPPdo3heaLEoa78GwO X-Received: by 2002:a17:906:f88a:: with SMTP id lg10mr5897358ejb.349.1617827924767; Wed, 07 Apr 2021 13:38:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617827924; cv=none; d=google.com; s=arc-20160816; b=dqx/RApdLW+nP8qIJvNgAK/6EhPF0vnGXRbQT1WC57PsTCHpTCeSehmw+G/a+q3/84 h8xj8IKeZ44QvXS1i+cfVNelzA8n85r0z80/FQ8odrxEgWY+r8t1xj340HlnxmkNLWMU r/2ts20hck4u/2CdRDy7Fn8D21/IutDq3dbWvvTjTSxhztqZC0T/8PVOAcDBWtwUZZkd QUMJ8ZFSaF7GSevQILZ4MRGFg++IJiGJlx/80yFbZYKWrmQONYR22jcCbsvpV+fvHxI4 0RC03ihCsfn+xK9jbMvPcMkfR2NqGuZ8OMJlfk7p/7DwX1OlMP5MFHslkwbp3ioe5xd3 8wSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=NZttKhZHU6qaVsRmUnPJpvZt0Hi/pFu56dbeZNbDXtU=; b=y+F8RhTnJo2sUQ9hW3CAKOlxjuKK/jwx6HBUJpniXewcHXZ7LYIfLF4Q4pHqjOC7pj LX/8bDn+tPmZsMmlZZQa5lRm1WlSL00kvu0sPKHL6xZ9neniFD/brXKT9zYBr+YY/Np9 WR7RHDOrhGsDgRSFQPDDT/g0czN3UX5mjzvxbQvY1r9XVTRg6Z3upNGTC9dzDVmPDW+f Gy45bODa7XsyQ9XO30298aaJIkrpoIk/mx9lJDAzCGVkUTqGq4uMUipPv6pL3vEVP3lJ HhmpmVDGoKf0ts1lDndBNKRGN5L1Ze8g5m/XEfFOeUY8taaxYD+dS4ZftnsvHbonsnqy FyYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=UDQs+QKz; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k19si10863475eds.343.2021.04.07.13.38.21; Wed, 07 Apr 2021 13:38:44 -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=@gmail.com header.s=20161025 header.b=UDQs+QKz; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349749AbhDGItA (ORCPT + 99 others); Wed, 7 Apr 2021 04:49:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349709AbhDGIrD (ORCPT ); Wed, 7 Apr 2021 04:47:03 -0400 Received: from mail-pf1-x432.google.com (mail-pf1-x432.google.com [IPv6:2607:f8b0:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02CB5C06174A; Wed, 7 Apr 2021 01:46:54 -0700 (PDT) Received: by mail-pf1-x432.google.com with SMTP id y16so318496pfc.5; Wed, 07 Apr 2021 01:46:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NZttKhZHU6qaVsRmUnPJpvZt0Hi/pFu56dbeZNbDXtU=; b=UDQs+QKztlc50Xzz9tDRt+AdeuvS//lqLAuKnWXU/KpkdRIyYns185alJd77pimmOQ Rm+SXfRq7Nbp44iFj09DlIBP8pB9Q/wr1Jktw0TsONZCLU6cUjKoAcBW9MELgEDcm9Fe pjdoHv/Z1K75roAdGxxxm60OLnxr6B3j/huNdwRUOBcR/NfWwdJ0T2Ry1GSBSm5M8gQG cPX3YXLL7dtqUWW4/37Lsyk3k7L76r1KootJDPbDvQIsbhQfbSpG/LRrVUU53kFzKElU mZPAf+0lfHR42X+g8hHRO6PYug2sgsVVq7CJaXGQetXBqPCEBbWZWj0if+0XEWIBGBV8 f3cA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NZttKhZHU6qaVsRmUnPJpvZt0Hi/pFu56dbeZNbDXtU=; b=U6xGKAfqxrLQgJHPe8FmLF8x8gAHUPieu4V5pp/CReJ9GyzSX7OxC13PhDrWxFcuBe p+9uywwNqYWqNFlvhv/DwkYgjcNSaVUavom7Y2H3iu/7hryQwVpvtRFxBiKyelypWZBM XmUZqei/7l8wblDlpP0TenIP6K+m/cXFStjyIjcU2V2QQkmLIJkBcVFCtqo3szb6A5FK y9NHvPsQnWrmpnPV1SYsfvrvy+b7jV8bbligwQjcSU5O/HQl/YTv09NzjkNigG1y20XT u1n89YwY7faLBOL4CLLaVrqcJxrWMuueTDsdMTdtKCp7HePLkIzD596S6B9iYSNhAlN2 HtkA== X-Gm-Message-State: AOAM531S82T3LQNp51YK3OHnBH50CMnAve9+VKkWDXoWcn+2oT/6ajEm gEQVmIbqutQQmub8myghsy5hC2PGm63Mb7qygDI= X-Received: by 2002:a63:3e4b:: with SMTP id l72mr2244351pga.203.1617785213524; Wed, 07 Apr 2021 01:46:53 -0700 (PDT) MIME-Version: 1.0 References: <20210406133158.73700-1-andriy.shevchenko@linux.intel.com> <202104061143.E11D2D0@keescook> In-Reply-To: <202104061143.E11D2D0@keescook> From: Andy Shevchenko Date: Wed, 7 Apr 2021 11:46:37 +0300 Message-ID: Subject: Re: [PATCH v1 1/1] kernel.h: Split out panic and oops helpers To: Kees Cook Cc: Andy Shevchenko , 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)" , "open list:LINUX FOR POWERPC PA SEMI PWRFICIENT" , Linux Kernel Mailing List , Linux on Hyper-V List , openipmi-developer@lists.sourceforge.net, linux-remoteproc@vger.kernel.org, Linux-Arch , kexec@lists.infradead.org, rcu@vger.kernel.org, Linux FS Devel , Benjamin Herrenschmidt , Paul Mackerras , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , "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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 7, 2021 at 11:17 AM Kees Cook wrote: > > 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? Unfortunately no, I rely on plenty of bots that are harvesting mailing lists. But I will appreciate it if somebody can run this through various build tests. > Acked-by: Kees Cook Thanks! -- With Best Regards, Andy Shevchenko