From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4D6D9EB26FB for ; Tue, 10 Feb 2026 18:46:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:Mime-Version:References:In-Reply-To:Message-Id:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=uxq56o4mssvH3z/W9HaPRr6S+5Q9Jw32TUdmbSJZpmY=; b=DRZQ/lNYGOOntiho2mTUr4hIUX Qit3gkU019+DQFbiUj0hk5XvoVSCelLgf2tDFVvNtgGOhpdpBKslDhpZNKgnrtnzXDDYzUsDgtQOl cFdBBCBTQk81e2Mt6bfT109zf5k65SKsirjx3KLZaKszq1WKJ4ZTLn4POZtm6dMJmtvZOXqs3kL6N wjU/sVj4Ryz7VTACRoLYc25afgQfoOxGTzZxXhVRCgwgUhffLzZYYekLg4qPzUHyrf0a36mieXsnS RyToIOpwMDAZCU5xaZdFRo//XH47acoNuhaYhCjvwWFB5fBefWFaRvDtHEvtsQjftpYhVVOh5X9b5 p77pXcAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1vpskm-0000000HPD6-3DJP; Tue, 10 Feb 2026 18:46:38 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1vpskb-0000000HPCQ-2q60; Tue, 10 Feb 2026 18:46:27 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 043E460130; Tue, 10 Feb 2026 18:46:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 55664C116C6; Tue, 10 Feb 2026 18:46:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1770749173; bh=cQmAZOlgqDEJoNzb/KC5ffX6k09b7GesQWLKzu3capA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Ym6yPVTBOhUVK/R/XVvltsP0cb1lHsrBaN4N1frOdcI8ZO64AV9b6SjsYgFVyTrbn 2cgUFXabTY94F3aq2P8f4EETK2GqF9meau0+2NHKE37IQXjDtx9EKJlkDQFxvbIEVT V6OjTffRlf2V1OMY/UxL3QtyZ+9VrQLYOVjfLzeY= Date: Tue, 10 Feb 2026 10:46:12 -0800 From: Andrew Morton To: Breno Leitao Cc: bhe@redhat.com, linux-kernel@vger.kernel.org, kexec@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, dyoung@redhat.com, tony.luck@intel.com, xueshuai@linux.alibaba.com, vgoyal@redhat.com, zhiquan1.li@intel.com, olja@meta.com, kernel-team@meta.com Subject: Re: [PATCH v2 0/2] vmcoreinfo: Expose hardware error recovery statistics via sysfs Message-Id: <20260210104612.5547717cb6b5da794d9c4724@linux-foundation.org> In-Reply-To: References: <20260202-vmcoreinfo_sysfs-v2-0-8f3b5308b894@debian.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 10 Feb 2026 01:11:41 -0800 Breno Leitao wrote: > Hello Andrew, > > On Mon, Feb 02, 2026 at 06:27:38AM -0800, Breno Leitao wrote: > > The kernel already tracks recoverable hardware errors (CPU, memory, PCI, > > CXL, etc.) in the hwerr_data array for vmcoreinfo crash dump analysis. > > However, this data is only accessible after a crash. > > > > This series adds a sysfs directory at /sys/kernel/hwerr_recovery_stats/ to > > expose these statistics at runtime, allowing monitoring tools to track > > hardware health without requiring a kernel crash. > > > > The directory contains one file per error subsystem: > > /sys/kernel/hwerr_recovery_stats/{cpu, memory, pci, cxl, others} > > > > Each file contains a single integer representing the error count. > > > > This is useful for: > > - Proactive detection of failing hardware components > > - Time-series tracking of recoverable errors > > - System health monitoring in cloud environments > > Is there a chance this could be included in the 6.20 merge window? During the 7.0 merge window? Sure. I'll be taking a look at this (and a whole lot more) after 7.0-rc1 is released.