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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03EA3C6FD1D for ; Mon, 27 Mar 2023 22:07:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229762AbjC0WHP (ORCPT ); Mon, 27 Mar 2023 18:07:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229476AbjC0WHN (ORCPT ); Mon, 27 Mar 2023 18:07:13 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 51F4919AB; Mon, 27 Mar 2023 15:07:11 -0700 (PDT) Received: from zn.tnic (p5de8e687.dip0.t-ipconnect.de [93.232.230.135]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id A78CF1EC0529; Tue, 28 Mar 2023 00:07:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1679954829; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=uTvrkvRBOkm6k6Rg1Q92jvvbdCcLR4Zco9jZIpniGC0=; b=FNeUThu0H61wHvzS9RH6RzIAXY+hZZd1+8Ne/HLEXwKfr0azNvXeAloZ6Hu+cKd1LBf5+u UMcnJF14EOb2HbjSsYwoPb3sNGbwvyoKnVJ+Pw+ODaX7Xkg6nf3recMrx2mD+FZ55n9TwI Yi/8szHGNEdIJoWfuk7O1aEpAifW/0M= Date: Tue, 28 Mar 2023 00:07:05 +0200 From: Borislav Petkov To: Yazen Ghannam Cc: kyle-meyer , dimitri.sivanich@hpe.com, steve.wahl@hpe.com, tglx@linutronix.de, mingo@redhat.com, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, tony.luck@intel.com, qiuxu.zhuo@intel.com, linux-kernel@vger.kernel.org, linux-edac@vger.kernel.org Subject: Re: [PATCH] RAS/CEC: Move non-debug attributes out of debugfs Message-ID: <20230327220705.GFZCITiXbkfun7oh21@fat_crate.local> References: <20230323202158.37937-1-kyle.meyer@hpe.com> <20230324004919.GHZBzzj1FzwEZclTCL@fat_crate.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 24, 2023 at 04:50:31PM -0400, Yazen Ghannam wrote: > How about "/sys/ras" to collect global RAS interfaces? Looking a bit at Documentation/admin-guide/sysfs-rules.rst it does sound like /sys/ could be a good place. Might wanna run it by Greg, though, first. > Maybe it can link to other directories like "/sys/devices/*" for > hardware things like MCA, Those are at /sys/devices/system/machinecheck/ > and "/sys/kernel/*" for kernel things like CEC. Or /sys/drivers Remember there's also /sys/devices/system/edac/ so a lot of RAS junk spread all over the place. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette