Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5313823rwb; Mon, 31 Jul 2023 23:51:42 -0700 (PDT) X-Google-Smtp-Source: APBJJlEysxsF9asXD+ZhQfjX2VxQUAORqsIP0fNfV2LHrIq3D70WEbQownbJgEBYOF+mju7rSnhA X-Received: by 2002:a17:903:545:b0:1b8:1e05:ed09 with SMTP id jo5-20020a170903054500b001b81e05ed09mr9529496plb.36.1690872701808; Mon, 31 Jul 2023 23:51:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690872701; cv=none; d=google.com; s=arc-20160816; b=oTufQtiCVhxJDC3oznbqzPEdCM+6IOEvrQUkz4LroU2poR737V+hrdOmaPgX4CmxoX WTt3lJpgsgx8FSilhv6eD3v5Hmf5198WpxW5CJDj146yp/NgXcdLD8C3vyPd3g1Ukwif dGT2DLNjbPtA0SEWSYNxeYdbBR4MhSngQiRqoZ4aoIGP19Z5GKAfAGWoN2HhNjb+rD7u mNG7vBv9lDhz1TEqYyBnWrPLS9ko/g5D5I4MoU9c0nAXG72s43+vLPKSv24JPUQZxst1 d8N8d3SW3DmRyZVmudD8l78NigmuvqncZ6JhabZMK7hAJrljfYlbj1Ij7/2I+qSOJvPu FdTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :content-language:references:cc:to:from:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=4Zn7E0Dl+W5BuwFXIKMOv+P0FYRaC1MsuIZCNeQvZfE=; fh=IRX90acIrRzcQhqcSU3ia+e4a17TK5mCOOb/v8Kb2cU=; b=wH5NnVRXF+dxgpcFFzggybXvl7qZekfdjymskTn60xuk2vSiiEMJfkWbL3eiqUeJkO Jw+HeVGGFsFrI4Q7NXJ1VUMkDTY0wOIt/7EFwkYM86LgZSsBWvkl0CfFn3KoWOptnM/J OYx63v3QsXlDqcFwj1o4xychCZCacbI7XQqxEIrtIio+33nsS3Jq3Zo6yyLyJSY3peQ8 ePCYJ86JNQTu55B2Lx6sdMYGXVL1hvfbq3Y86IxXD7MRYU+lR5jbEw91H+ex++mNjfrL d3hg7/8xznWLk7L6e/6be+RtbZnrHVceQ+NzEvhu43SvAA/89QcXwFTLN1CIkQXypSiz sQOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=Q8OLNOBh; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id le15-20020a170902fb0f00b001bbc63065dfsi8414335plb.568.2023.07.31.23.51.29; Mon, 31 Jul 2023 23:51:41 -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=@quicinc.com header.s=qcppdkim1 header.b=Q8OLNOBh; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230198AbjHAFsc (ORCPT + 99 others); Tue, 1 Aug 2023 01:48:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53502 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229825AbjHAFs3 (ORCPT ); Tue, 1 Aug 2023 01:48:29 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F8B31B5; Mon, 31 Jul 2023 22:48:25 -0700 (PDT) Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3712gRsm026351; Tue, 1 Aug 2023 05:48:16 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : from : to : cc : references : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=4Zn7E0Dl+W5BuwFXIKMOv+P0FYRaC1MsuIZCNeQvZfE=; b=Q8OLNOBhma2YcjkuHn4D1B/UHK/Uvmw+xyUPWJbyiQjhtiLwH6b2nkxKqe8moc6B3u6u O/l2UTHnUYb+vSNv1vNWkq6Vt0DSoP5ktZgEJM3+UhzOeQjgbGFyxl0DqY/D2Z57k0Ds 95yw+hnjEeTsWYzRMtgcnH1q2cVrtinoF+w1AgiQ8ikZuNHJWohP+bPcOz4clc/RpEBt ra/rgdhlVk2JQCl/WB5wvnbP65SoBcyqp8gmeSBx+sDxVsInqZgdrsAvQd62Dxdtbg9i RBCWGORArslGr1KhowBM8nL6t3tFxjF8RhM6p1xQ9zvwDG9CjDWUbiYQLpGVZb4V7Nby cA== Received: from nasanppmta01.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s6rharcux-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 01 Aug 2023 05:48:16 +0000 Received: from nasanex01a.na.qualcomm.com (nasanex01a.na.qualcomm.com [10.52.223.231]) by NASANPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 3715mFfJ027519 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 1 Aug 2023 05:48:15 GMT Received: from [10.110.54.109] (10.80.80.8) by nasanex01a.na.qualcomm.com (10.52.223.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Mon, 31 Jul 2023 22:48:12 -0700 Message-ID: Date: Mon, 31 Jul 2023 22:48:11 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH] EDAC/device: Add sysfs notification for UE,CE count change From: Trilok Soni To: Deepti Jaggi , , , , , CC: , , , , linux-arm-msm References: <20230731220059.28474-1-quic_djaggi@quicinc.com> <3e2bf03e-2bc1-445e-d8ce-4975c044eea0@quicinc.com> Content-Language: en-US In-Reply-To: <3e2bf03e-2bc1-445e-d8ce-4975c044eea0@quicinc.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nasanex01a.na.qualcomm.com (10.52.223.231) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: 0dEiw39yIqzBDRsd-yshWhcjDBf25sTv X-Proofpoint-ORIG-GUID: 0dEiw39yIqzBDRsd-yshWhcjDBf25sTv X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-01_03,2023-07-31_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 priorityscore=1501 adultscore=0 clxscore=1015 impostorscore=0 spamscore=0 bulkscore=0 phishscore=0 mlxlogscore=475 lowpriorityscore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308010053 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 On 7/31/2023 3:40 PM, Trilok Soni wrote: > On 7/31/2023 3:00 PM, Deepti Jaggi wrote: >> A daemon running in user space collects information on correctable >> and uncorrectable errors from EDAC driver by reading corresponding >> sysfs entries and takes appropriate action. > > Which daemon we are referring here? Can you please provide the link to > the project? > > Are you using this daemon? > > https://mcelog.org/ - It is for x86, but is your daemon project different? > >> This patch adds support for user space daemon to wait on poll() until >> the sysfs entries for UE count and CE count change and then read updated >> counts instead of continuously monitoring the sysfs entries for >> any changes. > > The modifications below are architecture agnostic so I really want to > know what exactly we are fixing and if there is a problem. + CC linux-arm-msm Please keep linux-arm-msm in CC if there is a next revision. -- ---Trilok Soni