Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp139732rdb; Wed, 21 Feb 2024 21:22:44 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVPz9ITYW9lsn+6ClTLWUF/fpN3Mr/IoBkC2HHBGLGfufhaEF8WrFAGN9cZAA5K+bLfthqktu+Z5XYmQ0qpBI5yXcHk+WbP1SW3Q7oSkg== X-Google-Smtp-Source: AGHT+IHFRhMgnPQ5LYtYd2aWz4LkROFtsPfmC7QkSMcQUB0UgDw8eohxRcuCl7KLC4iKLG1Grms2 X-Received: by 2002:a05:6a00:9a4:b0:6e4:59b3:928c with SMTP id u36-20020a056a0009a400b006e459b3928cmr12835600pfg.10.1708579364576; Wed, 21 Feb 2024 21:22:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708579364; cv=pass; d=google.com; s=arc-20160816; b=uqgRvx+0zjp+S2GFXCVMmJ+GRStdfLNwvRu4SQwuk2j+jO5u1rCWBHJQ9EN1qdEbEz kn5tcTqiUXVJ6x9NhB/pWFckGJKwWG1iVvgZ1b3i6ckSNfMCdUR9u4p3d76toL6G4BSG B1wfmJQEy9FmjQc3699z7jaPtbtChYlI4x7j0P+MMpvmhLAesgX55lAGpZ8CsmcqaTN2 +sIoy9hKlaj4JhZ+MTXgIhbZyJGMVV08peyq/yI3G8iyvc7m4UQ+j7KoAmH7CJa/IwtA gVpsGhGxovoDjNZwN8Zq8AVjLTXJLD2r4fEh/hEI+SFY87hcZ1gpiWSz5DhTdS7yWD7n EWWg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=uwlWZD+wtDen80T6/9sZq3GEC66Lq8p7KhscmDYdFLs=; fh=gC3m+vn+vzMn/+jw9EavmDLCcY0hVVrRqeNrggGIiZs=; b=x3Jsps0I8xSFUDsxtrtnSoVq+y9Ndkuho/YX9tAZQSXpGTvQcTn590/fVIsMwJ1Srj wh5IHFRbl8dMPX1TbyIVy3ObcDpnr5W8iyzw9hvO20bofyb4bk95IxZYC8sg0XmF4d+V 11bzoA51jaJMTEGV5yw29YaTdGN1HSZWSlwZQiVn3mma9QjfWOrPt9PHSpn40/jOMwey ereRxsyZo0jvweKeuxHvFN9mp5cxaM/k7BQUMnULEchMjm3yrgPTUzA48+ThMvEicB8y VNKz7S2UuRu6C4NMT30k5IPnDFpNAU/z1nTK7UtOpfPS2wYgDO3NcR8A3ocsTSoABJvc Id9Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JvjKCLiL; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-75935-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75935-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id x8-20020a056a00188800b006e4c5e64130si1131914pfh.165.2024.02.21.21.22.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 21:22:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75935-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JvjKCLiL; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-75935-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75935-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 1F71128510D for ; Thu, 22 Feb 2024 05:22:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 52B4CF9E0; Thu, 22 Feb 2024 05:22:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="JvjKCLiL" Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3AE2B101F1 for ; Thu, 22 Feb 2024 05:22:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708579354; cv=none; b=mQXMO0bZW3g5mwaUXDnxoX5SibSiRXE8QDeMIKpH+sqBAT52H9Mrcusuc54eQMorbZCfai30Im/qFGFWqh8ufnEcXXmbE92DSVCVpHYs8xsM2EnxmuGKucOi6XJRo2l2OxCzM8PkYM0o+G8Qks62lvBACvY9AsuDIQxhn+LTOK8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708579354; c=relaxed/simple; bh=YeT7pdFKBx0h2pjjLOX4Ge6GRmGK/bBs8ilNmslgI4s=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=ct0tall7Bf0/CfrS4eOIYOVm4ntYOlxLEhY/U8UBe6jl36e071+fKfZoIaEA/ffl+4rSnGi85j6E4osxNNsYrYrAH7vN16SfsE6g1kLzbt6DDTwjJDqjVOvrGabKEPj1itH1l923lo+tVDlBl0V6s0qAcXJq349+Hq79o79nVVg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=JvjKCLiL; arc=none smtp.client-ip=209.85.216.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-pj1-f48.google.com with SMTP id 98e67ed59e1d1-299c5a23f40so2553936a91.3 for ; Wed, 21 Feb 2024 21:22:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708579351; x=1709184151; darn=vger.kernel.org; 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=uwlWZD+wtDen80T6/9sZq3GEC66Lq8p7KhscmDYdFLs=; b=JvjKCLiLdzlMxvqKiI4/5LRU6LCQKRSi7l2b+PF10cSai5SsKQ+U/dRjq8VvEzquio 5S1oseAi9R6vEPcebDc/1C997RY7g2aQEffewovRHgWn3LuXgPcI2TqGkdYutmU8v7hf oYwZMJ7UHcUlzJrogdbeblOX+hALcE9TUC2qTKzQoG9fB3JYQXoyAaYsli8KVKYwmm+R O4tzOPYWCdpGhCNHjo1IPCQI1iGVCXx/kJwnoN51EE9qIyWldxTXVwhCBZ+7zjnOylAL IH/fitNm0AZW2ymctVK2tUryT0er9kGYMRtlIlSDqnsq85BRYKEYyV2ILfM1RXdpMPQ7 MeVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708579351; x=1709184151; 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=uwlWZD+wtDen80T6/9sZq3GEC66Lq8p7KhscmDYdFLs=; b=Wz4AhWT7BuwzR09rM9jdvJtvAyWBrQ5w52xKRHk+DeRRSiM/jxm9CkXBlKmPKwVSLO 9ujHBToDGpntdpUwK8gVEYpbd4ILO7ugejF/qLoNDgoCZPXxs3qptULO6X1TLw+jmEeC 84zoFoLvB7gXO8a8JjKurDhNg9T2Z1kXv2pKLzvjSnmV+GClvIo9/e8rSH0cLn3i+psI ymW0pQlIU+WmVir1hoJeVFyzfV+UpoObOv3/XY7EnCyik5/jgeAaN+Luo8nvmjFbD0xX DTDd6eNp3XKrkd0gBECGSJOn1/P6tAaPQgGoubQkwEDcRxhaY21ZGK4kuKsJs9RBL82N z0CQ== X-Forwarded-Encrypted: i=1; AJvYcCVsbjtineSBQU0ss1SLTMAROHQ98fjtm4IP9KtUP+IvneAbDFqW/D1XddnNDZ+qYSskg9cCIXshwfwDefkxBxRk9PsurtFj3NPgrW2D X-Gm-Message-State: AOJu0YwVCSJOzo2KxHQulQN3uw3ot5B17AMmNNrj7xAxwZOdyHrA9/k1 j0aK3Ub2RuB1Rza1TrATiSQiq2v8Ap1IjQ84ZUwqeHi0ZQFn9i0mIL+saKTd9A== X-Received: by 2002:a17:90b:4f85:b0:299:9999:6bae with SMTP id qe5-20020a17090b4f8500b0029999996baemr8927857pjb.16.1708579351476; Wed, 21 Feb 2024 21:22:31 -0800 (PST) Received: from thinkpad ([117.193.212.166]) by smtp.gmail.com with ESMTPSA id y13-20020a17090aca8d00b002995babd9b0sm10124988pjt.10.2024.02.21.21.22.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 21:22:30 -0800 (PST) Date: Thu, 22 Feb 2024 10:52:22 +0530 From: Manivannan Sadhasivam To: root Cc: andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, jingoohan1@gmail.com, gustavo.pimentel@synopsys.com, konrad.dybcio@linaro.org, conor+dt@kernel.org, quic_nitegupt@quicinc.com, quic_shazhuss@quicinc.com, quic_ramkri@quicinc.com, quic_nayiluri@quicinc.com, quic_krichai@quicinc.com, quic_vbadigan@quicinc.com, Mrinmay Sarkar , Bjorn Helgaas , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, shradha.t@samsung.com Subject: Re: [PATCH v1 0/3] Add support for detecting Controller Level PCIe Errors Message-ID: <20240222052222.GE3374@thinkpad> References: <20240221140405.28532-1-root@hu-msarkar-hyd.qualcomm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240221140405.28532-1-root@hu-msarkar-hyd.qualcomm.com> + Shradha On Wed, Feb 21, 2024 at 07:34:01PM +0530, root wrote: > From: Mrinmay Sarkar > You are sending the patches from a wierd account. Please fix it. > Synopsys Controllers provide capabilities to detect various controller > level errors. These can range from controller interface error to random > PCIe configuration errors. This patch intends to add support to detect > these errors and report it to userspace entity via sysfs, which can take > appropriate actions to mitigate the errors. > > Also adding global irq support for PCIe RC and add corresponding change > in PCIe dt-bindings. > There is already a series submitted to add RAS support to DWC drivers [1] and I've provided comments to check with EDAC maintainers on using the EDAC framework. If they don't see this as a fit for their subsystem, then we can add it in DWC drivers. - Mani [1] https://lore.kernel.org/all/20231130165514.GW3043@thinkpad/ > Mrinmay Sarkar (2): > dt-bindings: PCI: qcom: Add global irq support for SA8775p > arm64: dts: qcom: sa8775p: Enable global irq support for SA8775p > > Nitesh Gupta (1): > PCI: qcom: Add support for detecting Controller Level PCIe Errors > > .../devicetree/bindings/pci/qcom,pcie.yaml | 26 +- > arch/arm64/boot/dts/qcom/sa8775p.dtsi | 12 +- > drivers/pci/controller/dwc/pcie-designware.h | 26 ++ > drivers/pci/controller/dwc/pcie-qcom.c | 350 ++++++++++++++++++ > 4 files changed, 408 insertions(+), 6 deletions(-) > > -- > 2.40.1 > -- மணிவண்ணன் சதாசிவம்