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 415EBC433EF for ; Mon, 18 Jul 2022 13:51:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235526AbiGRNvA (ORCPT ); Mon, 18 Jul 2022 09:51:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235516AbiGRNu6 (ORCPT ); Mon, 18 Jul 2022 09:50:58 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1AD8B26AEF; Mon, 18 Jul 2022 06:50:57 -0700 (PDT) Received: from zn.tnic (p200300ea972976d7329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:9729:76d7:329c:23ff:fea6:a903]) (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 D8FB81EC01D2; Mon, 18 Jul 2022 15:50:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1658152250; 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=Myws9jzNIvlu+C/HWGYwNJKA8xrY2FJWYccW1o6/lyA=; b=XWFbQ54gpo7N6e0h0/l8Qfx8aJHoYYvkXOUPVTYxI2mYq9BuGUWttQA7SgRU8RYKijisrA M2UlDRYDtBWMzUGPpKpJJ9V3owEoEjWs2liHebOxXP2Yi6mMgU3xv5HMJtQML7Ke2mzVzz VHRizApbDH6MNyJiA0Qz3pW8eBGi7BQ= Date: Mon, 18 Jul 2022 15:50:46 +0200 From: Borislav Petkov To: Yazen Ghannam Cc: linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, tony.luck@intel.com, x86@kernel.org, Smita.KoralahalliChannabasappa@amd.com Subject: Re: [PATCH 1/3] x86/MCE, EDAC/mce_amd: Add support for new MCA_SYND{1,2} registers Message-ID: References: <20220418174440.334336-1-yazen.ghannam@amd.com> <20220418174440.334336-2-yazen.ghannam@amd.com> 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 Mon, Jul 18, 2022 at 10:57:19AM +0200, Borislav Petkov wrote: > Lemme talk to rostedt. Right, he says __dynamic_array(). Grep the tree for examples. I'm thinking we can add a field called vendor_info or so, at the end of the TP and then dump whatever fields we want there. We can even slap a flag in front of the whole thing saying what the vendor info type is. But we don't have to get ahead of ourselves and keep it simple first. How does that sound? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette