Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5034020ybl; Wed, 22 Jan 2020 09:05:00 -0800 (PST) X-Google-Smtp-Source: APXvYqyU4lS4uLfBqzKhJ6S9yzwpGbgPomdcXBEd5jTl7uRXFOQU7ZUk+B/J0JKCKf8JsJJa5w/Y X-Received: by 2002:a05:6830:1294:: with SMTP id z20mr8079161otp.60.1579712700158; Wed, 22 Jan 2020 09:05:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579712700; cv=none; d=google.com; s=arc-20160816; b=KbKE3feuBdZJF+RFlhmmePhsBazCEtSWzthTrajj+JXX5/XdgqtI7THgMRpU2kOFgm 6m0qVtgtAS/oVA7fnCbl3kwgFpo1bqjVXMBywttJwVp7Ud0m90j0/4D89xS2kXlX4K2U oa9tK3R3YUvVbm2BoW1sBHnLrefOo7NZH9WAI272Qou4e7T9ODXRriqCBsA2QcLL7UPH SpcF6wBrUh5Egsgn1zVDQHhV5tHsP9S6/eaQ5WhH0d0yIks6Qzq+XX+mjDGwgKcqpG7P vPXxGYFvZaLhKL1Jwt1+YJk3iNYKiCqJ9Dm2S/ndYN56ffxaHBFan/6pHvVPoHmqjJfm r5Sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=SWiH6GhAFCgnJrxuq8RYkBkdPUMZBLGGmuvb0dwUfcA=; b=TZuTGlJ72tD3BKfoODdzv+ihxJdvkOY04eSJ7XKxvtABhbGoVa7LEkvCn/zCPN81WC ckG3ZbqEGfLL1O0/R6OZ8YLiUcwTrNlpUIwPmuC7PnGj53NbJTHd3clbTrpHNvyEw5ks rvkRklY+EYFdProkn8st3zej9hCu22oIBKvvF8TplAHoK/lyLISrCaRZQQf78yjRWk5r qyzDesveRYJ2JxaR9juYKssyKkvsWnJPx8nPOP9ul4fO73Ia1cQvHKpoSDRkNtmxouyA LaBb5rW0izjsrzrezFLdTzcZJ5Ww/rfs+9oa4+8/JlCXJu6YSF9vNS01no7kXzjUOs4K ud+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NqKZyjdr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c17si23908582otp.131.2020.01.22.09.04.39; Wed, 22 Jan 2020 09:05:00 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NqKZyjdr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728139AbgAVRDP (ORCPT + 99 others); Wed, 22 Jan 2020 12:03:15 -0500 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:27227 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726083AbgAVRDP (ORCPT ); Wed, 22 Jan 2020 12:03:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579712593; 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: in-reply-to:in-reply-to:references:references; bh=SWiH6GhAFCgnJrxuq8RYkBkdPUMZBLGGmuvb0dwUfcA=; b=NqKZyjdrP4KaEecUrqY4uDaZA7V3h724lm3/gD9P+kFIszifVjJjWw/ZLppDLPiE3+zRkR xm5OynxBxqv1vYmpl6DHr+7HmzhFt1Ugvm6T5fOYnH0fsv1bhGKMc/DzOSQgxw9mQAbHz1 rp74jdEjwyj5E5IDW0g687R5mFIPkWk= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-1-rR6dfSXFMcarOKze0rXmQg-1; Wed, 22 Jan 2020 12:02:54 -0500 X-MC-Unique: rR6dfSXFMcarOKze0rXmQg-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7539F18CA26E; Wed, 22 Jan 2020 17:02:52 +0000 (UTC) Received: from napanee.usersys.redhat.com (dhcp-17-195.bos.redhat.com [10.18.17.195]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4C45D1CB; Wed, 22 Jan 2020 17:02:52 +0000 (UTC) Received: by napanee.usersys.redhat.com (Postfix, from userid 1000) id AAB1DC0E93; Wed, 22 Jan 2020 12:02:51 -0500 (EST) Date: Wed, 22 Jan 2020 12:02:51 -0500 From: Aristeu Rozanski To: Robert Richter Cc: Borislav Petkov , Mauro Carvalho Chehab , Tony Luck , James Morse , "linux-edac@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 00/10] EDAC: Rework core and ghes drivers, part two Message-ID: <20200122170251.a4ezf3epukx2iobc@redhat.com> References: <20191205093739.4040-1-rrichter@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191205093739.4040-1-rrichter@marvell.com> User-Agent: NeoMutt/20191207 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 05, 2019 at 09:37:55AM +0000, Robert Richter wrote: > This patch set is part two of a rework of the ghes_edac and edac_mc > driver. It addresses issues found during code review and while working > with the code. Part one has been included to v5.5, see: > > https://lore.kernel.org/patchwork/cover/1093488/ > > The changes of this series include: > > * add helper functions and factor out code (#1, #2, #5) > > * improve function interfaces and data structures to decrease > complexity such as number of function arguments, unused data, etc. > (#3, #4, #7, #8, #9, #10), > > * minor functional fixes (#6) > > * improve code readability (#9) > > V2: > * fixed documentation issue in #3 found by "kbuild test robot > " > > Changes compared to part one: > * rebased onto 5781823fd0d3 ("EDAC/altera: Use the Altera System > Manager driver") > * reworded patch subjects > * reordered patches > * collected Mauro's Reviewed-by-tags (note: I kept them though there > has been small conflicts but dropped it when reworked) > * dropped: "EDAC/mc: Rework edac_raw_mc_handle_error() to use struct > dimm_info" > * split "EDAC/mc: Remove per layer counters" into smaller changes > * added: > "EDAC/mc: Report "unknown memory" on too many DIMM labels found" > "EDAC/mc: Remove enable_per_layer_report function arguments" > "EDAC/mc: Pass the error descriptor to error reporting functions" > "EDAC/mc: Remove detail[] string and cleanup error string > generation" > * moved to the end: > "EDAC/mc: Remove per layer counters" > > > Robert Richter (10): > EDAC/mc: Split edac_mc_alloc() into smaller functions > EDAC/mc: Reorder functions edac_mc_alloc*() > EDAC: Store error type in struct edac_raw_error_desc > EDAC/mc: Determine mci pointer from the error descriptor > EDAC/mc: Create new function edac_inc_csrow() > EDAC/mc: Report "unknown memory" on too many DIMM labels found > EDAC/mc: Remove enable_per_layer_report function arguments > EDAC/mc: Pass the error descriptor to error reporting functions > EDAC/mc: Remove detail[] string and cleanup error string generation > EDAC/mc: Remove per layer counters > > drivers/edac/edac_mc.c | 496 ++++++++++++++++------------------- > drivers/edac/edac_mc.h | 6 +- > drivers/edac/edac_mc_sysfs.c | 20 +- > drivers/edac/ghes_edac.c | 16 +- > include/linux/edac.h | 9 +- > 5 files changed, 249 insertions(+), 298 deletions(-) Acked-by: Aristeu Rozanski -- Aristeu