From patchwork Fri Sep 12 21:18:11 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Judith Mendez X-Patchwork-Id: 70105 X-Patchwork-Delegate: reatmon@ti.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id A0153CA101F for ; Fri, 12 Sep 2025 21:18:23 +0000 (UTC) Received: from lelvem-ot01.ext.ti.com (lelvem-ot01.ext.ti.com [198.47.23.234]) by mx.groups.io with SMTP id smtpd.web11.88.1757711894115234652 for ; Fri, 12 Sep 2025 14:18:14 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=hd+rStDP; spf=pass (domain: ti.com, ip: 198.47.23.234, mailfrom: jm@ti.com) Received: from lelvem-sh01.itg.ti.com ([10.180.77.71]) by lelvem-ot01.ext.ti.com (8.15.2/8.15.2) with ESMTP id 58CLICsk685999; Fri, 12 Sep 2025 16:18:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1757711892; bh=20TfGiRZ9ys1CfovKESbyeOvr3TEjaYmjOmqZFaomyU=; h=From:To:CC:Subject:Date; b=hd+rStDPPrMYv4ClxrZ4t5AgGFHEGrLxLvqeu5cCTdt+R10fPYHfwe9BQlFU8zXvj nltAQeE15i7OAVoQKLnV4CDEIACL3qvAkCJpaKnDI889rcpNpSPACNXi43S/pbYO0m YRde/H5TY0DiBVnpTy1krDuJGZqomnIWhiSB13M8= Received: from DFLE109.ent.ti.com (dfle109.ent.ti.com [10.64.6.30]) by lelvem-sh01.itg.ti.com (8.18.1/8.18.1) with ESMTPS id 58CLICVh1573629 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA256 bits=128 verify=FAIL); Fri, 12 Sep 2025 16:18:12 -0500 Received: from DFLE211.ent.ti.com (10.64.6.69) by DFLE109.ent.ti.com (10.64.6.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.55; Fri, 12 Sep 2025 16:18:11 -0500 Received: from lelvem-mr05.itg.ti.com (10.180.75.9) by DFLE211.ent.ti.com (10.64.6.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.20 via Frontend Transport; Fri, 12 Sep 2025 16:18:11 -0500 Received: from judy-hp.dhcp.ti.com (judy-hp.dhcp.ti.com [128.247.81.105]) by lelvem-mr05.itg.ti.com (8.18.1/8.18.1) with ESMTP id 58CLIBdr306783; Fri, 12 Sep 2025 16:18:11 -0500 From: Judith Mendez To: Judith Mendez , Ryan Eatmon CC: Praneeth Bajjuri , Denys Dmytriyenko , , Chirag Shilwant Subject: [scarthgap][PATCH v3] hwspinlocktest: Update hwspinlock recipe remote repo url Date: Fri, 12 Sep 2025 16:18:11 -0500 Message-ID: <20250912211811.2789974-1-jm@ti.com> X-Mailer: git-send-email 2.51.0 MIME-Version: 1.0 X-C2ProcessedOrg: 333ef613-75bf-4e12-a4b1-8e3623f5dcea List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 12 Sep 2025 21:18:23 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arago/message/16579 The hwspinlock module is now moved to git.ti.com. A new fork has been created and support added for am62*/j722s platforms. Migrate to new forked repo and remove patches that have already been integrated to master. Signed-off-by: Judith Mendez --- ...test-Remove-hwspin_lock_get_id-calls.patch | 69 ------------------- .../0002-Add-support-for-AM62-SoCs.patch | 31 --------- .../hwspinlocktest/hwspinlocktest_0.1.bb | 6 +- 3 files changed, 2 insertions(+), 104 deletions(-) delete mode 100644 meta-arago-test/recipes-kernel/hwspinlocktest/files/0001-omap_hwspinlock_test-Remove-hwspin_lock_get_id-calls.patch delete mode 100644 meta-arago-test/recipes-kernel/hwspinlocktest/files/0002-Add-support-for-AM62-SoCs.patch diff --git a/meta-arago-test/recipes-kernel/hwspinlocktest/files/0001-omap_hwspinlock_test-Remove-hwspin_lock_get_id-calls.patch b/meta-arago-test/recipes-kernel/hwspinlocktest/files/0001-omap_hwspinlock_test-Remove-hwspin_lock_get_id-calls.patch deleted file mode 100644 index d4448397..00000000 --- a/meta-arago-test/recipes-kernel/hwspinlocktest/files/0001-omap_hwspinlock_test-Remove-hwspin_lock_get_id-calls.patch +++ /dev/null @@ -1,69 +0,0 @@ -From fb986ed355cd488da64da9eb94d0f260bb329d5b Mon Sep 17 00:00:00 2001 -From: Ryan Eatmon -Date: Fri, 11 Apr 2025 13:49:11 -0500 -Subject: [PATCH] omap_hwspinlock_test: Remove hwspin_lock_get_id() calls - -The hwspin_lock_get_id() function was removed in the most recent -kernel [1]. We can safely stop using this function even for older kernels, -so go ahead and take these changes. - -[1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=fec04edb74126f21ac628c7be763c97deb49f69d - -Upstream-Status: Inactive-Upstream [private repo] - -Signed-off-by: Ryan Eatmon ---- - omap_hwspinlock_test.c | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -diff --git a/omap_hwspinlock_test.c b/omap_hwspinlock_test.c -index b180138..f3e0912 100644 ---- a/omap_hwspinlock_test.c -+++ b/omap_hwspinlock_test.c -@@ -26,12 +26,12 @@ struct hwspinlock_data { - const unsigned int max_locks; - }; - --static int hwspin_lock_test(struct hwspinlock *hwlock) -+static int hwspin_lock_test(struct hwspinlock *hwlock, int lock_num) - { - int i; - int ret; - -- pr_err("\nTesting lock %d\n", hwspin_lock_get_id(hwlock)); -+ pr_err("\nTesting lock %d\n", lock_num); - for (i = 0; i < count; i++) { - ret = hwspin_trylock(hwlock); - if (ret) { -@@ -82,7 +82,7 @@ static int hwspin_lock_test_all_locks(unsigned int max_locks) - continue; - } - -- ret1 = hwspin_lock_test(hwlock); -+ ret1 = hwspin_lock_test(hwlock, i); - if (ret1) { - pr_err("hwspinlock tests failed on lock %d\n", i); - ret = ret1; -@@ -147,17 +147,17 @@ static int hwspin_lock_test_all_phandle_locks(unsigned int max_locks) - continue; - } - -- ret1 = hwspin_lock_test(hwlock); -+ ret1 = hwspin_lock_test(hwlock, i); - if (ret1) { - pr_err("hwspinlock test failed on DT lock %d, ret = %d\n", -- hwspin_lock_get_id(hwlock), ret1); -+ hwlock_id, ret1); - ret = ret1; - } - - ret1 = hwspin_lock_free(hwlock); - if (ret1) { - pr_err("hwspin_lock_free failed on lock %d\n", -- hwspin_lock_get_id(hwlock)); -+ hwlock_id); - ret = ret1; - } - } --- -2.17.1 diff --git a/meta-arago-test/recipes-kernel/hwspinlocktest/files/0002-Add-support-for-AM62-SoCs.patch b/meta-arago-test/recipes-kernel/hwspinlocktest/files/0002-Add-support-for-AM62-SoCs.patch deleted file mode 100644 index 30d9886a..00000000 --- a/meta-arago-test/recipes-kernel/hwspinlocktest/files/0002-Add-support-for-AM62-SoCs.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 5ea20dff1aba059cc49e11031f731a422f3fd114 Mon Sep 17 00:00:00 2001 -From: Judith Mendez -Date: Mon, 18 Nov 2024 14:57:45 -0600 -Subject: [PATCH 2/2] Add support for AM62* SoCs - -The K3 AM62* SoCs have a hwspinlock IP in MAIN domain. -Extend the test to add the desired SoC compatible so that -the test can be exercised on these new SoC families. - -Upstream-Status: Inactive-Upstream [private repo] -Signed-off-by: Judith Mendez ---- - omap_hwspinlock_test.c | 3 +++ - 1 file changed, 3 insertions(+) - -diff --git a/omap_hwspinlock_test.c b/omap_hwspinlock_test.c -index b180138..46fcc08 100644 ---- a/omap_hwspinlock_test.c -+++ b/omap_hwspinlock_test.c -@@ -199,6 +199,9 @@ static const struct hwspinlock_data soc_data[] = { - { "ti,j7200", 256, }, - { "ti,am642", 256, }, - { "ti,j721s2", 256, }, -+ { "ti,am625", 256, }, -+ { "ti,am62a7", 256, }, -+ { "ti,am62p5", 256, }, - { /* sentinel */ }, - }; - --- -2.47.0 diff --git a/meta-arago-test/recipes-kernel/hwspinlocktest/hwspinlocktest_0.1.bb b/meta-arago-test/recipes-kernel/hwspinlocktest/hwspinlocktest_0.1.bb index 104c2d15..39171041 100644 --- a/meta-arago-test/recipes-kernel/hwspinlocktest/hwspinlocktest_0.1.bb +++ b/meta-arago-test/recipes-kernel/hwspinlocktest/hwspinlocktest_0.1.bb @@ -6,13 +6,11 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=bfa02c83df161e37647ee23a2c inherit module SRC_URI = "\ - git://github.com/sumananna/omap-hwspinlock-test;protocol=https;branch=master \ + git://github.com/TexasInstruments/omap-hwspinlock-test;protocol=https;branch=master \ file://0001-Fix-Makefile-for-to-build-with-yocto.patch \ - file://0002-Add-support-for-AM62-SoCs.patch \ - file://0001-omap_hwspinlock_test-Remove-hwspin_lock_get_id-calls.patch \ " -SRCREV = "20f15e79a3a0197e06328c252d23aec225de21ed" +SRCREV = "a8297c7a2ca9e127929095045228dd4761121d56" S = "${WORKDIR}/git"