Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3055326iog; Mon, 20 Jun 2022 10:12:32 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v+3Tuq7ekFI6c4MbGqws2KTOqIRbdm+7QZBD0r7ibXjBHa3ZIKVoOsASlh1Fsd2uiWwV7d X-Received: by 2002:a05:6402:34cc:b0:431:67ed:96a0 with SMTP id w12-20020a05640234cc00b0043167ed96a0mr30672405edc.372.1655745152215; Mon, 20 Jun 2022 10:12:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655745152; cv=none; d=google.com; s=arc-20160816; b=k44d3gfRKNKMXfIcUg/vxacMi9WbrynuK6x3UMiXreXzNc3+P0LBLB3QrMJNkHzI5H mheKYhqxXh/juzdTiIUNv1TL1f0mU8KqIUpr12C9/YpG8KUfsLx0mlUsDiaAdZqZ2BUn xwkmYCtYifbbCom9u01Lve82l7I5fBtXD/RkAoW7LBwiGBL9HI62YEFf5pMF6Tm4HfkL u3MTGsReXy4ztWg5sYLOxRM65bgPTqdP8Ym+EnxjIGilnzvFMwqi/xF2R5ynIW8sCaOA H8b1YU2cuA3o8pc9bVRH061DUYY/M18WgMOHKGHCrti/dceP3zDWLCdPq+iqw6jVMtyn g8BA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=T48rGXc2UHAUKkDOY5tz9vpt/ugxavpsm8or1kKDdLs=; b=Jgc4OAi1wX9FiYT8HKKJ1IaUhhhkfoLXo1a1OvMSiG1rz8ydkTnXgxcRCIQflM365y MPUNgPccRw9ZvhmHj3WvFNOzK2eSPZ5rxBJ5k4ctZmQe5+Z1+ZjGuc6WIwUL+xadd3ff pOVIOqfux3MA+LIy6RsoNX6/yWnVkm3gcXJmAV3+9qoRGOkVH1iYHNgLukBa4uLHo4DY 3SM4sOkCJdnZUPgm/P2uDN/hjihklnGnCP7FziOYnZbk8knW+n5rA1N5mFsGk0Q9Mty0 RIUlkHnivhi5Esqq/eIBCdfEWLC3aHVLJIXHcox1bPxPPZ0Bywhad5MWrFPA00OUpUko v/4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=qnidU6MW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cs21-20020a170906dc9500b00718c256396dsi14238136ejc.493.2022.06.20.10.12.06; Mon, 20 Jun 2022 10:12:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=qnidU6MW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244572AbiFTQVj (ORCPT + 99 others); Mon, 20 Jun 2022 12:21:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44374 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243978AbiFTQVX (ORCPT ); Mon, 20 Jun 2022 12:21:23 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B40141A071; Mon, 20 Jun 2022 09:21:22 -0700 (PDT) Received: from zn.tnic (p200300ea974657f0329c23fffea6a903.dip0.t-ipconnect.de [IPv6:2003:ea:9746:57f0: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 7B55B1EC05ED; Mon, 20 Jun 2022 18:21:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1655742076; 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=T48rGXc2UHAUKkDOY5tz9vpt/ugxavpsm8or1kKDdLs=; b=qnidU6MWxcN8zvm5swGUEpplVS2B6i5n6LyV6OlZGNmQYD2JT6ieZnQ0JmTscm0Yummm9Z jFJe36mmrDvWlny0QJhDw34bVOgxqLtCHXU5BhiyLllCyCVtrZWtvtqZLKqocfl1lU70Q0 ETAbyh5EopQbk7pEbNS4FdUXCWVEUGc= Date: Mon, 20 Jun 2022 18:21:11 +0200 From: Borislav Petkov To: Yazen Ghannam Cc: linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, Smita.KoralahalliChannabasappa@amd.com, muralidhara.mk@amd.com, naveenkrishna.chatradhi@amd.com Subject: Re: [PATCH 12/18] EDAC/amd64: Add determine_edac_cap() into pvt->ops Message-ID: References: <20220509145534.44912-1-yazen.ghannam@amd.com> <20220509145534.44912-13-yazen.ghannam@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220509145534.44912-13-yazen.ghannam@amd.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Back to those... On Mon, May 09, 2022 at 02:55:28PM +0000, Yazen Ghannam wrote: > From: Muralidhara M K > > GPU Nodes will have different criteria for checking the EDAC > capabilities of a controller. A function pointer should be used rather > than introduce another branching condition. > > Prepare for this by adding determine_edac_cap() to pvt->ops and set it > as needed based on currently supported systems. > > Use a "umc" prefix for modern systems, since these use Unified Memory > Controllers (UMCs). > > Use a "dct" prefix for newly-defined legacy functions, since these > systems use DRAM Controllers (DCTs). Please refrain from adding those boilerplates to each commit message. Do it once for the first patch and then no need anymore. It is clear what's going on. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette