[{"id":3687048,"web_url":"http://patchwork.ozlabs.org/comment/3687048/","msgid":"<20260506124737.3866-1-linuxtestproject.agent@gmail.com>","list_archive_url":null,"date":"2026-05-06T12:47:37","subject":"Re: [LTP] cpufreq.c: add new test for cpufreq sysfs interface\n validation","submitter":{"id":93132,"url":"http://patchwork.ozlabs.org/api/people/93132/","name":null,"email":"linuxtestproject.agent@gmail.com"},"content":"Hi Piotr,\n\nOn Wed, 6 May 2026, Piotr Kubaj wrote:\n> cpufreq.c: add new test for cpufreq sysfs interface validation\n\n> +\ttst_res(TDEBUG, \"Checking whether scaling_available_governors contains \\\"performance\\\" and \\\"schedutil\\\" after switching /sys/devices/system/cpu/intel_pstate/status to \\\"passive\\\"\");\n> +\tsnprintf(path, sizeof(path), \"/sys/devices/system/cpu/intel_pstate/status\");\n> +\tSAFE_FILE_PRINTF(path, \"passive\");\n> +\n> +\tfor (int i = 0; i < nproc; i++) {\n> +\t\t...\n> +\t\tSAFE_FILE_PRINTF(path, \"schedutil\");\n> +\t\t...\n> +\t}\n> +}\n\nrun() exits with intel_pstate/status still \"passive\" and each CPU's\nscaling_governor still \"schedutil\". On the second iteration (-i 2) the\nstatus check fires TFAIL immediately, and the governor branch hits\ntst_brk(TBROK, \"Unknown scaling_governor: schedutil\").\n\nRestore the status to \"active\" and the governors to previous_scaling_governor[i]\nat the end of run() before it returns.\n\n[...]\n\n---\nNote:\n\nOur agent completed the review of the patch. The full review can be\nfound at: https://patchwork.ozlabs.org/project/ltp/list/?series=502943\n\nThe agent can sometimes produce false positives although often its\nfindings are genuine. If you find issues with the review, please\ncomment this email or ignore the suggestions.\n\nRegards,\nLTP AI Reviewer","headers":{"Return-Path":"<ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>","X-Original-To":["incoming@patchwork.ozlabs.org","ltp@lists.linux.it"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","ltp@picard.linux.it"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=mi3s93lQ;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.linux.it\n (client-ip=2001:1418:10:5::2; helo=picard.linux.it;\n envelope-from=ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it;\n receiver=patchwork.ozlabs.org)"],"Received":["from picard.linux.it (picard.linux.it [IPv6:2001:1418:10:5::2])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g9Zst0Z0Hz1y04\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 06 May 2026 22:47:46 +1000 (AEST)","from picard.linux.it (localhost [IPv6:::1])\n\tby picard.linux.it (Postfix) with ESMTP id A45FF3E6164\n\tfor <incoming@patchwork.ozlabs.org>; Wed,  6 May 2026 14:47:43 +0200 (CEST)","from in-6.smtp.seeweb.it (in-6.smtp.seeweb.it\n [IPv6:2001:4b78:1:20::6])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature ECDSA (secp384r1))\n (No client certificate requested)\n by picard.linux.it (Postfix) with ESMTPS id 694D13E6157\n for <ltp@lists.linux.it>; Wed,  6 May 2026 14:47:41 +0200 (CEST)","from mail-dl1-x1244.google.com (mail-dl1-x1244.google.com\n [IPv6:2607:f8b0:4864:20::1244])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by in-6.smtp.seeweb.it (Postfix) with ESMTPS id B129B1400BF8\n for <ltp@lists.linux.it>; Wed,  6 May 2026 14:47:40 +0200 (CEST)","by mail-dl1-x1244.google.com with SMTP id\n a92af1059eb24-12c1a170a50so8504853c88.0\n for <ltp@lists.linux.it>; Wed, 06 May 2026 05:47:40 -0700 (PDT)","from\n runnervmeorf1.jdewmzakebre5puvwiecsuzmmg.yx.internal.cloudapp.net\n ([52.161.178.102]) by smtp.gmail.com with ESMTPSA id\n a92af1059eb24-13202db2c11sm3674606c88.9.2026.05.06.05.47.38\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Wed, 06 May 2026 05:47:38 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1778071659; x=1778676459; darn=lists.linux.it;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=SK+FsaCLgbmjyd7GA2xVFG9pU/vXVMPcOZf7sQmGA2c=;\n b=mi3s93lQnDyRcL2y4y4gXs5338a3TFOprGyGafbAnmrBWj6GLwmhvaMxN7kGV3Flh7\n EgmgFJWX8EpgM3vWUOlIMcJMnzfrs/5kuNEjW9KWK2QtOwzR+6ySm71AV4I/O+otcyaq\n osORojo4B35jHNkhbQjq4AiWtBxPF6jFtlIJUVWRbWkNUB4w+mxk+pO7Jy7s1D3/FEnH\n yo2xaczV5OE/NPFiG5d4DjpZCnZKL5z+aMZHr4icHzL2thFBuIyXd+7yqhHcSPSM1CH/\n dtI5OFgfpzvJDBI4Z2TZwE9y5VHx8cDMZIcD9zbilKGXAofaZn9ed6BoPgHdGRWLrrwv\n vLEw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1778071659; x=1778676459;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=SK+FsaCLgbmjyd7GA2xVFG9pU/vXVMPcOZf7sQmGA2c=;\n b=B1BDrb/6JFd+ALqN5hJxeNQVGqtGdfClGSAZVE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:a05:7022:322:b0:12d:ce34:3fa0 with SMTP id\n a92af1059eb24-1319d14d688mr1526620c88.32.1778071658912;\n Wed, 06 May 2026 05:47:38 -0700 (PDT)","From":"linuxtestproject.agent@gmail.com","To":"Piotr Kubaj <piotr.kubaj@intel.com>","Date":"Wed,  6 May 2026 12:47:37 +0000","Message-ID":"<20260506124737.3866-1-linuxtestproject.agent@gmail.com>","X-Mailer":"git-send-email 2.54.0","In-Reply-To":"<20260506091035.59822-2-piotr.kubaj@intel.com>","References":"<20260506091035.59822-2-piotr.kubaj@intel.com>","MIME-Version":"1.0","X-Spam-Status":"No, score=0.1 required=7.0 tests=DKIM_SIGNED,DKIM_VALID,\n DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE,SPF_PASS\n shortcircuit=no autolearn=disabled version=4.0.1","X-Spam-Checker-Version":"SpamAssassin 4.0.1 (2024-03-25) on in-6.smtp.seeweb.it","X-Virus-Scanned":"clamav-milter 1.0.9 at in-6.smtp.seeweb.it","X-Virus-Status":"Clean","Subject":"Re: [LTP] cpufreq.c: add new test for cpufreq sysfs interface\n validation","X-BeenThere":"ltp@lists.linux.it","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"Linux Test Project <ltp.lists.linux.it>","List-Unsubscribe":"<https://lists.linux.it/options/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=unsubscribe>","List-Archive":"<http://lists.linux.it/pipermail/ltp/>","List-Post":"<mailto:ltp@lists.linux.it>","List-Help":"<mailto:ltp-request@lists.linux.it?subject=help>","List-Subscribe":"<https://lists.linux.it/listinfo/ltp>,\n <mailto:ltp-request@lists.linux.it?subject=subscribe>","Cc":"ltp@lists.linux.it","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Errors-To":"ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it","Sender":"\"ltp\" <ltp-bounces+incoming=patchwork.ozlabs.org@lists.linux.it>"}}]