Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp656468imm; Fri, 29 Jun 2018 04:19:56 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK7gvMKpeHaUmlkiASES6tk5rPWmr/GNrNzOW46UBseef02PhRLUNkF3vHE8UOr1t2zxrg2 X-Received: by 2002:a17:902:7202:: with SMTP id ba2-v6mr14174881plb.119.1530271196232; Fri, 29 Jun 2018 04:19:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530271196; cv=none; d=google.com; s=arc-20160816; b=RDYNbGoHxt/ythaq+huNcXZRR7SSEE+j7l4uZcYVURYbGcU+657vGZou260/9q9fJP AtmRHVB+Rf2sbK3A37Mj3qeeB1z9UxTbSxpIYizGzcXPQhFdT4Pc78J5xrlfkDG0d5xN a3q+nJEcXLvV1Vouc1z1GbdQk8BkZGqy3vB/a4lTyzFID8RTBafhNCuPipsIL88YK9eu PQ3mAzBlYd25fTae4MI41gF1Iinhyp+onNMqOnaDU/q/AGadpraw+qM8wlkTHaLidNlr xMWZa+sPlxYRCtwLULau+fWssQ/8LmfU8ryXXII3zDERAPWcJlyOC6p+iB2fEw2V4MtA AzNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=XTkaSgDMhF9IPuCRtMd36ASxsEJH2gz907BE3zyLEJs=; b=buZgOZOqXfMzDK3DlBbHynOD+e7W3uVTBrgZSAEN9JGQ6x+Pbj+SkKNbDLOQRMXLgB k3dxLF08surUB93SnJKrQXwEVNWpamldAmT5nsL5j8tLP4LE5BtA4FHKKkBL9piV8wRA gMupMxcmO9sRPQAGRTYQrsC7Uj/G/wSs1V80vrLGqcMvoiWsZX1MdTm/hr5OLY/fuAzM xWEYPziRf3lWdKgE6eZivmyjW38XCP+e/3ca5UfmMz4LXUDTWig+cyIZCy79JAceaMku p6aRhfmGEDKkqlUS9IyyEdBy/M226mALXVE5ayuOzjjG8qWfMlwu3bUKhSmMRQFDIZWL eoow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ofpd0OkA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id e20-v6si10004139pfm.177.2018.06.29.04.19.42; Fri, 29 Jun 2018 04:19:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ofpd0OkA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1753582AbeF2KnQ (ORCPT + 99 others); Fri, 29 Jun 2018 06:43:16 -0400 Received: from mail-ua0-f195.google.com ([209.85.217.195]:39764 "EHLO mail-ua0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753138AbeF2KnP (ORCPT ); Fri, 29 Jun 2018 06:43:15 -0400 Received: by mail-ua0-f195.google.com with SMTP id n4-v6so5491966uad.6; Fri, 29 Jun 2018 03:43:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=XTkaSgDMhF9IPuCRtMd36ASxsEJH2gz907BE3zyLEJs=; b=Ofpd0OkAALjKCHjt/jMQ4hAcXOP8kPd0N1IWBvuRSvwWvLUcdCYxc6eaimmIzrPMa3 0Ta5eCAGmn+3mrO4tLy3PrhTP7N1YN2UsLAHqBOXOBccbLFjVNk7+M7WayhciVr3lJyK gRE31p4wWwFq/sLbmzpO70HEuzf625NgW0aJbdyuPyWjJXaucFwKS1Ut7xI3lfFnVNjN 2hIes2kSMa7daQM/uQYeXkwlxYHSF3ITBaGhzMrZ4RiryVTWBa6E6E5Ja68nQYl/3TFb cTgF/TryR7s/xyWUtW4pqTGII9QIojMtnXhiu+nCbVyrbrb1Fia1RSLq/PW++EX1k52P 0+Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=XTkaSgDMhF9IPuCRtMd36ASxsEJH2gz907BE3zyLEJs=; b=nyVxf/Kc5rQzyfWYcvpXK+amNaPZMdA14o2jY9jhfEzW1GMAffApZy23IGPGj9xvBe zv2CvTqj6xOi8y1yYWdcpEaBgifglwzDC1QVtbR2OdnZT5BLrVOGNR7wnKz0GBnkK4kP QPURC+J+rYNkWi7ipbnHpvWKqrb5VSgrVq7Xcm/C9eqCOLtT3Ga53RDp2MVsyljB5nXY k2uTu/0GEtf5/eozF7vvX9jn9l7qijX+AHPK0wpFYDmxCV8Q82dEWY/e0nReqFbQtCfe LMWzsSS/jTg7yHJI6Oc/tQt0aZP9ZC7jmVYjqNGpoon/3iyOpsZrslpS1LZ1CyAP4JZg EXNg== X-Gm-Message-State: APt69E1aKGGW5pccnkAhnKNbmzkjgPFClekF6CVwkFXdEPJoxO15Rdlc yU6Kq1Edzz0y30Glp/dJGze7ZtIXzihpFfDCz0Y= X-Received: by 2002:ab0:1b9b:: with SMTP id k27-v6mr9009412uai.122.1530268994268; Fri, 29 Jun 2018 03:43:14 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a67:8b02:0:0:0:0:0 with HTTP; Fri, 29 Jun 2018 03:43:13 -0700 (PDT) In-Reply-To: References: <8837a9e2-e614-e2bf-ed32-6d49de4dd4ed@gmx.de> From: Andy Shevchenko Date: Fri, 29 Jun 2018 13:43:13 +0300 Message-ID: Subject: Re: small dmesg regression in kernel 4.17.3 To: "Schmauss, Erik" Cc: =?UTF-8?Q?Toralf_F=C3=B6rster?= , "Moore, Robert" , ACPI Devel Maling List , Linux Kernel Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 29, 2018 at 1:13 AM, Schmauss, Erik w= rote: >> On Tue, Jun 26, 2018 at 8:57 PM, Toralf F=C3=B6rster >> wrote: >> > The attached dmesg contains non printable chars 0x01 33 around "ACPI >> > BIOS Error (bug): Could not resolve" which is a new issue compared to >> > the dmesg of 4.17.2 >> > >> > System is a stable hardened Gentoo Linux at a ThinkPad T440s. >> >> I bet the below commit makes this. >> >> commit 2e78935d1e27d31955ad2dad4abe6c453cf669fd >> Author: Erik Schmauss >> Date: Fri Jun 1 12:06:43 2018 -0700 >> >> ACPICA: AML parser: attempt to continue loading table after error >> >> > Hi Andy, > >> So, it does add leading '\n' which flushes buffers followed by printing = the >> message you see. But, I'm guessing now, kernel adds a default level sinc= e it's >> going to dmesg which you can see as unprintable symbols. > > What do you mean by a default level? I can't find fast the better example, though if you look at printk_get_lev= el() https://elixir.bootlin.com/linux/latest/source/include/linux/printk.h#L16 it will shed a light on a format. Thus, 0x01 0x33 means start of the kernel error message (error is a level). Kernel messaging protocol is defined in https://elixir.bootlin.com/linux/latest/source/include/linux/kern_levels.h This is my understanding on what's going on (I might be mistaken). --=20 With Best Regards, Andy Shevchenko