Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3728720pxj; Tue, 11 May 2021 10:35:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJweYFdUfyQIzOHXykQQmtnR2JZCsxN1mFpeu1SU6FMlKhr3wWY+0/L6k7cetIN1S4A/h6uR X-Received: by 2002:a4a:c106:: with SMTP id s6mr24343128oop.75.1620754541111; Tue, 11 May 2021 10:35:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620754541; cv=none; d=google.com; s=arc-20160816; b=bpmMYgXNI+Dqaq6Po5ubvzUNpehIspboTunk6PVCldxsquDVd+seq8Y9yJIfMmT6Qa mN7uVMq+E3zfjHBRA07JpsT29fo+MpDMdhXqIPWa//k+txvjuB+5hnQbhSTtN+/yPAIQ OOgSiZ795eZDJ70E/Xkdjul9qlEX/Of+hckHe4YQ1K9nlMAu5wknoaXdh7u6Xr4qlgat JPuZx1LHW6tf1sktiTuk2EfJ9EWtpZus9Jq+nI2IsrHoZhHZuvnb/dYrL0r2N0E5+XXS PsjrAbgxO63VxgjKfarX5CI3nFy+AHYY7+8L9j7yJx2oL8HvB/jyDejxHIiKHfZXpFVD YbYQ== 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=3/bXis5NaA7RX5+1HMGPhmVKaplL2A5rrRK2DTP1lwk=; b=b5oAj+DtsWhgWyfzJ0A5uZX89pvqgzVMJ5we3YVSPlzxd+k8LkWPXbt0rFWro5/RCf VeIXlDvrt0JvUIMxZz9RdVzyKFdCJUsFNUg2XDG3K2aNfxd3K4MD9EIgo3exKMKmqsnO lOhZEdj2Lu0K7zVDS8az7o2eV4PGxuyhOcs6xfcNMGG8eQc/nUvg9Y5ltQp90+lf7VWK DuuypNdEwsBREThCfOZqgpZh9I2PpL0xsghRGu8Cz2SLTuEMP0ZohFpugEL5izJvWZEI kcRr33gJkBpMKmyC2s64FNizJxTywzM9o/gY8RVd6QuZT6RqgA1zZlDEjI0Hq3i10zZz kvug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=acI2tZYy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a13si19801113otf.88.2021.05.11.10.35.26; Tue, 11 May 2021 10:35:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=acI2tZYy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231462AbhEKRf4 (ORCPT + 99 others); Tue, 11 May 2021 13:35:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231329AbhEKRf4 (ORCPT ); Tue, 11 May 2021 13:35:56 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 721D0C061574; Tue, 11 May 2021 10:34:49 -0700 (PDT) Received: from zn.tnic (p200300ec2f0ec70091f309bcd5e4258d.dip0.t-ipconnect.de [IPv6:2003:ec:2f0e:c700:91f3:9bc:d5e4:258d]) (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 E18211EC0301; Tue, 11 May 2021 19:34:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1620754488; 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=3/bXis5NaA7RX5+1HMGPhmVKaplL2A5rrRK2DTP1lwk=; b=acI2tZYyZobSwgFD1A6t5aJoJZjOjElQRSIFuMg2eSFVnRHruARSwVF+2BoJG4/vCLPcnb mmCjt8Jf0uouuT0ycqg+uTyb6E4/CGSCh0ofKvGRtZmNi3fagNnbTrTE/VUpDJfEQJWlAh ksJCPJKrHLmuOYoWSNj3NmOC0u9ltHU= Date: Tue, 11 May 2021 19:34:49 +0200 From: Borislav Petkov To: Naveen Krishna Chatradhi Cc: linux-edac@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, mingo@redhat.com, mchehab@kernel.org, Mukul Joshi Subject: Re: [PATCH 2/3] x86/MCE/AMD: Helper function to check UMC v2 Message-ID: References: <20210511152538.148084-1-nchatrad@amd.com> <20210511152538.148084-2-nchatrad@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210511152538.148084-2-nchatrad@amd.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 11, 2021 at 08:55:37PM +0530, Naveen Krishna Chatradhi wrote: > Subject: Re: [PATCH 2/3] x86/MCE/AMD: Helper function to check UMC v2 The condensed patch description in the subject line should start with a uppercase letter and should be written in imperative tone: "x86/MCE/AMD: Add a helper function... " > Signed-off-by: Mukul Joshi > Reviewed-by: John Clements > Reviewed-by: Yazen Ghannam This is all fine and dandy but it needs your SOB too when you send the patch. Please read Documentation/process/submitting-patches.rst sections Sign your work - the Developer's Certificate of Origin When to use Acked-by:, Cc:, and Co-developed-by: > +bool is_smca_umc_v2(int bank) > +{ > + return (smca_get_bank_type(bank) == SMCA_UMC_V2); > +} > +EXPORT_SYMBOL_GPL(is_smca_umc_v2); This addition looks useless when it doesn't have any users. Also, I'm pretty sceptical this even makes sense to have it exported - I'm guessing this is for mce_amd.c but I can't say without seeing it in use. The same remarks hold true for your patch 3. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette