{"id":2227644,"url":"http://patchwork.ozlabs.org/api/patches/2227644/?format=json","web_url":"http://patchwork.ozlabs.org/project/ubuntu-kernel/patch/20260424033043.71421-2-zixing.liu@canonical.com/","project":{"id":15,"url":"http://patchwork.ozlabs.org/api/projects/15/?format=json","name":"Ubuntu Kernel","link_name":"ubuntu-kernel","list_id":"kernel-team.lists.ubuntu.com","list_email":"kernel-team@lists.ubuntu.com","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20260424033043.71421-2-zixing.liu@canonical.com>","list_archive_url":null,"date":"2026-04-24T03:30:42","name":"[SRU,Q,v4,1/2] selftests/powerpc: Lower run time of count_stcx_fail test","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"8149874564f964083e4778260ece10b32c6de278","submitter":{"id":90901,"url":"http://patchwork.ozlabs.org/api/people/90901/?format=json","name":"Zixing Liu","email":"zixing.liu@canonical.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/ubuntu-kernel/patch/20260424033043.71421-2-zixing.liu@canonical.com/mbox/","series":[{"id":501295,"url":"http://patchwork.ozlabs.org/api/series/501295/?format=json","web_url":"http://patchwork.ozlabs.org/project/ubuntu-kernel/list/?series=501295","date":"2026-04-24T03:30:41","name":"Fix time-out issues on powerpc when running ubuntu_kernel_selftests","version":4,"mbox":"http://patchwork.ozlabs.org/series/501295/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2227644/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2227644/checks/","tags":{},"related":[],"headers":{"Return-Path":"<kernel-team-bounces@lists.ubuntu.com>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (4096-bit key;\n unprotected) header.d=canonical.com header.i=@canonical.com\n header.a=rsa-sha256 header.s=20251003 header.b=iVTJEyGD;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ubuntu.com\n (client-ip=185.125.189.65; helo=lists.ubuntu.com;\n envelope-from=kernel-team-bounces@lists.ubuntu.com;\n receiver=patchwork.ozlabs.org)"],"Received":["from lists.ubuntu.com (lists.ubuntu.com [185.125.189.65])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g1z583F0Xz1yDD\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 13:31:07 +1000 (AEST)","from localhost ([127.0.0.1] helo=lists.ubuntu.com)\n\tby lists.ubuntu.com with esmtp (Exim 4.86_2)\n\t(envelope-from <kernel-team-bounces@lists.ubuntu.com>)\n\tid 1wG7Fu-0008Qk-BI; Fri, 24 Apr 2026 03:31:02 +0000","from smtp-relay-internal-0.internal ([10.131.114.225]\n helo=smtp-relay-internal-0.canonical.com)\n by lists.ubuntu.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.86_2) (envelope-from <zixing.liu@canonical.com>)\n id 1wG7Ft-0008Pp-6E\n for kernel-team@lists.ubuntu.com; Fri, 24 Apr 2026 03:31:01 +0000","from mail-pf1-f200.google.com (mail-pf1-f200.google.com\n [209.85.210.200])\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 smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id EB03E3FEB3\n for <kernel-team@lists.ubuntu.com>; Fri, 24 Apr 2026 03:31:00 +0000 (UTC)","by mail-pf1-f200.google.com with SMTP id\n d2e1a72fcca58-82f8bbb4045so4543104b3a.2\n for <kernel-team@lists.ubuntu.com>; Thu, 23 Apr 2026 20:31:00 -0700 (PDT)","from localhost.localdomain ([150.241.210.223])\n by smtp.gmail.com with ESMTPSA id\n d2e1a72fcca58-82f8e9e0f40sm23654615b3a.17.2026.04.23.20.30.56\n for <kernel-team@lists.ubuntu.com>\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 23 Apr 2026 20:30:58 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com;\n s=20251003; t=1777001460;\n bh=nLpuBttgInSK7opKzEr5dDA6rLFbuGgjBPgzJSravOo=;\n h=From:To:Subject:Date:Message-ID:In-Reply-To:References:\n MIME-Version;\n b=iVTJEyGDFhSmFceZdBRH43vhZEE12yJIMqcYj68H/EndX5cSJ6DvWe8QhnxL1CK26\n YommJybqmMPF79IBD+FzmqhIA8yk11f1ti8qjgo4nt7cYDY6COzejiUfMslXWyur3Q\n 67BVmGNYp2h55ec5TAZtnoguow70tsT2THStLvPllb0qUo2jgHqUcwvII0TSl1He2y\n x0NmoD3sys7UCphNld8EAV4IHhEn0ghExV95mHpxxbeaHdc3T5mWH9odFOVDAfLutF\n yqt5e0gYEt7KhayKYscUToOE5bsHDTz2Qj6aO76bc6+gUTCrg2cok8KPiMcHm5fNdl\n TqP6OfF1d+tBCRQ4+f+pzvYwiNEg6bRdsJSuosFMu1eUREFCMzlNyE2Mu8Ctgw5k0c\n TvjT3xvzVAsgdjsAss+sjV9waDyOYq+jnQLynrUAh/14HNzB1yH1jEBQYUjJeAeGsp\n 5ElbxMxrPvE1spRikPqT1LJ2SQl1blprqet7/HqvNe/W5nBt089iMiLO6BfpzU9wPH\n rmXdWAanElWTTdtLc7Zqk7RuY0tQTBrfoP0chsHCifS72rzWIuAfftbcoYBGyQ+NEq\n COyvRwEqudGCIM2qx2zxBoZjpYG+r5N0vXh/ysgBfFlSZvUKJjDLP/AHEm11lrGf4+\n 5Nf8/C5iuF5Q+sWiO6j/aqNY=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777001459; x=1777606259;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to\n :cc:subject:date:message-id:reply-to;\n bh=nLpuBttgInSK7opKzEr5dDA6rLFbuGgjBPgzJSravOo=;\n b=lB7ISLssY3CR0BUmwsRsgO/YuKYKmNVWIgplFcHDELObLMHMNw5XTJvv9bDxyMomae\n qzyFxEf51XpVh7h5VDvt0KMuryDrf9RR9PP2jXxVqtpAsgiif7z7rbwDryhSB9K2K+cD\n Y+RJ/IBfF8zdHmsC91BoKzsa/fTXtTsQS75WWle6AdkUz5FDeeiJoUCx3/zohf8bs/Y+\n ya00Hsmj0RClbeEo6MxGLLJr7mdbDAqw74hi67A1Y9WIVy6f0LDUllgsq/2RMbfGIpA1\n InOTF+t/R8vRqrQHbhWyLy3PU8A4IqslvmHj1pWqGbhRokCcZYPX91v0hvz80impvFpk\n F2Bg==","X-Gm-Message-State":"AOJu0Yx5B54GFZTsAIow5W0V6gkX9fZzwVT5yxQBqWNQNO2lqVn42eMU\n i9fnfBXLPliiq96VIWxfo+KqQtOpvL56Vc43gz1k6EfTvQh5LC4NJVny80k/VUJlZAYFVUjkOqL\n f+JjkZjv6Es/6gH1UCbzjTeJ08yzHd2A2Nuq/s7xZLQuYRBHH0Y3p3hvOR8Tj7Uxiu9EOg5X+Ny\n GNrGH6h2D3rJu1ku4Nn50=","X-Gm-Gg":"AeBDietP3gffWWPSPBeuuivsqXe0AMA6VBq4Bzj9vXPFsnICnYxK3JUCOQES+BDkW4a\n VF/7hD4ztRXkWq28ZdBuy5ev894V2yq0a91LFGq1d2+17h7+8iGZ3OY0vtMqFiY2HSaAQDbmyk9\n 9ztjqy6VWLhvD1elLP1VI0Jz6/D4JPtcwZL7/ZSaNVrzS9Eqb9XOq0rTgCAelmF4tUFlEORaPHs\n uppZJa0QTChGpX5hReBQ7LtVG4zJpG9lvJm3FcaRBGLs4okreGQwir2NjY6X3naZqxcZEFPKqa4\n eG8Z0x9najvKJUPTD0dFq4faK4XJoqFKdAlSwMuvkJYgB9Cc0xeYxH4YKNgEnDmuCdx28WAKosl\n ODTB7hT99k08xyR4ZBQqhdjQRTlMPbmhEGrSp6V15GITF7k5NWSeeAg==","X-Received":["by 2002:a05:6a00:3028:b0:82f:6640:7229 with SMTP id\n d2e1a72fcca58-82f8c91c9femr31983335b3a.23.1777001459175;\n Thu, 23 Apr 2026 20:30:59 -0700 (PDT)","by 2002:a05:6a00:3028:b0:82f:6640:7229 with SMTP id\n d2e1a72fcca58-82f8c91c9femr31983302b3a.23.1777001458687;\n Thu, 23 Apr 2026 20:30:58 -0700 (PDT)"],"From":"Zixing Liu <zixing.liu@canonical.com>","To":"kernel-team@lists.ubuntu.com","Subject":"[SRU][Q][PATCH v4 1/2] selftests/powerpc: Lower run time of\n count_stcx_fail test","Date":"Fri, 24 Apr 2026 11:30:42 +0800","Message-ID":"<20260424033043.71421-2-zixing.liu@canonical.com>","X-Mailer":"git-send-email 2.53.0","In-Reply-To":"<20260424033043.71421-1-zixing.liu@canonical.com>","References":"<20260424033043.71421-1-zixing.liu@canonical.com>","MIME-Version":"1.0","X-BeenThere":"kernel-team@lists.ubuntu.com","X-Mailman-Version":"2.1.20","Precedence":"list","List-Id":"Kernel team discussions <kernel-team.lists.ubuntu.com>","List-Unsubscribe":"<https://lists.ubuntu.com/mailman/options/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=unsubscribe>","List-Archive":"<https://lists.ubuntu.com/archives/kernel-team>","List-Post":"<mailto:kernel-team@lists.ubuntu.com>","List-Help":"<mailto:kernel-team-request@lists.ubuntu.com?subject=help>","List-Subscribe":"<https://lists.ubuntu.com/mailman/listinfo/kernel-team>,\n <mailto:kernel-team-request@lists.ubuntu.com?subject=subscribe>","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"kernel-team-bounces@lists.ubuntu.com","Sender":"\"kernel-team\" <kernel-team-bounces@lists.ubuntu.com>"},"content":"From: Michael Ellerman <mpe@ellerman.id.au>\n\nBugLink: https://bugs.launchpad.net/bugs/2141536\n\nThe count_stcx_fail test runs for close to or just over 2 minutes, which\nmeans it sometimes times out.\n\nThat's overkill for a test that just demonstrates some PMU counters\nare working. Drop the 64 billion instruction case, to lower the runtime\nto ~30s.\n\nSigned-off-by: Michael Ellerman <mpe@ellerman.id.au>\n(cherry picked from commit 3b9bde403aafa55dcbe7dc250b95af917610f139)\nSigned-off-by: Zixing Liu <zixing.liu@canonical.com>\n---\n tools/testing/selftests/powerpc/pmu/count_stcx_fail.c | 3 ---\n 1 file changed, 3 deletions(-)","diff":"diff --git a/tools/testing/selftests/powerpc/pmu/count_stcx_fail.c b/tools/testing/selftests/powerpc/pmu/count_stcx_fail.c\nindex 2070a1e2b3a5..d8dd9a9c6c1b 100644\n--- a/tools/testing/selftests/powerpc/pmu/count_stcx_fail.c\n+++ b/tools/testing/selftests/powerpc/pmu/count_stcx_fail.c\n@@ -144,9 +144,6 @@ static int test_body(void)\n \t/* Run for 16Bi instructions */\n \tFAIL_IF(do_count_loop(events, 16000000000, overhead, true));\n \n-\t/* Run for 64Bi instructions */\n-\tFAIL_IF(do_count_loop(events, 64000000000, overhead, true));\n-\n \tevent_close(&events[0]);\n \tevent_close(&events[1]);\n \n","prefixes":["SRU","Q","v4","1/2"]}