Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp294344rwb; Sat, 14 Jan 2023 00:05:28 -0800 (PST) X-Google-Smtp-Source: AMrXdXtMWcY951HTIVMhKsQ6po0NYfpqTY20qPI7NAaEZ8aezId3+6aYObcW4iudzNwJCEjA4Pce X-Received: by 2002:a17:902:c651:b0:194:5b3a:fae6 with SMTP id s17-20020a170902c65100b001945b3afae6mr8027581pls.21.1673683528384; Sat, 14 Jan 2023 00:05:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673683528; cv=none; d=google.com; s=arc-20160816; b=DTbsfzaSJ1LZX0fFw0n65ji6cSm1IxDwyN7GxWnQsUAPBR1VqNRpsHrSpd0R8/7En+ INS3ui8FV7ESB7/R3hm2UTWRUFsAvfxU5lZKjKNJhaCGTaI90NSQZlfGqgKhGX2+l2Zt MvgzUTaH1RenT7zVX2oJi3hXQM0njRiHu8Qn+nc8YvFcQXX0bG6agPvIn+HrjySkIIYv I1azjYPiVUWhhCpUtd3ymIdXQ5OTIYuk6w1Dr5EyvaKopiNduWN/HQ9I6vnpbVi8ORHP BKFK5jzwVeKRJqocnniffSavwB9YzcGF/oIl/is2ff9LJbSvAZ5n0AthOuZ3gJ7SXMSs Nf/Q== 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=HKhsOpuLCnUuYKrGdOWev0LYhiTTdn6iHDmtsGs2Ux8=; b=p4JeR9ttLU1OpvsK86l1EatVyNzUMv8C1hZIA8BMvbcq6sVZcMT1R/x2ip4MnshNZT jOPUGUnUhqayc6ynXWvTEiypqs5jOyEwh58s6QE/dVgOjlGynP7SqvQO2cqMMU4JTO1x ByswcSe2h9ci1Du29wIwiPgq+7GnUJ4rWgz8rSOxevMYcNDmVWrRDFTVUUGXJY3ztO7n NICgdtw7F7pbyHHkfnmrmicViAzRPSafOABPCLtPVv08X4hmTsGgwgu7MouQY0EklDaz NPbLqTcRCICvwwfaDnF/AL4dIDnpJrut/76jskDSEjGmTPritzKJnCuV6r4yRerCH9Q4 Pfew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AmGUofFe; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jb10-20020a170903258a00b001893c960ac9si21574285plb.533.2023.01.14.00.05.21; Sat, 14 Jan 2023 00:05:28 -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=@linaro.org header.s=google header.b=AmGUofFe; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229808AbjANHPp (ORCPT + 53 others); Sat, 14 Jan 2023 02:15:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229874AbjANHPW (ORCPT ); Sat, 14 Jan 2023 02:15:22 -0500 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE69A448B for ; Fri, 13 Jan 2023 23:14:41 -0800 (PST) Received: by mail-pl1-x631.google.com with SMTP id v23so20664076plo.1 for ; Fri, 13 Jan 2023 23:14:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=HKhsOpuLCnUuYKrGdOWev0LYhiTTdn6iHDmtsGs2Ux8=; b=AmGUofFetaWzoo2KC8zrI9glVMtwv3ZaJJYX52VcuNzaSlp8egzzuqY+h2svNTe08d LPz9qGza1qZDc5Q/nXSTb1gk8ck5E2JTaJQ3X6pudFs1fd9MHzis9ng3sNO+HMJtO7cM 6gkwjl4x5B8Dyxzj+uoCsMUjek80sgojbIZmSqSgqaIlXEQc2RoAc72iylT29vCgl5ZY sLyEX7+vI78Lo+U3smtLcp9k8QsiX5PWumSxsy4c0UBCqHLk0s88kqTsxTtno+qfnQQX 5+cS46uGBNi47DZ2O38pK6JLJOruC8/oBgImk40wA0UeMNpKwNCjBvr4DYZBctKH/ZV4 P0jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=HKhsOpuLCnUuYKrGdOWev0LYhiTTdn6iHDmtsGs2Ux8=; b=Bj6BFzbQ8WGihVRUC38VR7KxM+qvqOfyjFzWJvSQMlfr7goucMOyGljB5ky4V94ysj qOa2S9R3MsGfQ7zm3T78+LP/JqkrNL+/YWp9vfrmBlK//7hLgCCNB8LPUg7YJ5QivuTl 3yUchxRtYW8cBFq/86WZLT4EUeOkQION6kOSQ/5cXvExP9DHsI2OIw0k3kT38htpfvoO 8rMHUZJ8FTrIVriWd5r9XnJiLBvg3mAENyUybjP0hymI6k+F3D2GoXJMtH6dNBPgzSGd tHRGwXZ/nEnsfbd6aJBpxDXyJt4fFJtiXHRUftXivfhkbbsE95doN3mHigfv2otT3sJ8 4jyg== X-Gm-Message-State: AFqh2kpha4XkV1QCKTBW8SzLS4h+G1nixiFUenY1DQLIzNw/7zCGrwpi tY4YNyeCoP0ZZ4Z7GnZJ5yK2 X-Received: by 2002:a05:6a21:788c:b0:b2:5fcb:8e00 with SMTP id bf12-20020a056a21788c00b000b25fcb8e00mr126916453pzc.29.1673680481209; Fri, 13 Jan 2023 23:14:41 -0800 (PST) Received: from thinkpad ([220.158.159.156]) by smtp.gmail.com with ESMTPSA id y14-20020a634b0e000000b00476c2180dbcsm12355537pga.29.2023.01.13.23.14.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 23:14:40 -0800 (PST) Date: Sat, 14 Jan 2023 12:44:36 +0530 From: Manivannan Sadhasivam To: andersson@kernel.org, bp@alien8.de, mchehab@kernel.org Cc: james.morse@arm.com, rric@kernel.org, linux-arm-msm@vger.kernel.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, quic_saipraka@quicinc.com Subject: Re: [PATCH v5 0/3] Fix crash when using Qcom LLCC/EDAC drivers Message-ID: <20230114071436.GC6992@thinkpad> References: <20221129071201.30024-1-manivannan.sadhasivam@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221129071201.30024-1-manivannan.sadhasivam@linaro.org> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 Tue, Nov 29, 2022 at 12:41:58PM +0530, Manivannan Sadhasivam wrote: > Hello, > > This series fixes the crash seen on the Qualcomm SM8450 chipset with the > LLCC/EDAC drivers. The problem was due to the Qcom EDAC driver using the > fixed LLCC register offsets for detecting the LLCC errors. > > This seems to have worked for SoCs till SM8450. But in SM8450, the LLCC > register offsets were changed. So accessing the fixed offsets causes the > crash on this platform. > > So for fixing this issue, and also to make it work on future SoCs, let's > pass the LLCC offsets from the Qcom LLCC driver based on the individual > SoCs and let the EDAC driver make use of them. > > This series has been tested on SM8450 based dev board. > Ping! Since there is another LLCC/EDAC series under review, it would be good to merge both into a single tree (which is qcom one I believe). Thanks, Mani > Thanks, > Mani > > Changes in v5: > > * Added fixes tag and CCed stable mentioning the dependency > * Added a patch to fix the build error with COMPILE_TEST > > Changes in v4: > > * Dropped the patches that were already applied > * Rebased on top of v6.1-rc5 > > Changes in v3: > > * Instead of using SoC specific register offset naming convention, used > LLCC version based as suggested by Sai > * Fixed the existing reg_offset naming convention to clearly represent > the LLCC version from which the offsets were changed > * Added Sai's Acked-by to MAINTAINERS patch > * Added a new patch that removes an extra error no assignment > > Changes in v2: > > * Volunteered myself as a maintainer for the EDAC driver since the current > maintainers have left Qualcomm and I couldn't get hold of them. > > Manivannan Sadhasivam (3): > soc: qcom: Select REMAP_MMIO for LLCC driver > EDAC/qcom: Remove extra error no assignment in qcom_llcc_core_setup() > EDAC/qcom: Get rid of hardcoded register offsets > > drivers/edac/qcom_edac.c | 119 ++++++++++++++--------------- > drivers/soc/qcom/Kconfig | 1 + > include/linux/soc/qcom/llcc-qcom.h | 6 -- > 3 files changed, 60 insertions(+), 66 deletions(-) > > -- > 2.25.1 > -- மணிவண்ணன் சதாசிவம்