Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1759109pxp; Mon, 7 Mar 2022 01:37:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJymPZe68tg8riCz/aGVd/Tb3SVnKoIYZFEpbs4Xm1r+vJzlyMkksyt2jKiIAfuKEL2WWQEI X-Received: by 2002:a17:907:86a3:b0:6da:870c:af44 with SMTP id qa35-20020a17090786a300b006da870caf44mr8177673ejc.445.1646645820981; Mon, 07 Mar 2022 01:37:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1646645820; cv=pass; d=google.com; s=arc-20160816; b=OkgaO60fJZzJkC5U4w60kzz2Vx4wddyACWoluxu9o5Ada4PD0HNbqVsThDJZ43B0Cl jSp3rj/+GUIN2DX3LKAA0cRMH+PgAe50G4Tlzrh7cBrLoCk0hq17tQnHHFG/IWsNHagV 5gZ92sNnun6JOVPwWFG0Issoh/GYERbEgsxNZ4LIqAO/yhk0wIEY+nhncLE5vim7/jpi WhCfXKKmXVLgV551kfP1Awr4q/e9iNC8jsS0pAnUIjTHWQVmeaPPu4whdOix3OT+gzdW P0k0v3RkSijlKRBSPOzQ4fZ5H4/xj9PTJBA2T+VlnckLjOjFVjmHEeYqBNXiX4DG3NOj AstA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:content-language:references:cc:to:subject:from :user-agent:date:message-id:dkim-signature; bh=2PKhwIM5K3x7SHDTGWhi/DpFlhUkIdxzjkSVarXoNIs=; b=gSUjwgKow1sCK37INEAQrjrazlv6a1flyl9ytcTVPoYErLxlMVniLxhQ76ZrkTNRdS P/5y8umGCaKR8NXRxZaoCxfmxs6AeAxHV6E/P1WLNIlh0UbzLoIuwU7JCuYGPCRyki4k L8gw9BXSEX4sIK7uaLZJkE7YYczJWezEZGENIUMM4tqH5+nlHhnc9aJQNYFx0OKHugZ7 7v3Y7LEWLaQmTTLvmox7ZHr5ddNQjKOWhtlL7XFrI4VabpEBrRK3VeHtXd9Ik8Euw1r7 mm1SSFG9ps5zXwqhl8HUSrmHGfpdjQfXMMpCg9/VHlBDOBjVsqK1V0d8XcAjtRw1oQHR Ot7A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=iiEZCz6J; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amperecomputing.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i10-20020a170906698a00b006cee60bfc41si7627242ejr.119.2022.03.07.01.36.36; Mon, 07 Mar 2022 01:37:00 -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=@os.amperecomputing.com header.s=selector2 header.b=iiEZCz6J; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amperecomputing.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236177AbiCGIc4 (ORCPT + 99 others); Mon, 7 Mar 2022 03:32:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236190AbiCGIcv (ORCPT ); Mon, 7 Mar 2022 03:32:51 -0500 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2092.outbound.protection.outlook.com [40.107.223.92]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB29562A12; Mon, 7 Mar 2022 00:31:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KWdQEOtWRg2ATTdX22RLWQDYKfcE9FPj8CNFcNGGX3P2NGuJXbvrBgYfi2day6t3kFsscOG3/6KVqqgtpQJs3nq2tKwl67x6OWNO28tvR5Erk/DoB+VJiRmbiGZv68EI4UFqMjgK9qgpFOPDINzC4FKp/AnGEGWk1D9lqZv+Hlco6llMyfHEATy8UTZxaypW01MEA4pqZ9isQlXZm9EZGJoXZX8GI6QNYIgg276+iOnPIBieM7swv6/5cl4vouM+42NCrh1/CxpAB6e2N9Hl1+MM/ly64gnkbDVAwhlU8hCK/ZGWVy7s92fUZyYRkVou5pYpRWTUlTL1XUOJGo+l6g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=2PKhwIM5K3x7SHDTGWhi/DpFlhUkIdxzjkSVarXoNIs=; b=jXMP1WakOVGM6q4/HqDuzDfcJkp+I0ppmM7RF+bO4VzssHfLUZPp3iKwQONWxjPo9/fHQtsPhMPVya26PyzV+4Z0+PKQZzMmqQheejlzPezKzjFHjYssv4mdciDm1lyMdxqW3vpYl8m/gbiRBK/xekOVX0XXfQJMpqxz56Aqwm0fYei5/Q8G4OWJLlFZMwEJ79vDboZzXfwV652nvPISSVMCJj/wwf3+2GFGIz7XP5dVn/fG7MxyFP6bqB+HXfXWG5RRjDfNASxI1dEAS617nEWnMuimKY+Gj+ESJwWx4ZDKhSv8fZbYbAPuppqxVskvDNLMCtRqv0Je84rg9F6NAA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2PKhwIM5K3x7SHDTGWhi/DpFlhUkIdxzjkSVarXoNIs=; b=iiEZCz6JDHJil/544/1qYDHMuljZkMiT7ZJVgHxYxesCp6YxES/PPXmanbN5aVjmkOela+R91nVqpGbPY2MCjv7qIWkAkla7+Q3Lz36Vg2Bn1CVyq3wBBp7nrXvi2O/NFqYTwwXeIbtvlaw3C/SPwLfaFvtATT4bJ5KaZoR7zVI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) by MW2PR0102MB3498.prod.exchangelabs.com (2603:10b6:302:3::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.20; Mon, 7 Mar 2022 08:31:54 +0000 Received: from SJ0PR01MB7282.prod.exchangelabs.com ([fe80::cd24:39ed:7042:46d6]) by SJ0PR01MB7282.prod.exchangelabs.com ([fe80::cd24:39ed:7042:46d6%6]) with mapi id 15.20.5038.026; Mon, 7 Mar 2022 08:31:54 +0000 Message-ID: Date: Mon, 7 Mar 2022 15:31:40 +0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 From: Quan Nguyen Subject: Re: [PATCH v6 6/9] misc: smpro-errmon: Add Ampere's SMpro error monitor driver To: Lee Jones Cc: Open Source Submission , Phong Vo , "Thang Q . Nguyen" , Joel Stanley , Andrew Jeffery , Jean Delvare , Guenter Roeck , Rob Herring , Jonathan Corbet , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org, Mark Brown , Greg Kroah-Hartman , "Rafael J . Wysocki" , Derek Kiernan , Dragan Cvetic , Arnd Bergmann , Gustavo Pimentel References: <20211224041352.29405-1-quan@os.amperecomputing.com> <20211224041352.29405-7-quan@os.amperecomputing.com> Content-Language: en-US In-Reply-To: <20211224041352.29405-7-quan@os.amperecomputing.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SG2PR06CA0239.apcprd06.prod.outlook.com (2603:1096:4:ac::23) To SJ0PR01MB7282.prod.exchangelabs.com (2603:10b6:a03:3f2::24) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ebf272cf-7e9e-4c35-e67a-08da0014ef77 X-MS-TrafficTypeDiagnostic: MW2PR0102MB3498:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MDpBYn2/e4hoot7AOFERWYlrjQ4BogWItAS8iCel7fwGd9H50G2rX8Zh888U13CTUKXl/zIJwIAIiBP9WptsZ+/v9VxgEXfCRHYJcp0sjp+N6FJThenGpsPuirBwI7kUMTdqqjkr4rchlJA6g3Zud3dRk8t/hKPKJX2TFMMu0ZoEMdJpW2Ofg966s2i0BK0V8tHpRkNobIutwe4bklCGuSZCUAEZKF/uwhw+gIp4oGB7Sm0U/hYkygOWnfDdxLHl15lnYXRvuco3DPV57tVXD+h0jEo87ZP/smJFX6Lc68b7e1/VDEtqo3GeOSF5tx/M0o7OUB+Av+DmfqbY5pqaQB8z9csRTRfRSvkdnuiNNX8NFUSsnXhHWb5l+KQLby2LCbwYz9omM+W9iFizJiFPfFWYFJKDMXdtbyCPrR6xDzapCo3mqYn/dx74Cdl/skUDRFfn4ClyKBbtkzCFtmBA+/NMNp/9sn/HyEncnYWIplX0f4U9dxhcZpOhUzG9i25Um9GiROYD6LTy1i+uU0DuBnFlJiGJs7vhtY+4r+D+dRTSzyrm+pZV0tykyQkdNvapHVcp3LMoQSQup8SN4+cuQH3oZnT8wa5aRSchyrenD10rAWHs683iLxmVWtusN2q9LyxJpCgzdVZ1UqXwWKHaEfCoPnBLMSTqsGrPFhEEtUeCsPpQnHVH2hAUHpwOsZd9f4JgI4vPzquvwXLKsRDquic4PbTcN/44Zz582rSGwR9KU4bb3HO/JpehccENSZKDp1gg17ar0HEn0q+3FWEWs1At/D8ICCtJ9ZoXa7IImryz503JxP6bfNTV/kSICOxI X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SJ0PR01MB7282.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(6512007)(5660300002)(52116002)(6916009)(31686004)(6506007)(26005)(38350700002)(8676002)(66476007)(6666004)(966005)(86362001)(6486002)(55236004)(53546011)(54906003)(316002)(31696002)(2906002)(186003)(66556008)(4326008)(83380400001)(508600001)(8936002)(66946007)(7416002)(4744005)(38100700002)(2616005)(43740500002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QW9VWjEyRDY4NEdYK01KOHk5NGdJdWc2NkFZQSswaGV4eStjS2NWTW5SV3Bt?= =?utf-8?B?OE9LS21KU1ZLc2RKN0M0dm1vUFVPNTlwVEoyRWFwalN1UkVHRzVkOG9HNW8x?= =?utf-8?B?eW9CMm5mWFM4NHlaekZxeG8xS0c2dWtNTmp2YWdSSVZSSXNSbS9GeTh5SHRr?= =?utf-8?B?b3RGazdiWFZPcllPUll5SWNWbUUv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-8?B?QU4vLzE5WlFIK3B6SndLbFJ3QUZyeHpST2tWVEtiY0lUYmI2L2lrN2lOa012?= =?utf-8?B?OVJMdGU1bmdxdk9VT3RZNG9idzExWVpoWXJQdmJlL1VsUjRheWEzZWE2Q1ly?= =?utf-8?B?aXdqMWFBVHMycG1ZRDVIZG8yWEd2MGFqNjdrQTFNUkorYUlielJqbDAyTUFu?= =?utf-8?B?UXY2MkcvTkR4b0Q5dXBndkl4ZkNiZTJBQ2grN2FwUlBXc3Mzam5wRmt4bFRv?= =?utf-8?Q?BMLOob4a1weZN6W6tMMSVBWgL8nnrJiy5l2Ay3oego=3D?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: ebf272cf-7e9e-4c35-e67a-08da0014ef77 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR01MB7282.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Mar 2022 08:31:54.6599 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: CMX2SGCeNcFzALPXybtIbMBmnuraTP665tPxHCFhu0ivm2/II02cMSTzah2097nUvsV03+womrkmqZGPnZc3yYljc3ZnMy3SXj5f9003cqo= X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR0102MB3498 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 Dear Lee Jones, This mail is to reply your comment in https://lkml.org/lkml/2021/12/29/120 Thanks for the review, - Quan On 24/12/2021 11:13, Quan Nguyen wrote: > This commit adds Ampere's SMpro error monitor driver for monitoring > and reporting RAS-related errors as reported by SMpro co-processor > found on Ampere's Altra processor family. > > Signed-off-by: Quan Nguyen > --- > Change in v6: > + First introduced in v6 [Quan] > > drivers/mfd/smpro-mfd.c | 1 + [Lee Jones] Separate patch please Will separate this smpro-mfd.c in single patch only in my next version > drivers/misc/Kconfig | 7 + > drivers/misc/Makefile | 1 + > drivers/misc/smpro-errmon.c | 571 ++++++++++++++++++++++++++++++++++++ > 4 files changed, 580 insertions(+) > create mode 100644 drivers/misc/smpro-errmon.c >