Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2096270/?format=api
{ "id": 2096270, "url": "http://patchwork.ozlabs.org/api/patches/2096270/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20250610163835.26874-2-verdun@hpe.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20250610163835.26874-2-verdun@hpe.com>", "list_archive_url": null, "date": "2025-06-10T16:38:35", "name": "[v1,1/1] soft_spi performance enhancement", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "d0da1f7431f2e94e21979f57160fdf64d505f0a0", "submitter": { "id": 83348, "url": "http://patchwork.ozlabs.org/api/people/83348/?format=api", "name": "Verdun, Jean-Marie", "email": "verdun@hpe.com" }, "delegate": { "id": 17739, "url": "http://patchwork.ozlabs.org/api/users/17739/?format=api", "username": "jagan", "first_name": "Jagannadha Sutradharudu", "last_name": "Teki", "email": "jagannadh.teki@gmail.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20250610163835.26874-2-verdun@hpe.com/mbox/", "series": [ { "id": 460334, "url": "http://patchwork.ozlabs.org/api/series/460334/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=460334", "date": "2025-06-10T16:38:34", "name": "Enhance soft spi performance", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/460334/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2096270/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2096270/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=hpe.com header.i=@hpe.com header.a=rsa-sha256\n header.s=pps0720 header.b=AYImMbdW;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)", "phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=hpe.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=hpe.com header.i=@hpe.com header.b=\"AYImMbdW\";\n\tdkim-atps=neutral", "phobos.denx.de;\n dmarc=pass (p=reject dis=none) header.from=hpe.com", "phobos.denx.de; spf=pass smtp.mailfrom=verdun@hpe.com" ], "Received": [ "from phobos.denx.de (phobos.denx.de [85.214.62.61])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange X25519 server-signature ECDSA (secp384r1))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4bGvcq6Q7Xz1yDx\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 11 Jun 2025 02:38:51 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id EABD782B95;\n\tTue, 10 Jun 2025 18:38:53 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id A0C0E82B07; Tue, 10 Jun 2025 18:38:51 +0200 (CEST)", "from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com\n [148.163.147.86])\n (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 6C9518004F\n for <u-boot@lists.denx.de>; Tue, 10 Jun 2025 18:38:47 +0200 (CEST)", "from pps.filterd (m0148663.ppops.net [127.0.0.1])\n by mx0a-002e3701.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id\n 55AEgZ0h025679;\n Tue, 10 Jun 2025 16:38:45 GMT", "from p1lg14881.it.hpe.com ([16.230.97.202])\n by mx0a-002e3701.pphosted.com (PPS) with ESMTPS id 476nv1hnr2-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT);\n Tue, 10 Jun 2025 16:38:45 +0000 (GMT)", "from p1lg14886.dc01.its.hpecorp.net (unknown [10.119.18.237])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by p1lg14881.it.hpe.com (Postfix) with ESMTPS id 10846805E6D;\n Tue, 10 Jun 2025 16:38:39 +0000 (UTC)", "from hpe.com (unknown [16.231.227.36])\n by p1lg14886.dc01.its.hpecorp.net (Postfix) with ESMTP id D07F780AA43;\n Tue, 10 Jun 2025 16:38:38 +0000 (UTC)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,\n RCVD_IN_VALIDITY_RPBL_BLOCKED,RCVD_IN_VALIDITY_SAFE_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=\n content-transfer-encoding:date:from:in-reply-to:message-id\n :mime-version:references:subject:to; s=pps0720; bh=sCSwHYLFZnhEQ\n PqUGe/Luq2oGZCk9x+QHg+Ot1ErrJw=; b=AYImMbdWYvCzL5noDMxfFg8Xwxv89\n zkMxlX2pL1PgWKTyXw11JtdG7ohxTq7N+E84+IaOErgxLUnr9vufhRaun4yPKM9Y\n ZB2wAX4XZA01zreInltX68WhC+TBOYyiLJ9Bb407CCnl6hlMXsJvMV5zj0LBQjCB\n jmf/ufnjEhpo5jNHGcZA7ubzsQjH/chnUkyU6QmEYkQJumgu+b/Baa6ELjPl/+kb\n 9WyJSXhZ1edeqgJ6Gs2VmcwZt1nGju6+6TT2lyFmpvdunIlM/n6BdSStNilwW8D1\n FARk58LKaY16e+uYqwO1wf4KyNJ3S55Z7uPRXVODxMuRFH5nQI5nba/gQ==", "From": "verdun@hpe.com", "To": "verdun@hpe.com, jmverdun3@gmail.com, u-boot@lists.denx.de", "Subject": "[PATCH v1 1/1] soft_spi performance enhancement", "Date": "Tue, 10 Jun 2025 16:38:35 +0000", "Message-ID": "<20250610163835.26874-2-verdun@hpe.com>", "X-Mailer": "git-send-email 2.43.0", "In-Reply-To": "<20250610163835.26874-1-verdun@hpe.com>", "References": "<20250610163835.26874-1-verdun@hpe.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-Authority-Analysis": "v=2.4 cv=EfDIQOmC c=1 sm=1 tr=0 ts=68485f95 cx=c_pps\n a=FAnPgvRYq/vnBSvlTDCQOQ==:117 a=FAnPgvRYq/vnBSvlTDCQOQ==:17\n a=6IFa9wvqVegA:10 a=MvuuwTCpAAAA:8 a=vDgps_oNwc7HqzpdexwA:9", "X-Proofpoint-ORIG-GUID": "0KScEcC6FzuDOL1MID8t2ZRmqYW61Cxx", "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjUwNjEwMDEzNCBTYWx0ZWRfX0FjbwQ1XGfBg\n Cn5iiTRxh8wDR8eDvx53+IBHpo7S4KQjfkSaittyRCHvi/pDjmkP4VkGAmoZtwzGb7mZ7j8s8p0\n hKPYtFG4jwgopwGWGM4BhbhqaFoUkLxeB6tecLniSjG/HXYWuVwotHBpP3cFbQNF9hW5uj3qvZo\n TYwPYPvPqHrCcEdxoAPUo0s7zfgOZBpgLVVfdbEOBm3AqDls3MG0Zvvixr32j2K1ea4CQZX95Fp\n /9VD5NiYeCp0jd29PSpSHq+HMTBwXLMxGrCPSg5F1xmi4Tycl4jOfeftNObCliwz0rlwKLpazuW\n 28xuLCEfKC/C36i93gvHttPrEGJs77lkNCOz1EXYloE5JgRaUPDWxBvnNZw6rcaPikOQX9fi7II\n +3xXgEQH", "X-Proofpoint-GUID": "0KScEcC6FzuDOL1MID8t2ZRmqYW61Cxx", "X-HPE-SCL": "-1", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.0.736,FMLib:17.12.80.40\n definitions=2025-06-10_08,2025-06-10_01,2025-03-28_01", "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n clxscore=1015 mlxscore=0\n suspectscore=0 impostorscore=0 phishscore=0 mlxlogscore=999 spamscore=0\n malwarescore=0 priorityscore=1501 lowpriorityscore=0 adultscore=0\n bulkscore=0 classifier=spam authscore=0 adjust=0 reason=mlx scancount=1\n engine=8.19.0-2505280000 definitions=main-2506100134", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.39", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>", "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de", "X-Virus-Status": "Clean" }, "content": "From: Jean-Marie Verdun <verdun@hpe.com>\n\nAdd a test when delay is set to 0 to improve performances\nby 20% on ARM based systems\n\nSigned-off-by: Jean-Marie Verdun <verdun@hpe.com>\n---\n drivers/spi/soft_spi.c | 6 ++++--\n 1 file changed, 4 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/spi/soft_spi.c b/drivers/spi/soft_spi.c\nindex 50bd7be5640..e97352000f8 100644\n--- a/drivers/spi/soft_spi.c\n+++ b/drivers/spi/soft_spi.c\n@@ -173,7 +173,8 @@ static int soft_spi_xfer(struct udevice *dev, unsigned int bitlen,\n \t\t\tsoft_spi_scl(dev, !cidle);\n \t\tif ((txrx & SPI_MASTER_NO_TX) == 0)\n \t\t\tsoft_spi_sda(dev, !!(tmpdout & 0x80));\n-\t\tudelay(plat->spi_delay_us);\n+\t\tif (plat->spi_delay_us)\n+\t\t\tudelay(plat->spi_delay_us);\n \n \t\t/*\n \t\t * sample bit\n@@ -190,7 +191,8 @@ static int soft_spi_xfer(struct udevice *dev, unsigned int bitlen,\n \t\t\t\t\t\t\t &plat->mosi :\n \t\t\t\t\t\t\t &plat->miso);\n \t\ttmpdout\t<<= 1;\n-\t\tudelay(plat->spi_delay_us);\n+\t\tif (plat->spi_delay_us)\n+\t\t\tudelay(plat->spi_delay_us);\n \n \t\t/*\n \t\t * drive bit\n", "prefixes": [ "v1", "1/1" ] }