Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2486696pxb; Thu, 3 Feb 2022 07:39:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJwDVoWXWX31vxSXLQ6XgTd1IBPiOSnMHgDX36iUxdKl5gRqtYK3xqlBDRf+x6z2kFN1xCHS X-Received: by 2002:a17:907:2ce4:: with SMTP id hz4mr22075437ejc.261.1643902780983; Thu, 03 Feb 2022 07:39:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643902780; cv=none; d=google.com; s=arc-20160816; b=KjVeXsfMiF39LWhIkbM+5qFphr7FzGXq4kd1xFCbFMKsXIoHOZrJCqGwJ6THoheLqr 8HrsJv15pnROjBKE1gVLpQTB00Gf1xLvXNiRAr+ztaTwtb6PVK1mhqYRozxhPO8LIpEH a311IDiPbT0FdzXob0zlhGkPjiF3VReyLXiDPHQBXlrH8BPmjoAX8YH3yaTeT0edqkH6 z223aqWSGWI4snhf3juTi6zwhBlcDQcxjuGhE/EaJ03Dxw+C18N3GSKhtQUlhyw1tRq2 IWCgNW440xhRkg8BvUw3nSRqwzZRxMRTavnW0QUsNz9UqVYdN6O0lUZpvQT9dHCKMTLk /w1w== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=coc9lO9lg0vxKzE3zJP7qZ/jv6rA7rh9wy96xSxsnSo=; b=whXw80wXZT5hQuDnU8EIdmCdyUzmu892XxeHXf7qC29j+nDrIGY1LVkEwd2OG6ZHPD FJFA78+WE4J11pgQj5DfMOMAJjFziLAXUE0SPY/r0gx8YkTVzlMW9pXJyTywjPYj7RYf eNAv7/X+JLswl6c9ehb1nZMFqD6ZttbmJmoGcNGD7CtdjaFC1Hoak1o6GjdUfBS5c71E xu6U8ybl29ICyOmYuEgmDlHA01dgLl+Qmj9vYn1kZg81u0U4XIHatmOQWGL/OwghdwAa ePyqqaNe7jc05DeYyO97aJF4QpIBGY1sKGAZjbWgpxZ0cdX1hSMxP7qWUJDsucqgn7aK wQPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=IMG8vWmo; 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 f18si15039063edd.434.2022.02.03.07.39.15; Thu, 03 Feb 2022 07:39:40 -0800 (PST) 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=IMG8vWmo; 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 S1351014AbiBCOJl (ORCPT + 99 others); Thu, 3 Feb 2022 09:09:41 -0500 Received: from mail.skyhub.de ([5.9.137.197]:34426 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243066AbiBCOJi (ORCPT ); Thu, 3 Feb 2022 09:09:38 -0500 Received: from zn.tnic (dslb-088-067-221-104.088.067.pools.vodafone-ip.de [88.67.221.104]) (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 0F0401EC04C1; Thu, 3 Feb 2022 15:09:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1643897373; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=coc9lO9lg0vxKzE3zJP7qZ/jv6rA7rh9wy96xSxsnSo=; b=IMG8vWmofGMy55CNhTdTc62MGhpLLTN3dcyEgt12j576BwiS25Ec+FuSmtHHy/Ngu8i0hD z332IQrtn+BvZvp42dC07F2/FdWT0u5G0MgnbRFP1Zi94PfmBIyZnhnAUqkzkKj5nwlfj/ n0PKMdI24C1UOzHLCayT+6BM0hV9CWM= Date: Thu, 3 Feb 2022 15:09:32 +0100 From: Borislav Petkov To: William Roche Cc: Yazen Ghannam , linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, mchehab@kernel.org, tony.luck@intel.com, james.morse@arm.com, rric@kernel.org, Smita.KoralahalliChannabasappa@amd.com Subject: Re: [PATCH v4 1/2] EDAC/amd64: Set memory type per DIMM Message-ID: References: <20220202144307.2678405-1-yazen.ghannam@amd.com> <20220202144307.2678405-2-yazen.ghannam@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 03, 2022 at 02:19:19PM +0100, William Roche wrote: > As we are moving the dram_type cached date from pvt to umc for family >= > 0x17, should we also add a small comment for the dram_type field in the > amd64_pvt structure to indicate that ? Who would be that comment for? People who are looking at the code, so that they know which is which? > Something like that for example: > > @@ -385,7 +385,7 @@ >      /* place to store error injection parameters prior to issue */ >      struct error_injection injection; > > -    /* cache the dram_type */ > +    /* cache the dram_type for family<0x17 */ >      enum mem_type dram_type; > >      struct amd64_umc *umc;    /* UMC registers */ > > > Just a suggestion. > The code looks good to me. > > Reviewed-by: William Roche > > W. Btw, I'd appreciate it if you do not top-post. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette