[{"id":1779436,"web_url":"http://patchwork.ozlabs.org/comment/1779436/","msgid":"<CAK7LNATiepY1my5n1Dxw1u1AJe3h=rx=A7t4WGCV1VwuDWW8pA@mail.gmail.com>","list_archive_url":null,"date":"2017-10-04T05:15:19","subject":"Re: [U-Boot] [PATCH v2 0/8] Sync and consolidate Linux-derived\n\tprintk, BUILD_BUG, BUG, WARN, etc.","submitter":{"id":65882,"url":"http://patchwork.ozlabs.org/api/people/65882/","name":"Masahiro Yamada","email":"yamada.masahiro@socionext.com"},"content":"2017-09-16 14:10 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:\n>\n> I tested this series with buildman.\n>\n>\n>\n> Masahiro Yamada (8):\n>   stdio.h: move printf() stuff from <common.h> to <stdio.h>\n>   printk: collect printk stuff into <linux/printk.h> with loglevel\n>     support\n>   treewide: replace with error() with pr_err()\n>   common.h: remove error()\n>   vsprintf.h: include <linux/types.h>\n>   bug.h: sync BUILD_BUG stuff with Linux 4.13\n>   bug.h: move runtime BUG/WARN macros into <linux/bug.h>\n>   dm: define dev_*() log functions in DM header\n\n\n\nI am still worried if this series is dismissed.\n\nI am being blocked from importing NAND code from Linux\ndue to missing/incompatible Linux-derived macros.","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=nifty.com header.i=@nifty.com\n\theader.b=\"J6UsGpZR\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3y6PJX2wDNz9sRV\n\tfor <incoming@patchwork.ozlabs.org>;\n\tWed,  4 Oct 2017 16:16:27 +1100 (AEDT)","by lists.denx.de (Postfix, from userid 105)\n\tid B7A52C21F9D; Wed,  4 Oct 2017 05:16:20 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id A428FC21D78;\n\tWed,  4 Oct 2017 05:16:17 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 4E034C21D78; Wed,  4 Oct 2017 05:16:16 +0000 (UTC)","from conssluserg-03.nifty.com (conssluserg-03.nifty.com\n\t[210.131.2.82]) by lists.denx.de (Postfix) with ESMTPS id B4D0BC21D5F\n\tfor <u-boot@lists.denx.de>; Wed,  4 Oct 2017 05:16:14 +0000 (UTC)","from mail-qt0-f177.google.com (mail-qt0-f177.google.com\n\t[209.85.216.177]) (authenticated)\n\tby conssluserg-03.nifty.com with ESMTP id v945G0HB001190\n\tfor <u-boot@lists.denx.de>; Wed, 4 Oct 2017 14:16:00 +0900","by mail-qt0-f177.google.com with SMTP id k1so6124507qti.2\n\tfor <u-boot@lists.denx.de>; Tue, 03 Oct 2017 22:16:00 -0700 (PDT)","by 10.37.75.1 with HTTP; Tue, 3 Oct 2017 22:15:19 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=0.0 required=5.0 tests=KHOP_BIG_TO_CC,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Filter":"OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com v945G0HB001190","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com;\n\ts=dec2015msa; t=1507094160;\n\tbh=EtDW5oICK9WxqnaeXBnycs0m6Ox4UnOWp+RrfITRZVs=;\n\th=In-Reply-To:References:From:Date:Subject:To:Cc:From;\n\tb=J6UsGpZROG0mRKkiiTEzakMsRI4QAXnLGYBeQ9XbC5TkUF7YQqlAs5JJ3jznF50dC\n\t+EeJZ86ttTEyYMZjlVnbaz7/zIr+JzYQmDozLZP/1JrBdnHUhVkhFLoOITA35woVp9\n\t7MjBXGW8rR5jI6EYFqaiV9CsQoi5YzWe0giguMVxuSGEX5wtnMoR8AfYhZBkUlfRMd\n\t/2eErexSugKhQydbUd3hkOrViA3lGSiB5TQI2kIrJ8afo5OBRX1HFg50S1IBiAdj1H\n\t3/JNOzoTLLJB109gVyp/6CuKbSBeAE+4+ZVv944EtnxmABspSHQL/Lbzfhge8ESsHZ\n\ts21hDTndEO7sA==","X-Nifty-SrcIP":"[209.85.216.177]","X-Gm-Message-State":"AHPjjUhNunpev9F4S7PMhXkB0xkeIlebCjujo1DeF3BVg9p5ZDhHF9Y3\n\tO80AcnXu6zFoSW8Bv5GDyZhjcy5L6+jCaalsWA8=","X-Google-Smtp-Source":"AOwi7QCW667YET1LmR7+moetpQK08cDnOxn/sbD1lMpe42BVjuamNkZPIHN5F+dUmoOynVoHIflO8LI4UVtSXucAUcI=","X-Received":"by 10.13.248.3 with SMTP id i3mr16268471ywf.337.1507094159543;\n\tTue, 03 Oct 2017 22:15:59 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<1505538646-19191-1-git-send-email-yamada.masahiro@socionext.com>","References":"<1505538646-19191-1-git-send-email-yamada.masahiro@socionext.com>","From":"Masahiro Yamada <yamada.masahiro@socionext.com>","Date":"Wed, 4 Oct 2017 14:15:19 +0900","X-Gmail-Original-Message-ID":"<CAK7LNATiepY1my5n1Dxw1u1AJe3h=rx=A7t4WGCV1VwuDWW8pA@mail.gmail.com>","Message-ID":"<CAK7LNATiepY1my5n1Dxw1u1AJe3h=rx=A7t4WGCV1VwuDWW8pA@mail.gmail.com>","To":"U-Boot Mailing List <u-boot@lists.denx.de>, Tom Rini <trini@konsulko.com>","Cc":"Marek Vasut <marex@denx.de>, Stephen Warren <swarren@nvidia.com>,\n\tStefan Agner <stefan.agner@toradex.com>,\n\tRobert Baldyga <r.baldyga@samsung.com>, Scott Wood <oss@buserror.net>,\n\tJoe Hershberger <joe.hershberger@ni.com>,\n\tTom Warren <twarren@nvidia.com>, \n\tJagan Teki <jagan@openedev.com>, Peter Howard <phoward@gme.net.au>","Subject":"Re: [U-Boot] [PATCH v2 0/8] Sync and consolidate Linux-derived\n\tprintk, BUILD_BUG, BUG, WARN, etc.","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}},{"id":1780250,"web_url":"http://patchwork.ozlabs.org/comment/1780250/","msgid":"<20171005030636.GE13661@bill-the-cat>","list_archive_url":null,"date":"2017-10-05T03:06:36","subject":"Re: [U-Boot] [PATCH v2 0/8] Sync and consolidate Linux-derived\n\tprintk, BUILD_BUG, BUG, WARN, etc.","submitter":{"id":65875,"url":"http://patchwork.ozlabs.org/api/people/65875/","name":"Tom Rini","email":"trini@konsulko.com"},"content":"On Wed, Oct 04, 2017 at 02:15:19PM +0900, Masahiro Yamada wrote:\n> 2017-09-16 14:10 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:\n> >\n> > I tested this series with buildman.\n> >\n> >\n> >\n> > Masahiro Yamada (8):\n> >   stdio.h: move printf() stuff from <common.h> to <stdio.h>\n> >   printk: collect printk stuff into <linux/printk.h> with loglevel\n> >     support\n> >   treewide: replace with error() with pr_err()\n> >   common.h: remove error()\n> >   vsprintf.h: include <linux/types.h>\n> >   bug.h: sync BUILD_BUG stuff with Linux 4.13\n> >   bug.h: move runtime BUG/WARN macros into <linux/bug.h>\n> >   dm: define dev_*() log functions in DM header\n> \n> I am still worried if this series is dismissed.\n> \n> I am being blocked from importing NAND code from Linux\n> due to missing/incompatible Linux-derived macros.\n\nI am looking at this, but a default LOGLEVEL of 5 is just too high and\nI'm seeing what's reasonable now.","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=konsulko.com header.i=@konsulko.com\n\theader.b=\"R3xTWktG\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3y6yNd2DZ1z9t3k\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  5 Oct 2017 14:06:55 +1100 (AEDT)","by lists.denx.de (Postfix, from userid 105)\n\tid 5C9B3C21DA2; Thu,  5 Oct 2017 03:06:47 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 79141C21D8D;\n\tThu,  5 Oct 2017 03:06:43 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 1C851C21D8D; Thu,  5 Oct 2017 03:06:42 +0000 (UTC)","from mail-qt0-f172.google.com (mail-qt0-f172.google.com\n\t[209.85.216.172])\n\tby lists.denx.de (Postfix) with ESMTPS id 423F1C21C54\n\tfor <u-boot@lists.denx.de>; Thu,  5 Oct 2017 03:06:40 +0000 (UTC)","by mail-qt0-f172.google.com with SMTP id 6so13917389qtw.3\n\tfor <u-boot@lists.denx.de>; Wed, 04 Oct 2017 20:06:40 -0700 (PDT)","from bill-the-cat ([2606:a000:1401:811b:59d1:8451:efeb:a7b3])\n\tby smtp.gmail.com with ESMTPSA id\n\tx4sm6091867ywe.109.2017.10.04.20.06.37\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 04 Oct 2017 20:06:38 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=KHOP_BIG_TO_CC,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com;\n\ts=google; \n\th=date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to:user-agent;\n\tbh=t1X+bpwFjsR51aQu0shRs1zSoaJL6gPjJN8/XUX00rU=;\n\tb=R3xTWktGM0NRIYAj8fBgTVGrAoo7Dg3tK7uWy2Ln9QxxrRuy6mLSZ2APz1jnDVYy1k\n\th59uoxQy1ccr9eJUYq41IKjAPWhVu1vW2bL3SUgSJr0jEOOPZ3P67SHOgvo/bADx0Zkc\n\tbkBohRGuHzqUoD+GF3i9Xe2sdwxA7usJofNCQ=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:in-reply-to:user-agent;\n\tbh=t1X+bpwFjsR51aQu0shRs1zSoaJL6gPjJN8/XUX00rU=;\n\tb=dwxehWCZvGnHuAjQA7pDONPysTWCFSSdkiyPvyD6a9yYk2WdfaDw3r1Sjn16aHBwT+\n\tLfuqgZnBpx5kXzZ/8IXN4Q7UH3SAO1XAyjeGqBY7leddsvf54RPcBZ4MVei7XIM1amMW\n\trDyhgeFjR92wfW3sZ5Q7hR1dqyz0biYRsPa7Nr54nFkLm6NPzBCp1C3coBlgT+4Ztfkp\n\tVI7bDWOeI2e9/OniCyhJOiSCUd6mBFf6ymhkHYucJnGTGZ7Zik3A1z2HdYB4WFQFP94t\n\tT2cMQdrnV8JGce/gqG9bjA54w/wL07GXTgLFDqBJ02kUVemT+SN3u5pedC2SSKLHSBIC\n\tNWBA==","X-Gm-Message-State":"AMCzsaVPtmRRUwgTi9MCgFjHR+Xszk3I0Bxxk2nMRpklOezsyLCZUgUo\n\tqI1S0Tx635jgbxzVI+QbqnBbsQ==","X-Google-Smtp-Source":"AOwi7QCDg+XIjqTPi9wsLofRkj+wrbamaDhBefDHkyYFRXPu//JVmSdRsj2Nx5/SvYAA1IVy2aZhIw==","X-Received":"by 10.37.22.6 with SMTP id 6mr5547268ybw.206.1507172798885;\n\tWed, 04 Oct 2017 20:06:38 -0700 (PDT)","Date":"Wed, 4 Oct 2017 23:06:36 -0400","From":"Tom Rini <trini@konsulko.com>","To":"Masahiro Yamada <yamada.masahiro@socionext.com>","Message-ID":"<20171005030636.GE13661@bill-the-cat>","References":"<1505538646-19191-1-git-send-email-yamada.masahiro@socionext.com>\n\t<CAK7LNATiepY1my5n1Dxw1u1AJe3h=rx=A7t4WGCV1VwuDWW8pA@mail.gmail.com>","MIME-Version":"1.0","In-Reply-To":"<CAK7LNATiepY1my5n1Dxw1u1AJe3h=rx=A7t4WGCV1VwuDWW8pA@mail.gmail.com>","User-Agent":"Mutt/1.5.24 (2015-08-30)","Cc":"Marek Vasut <marex@denx.de>, Stephen Warren <swarren@nvidia.com>,\n\tStefan Agner <stefan.agner@toradex.com>,\n\tJoe Hershberger <joe.hershberger@ni.com>,\n\tRobert Baldyga <r.baldyga@samsung.com>, Scott Wood <oss@buserror.net>,\n\tU-Boot Mailing List <u-boot@lists.denx.de>,\n\tTom Warren <twarren@nvidia.com>, \n\tJagan Teki <jagan@openedev.com>, Peter Howard <phoward@gme.net.au>","Subject":"Re: [U-Boot] [PATCH v2 0/8] Sync and consolidate Linux-derived\n\tprintk, BUILD_BUG, BUG, WARN, etc.","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"multipart/mixed;\n\tboundary=\"===============2375805404938835999==\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}},{"id":1780252,"web_url":"http://patchwork.ozlabs.org/comment/1780252/","msgid":"<CAK7LNARHzK4uB1vioEi=tJdhgDZ+iiC1tbD3UB=vOrsXqWabVg@mail.gmail.com>","list_archive_url":null,"date":"2017-10-05T03:20:36","subject":"Re: [U-Boot] [PATCH v2 0/8] Sync and consolidate Linux-derived\n\tprintk, BUILD_BUG, BUG, WARN, etc.","submitter":{"id":65882,"url":"http://patchwork.ozlabs.org/api/people/65882/","name":"Masahiro Yamada","email":"yamada.masahiro@socionext.com"},"content":"Hi Tom,\n\n\n2017-10-05 12:06 GMT+09:00 Tom Rini <trini@konsulko.com>:\n> On Wed, Oct 04, 2017 at 02:15:19PM +0900, Masahiro Yamada wrote:\n>> 2017-09-16 14:10 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:\n>> >\n>> > I tested this series with buildman.\n>> >\n>> >\n>> >\n>> > Masahiro Yamada (8):\n>> >   stdio.h: move printf() stuff from <common.h> to <stdio.h>\n>> >   printk: collect printk stuff into <linux/printk.h> with loglevel\n>> >     support\n>> >   treewide: replace with error() with pr_err()\n>> >   common.h: remove error()\n>> >   vsprintf.h: include <linux/types.h>\n>> >   bug.h: sync BUILD_BUG stuff with Linux 4.13\n>> >   bug.h: move runtime BUG/WARN macros into <linux/bug.h>\n>> >   dm: define dev_*() log functions in DM header\n>>\n>> I am still worried if this series is dismissed.\n>>\n>> I am being blocked from importing NAND code from Linux\n>> due to missing/incompatible Linux-derived macros.\n>\n> I am looking at this, but a default LOGLEVEL of 5 is just too high and\n> I'm seeing what's reasonable now.\n>\n\nNo.  I set the default to 6, not 5.\n\nThe reason why I chose 6 was to suppress a bunch of pr_info()\nfrom drivers/mtd/nand/, which is a copy of Linux.\n\n\nIf you change it to a bigger number,\nsome annoying logs would be displayed after NAND:  tag.\n\nIf you change it to a smaller number,\npr_notice() would be suppressed.\n\n\nThe Linux doc says:\n\n 5 (KERN_NOTICE)         normal but significant condition\n\n\nSo, I think this is worth printing by default.\n\n\nIf you do not like it, you can change it,\nbut please make sure to adjust git-log.","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=nifty.com header.i=@nifty.com\n\theader.b=\"nVFimX8C\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3y6yjn2hhPz9sRq\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  5 Oct 2017 14:21:49 +1100 (AEDT)","by lists.denx.de (Postfix, from userid 105)\n\tid 0D274C21E63; Thu,  5 Oct 2017 03:21:47 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 334BEC21D8D;\n\tThu,  5 Oct 2017 03:21:43 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid 3CB65C21C54; Thu,  5 Oct 2017 03:21:42 +0000 (UTC)","from conssluserg-04.nifty.com (conssluserg-04.nifty.com\n\t[210.131.2.83]) by lists.denx.de (Postfix) with ESMTPS id 8A56AC21D8D\n\tfor <u-boot@lists.denx.de>; Thu,  5 Oct 2017 03:21:40 +0000 (UTC)","from mail-qt0-f172.google.com (mail-qt0-f172.google.com\n\t[209.85.216.172]) (authenticated)\n\tby conssluserg-04.nifty.com with ESMTP id v953LHje002234\n\tfor <u-boot@lists.denx.de>; Thu, 5 Oct 2017 12:21:18 +0900","by mail-qt0-f172.google.com with SMTP id i13so23036825qtc.11\n\tfor <u-boot@lists.denx.de>; Wed, 04 Oct 2017 20:21:18 -0700 (PDT)","by 10.37.75.1 with HTTP; Wed, 4 Oct 2017 20:20:36 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=0.0 required=5.0 tests=KHOP_BIG_TO_CC,\n\tT_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Filter":"OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com v953LHje002234","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com;\n\ts=dec2015msa; t=1507173678;\n\tbh=q+XH+Q7Dv6aY90TLDEEJXZCtq2oVTY3t8csP4TWStxE=;\n\th=In-Reply-To:References:From:Date:Subject:To:Cc:From;\n\tb=nVFimX8Cb7VtVj4gAKbpa7VH/FI242ODiPMs/2WPvdk9U1WYbcXomokwY74ZrfGZq\n\tKtRzszX5bY5PHS5HKMTklWSdXLX44rhxx0zJkfTmwq1v5sY9pX/unG68anmRBNnL6n\n\tJnb4Wyb1PzQ3Xajy04/KrJMK9mjNaGKfGSeInaB+d7taWQ6GYTxyg0617p9tZZfalt\n\tOUbYO9uAKFYFrVJ94d/RrVL7FRe4iA9odXXg11VLXG2AJ2l67Wri+zJUX0PyS9JbBa\n\t8RoDnENy4r/JQbgLNXs2mxOQCfUnkNm6MfiuLNNcDIECGIeVKGzRh7vhp4OAiadGyE\n\tTCiuBiMdX9SYg==","X-Nifty-SrcIP":"[209.85.216.172]","X-Gm-Message-State":"AMCzsaUWapm2FVxxthj+DMVsLTAxfVlKijzrWHZDsvRt4aoERxBuCUQ+\n\tUqozkF2XoLMFufOFxj3usTPLVzWOc/6TZlB7HBY=","X-Google-Smtp-Source":"AOwi7QCify3rV7Adrtt/vmUx/c2zr5bmkZM+MC5Bd6xoNfhtJh2JUbBCEJrLVYyhbB1PeUJ8Hj/ug1cAHdZ2Y4KKW5M=","X-Received":"by 10.37.55.81 with SMTP id e78mr5409548yba.8.1507173677001; Wed,\n\t04 Oct 2017 20:21:17 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<20171005030636.GE13661@bill-the-cat>","References":"<1505538646-19191-1-git-send-email-yamada.masahiro@socionext.com>\n\t<CAK7LNATiepY1my5n1Dxw1u1AJe3h=rx=A7t4WGCV1VwuDWW8pA@mail.gmail.com>\n\t<20171005030636.GE13661@bill-the-cat>","From":"Masahiro Yamada <yamada.masahiro@socionext.com>","Date":"Thu, 5 Oct 2017 12:20:36 +0900","X-Gmail-Original-Message-ID":"<CAK7LNARHzK4uB1vioEi=tJdhgDZ+iiC1tbD3UB=vOrsXqWabVg@mail.gmail.com>","Message-ID":"<CAK7LNARHzK4uB1vioEi=tJdhgDZ+iiC1tbD3UB=vOrsXqWabVg@mail.gmail.com>","To":"Tom Rini <trini@konsulko.com>","Cc":"Marek Vasut <marex@denx.de>, Stephen Warren <swarren@nvidia.com>,\n\tStefan Agner <stefan.agner@toradex.com>,\n\tU-Boot Mailing List <u-boot@lists.denx.de>,\n\tRobert Baldyga <r.baldyga@samsung.com>, Scott Wood <oss@buserror.net>,\n\tJoe Hershberger <joe.hershberger@ni.com>,\n\tTom Warren <twarren@nvidia.com>, \n\tJagan Teki <jagan@openedev.com>, Peter Howard <phoward@gme.net.au>","Subject":"Re: [U-Boot] [PATCH v2 0/8] Sync and consolidate Linux-derived\n\tprintk, BUILD_BUG, BUG, WARN, etc.","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}},{"id":1780539,"web_url":"http://patchwork.ozlabs.org/comment/1780539/","msgid":"<20171005115803.GF13661@bill-the-cat>","list_archive_url":null,"date":"2017-10-05T11:58:03","subject":"Re: [U-Boot] [PATCH v2 0/8] Sync and consolidate Linux-derived\n\tprintk, BUILD_BUG, BUG, WARN, etc.","submitter":{"id":65875,"url":"http://patchwork.ozlabs.org/api/people/65875/","name":"Tom Rini","email":"trini@konsulko.com"},"content":"On Thu, Oct 05, 2017 at 12:20:36PM +0900, Masahiro Yamada wrote:\n> Hi Tom,\n> \n> \n> 2017-10-05 12:06 GMT+09:00 Tom Rini <trini@konsulko.com>:\n> > On Wed, Oct 04, 2017 at 02:15:19PM +0900, Masahiro Yamada wrote:\n> >> 2017-09-16 14:10 GMT+09:00 Masahiro Yamada <yamada.masahiro@socionext.com>:\n> >> >\n> >> > I tested this series with buildman.\n> >> >\n> >> >\n> >> >\n> >> > Masahiro Yamada (8):\n> >> >   stdio.h: move printf() stuff from <common.h> to <stdio.h>\n> >> >   printk: collect printk stuff into <linux/printk.h> with loglevel\n> >> >     support\n> >> >   treewide: replace with error() with pr_err()\n> >> >   common.h: remove error()\n> >> >   vsprintf.h: include <linux/types.h>\n> >> >   bug.h: sync BUILD_BUG stuff with Linux 4.13\n> >> >   bug.h: move runtime BUG/WARN macros into <linux/bug.h>\n> >> >   dm: define dev_*() log functions in DM header\n> >>\n> >> I am still worried if this series is dismissed.\n> >>\n> >> I am being blocked from importing NAND code from Linux\n> >> due to missing/incompatible Linux-derived macros.\n> >\n> > I am looking at this, but a default LOGLEVEL of 5 is just too high and\n> > I'm seeing what's reasonable now.\n> >\n> \n> No.  I set the default to 6, not 5.\n> \n> The reason why I chose 6 was to suppress a bunch of pr_info()\n> from drivers/mtd/nand/, which is a copy of Linux.\n> \n> \n> If you change it to a bigger number,\n> some annoying logs would be displayed after NAND:  tag.\n> \n> If you change it to a smaller number,\n> pr_notice() would be suppressed.\n> \n> \n> The Linux doc says:\n> \n>  5 (KERN_NOTICE)         normal but significant condition\n> \n> \n> So, I think this is worth printing by default.\n> \n> \n> If you do not like it, you can change it,\n> but please make sure to adjust git-log.\n\nYes, sorry.  You set it to 6, I had already ruled out 5 as too much.\nI'm currently looking at 3 globally as otherwise most platforms are\ngrowing by 5KiB or more (often much more).  And I'm going to do it as a\nfollow-up commit so it's clear.","headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=konsulko.com header.i=@konsulko.com\n\theader.b=\"QU979Fjp\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3y7B9n00H6z9sPt\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  5 Oct 2017 22:58:20 +1100 (AEDT)","by lists.denx.de (Postfix, from userid 105)\n\tid 19498C21EFF; Thu,  5 Oct 2017 11:58:13 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id 5D3A1C21DBB;\n\tThu,  5 Oct 2017 11:58:11 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid CCD73C21DBB; Thu,  5 Oct 2017 11:58:09 +0000 (UTC)","from mail-qt0-f182.google.com (mail-qt0-f182.google.com\n\t[209.85.216.182])\n\tby lists.denx.de (Postfix) with ESMTPS id D4252C21DAB\n\tfor <u-boot@lists.denx.de>; Thu,  5 Oct 2017 11:58:08 +0000 (UTC)","by mail-qt0-f182.google.com with SMTP id 34so7651625qtb.13\n\tfor <u-boot@lists.denx.de>; Thu, 05 Oct 2017 04:58:08 -0700 (PDT)","from bill-the-cat ([2606:a000:1401:811b:59d1:8451:efeb:a7b3])\n\tby smtp.gmail.com with ESMTPSA id\n\tx66sm5869516ywb.108.2017.10.05.04.58.05\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tThu, 05 Oct 2017 04:58:06 -0700 (PDT)"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=-0.0 required=5.0 tests=KHOP_BIG_TO_CC,\n\tRCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,\n\tT_DKIM_INVALID autolearn=unavailable\n\tautolearn_force=no version=3.4.0","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com;\n\ts=google; \n\th=date:from:to:cc:subject:message-id:references:mime-version\n\t:content-disposition:in-reply-to:user-agent;\n\tbh=jqGyiBuGz6f46/EFc+zHKsCnWglgZDeoLBZ8JCUdRI8=;\n\tb=QU979FjpgaPuBhePdJNu0G/nou+ccCUZy2cl+40P45JD9RZ+LzacUSrwwAAs1MNbhM\n\tDC3kImS0zdGwyyHAqPRaKYoI9n1IUCLkysT01dpMcCL/fUhwKnZbtqU9Zk/kS+dCGa/h\n\tPVGfOmfaZdjY8LCIJjDfo43zXOV/ORB/ZWGd0=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:date:from:to:cc:subject:message-id:references\n\t:mime-version:content-disposition:in-reply-to:user-agent;\n\tbh=jqGyiBuGz6f46/EFc+zHKsCnWglgZDeoLBZ8JCUdRI8=;\n\tb=shb9xLVroJ7oWbH2cioYvY3LN7UM+8gblNewMgkdjKRPCWR9ZHRtlJi+xqiiCusqda\n\t3RZHBcDBaHZ/R79oUyieXigCpJJ+xEfRG5RCHNNeqS//4SsX5hReOiwQ451H9ppo+nnP\n\t1/u6bpyHMzvr+1RjtmhHyLNK6E9MT129OBhYRvhEzZl9VuvxPsBL3iJ0JNA8vkBxnWGV\n\twDMg5HME0arZCHFuXoQ1AJXNQZJWZ0TowzQRYlf+wGanoIjsPfgL5sjxMA4K7cAsfJAF\n\tT2I15oorUW8YJAzDqzr7N7CZiepvUL8xT5sGygay3Pq+kVZPTBBv+5nbF7NtexyAnzpA\n\tuQ2A==","X-Gm-Message-State":"AMCzsaXuyylmS0SWqyHGTAGAZmz89uAbZAVZvLa8bgFl3kCLBiWmzY8X\n\txWR8x4b6xbpat26XaZz23rLetm6j0Vg=","X-Google-Smtp-Source":"AOwi7QCx7J/ByHj9COJ3mhomQWH5KBKSZNIbme1djbDx/iFTzMf2FdMI99nnGBog4W0M58aoSuzR4Q==","X-Received":"by 10.37.162.97 with SMTP id b88mr5962760ybi.191.1507204687356; \n\tThu, 05 Oct 2017 04:58:07 -0700 (PDT)","Date":"Thu, 5 Oct 2017 07:58:03 -0400","From":"Tom Rini <trini@konsulko.com>","To":"Masahiro Yamada <yamada.masahiro@socionext.com>","Message-ID":"<20171005115803.GF13661@bill-the-cat>","References":"<1505538646-19191-1-git-send-email-yamada.masahiro@socionext.com>\n\t<CAK7LNATiepY1my5n1Dxw1u1AJe3h=rx=A7t4WGCV1VwuDWW8pA@mail.gmail.com>\n\t<20171005030636.GE13661@bill-the-cat>\n\t<CAK7LNARHzK4uB1vioEi=tJdhgDZ+iiC1tbD3UB=vOrsXqWabVg@mail.gmail.com>","MIME-Version":"1.0","In-Reply-To":"<CAK7LNARHzK4uB1vioEi=tJdhgDZ+iiC1tbD3UB=vOrsXqWabVg@mail.gmail.com>","User-Agent":"Mutt/1.5.24 (2015-08-30)","Cc":"Marek Vasut <marex@denx.de>, Stephen Warren <swarren@nvidia.com>,\n\tStefan Agner <stefan.agner@toradex.com>,\n\tU-Boot Mailing List <u-boot@lists.denx.de>,\n\tRobert Baldyga <r.baldyga@samsung.com>, Scott Wood <oss@buserror.net>,\n\tJoe Hershberger <joe.hershberger@ni.com>,\n\tTom Warren <twarren@nvidia.com>, \n\tJagan Teki <jagan@openedev.com>, Peter Howard <phoward@gme.net.au>","Subject":"Re: [U-Boot] [PATCH v2 0/8] Sync and consolidate Linux-derived\n\tprintk, BUILD_BUG, BUG, WARN, etc.","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","Content-Type":"multipart/mixed;\n\tboundary=\"===============6461452159548685515==\"","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"}}]