Message ID | 20230929105558.11893-7-jay.buddhabhatti@amd.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C04E6E7F154 for <linux-arm-kernel@archiver.kernel.org>; Fri, 29 Sep 2023 10:58:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VdzySbYZfBC2VLh0wsDtgVaWnUx81xWebd4wtxrntcU=; b=H7Gl1KSiMJU0f6 r4AmvR74b2YQ7dQijEiN4RVhUnUfy2xY+2AsXJOoukudZLSwx5Fmrj0S8g47PFHgtOUkWV0MsGLk9 QiDrjDeoHtFjkMdZptUT+kGKHZhM3A3kVjUZ/MYnz/QRdj5RZ1UKnBoFIV1aIkOYUML/w4Tf1zkIi GxGeiw9LcDoKvpluaNAtA7E9jpa4pwcKqsMV4CbJw6G6rlvziJZGA8cFfMAduWFloZESaZlYOBUBP TOkfjwrYdMkdMcfD0ByWl6ZKrTYdgaQQ1Ve64S93bg2nKPnC7MU1cQ8qNTtitc33il9V6h546saL3 8wVo0hjKw7Mqj0TaXMGw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qmBBy-007hbw-2m; Fri, 29 Sep 2023 10:57:54 +0000 Received: from mail-dm6nam12on2061f.outbound.protection.outlook.com ([2a01:111:f400:fe59::61f] helo=NAM12-DM6-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qmBBp-007hMA-0D for linux-arm-kernel@lists.infradead.org; Fri, 29 Sep 2023 10:57:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XTx1+cmdFutP8tsNMGg+lrfNWaoCqJSyov5Bn1WHg4TOmiyh3T3kNxOcwPqBA8KH+8auyG2cx/V/FOUbLtaYNAvsY4g4pazLjQTNvQfKnzhKCdGeG7BJEjzkyJr8mN9uj6lAiZO9DlNSourjUBU14KGl2MMmkHJd6g5vNg3F0SS2L4YV0hA2Q9ekRtKZ1iffGj502xPo3W6balHWNVIzCeDO8Oi3+E8TsKIn/PcCps+oLI+Dgph8DwJGuqViRDlyDOck2afq3UGiiZDfXSlXCHv7koTEk/fEOOFAZASeqUDBw4I7X/mC6/2MGG6l3zMW0PlW2eHMjxolnlpXZ0Zo7A== 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=/KyZeer0+O9IJCYIfYBm2aTpBVbpw6pEzNjZY9ptrM0=; b=D/Mv+E6l8P5AuYTZz021avbRMKNRdYgLAUnA3USuk3Au3NYp1OF3LTjSvA+r0PN28OehFYb7jaAGymp8dMk9P5PlQqUx0wySjAuF3xYHLkSxg8TXb5T6cClOjAPIQu0IAv8+vuKueM9xxdYUK9PVgAXRah4+idsnDQkj/zACHTnbhT4WJlT9z7ohjVHnGHJ18ZZcpNxI1Sc+HASM0AMe5k/OWynCRyAJOeUWvYnKgxqjzBMtPNZuJQPkfXWfyb31TJszdUNk5tQhFLKoSTTnZt9imfccXGIe91t9fp7VZsbBH1SaGS4wdqm5TwPIxACv9xf6thwe7fxORLdN0hiQrA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=linuxfoundation.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/KyZeer0+O9IJCYIfYBm2aTpBVbpw6pEzNjZY9ptrM0=; b=tXDJOczfAv9zS/j0+/MI1t/6B6c4fjTLC8x5KAjhpC4rECov7uNQRDgCu9iNzlKZVNOl4M0m5cjryq/jyg6p95SHDa+T1XyeiIqJBOS6Eh6Oi9eNjkA06cagyCBQV8iha8JbQFV20xxNEQCVuxaOOu/tthzz7rWmzwZmAReDwCI= Received: from DM6PR11CA0060.namprd11.prod.outlook.com (2603:10b6:5:14c::37) by PH7PR12MB5733.namprd12.prod.outlook.com (2603:10b6:510:1e0::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.22; Fri, 29 Sep 2023 10:57:32 +0000 Received: from CY4PEPF0000E9D5.namprd05.prod.outlook.com (2603:10b6:5:14c:cafe::85) by DM6PR11CA0060.outlook.office365.com (2603:10b6:5:14c::37) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.25 via Frontend Transport; Fri, 29 Sep 2023 10:57:32 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CY4PEPF0000E9D5.mail.protection.outlook.com (10.167.241.76) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6838.14 via Frontend Transport; Fri, 29 Sep 2023 10:57:32 +0000 Received: from SATLEXMB08.amd.com (10.181.40.132) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 29 Sep 2023 05:57:29 -0500 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB08.amd.com (10.181.40.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 29 Sep 2023 03:57:29 -0700 Received: from xsjarunbala50.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.27 via Frontend Transport; Fri, 29 Sep 2023 05:57:28 -0500 From: Jay Buddhabhatti <jay.buddhabhatti@amd.com> To: <michal.simek@amd.com>, <gregkh@linuxfoundation.org>, <tanmay.shah@amd.com>, <sai.krishna.potthuri@amd.com>, <nava.kishore.manne@amd.com>, <ben.levinsky@amd.com>, <dhaval.r.shah@amd.com>, <marex@denx.de>, <robh@kernel.org>, <arnd@arndb.de>, <izhar.ameer.shaikh@amd.com>, <ruanjinjie@huawei.com>, <mathieu.poirier@linaro.org> CC: <linux-kernel@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, Jay Buddhabhatti <jay.buddhabhatti@amd.com>, Naman Trivedi Manojbhai <naman.trivedimanojbhai@amd.com> Subject: [PATCH 6/7] firmware: zynqmp: Add support to handle IPI CRC failure Date: Fri, 29 Sep 2023 03:55:57 -0700 Message-ID: <20230929105558.11893-7-jay.buddhabhatti@amd.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230929105558.11893-1-jay.buddhabhatti@amd.com> References: <20230929105558.11893-1-jay.buddhabhatti@amd.com> MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CY4PEPF0000E9D5:EE_|PH7PR12MB5733:EE_ X-MS-Office365-Filtering-Correlation-Id: cc97f218-2ea4-4b37-68aa-08dbc0dae196 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bwS9aEKb0fG3ZafKfI9q9FnzbUsAnKa6wBuNA4waxC55RkbCechs3GUTBYTdvvSaNOieD9hg/pdwnnMAfNL8MjTzRgPFVYENWuDMAPRcEaP89XRGp/Ssy6KppCtev0iqgQn+OfmJHU9nHfjX5RDPpBlOzGIGZYiXFsl9cSZK9CesNgwRlvkUj3l43rArm27IYLxp+ak5jHxp5lFVZ94s0KMYrSYT9lHxtJM5urlLyuWtFbthLRz4iRgnhTchnfOrmTdPxsTsxtLVVFX/C14QuRuCyVYCQRfH0aliD/l0qwlsWbkkD5W2OA2NA/GmXRDyuBejhyFf5f8LFbBO83v0kPggnMhBDCGhskjUUEfXR+wVsRGvQ+4C80rmbwzrfkgoPzVNqnmWrc0tfkBsjX5q7IfHdcdG0E/0mYhPuOZd0oINH43SdztvuOGHfDG1cy6BXR4ErfE9y0ImnaBPox6DaJS7oMKhyy43Bi5AZJJwd6uI+z16Csk0727r6/8uESB9Dp56qPNFR3kDFIf2oAWqW9OfpH4WF74KXYX98ESl+vdTtB0kuma+f5uEs+AtIy1saLAkDtFiGtaeDY/ogBkWOXEo0aYmYh2uevkNkawkDbtxExR7pAx73NG1ViyPzWsJ3YKxzE9tkXp+cLsE7EnAh7PXPyapWUh4jqyDy/1z68D9fyfTYiRbQkdN2k0Y8AWxRuSpCxXg9JrGpn0IWoR2wQJXqGILN2q6rsPQzNC1UxuLJrYWT89j+HunVd7wA6AyFWcVcZbyNB3/l3LZNYUrFFWeS6dOAR5M2khyt8gCFik= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(4636009)(39860400002)(346002)(376002)(136003)(396003)(230922051799003)(1800799009)(64100799003)(186009)(82310400011)(451199024)(40470700004)(46966006)(36840700001)(40460700003)(6666004)(83380400001)(356005)(82740400003)(86362001)(81166007)(921005)(47076005)(36860700001)(1076003)(36756003)(2616005)(40480700001)(26005)(2906002)(336012)(426003)(5660300002)(478600001)(8676002)(8936002)(44832011)(41300700001)(70206006)(110136005)(316002)(4326008)(54906003)(70586007)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Sep 2023 10:57:32.2253 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cc97f218-2ea4-4b37-68aa-08dbc0dae196 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CY4PEPF0000E9D5.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB5733 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230929_035745_114394_C261EAED X-CRM114-Status: GOOD ( 11.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
update for versal net platform
|
expand
|
diff --git a/drivers/firmware/xilinx/zynqmp.c b/drivers/firmware/xilinx/zynqmp.c index 0316db03fa51..5e497a8ea7e8 100644 --- a/drivers/firmware/xilinx/zynqmp.c +++ b/drivers/firmware/xilinx/zynqmp.c @@ -103,6 +103,7 @@ static int zynqmp_pm_ret_code(u32 ret_status) case XST_PM_INTERNAL: case XST_PM_CONFLICT: case XST_PM_INVALID_NODE: + case XST_PM_INVALID_CRC: default: return -EINVAL; } diff --git a/include/linux/firmware/xlnx-zynqmp.h b/include/linux/firmware/xlnx-zynqmp.h index 880c3b17571b..1aadcd2dc34c 100644 --- a/include/linux/firmware/xlnx-zynqmp.h +++ b/include/linux/firmware/xlnx-zynqmp.h @@ -170,6 +170,7 @@ enum pm_ret_status { XST_PM_SUCCESS = 0, XST_PM_INVALID_VERSION = 4, XST_PM_NO_FEATURE = 19, + XST_PM_INVALID_CRC = 301, XST_PM_INTERNAL = 2000, XST_PM_CONFLICT = 2001, XST_PM_NO_ACCESS = 2002,