Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp169447lqo; Tue, 7 May 2024 16:27:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUwBjHcW6AG/UTq1Sx3NvRpKH5smLuhYEyfpfltrwc+HLrKNPZlRslvED3FAnvE1xQ/XIOmSPy0zbIQ+elw9JlTUEJbAezJZo3fzxBYIg== X-Google-Smtp-Source: AGHT+IGThTFNOPUcpfD4PPNNBSr9rLLWDMan76OJmAZGZqe+e3Q4VeqLiq1Nox7j06sc/lZR45Cg X-Received: by 2002:a17:906:ad99:b0:a59:b185:5689 with SMTP id a640c23a62f3a-a59fb9dd183mr47023966b.70.1715124424166; Tue, 07 May 2024 16:27:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715124424; cv=pass; d=google.com; s=arc-20160816; b=JWwUw4/7VoTALS3j1DEH44Boptxn1jXngTfH9NsNCeaDP4zRejD2gM0jwL3RMxSyN6 hxkdvIwxo4FEsWl+4IZ443CsdyqU5eSfO2CZB66d7KWbUmS0P7hbJU6xfZnGkIBOOmOs bVYj4lETns1Xd/OtkINZGtjiXfiRcLlS94GZ6X6OSuLMWWGo64SJhueRe8V6krt4ckM7 k8fXAag+eBlxhPbc+MYwcNW4ylY6QrDZDBspuOmjCd6+Rgt+s0dBy+rbvW4nYFsWoVTT eEqV7c5j4JwFfj0Q2kV5mo1D0qGuMHtdNwSCjdrfLztCDyKo3ynLz7Uw6KBRR3rB8j9B awvg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=OHfJIlBwChud2+b+gqmqF9T1FU1NgVljJ0UHRzlH5z4=; fh=Qtd3cFDqwxI1XuJx9si4SZiXBqYLwUqs78AImBo1gw0=; b=eZBgHbbcOI780Aoi6XXltnQhCzZ0wfiSxzMSOBdB0K61XH4Avp9nFY8QqEcJznOQ2Z 1SANe361EFnqNQhzw0GJK0ekZ2ETyswyNPY5vhaMihSeP3In0cv4tji1G3YxsECRLgXA GLleed0TKMIdjlDD4MCmiczaJzcViR7lqXlPDr/R6xJMw2olVm1oCIbtJW5Kxfuvag08 Ey1hClmTS8ADk/2LLk8/iUvJKAqGGadey9i7xPP7rE65XEXbO4v3sx3zuG2O0/J0Nj13 IeJNVGP4PPX4A9zkQYrMX99Oi1qCEeJ5/HJYuDxNqj6QYQHNCQoQU2YAqLdrwueFRVuy mj7w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=clvD1AIG; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172363-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172363-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id r16-20020a170906281000b00a59997da8e4si5107181ejc.418.2024.05.07.16.27.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 16:27:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172363-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=clvD1AIG; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172363-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172363-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 06DB71F22698 for ; Tue, 7 May 2024 23:27:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9EF7813DDDC; Tue, 7 May 2024 23:08:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="clvD1AIG" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BD7F413DDCB; Tue, 7 May 2024 23:08:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715123320; cv=none; b=OKkYaon3b/ACLKdeiiD4pgxJ4S3ifmee94pGZ/eelDvUYCL+xUdzKrxbWefTzOPMC7QAuKlM7/0dDooD9ljLa8Q2+BmVZpSnl1R+ROpQFe/Rz4/8oiXQY3CVXBNi8pPlH37ho61DX5I/njwg0uDoIrCah/QjnRQspsLjzlR49Ms= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715123320; c=relaxed/simple; bh=Y59gv7Rc89CSMZE74pEohYYOIjOs36C6I6vk3Zzo1ME=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lK7CbeasRl7gFs90Z8vxsnQ2401GXJOOeMys8VPdvlnocGgcvJ9t7Ddm88/QC8hLHQqGBDVIlMInfx81uGe52GZDcNr4kBnqq1uaVFuEEjnHHffdHeP7C+583uBLbltEP7umX3jZPhgqyT040mOJ3fX5e6MKf9Uz/gIDBQCtRPY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=clvD1AIG; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F6AFC3277B; Tue, 7 May 2024 23:08:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715123320; bh=Y59gv7Rc89CSMZE74pEohYYOIjOs36C6I6vk3Zzo1ME=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=clvD1AIGi4P/iI0mCXcRBrAoafjve7/Zr21OkI2P/1CNMRQQQ/p++XYTq/cGxAMOG niCHlgwlZOeo0O1EtlsBoVqAFgUgTfsOk0I3RN4Ff8+awP3WXbPNxjmbNz7/3Diurj Sb+uymkfLCjS9aG7pK5NCG6v6T6VVsHuOU7vo3ynxkkhHN2u56/Nos+uY31TKfKsbk DPa4QG+nqseqp45YApoH1zaoRBaJzC6Sy4rBmEO992SEZu94VzT0rGz3fRd+6GFLvs PxSHG3vNBIKA/Kk2htet8MOMEjD5xBt41xO7Uof0NQMd6w2NPY7NZEdW0W/3slBh09 uWTy2e8rkfWVg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Shubhrajyoti Datta , Borislav Petkov , Sasha Levin , sai.krishna.potthuri@amd.com, linux-edac@vger.kernel.org Subject: [PATCH AUTOSEL 6.8 21/52] EDAC/versal: Do not register for NOC errors Date: Tue, 7 May 2024 19:06:47 -0400 Message-ID: <20240507230800.392128-21-sashal@kernel.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240507230800.392128-1-sashal@kernel.org> References: <20240507230800.392128-1-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore X-stable-base: Linux 6.8.9 Content-Transfer-Encoding: 8bit From: Shubhrajyoti Datta [ Upstream commit edbe59428eb0da09958769326a6566d4c9242ae7 ] The NOC errors are not handled in the driver. Remove the request for registration. Signed-off-by: Shubhrajyoti Datta Signed-off-by: Borislav Petkov (AMD) Link: https://lore.kernel.org/r/20240425121942.26378-2-shubhrajyoti.datta@amd.com Signed-off-by: Sasha Levin --- drivers/edac/versal_edac.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/edac/versal_edac.c b/drivers/edac/versal_edac.c index 62caf454b5670..6e8d641a91e7b 100644 --- a/drivers/edac/versal_edac.c +++ b/drivers/edac/versal_edac.c @@ -1006,8 +1006,7 @@ static int mc_probe(struct platform_device *pdev) } rc = xlnx_register_event(PM_NOTIFY_CB, VERSAL_EVENT_ERROR_PMC_ERR1, - XPM_EVENT_ERROR_MASK_DDRMC_CR | XPM_EVENT_ERROR_MASK_DDRMC_NCR | - XPM_EVENT_ERROR_MASK_NOC_CR | XPM_EVENT_ERROR_MASK_NOC_NCR, + XPM_EVENT_ERROR_MASK_DDRMC_CR | XPM_EVENT_ERROR_MASK_DDRMC_NCR, false, err_callback, mci); if (rc) { if (rc == -EACCES) @@ -1044,8 +1043,6 @@ static int mc_remove(struct platform_device *pdev) xlnx_unregister_event(PM_NOTIFY_CB, VERSAL_EVENT_ERROR_PMC_ERR1, XPM_EVENT_ERROR_MASK_DDRMC_CR | - XPM_EVENT_ERROR_MASK_NOC_CR | - XPM_EVENT_ERROR_MASK_NOC_NCR | XPM_EVENT_ERROR_MASK_DDRMC_NCR, err_callback, mci); edac_mc_del_mc(&pdev->dev); edac_mc_free(mci); -- 2.43.0