Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp755042ybl; Fri, 9 Aug 2019 13:23:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqyAXBpEl+szg/khzr1ho4GJxzfiv6ngZOM1wUi9L7LynR/rAv83JQ5/73JdPrDpU7Ojwz9N X-Received: by 2002:a63:2b84:: with SMTP id r126mr19571431pgr.308.1565382219611; Fri, 09 Aug 2019 13:23:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565382219; cv=none; d=google.com; s=arc-20160816; b=xOxtAGBwnTVy7z9xED+J1sbt76FCPErx/ptzOjoESMR4Cq4Ju7tZXfdwRAQOnfuWOK jPIbdGCoNhGUvnigtmUETOPEiQLwEX+m16URRFuVT5bgKMorBxdGMs83hynt9YgP52h+ LpMndKhmXEj2Tw4Jvuumhu8C66Sg4fx42U0NfrDf/E2mYKHaipKP3Z7Wa7bRebFeZIh9 I+anW41EvIFynoUunHAmCZnaNCT03c2o+j5fXD8NWTy+vAtMRERFjO3NAZpa5Uay0FxX Ezh1hah1hUfc0wQiDocIGSOwzPWoSXTDZC6C1FXsMeWwhajqr5L1cOC3xIYzQxEefJ9R lf6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=b+WuzQJ72s+s55WdGrB/VNoub8TGAPzVmj1NuZWRwNg=; b=K8MU6eU/go+mNa9KUADC3Jxrnp957V/NDvr8QfqMn78bOLpiwtNTRjSSOBql55r+Qc ymK3oKdRP0QskkCUeloCxSvGpKra0gn8bF71rMDTLQQIsfzHo+8nWDctMidJXm+HIRcy knRP8B4zu43E2TJtg1pV6JV5fTGC3A6fgwDyQf89jbrFBKgQ/ZlIx9GL5xq9C5JgCPEJ ED58xYbPy+ExO2wyye8yubCAMDG6+VohwaIj7hnC7wtN9Rsz4fnFwsB95/4rKC9DVzHR Dvq/opQVr6ymy3AXnoV1tN/64vqPwGkABCIsnlYPY6LIIEScCLtQvVk2GYKkU+3LJQL0 eqZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=e3coo6sS; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u21si57941038pgn.290.2019.08.09.13.23.23; Fri, 09 Aug 2019 13:23:39 -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=@linux-foundation.org header.s=google header.b=e3coo6sS; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726675AbfHIUVM (ORCPT + 99 others); Fri, 9 Aug 2019 16:21:12 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:46163 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725985AbfHIUVM (ORCPT ); Fri, 9 Aug 2019 16:21:12 -0400 Received: by mail-lj1-f194.google.com with SMTP id v24so93345764ljg.13 for ; Fri, 09 Aug 2019 13:21:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=b+WuzQJ72s+s55WdGrB/VNoub8TGAPzVmj1NuZWRwNg=; b=e3coo6sSaC5j2muBs53ynP4CEu65iZmHkIOEmoMKYz8/sBgbKCa2qnMS1MbdVrAo1r nzrpKTbzY/TfaOxKeuqnLBzNpONk1xJ35/7xxGVRKnPoo00kWNMZ6Xzr/3smNvCy8yWh lLoAlVi5WeefZbFz22+OPpuVUJiIppTk3Xbio= 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=b+WuzQJ72s+s55WdGrB/VNoub8TGAPzVmj1NuZWRwNg=; b=HdukFzOWJEJVJv1Fgjz0uDQlmdZdbJhDGFznCzNjMA5yEh6WYO6nQy4RGTTVFrjwqG 76uD+GsCQyoPEWggOMlkAyGPCM59WtYjRD+lm8a6EcSKFiZsQIk6EGRcNQZsE7Wd1ICq ANWfyNtmnST2cNxDfh3clRTWADtt4if8bEZ/bDD3yEtTVU1kK1J2DLa+vzJ1dsZ+z7FH ttXX6IIMiJJfw6o5eamT33304gBvsFpPip6DSYNPn0QGUX6e66OdOs6np67EMh9LLCAQ 0Zcbgjgjv2XDU97JYMkBmGd/nQldrc1nreWdAe7OkE5JlFZ9ru+4/RLj/A0OdH4v9+gO qHxA== X-Gm-Message-State: APjAAAUMGFQrAGJESdk1rtb3Z0c4RAfJdVi3Dwe6i7mOLU8ZhJMtgly6 Pk18lQ2kNcQNAp1dllQcxD41lydg3uk= X-Received: by 2002:a2e:9010:: with SMTP id h16mr12778425ljg.49.1565382069822; Fri, 09 Aug 2019 13:21:09 -0700 (PDT) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com. [209.85.208.179]) by smtp.gmail.com with ESMTPSA id v17sm21979221ljg.36.2019.08.09.13.21.07 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Fri, 09 Aug 2019 13:21:07 -0700 (PDT) Received: by mail-lj1-f179.google.com with SMTP id r9so93170463ljg.5 for ; Fri, 09 Aug 2019 13:21:07 -0700 (PDT) X-Received: by 2002:a2e:9192:: with SMTP id f18mr12296254ljg.52.1565382066715; Fri, 09 Aug 2019 13:21:06 -0700 (PDT) MIME-Version: 1.0 References: <20190807222634.1723-1-john.ogness@linutronix.de> <20190807222634.1723-10-john.ogness@linutronix.de> <874l2rclmw.fsf@linutronix.de> <20190808194523.6f83e087@gandalf.local.home> <20190808204841.5afcad46@gandalf.local.home> In-Reply-To: From: Linus Torvalds Date: Fri, 9 Aug 2019 13:20:50 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH v4 9/9] printk: use a new ringbuffer implementation To: Thomas Gleixner Cc: Steven Rostedt , John Ogness , Linux List Kernel Mailing , Peter Zijlstra , Petr Mladek , Sergey Senozhatsky , Greg Kroah-Hartman , Andrea Parri , Sergey Senozhatsky , Brendan Higgins Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 9, 2019 at 1:07 PM Thomas Gleixner wrote: > > I'm all for it. I just tried it out and the ratio was 3 out of 5 retained > the data +/- a few bitflips with ~2 seconds power off. The other two were > the laptop and that server machine which wipes everything. Perfect. That actually says "the theory works". My desktop worked only on warm reboot - which isn't really the interesting case (it does cover things like triple boots etc and "press reset button when it hangs, so it *can* be helpful, but even on desktops reset buttons seem to be getting less common). But yes, the whole thing where BIOSes wipe everything is problematic, but that's where I just need to ping the right people inside Intel again. I did send the patch to inside Intel earlier, but I think the timing for that might have been bad (people were on vacation), so I should just reach out to more Intel people. It would be better to have a more polished patch (the whole "fixed address at around 12GB physical" really is such a horrible hack), but I dreaded actually parsing the e280 memory map to do some "static for one particular configuration" thing. I should just do that and have something that Intel HW and FW people can test on any hardware. > If that can be avoided with some ACPI tweak especially on the laptop, that > would be great. I'm not so worried about the server case. Yeah, the server case I think we have covered other ways. Plus people running them tend to have serious developer resources anyway. They might still use something like this for some convenient first-order debugging if we end up having generally available, of course, but the target really is "random laptop or home user that uses a distro and can't be expected to even try to sanely report - much less debug - a hung machine condition". Linus