Message ID | 20221226142326.8111-1-i.bornyakov@metrotek.ru |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp942451wrt; Mon, 26 Dec 2022 06:39:37 -0800 (PST) X-Google-Smtp-Source: AMrXdXsyDVUuv24ZJk1/rHWlq5mF+LJbRrWUxlYZfqEnRnTErKU8C1kPhPk2m1x17mOrvkQj9mtP X-Received: by 2002:a17:903:41c4:b0:192:8641:c1ac with SMTP id u4-20020a17090341c400b001928641c1acmr2079851ple.45.1672065577241; Mon, 26 Dec 2022 06:39:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672065577; cv=none; d=google.com; s=arc-20160816; b=ZU9Iphce1ZcTjNiL/h/yGT2jnPv6UCKeL9pPY/43xu8DVMtr6cjb11Z4P9BNG8Qfx5 158xXopZSjZcU5BOVRXUypkt6z5REaPT/WKizJ24X4YsYKyN7kQhWS0RhlBY8NTbTyI7 oh9rHuCwgsTTxeoTWGCAR2QzYs6f9MInEfR/w6RQaLzBXh005JFpoFQ7hna8xnVoi97P O1I2CAx4yp+SDR0jEL6PuK+wG8H2OEtssudasb2Q3kQF+0O2HTagTM8c4PLwe0gSboF2 uqCz+Ifi+wBPrsAMaBYysWLlznqu74ApLBbVUqHWocfAAKqHVjTFlnhp2Ou7R+J+WFpf 6koQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=PRsHcDcAhulEDBHu1QmKsTvsX1CbYE23qmR25CBtKJ0=; b=mgjPiyArCn9Gy0+rvyIpD42TtRJK9ng4F/7g1GWRgZkLm426CrNxDa+tna/2az0Jx3 HSLuMmOvEnVXr7dm1ZJRWNecjaI4vx8Hk+ChTns93P5zQr8TZS2DEDT6dH6g2xuHOAkg JeHeNzTXMAPs1OYMBt8JCvM2us1BfH/WhhIuJG64MHKrhKOF3SoUhfrydEzlTq770SVP U4gb2545iZyORMWS9+hDzN4kGYmSIFISVYxFPsaj8s5cZ65ranW75bfiGKtXVBl5D440 8E8vYjbfchmu2d+gNTEiKEyM3o+uknOQHrdXjZ3Mh6jWwk10hcfcaur0fLiQKFnD6pbf 18Kg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@metrotek.ru header.s=mail header.b=dEGP2qcL; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f6-20020a170902ce8600b00189f1431481si12491027plg.370.2022.12.26.06.39.24; Mon, 26 Dec 2022 06:39:37 -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=fail header.i=@metrotek.ru header.s=mail header.b=dEGP2qcL; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232103AbiLZOhR (ORCPT <rfc822;eddaouddi.ayoub@gmail.com> + 99 others); Mon, 26 Dec 2022 09:37:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232047AbiLZO3K (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 26 Dec 2022 09:29:10 -0500 Received: from mail.pr-group.ru (mail.pr-group.ru [178.18.215.3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F7C464EA; Mon, 26 Dec 2022 06:26:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=metrotek.ru; s=mail; h=from:subject:date:message-id:to:cc:mime-version:content-transfer-encoding; bh=rxYaNlTu1sVG3D7zPXhKMJeE1kMst4HG0mdqpjHL0Ig=; b=dEGP2qcLdJWfRJWDi6J+pPJjcqcCtx9JKXG1ryTG+VK5FB4/TxbA4l59PK8k+hNJNzYX/Fa1sCCm2 b+Ye1NgLDruzIRcDOOk1O4ky2YSoBn7oduzkfKE1JMyMG0mrC3N59z2IjdYiCOGQpq6P+QewQXa0nP aX5VcR36UB2XkrPcUal2YykMsJrlsS7dv91BjeDN9ydBcfaTVP2hs2qzP9v+7E3QCUd3Q1DdqhmbRi S2Ct4LtNN77FHY7qstHOQPqTOtvrh0B/jJiu1uPTG9gRYQ5iAfVRu+EizkjNY6YUIDYVkBw/OKNsN/ 8eYNu2OeyULQeRqEWs8csNm6A7HgUTw== X-Kerio-Anti-Spam: Build: [Engines: 2.16.5.1460, Stamp: 3], Multi: [Enabled, t: (0.000013,0.009504)], BW: [Enabled, t: (0.000024,0.000002)], RTDA: [Enabled, t: (0.083402), Hit: No, Details: v2.42.0; Id: 15.52k1a7.1gl7d6qee.1g; mclb], total: 0(700) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Level: X-Footer: bWV0cm90ZWsucnU= Received: from localhost.localdomain ([78.37.162.181]) (authenticated user i.bornyakov@metrotek.ru) by mail.pr-group.ru with ESMTPSA (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256 bits)); Mon, 26 Dec 2022 17:25:55 +0300 From: Ivan Bornyakov <i.bornyakov@metrotek.ru> To: Conor Dooley <conor.dooley@microchip.com>, Moritz Fischer <mdf@kernel.org>, Wu Hao <hao.wu@intel.com>, Xu Yilun <yilun.xu@intel.com>, Tom Rix <trix@redhat.com> Cc: Ivan Bornyakov <i.bornyakov@metrotek.ru>, linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org, system@metrotek.ru Subject: [PATCH v2 0/3] Reliability improvements for Microchip MPF FPGA manager Date: Mon, 26 Dec 2022 17:23:23 +0300 Message-Id: <20221226142326.8111-1-i.bornyakov@metrotek.ru> X-Mailer: git-send-email 2.38.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753287834900727269?= X-GMAIL-MSGID: =?utf-8?q?1753287834900727269?= |
Series |
Reliability improvements for Microchip MPF FPGA manager
|
|
Message
Ivan Bornyakov
Dec. 26, 2022, 2:23 p.m. UTC
A couple of reliability improvements for Microchip Polarfire FPGA manager: * move SPI I/O buffers out of stack * rewrite status polling routine in a time measurable way Also improve mpf_ops_write() code readability by separating single data frame writing routine. ChangeLog: v1: [https://lore.kernel.org/linux-fpga/20221223123854.8023-1-i.bornyakov@metrotek.ru/] v2: * split into 3 distinct patches Ivan Bornyakov (3): fpga: microchip-spi: move SPI I/O buffers out of stack fpga: microchip-spi: rewrite status polling in a time measurable way fpga: microchip-spi: separate data frame write routine drivers/fpga/microchip-spi.c | 138 ++++++++++++++++++----------------- 1 file changed, 73 insertions(+), 65 deletions(-)