From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C4DC8C4338F for ; Thu, 29 Jul 2021 12:37:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AB96A60F21 for ; Thu, 29 Jul 2021 12:37:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237213AbhG2MhO (ORCPT ); Thu, 29 Jul 2021 08:37:14 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:29364 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236597AbhG2MhN (ORCPT ); Thu, 29 Jul 2021 08:37:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1627562229; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=GN4EQPcHETgYZin8lGd1R9jmdS/66D9T6iX7MkMMUXg=; b=cOvcc1y09iHK2AauwY7Sdu8qFYF4yQ6TIu5MGqko6NNlhcSmJhzU/ZRFWUT6uGkmJdy00s a9j4pUsI2Ami5aO9jsHRZ7Yt9QeDwQS/XUAlyNAucOhdo08+1LXoUflCn627nSLmce9elh dFvGdN2jkgK3IGR0vvH05JGuzsK5jp4= Received: from mail-ot1-f69.google.com (mail-ot1-f69.google.com [209.85.210.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-484---Uzn0eGMLKn3NNMSthjtA-1; Thu, 29 Jul 2021 08:37:08 -0400 X-MC-Unique: --Uzn0eGMLKn3NNMSthjtA-1 Received: by mail-ot1-f69.google.com with SMTP id z11-20020a056830290bb02904d1d78ee61cso2273046otu.3 for ; Thu, 29 Jul 2021 05:37:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GN4EQPcHETgYZin8lGd1R9jmdS/66D9T6iX7MkMMUXg=; b=Sxr/9Ut8fnXxfCOxDBlN1d3/rmllCBAVpCyzqLxYTprnBbMshSx4ZXzD8YZ1sY91Mv AgQg5LY6qpLL7a+1j/nVpb26xr/IBRlzBIgwoZFsXM7fwfQnxkgvk0XxcWaCXfO0MfAr aqmyH6ykwF50dYfomB6TNphyL1hjlOPNCrsconVO7GTRNL/7+INoI+Utm/d3/UfeBB8D nvc2axZFR9HVW4sXW2Bmrq9kQq7vadGnrLKFsdR6HPM8psz4OS8GrUfupa20Lu3//TiY nTttF4WAe6EGr6AmrQbClyIegfEdfeA0LA3B53Nkfye8+aPAcZxFeidXuiLM+AYzD9tj PUHQ== X-Gm-Message-State: AOAM533H9g8FSRelCr6Zf1JnqoJHOVcCMjEboL5Nu7kqCoR31LvziTok N8CAJ7v5PbyTGJqZriIRWw7l4j/m37bTKXEHKkXgesy2DxP4DJQsNANgDC46FM3gbuR94TuSpMl QjBFEUSYvzx2KxrTwS94XTmiznlKUrVGXtBcf/OT1 X-Received: by 2002:a05:6808:1887:: with SMTP id bi7mr1352991oib.115.1627562227683; Thu, 29 Jul 2021 05:37:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJQ/70hSNkJK/LiNtKau4StlNc6n62SckOCOiGSA+di6CjlP5NdJJhXa8uWCy1hkrZXnqi5AJD4ySy5RDNnek= X-Received: by 2002:a05:6808:1887:: with SMTP id bi7mr1352981oib.115.1627562227503; Thu, 29 Jul 2021 05:37:07 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bruno Goncalves Date: Thu, 29 Jul 2021 14:36:56 +0200 Message-ID: Subject: Re: WARNING: CPU: 112 PID: 2041 at kernel/sched/sched.h:1453 To: Dietmar Eggemann Cc: CKI Project , linux-kernel@vger.kernel.org, nathan@kernel.org, Memory Management , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 28, 2021 at 5:55 PM Dietmar Eggemann wrote: > > On 28/07/2021 15:11, Bruno Goncalves wrote: > > Hello, > > > > Since this commit (Commit: 45312bd762d3 - Merge tag 'zonefs-5.14-rc2') > > we started to see the following call trace, it seems to be > > reproducible only on aarch64. > > It should happen on platforms using a slow-switching cpufreq driver. > > Only in this case you have n (depends on nbr of frequency domains) > special-purpose DL threads when using schedutil CPUFreq governor: > > root@juno: ps -eTo comm,pid,pri,class | grep sugov > > sugov:0 132 140 DLN > sugov:1 134 140 DLN > > > > > [ 384.485614] ------------[ cut here ]------------ > > [ 384.490227] rq->clock_update_flags < RQCF_ACT_SKIP > > [ 384.490232] WARNING: CPU: 112 PID: 2041 at > > kernel/sched/sched.h:1453 sub_running_bw.isra.0+0x190/0x1a0 > > [ 384.504312] Modules linked in: mlx5_ib ib_uverbs ib_core rfkill > > sunrpc acpi_ipmi ipmi_ssif mlx5_core mlxfw psample ipmi_devintf > > arm_cmn ipmi_msghandler arm_dsu_pmu cppc_cpufreq acpi_tad vfat fat > > fuse zram ip_tables x_tables xfs crct10dif_ce ghash_ce ast > > i2c_algo_bit drm_vram_helper sbsa_gwdt drm_kms_helper syscopyarea > > sysfillrect sysimgblt fb_sys_fops cec drm_ttm_helper ttm nvme > > nvme_core drm xgene_hwmon aes_neon_bs > > [ 384.541165] CPU: 112 PID: 2041 Comm: sugov:112 Tainted: G W > > 5.14.0-rc1 #1 > > [ 384.549244] Hardware name: WIWYNN Mt.Jade Server System > > B81.030Z1.0007/Mt.Jade Motherboard, BIOS 1.6.20210526 (SCP: > > 1.06.20210526) 2021/05/26 > > [ 384.561922] pstate: 404000c9 (nZcv daIF +PAN -UAO -TCO BTYPE=--) > > [ 384.567918] pc : sub_running_bw.isra.0+0x190/0x1a0 > > [ 384.572698] lr : sub_running_bw.isra.0+0x190/0x1a0 > > [ 384.577477] sp : ffff800024c4bb20 > > [ 384.580779] x29: ffff800024c4bb20 x28: 0000000000000000 x27: ffffb9a9bbe1d200 > > [ 384.587904] x26: 0000000000000074 x25: 0000000000000011 x24: ffffb9a9bdff9000 > > [ 384.595029] x23: ffff07ffb36fcaa0 x22: ffff401ee09b65c0 x21: ffffb9a9bbe1de00 > > [ 384.602153] x20: ffff401ee09a3360 x19: ffff401ee09b6f58 x18: 0000000000000000 > > [ 384.609277] x17: ffff867522f0c000 x16: ffff800010384000 x15: 0000000000000030 > > [ 384.616401] x14: 0000000000000000 x13: 50494b535f544341 x12: 5f46435152203c20 > > [ 384.623526] x11: ffff401ee04b0ea8 x10: ffff401ee021e068 x9 : ffffb9a9bbe4214c > > [ 384.630650] x8 : 0000000000010ea8 x7 : ffff401ee01e0000 x6 : 0000000000017ffd > > [ 384.637774] x5 : ffff401ee09a3490 x4 : 0000000000000001 x3 : ffff867522f0c000 > > [ 384.644898] x2 : ffff401ee09a3498 x1 : ffff07ffb53cc000 x0 : 0000000000000026 > > [ 384.652022] Call trace: > > [ 384.654457] sub_running_bw.isra.0+0x190/0x1a0 > > [ 384.658890] migrate_task_rq_dl+0xf8/0x1e0 > > [ 384.662975] set_task_cpu+0xa8/0x1f0 > > [ 384.666540] try_to_wake_up+0x150/0x3d4 > > [ 384.670365] wake_up_q+0x64/0xc0 > > [ 384.673582] __up_write+0xd0/0x1c0 > > [ 384.676974] up_write+0x4c/0x2b0 > > [ 384.680191] cppc_set_perf+0x120/0x2d0 > > [ 384.683931] cppc_cpufreq_set_target+0xe0/0x1a4 [cppc_cpufreq] > > [ 384.689756] __cpufreq_driver_target+0x74/0x140 > > [ 384.694277] sugov_work+0x64/0x80 > > [ 384.697580] kthread_worker_fn+0xe0/0x230 > > [ 384.701580] kthread+0x138/0x140 > > [ 384.704797] ret_from_fork+0x10/0x18 > > Don't quite get this. > `sugov:112` should be a special DL entity (dl_se->flags & > SCHED_FLAG_SUGOV) so sub_running_bw() should not call __sub_running_bw() > and hence there won't be a call to cpufreq_update_util() which calls > q_clock(rq) -> assert_clock_updated()? > > Can't reproduce it on my Juno (arm64) (slow-switching (scpi-cpufreq > driver)). We seem to be able to reproduce this only on Ampere Altra machines, specifically on mtjade and mtsnow cpus. # cpupower frequency-info analyzing CPU 0: driver: cppc_cpufreq CPUs which run at the same hardware frequency: 0 CPUs which need to have their frequency coordinated by software: 0 maximum transition latency: Cannot determine or is not supported. hardware limits: 1000 MHz - 2.80 GHz available cpufreq governors: conservative ondemand userspace powersave performance schedutil current policy: frequency should be within 2.00 GHz and 2.80 GHz. The governor "schedutil" may decide which speed to use within this range. current CPU frequency: 1.55 GHz (asserted by call to hardware) # ps -eTo comm,pid,pri,class | grep sugov sugov:0 1082 140 DLN sugov:1 1085 140 DLN ... sugov:78 1319 140 DLN sugov:79 1320 140 DLN Bruno > From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6E1F1C4338F for ; Thu, 29 Jul 2021 12:39:13 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2EA0A60F21 for ; Thu, 29 Jul 2021 12:39:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2EA0A60F21 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Gt5193sG/deD2Kjl6i6OVbNZ/E2QepAJE6e3gTgF/18=; b=WMyjQgaum/7MrP LJ5ragBK5b/ts74g3s1oqtRis1KMSKWRyTAHTgdTG4AWdHGySXwWGyZHXH+Kg8mRdZHNVaV97oMHK PfNUAiVnLxGi6PSRWv91VVGKU/cnkTBETu8NT6mkvm16Q52VvKQ5twqu6evs3ewxZ3d9UDyLOGV/+ zJ5g7A0Sg2p3tdKd8BOniS7eSatuKf605ftCu3fizI4Vis3IIRTLY83yh98105y6h7/wX8r7+8Fpr xb3SpjEhq7B9zdYwtXbkLQ2FAVar+ECsIP+bvsU6xaX72gB6TJtU4lFi3Z2KokOw16BeT9tN+GinK +5R7DEfZrthOz1aX4eKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m95Hp-0047zV-F2; Thu, 29 Jul 2021 12:37:17 +0000 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m95Hk-0047ym-FD for linux-arm-kernel@lists.infradead.org; Thu, 29 Jul 2021 12:37:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1627562229; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=GN4EQPcHETgYZin8lGd1R9jmdS/66D9T6iX7MkMMUXg=; b=cOvcc1y09iHK2AauwY7Sdu8qFYF4yQ6TIu5MGqko6NNlhcSmJhzU/ZRFWUT6uGkmJdy00s a9j4pUsI2Ami5aO9jsHRZ7Yt9QeDwQS/XUAlyNAucOhdo08+1LXoUflCn627nSLmce9elh dFvGdN2jkgK3IGR0vvH05JGuzsK5jp4= Received: from mail-oo1-f69.google.com (mail-oo1-f69.google.com [209.85.161.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-63-KgMWhlFjNcmx3HCpdYUtqQ-1; Thu, 29 Jul 2021 08:37:08 -0400 X-MC-Unique: KgMWhlFjNcmx3HCpdYUtqQ-1 Received: by mail-oo1-f69.google.com with SMTP id b24-20020a4ac2980000b0290269ebe9b797so2486317ooq.18 for ; Thu, 29 Jul 2021 05:37:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GN4EQPcHETgYZin8lGd1R9jmdS/66D9T6iX7MkMMUXg=; b=Onz3QsqMvX/dNGJd8GCxVV096qoOkunNPbd3pgxkc70SCPnkJLLG6BxuAc0PJxUEc1 3ugqUJ9ENCn08IIlQpjq/McYkt02d0Z2iDGxgkJ3Xpg2nDGp6oyr0ZOFhydrzO5j7feu NmrSRRx26W95hkEaJe4tUL7j5UsEqTJCrYc0khQBJv8AJ17JEqzitPMTtzlqM4sL85bW hCOpAcm/hNiJm77C7Q25cqOxlDNeh5Z7tlFh05rFKDihtDIxkokjiLV5aBitiuhEAgFX 8uDpJP4CFzDvzyyptVcZtcSSjtKJmDRTRPcURiud4fLB5IJ7IoBlQu51Dm8YHz6ae1jT /RVw== X-Gm-Message-State: AOAM530WitkxRrDG2Cw8B3L08jITOWlad9Z6Aw7D05AuytjbaEQ7XG5V u1IZWVHW18HfvqQrAeqTMRHSYrGBd/eV+dkDcS6qpkEgRrt4Z/5Ad2YzqmJ5mfyG5jeFknXguAH FlEvkg2UmYrXAG8mQOcjbE47fu3YagFJKfJLMn1QRaaxREbGx+6E= X-Received: by 2002:a05:6808:1887:: with SMTP id bi7mr1352995oib.115.1627562227686; Thu, 29 Jul 2021 05:37:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJQ/70hSNkJK/LiNtKau4StlNc6n62SckOCOiGSA+di6CjlP5NdJJhXa8uWCy1hkrZXnqi5AJD4ySy5RDNnek= X-Received: by 2002:a05:6808:1887:: with SMTP id bi7mr1352981oib.115.1627562227503; Thu, 29 Jul 2021 05:37:07 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Bruno Goncalves Date: Thu, 29 Jul 2021 14:36:56 +0200 Message-ID: Subject: Re: WARNING: CPU: 112 PID: 2041 at kernel/sched/sched.h:1453 To: Dietmar Eggemann Cc: CKI Project , linux-kernel@vger.kernel.org, nathan@kernel.org, Memory Management , linux-arm-kernel@lists.infradead.org Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=bgoncalv@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210729_053712_628722_9720D313 X-CRM114-Status: GOOD ( 16.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jul 28, 2021 at 5:55 PM Dietmar Eggemann wrote: > > On 28/07/2021 15:11, Bruno Goncalves wrote: > > Hello, > > > > Since this commit (Commit: 45312bd762d3 - Merge tag 'zonefs-5.14-rc2') > > we started to see the following call trace, it seems to be > > reproducible only on aarch64. > > It should happen on platforms using a slow-switching cpufreq driver. > > Only in this case you have n (depends on nbr of frequency domains) > special-purpose DL threads when using schedutil CPUFreq governor: > > root@juno: ps -eTo comm,pid,pri,class | grep sugov > > sugov:0 132 140 DLN > sugov:1 134 140 DLN > > > > > [ 384.485614] ------------[ cut here ]------------ > > [ 384.490227] rq->clock_update_flags < RQCF_ACT_SKIP > > [ 384.490232] WARNING: CPU: 112 PID: 2041 at > > kernel/sched/sched.h:1453 sub_running_bw.isra.0+0x190/0x1a0 > > [ 384.504312] Modules linked in: mlx5_ib ib_uverbs ib_core rfkill > > sunrpc acpi_ipmi ipmi_ssif mlx5_core mlxfw psample ipmi_devintf > > arm_cmn ipmi_msghandler arm_dsu_pmu cppc_cpufreq acpi_tad vfat fat > > fuse zram ip_tables x_tables xfs crct10dif_ce ghash_ce ast > > i2c_algo_bit drm_vram_helper sbsa_gwdt drm_kms_helper syscopyarea > > sysfillrect sysimgblt fb_sys_fops cec drm_ttm_helper ttm nvme > > nvme_core drm xgene_hwmon aes_neon_bs > > [ 384.541165] CPU: 112 PID: 2041 Comm: sugov:112 Tainted: G W > > 5.14.0-rc1 #1 > > [ 384.549244] Hardware name: WIWYNN Mt.Jade Server System > > B81.030Z1.0007/Mt.Jade Motherboard, BIOS 1.6.20210526 (SCP: > > 1.06.20210526) 2021/05/26 > > [ 384.561922] pstate: 404000c9 (nZcv daIF +PAN -UAO -TCO BTYPE=--) > > [ 384.567918] pc : sub_running_bw.isra.0+0x190/0x1a0 > > [ 384.572698] lr : sub_running_bw.isra.0+0x190/0x1a0 > > [ 384.577477] sp : ffff800024c4bb20 > > [ 384.580779] x29: ffff800024c4bb20 x28: 0000000000000000 x27: ffffb9a9bbe1d200 > > [ 384.587904] x26: 0000000000000074 x25: 0000000000000011 x24: ffffb9a9bdff9000 > > [ 384.595029] x23: ffff07ffb36fcaa0 x22: ffff401ee09b65c0 x21: ffffb9a9bbe1de00 > > [ 384.602153] x20: ffff401ee09a3360 x19: ffff401ee09b6f58 x18: 0000000000000000 > > [ 384.609277] x17: ffff867522f0c000 x16: ffff800010384000 x15: 0000000000000030 > > [ 384.616401] x14: 0000000000000000 x13: 50494b535f544341 x12: 5f46435152203c20 > > [ 384.623526] x11: ffff401ee04b0ea8 x10: ffff401ee021e068 x9 : ffffb9a9bbe4214c > > [ 384.630650] x8 : 0000000000010ea8 x7 : ffff401ee01e0000 x6 : 0000000000017ffd > > [ 384.637774] x5 : ffff401ee09a3490 x4 : 0000000000000001 x3 : ffff867522f0c000 > > [ 384.644898] x2 : ffff401ee09a3498 x1 : ffff07ffb53cc000 x0 : 0000000000000026 > > [ 384.652022] Call trace: > > [ 384.654457] sub_running_bw.isra.0+0x190/0x1a0 > > [ 384.658890] migrate_task_rq_dl+0xf8/0x1e0 > > [ 384.662975] set_task_cpu+0xa8/0x1f0 > > [ 384.666540] try_to_wake_up+0x150/0x3d4 > > [ 384.670365] wake_up_q+0x64/0xc0 > > [ 384.673582] __up_write+0xd0/0x1c0 > > [ 384.676974] up_write+0x4c/0x2b0 > > [ 384.680191] cppc_set_perf+0x120/0x2d0 > > [ 384.683931] cppc_cpufreq_set_target+0xe0/0x1a4 [cppc_cpufreq] > > [ 384.689756] __cpufreq_driver_target+0x74/0x140 > > [ 384.694277] sugov_work+0x64/0x80 > > [ 384.697580] kthread_worker_fn+0xe0/0x230 > > [ 384.701580] kthread+0x138/0x140 > > [ 384.704797] ret_from_fork+0x10/0x18 > > Don't quite get this. > `sugov:112` should be a special DL entity (dl_se->flags & > SCHED_FLAG_SUGOV) so sub_running_bw() should not call __sub_running_bw() > and hence there won't be a call to cpufreq_update_util() which calls > q_clock(rq) -> assert_clock_updated()? > > Can't reproduce it on my Juno (arm64) (slow-switching (scpi-cpufreq > driver)). We seem to be able to reproduce this only on Ampere Altra machines, specifically on mtjade and mtsnow cpus. # cpupower frequency-info analyzing CPU 0: driver: cppc_cpufreq CPUs which run at the same hardware frequency: 0 CPUs which need to have their frequency coordinated by software: 0 maximum transition latency: Cannot determine or is not supported. hardware limits: 1000 MHz - 2.80 GHz available cpufreq governors: conservative ondemand userspace powersave performance schedutil current policy: frequency should be within 2.00 GHz and 2.80 GHz. The governor "schedutil" may decide which speed to use within this range. current CPU frequency: 1.55 GHz (asserted by call to hardware) # ps -eTo comm,pid,pri,class | grep sugov sugov:0 1082 140 DLN sugov:1 1085 140 DLN ... sugov:78 1319 140 DLN sugov:79 1320 140 DLN Bruno > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel