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=-10.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 623EFC2B9F4 for ; Tue, 22 Jun 2021 07:51:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 460A96128A for ; Tue, 22 Jun 2021 07:51:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230283AbhFVHx0 (ORCPT ); Tue, 22 Jun 2021 03:53:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229574AbhFVHxY (ORCPT ); Tue, 22 Jun 2021 03:53:24 -0400 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7663EC061574 for ; Tue, 22 Jun 2021 00:51:09 -0700 (PDT) Received: by mail-ej1-x629.google.com with SMTP id dm5so20649938ejc.9 for ; Tue, 22 Jun 2021 00:51:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:from:date:message-id:subject:to:cc; bh=jytpRbGNprjVVWKHDUiGPvRaS0XiJNqXTNP7HufbF48=; b=xAd8nzADCZdhgsIPouxmypnfd4sXz9CYKCiEQADzGKZpxVoln3eQLQpW0P8gI8z2A0 P0PB2pPAEVZtVpN7qW/GMQ7oQTgdynh+Vav6dG9p/wxOs81w1Imo/z3whRI8wrCPmU7B LAhrz56UJ/uXxxv3J7qgBdyh+55vK8y6NbjGyW4d4Qc6I7UAkFz4PAExxmvDRBO2O8Lp z/5WEebiAWGBXSyB38T5leSjeouAWMSr1yLbTsvebnZdaJ3QCO9bJZ2YcvvA5A4Y04N8 eFp7QP84XcnaFX+2Fc/fK8Quyu0cjfkibENkRanJNe2qDBNFlBJ99L0lzjfvJtWVVvXF WASg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=jytpRbGNprjVVWKHDUiGPvRaS0XiJNqXTNP7HufbF48=; b=T6Uw/2Mz+xiNccBNOPAvgomEOiDhxig25jGGjb2X4TqLVngl81BMcLl8CcQJPGHq7E CwXZU2rhGmLTjlXm+TiP/O4mXMPzOC75xYbfcjNywmtJGprfiiM2lLChegqH60cHJ1mK FSH9YbDDXUM8qYKMbw+lOc5ntyrycRvgdmv1cB3Mt5kPXNBn3jL6lc0OYJPGXr59CVK4 /z4+tL2dDJz5/8FL/o4+VEw1bLgYCqz21fCkNFUhl1SvjW6YqR94djLwkmqH2D+D2oYv EavKZKrpi3Yz08fhLZevPzexDElNWCx9jjvcONrhEkDp0yexUgsSfDueO8Isb6rvEAfv SENw== X-Gm-Message-State: AOAM533shvT0m2ODCo4Pf2JCRYYbiGj+WgV79T41qKxdSGgfaaNagsN3 7hEwZ6WyEaySpJKIhkhlSTxGSSt+wRvPvu7MOFA1fmfcl/umK8KP X-Google-Smtp-Source: ABdhPJwBPtt88ilk5scUwigmdbvyQ/CI9XzvSZXUWHmrbnxgfjhoTh2EZ13xg8Z5wLINChWOg8wYsizg7nGFAbrzUsw= X-Received: by 2002:a17:906:2b01:: with SMTP id a1mr2561261ejg.133.1624348267197; Tue, 22 Jun 2021 00:51:07 -0700 (PDT) MIME-Version: 1.0 From: Naresh Kamboju Date: Tue, 22 Jun 2021 13:20:56 +0530 Message-ID: Subject: WARNING: kernel/sched/fair.c:3275 update_blocked_averages+0x628/0x660 To: open list , Linux-Next Mailing List Cc: Odin Ugedal , "Peter Zijlstra (Intel)" , Vincent Guittot , Ingo Molnar , Juri Lelli , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [Please ignore if it already reported] Regression found, The following kernel warning reported on Linux next 20210621 while booting arm64 Juno-r2 device. And also noticed a similar crash on an x86_64 machine. Crash log: ----------------- [ 29.244230] ------------[ cut here ]------------ [ 29.248861] cfs_rq->avg.load_avg || cfs_rq->avg.util_avg || cfs_rq->avg.runnable_avg [ 29.248874] WARNING: CPU: 1 PID: 156 at kernel/sched/fair.c:3275 update_blocked_averages+0x628/0x660 [ 29.265784] Modules linked in: fuse [ 29.269282] CPU: 1 PID: 156 Comm: kworker/u12:2 Not tainted 5.13.0-rc7-next-20210621 #1 [ 29.277305] Hardware name: ARM Juno development board (r2) (DT) [ 29.283241] Workqueue: 0x0 (rpciod) [ 29.286828] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO BTYPE=--) [ 29.292844] pc : update_blocked_averages+0x628/0x660 [ 29.297817] lr : update_blocked_averages+0x628/0x660 [ 29.302788] sp : ffff8000133fbb60 [ 29.306103] x29: ffff8000133fbb60 x28: ffff00097ef382c0 x27: ffff00080090ca00 [ 29.313264] x26: 00000006cacd5228 x25: 0000000000000000 x24: 00000000000000c0 [ 29.313277] x23: 0000000000000000 x22: ffff8000125b3378 x21: 0000000000000000 [ 29.313288] x20: ffff00097ef383c0 x19: ffff00080090cb40 x18: 0000000000000010 [ 29.313299] x17: 6e6e75722e677661 x16: 3e2d71725f736663 x15: 207c7c206776615f [[0;32m OK [0m] Started udev [ 29.341880] x14: 6c6974752e677661 x13: 6776615f656c6261 x12: 6e6e75722e677661 Coldplug all Devices.[ 29.351892] x11: ffff8000126419b0 x10: ffff800012629970 x9 : ffff800010111bec [ 29.360858] x8 : 0000000000017fe8 x7 : c0000000ffffefff x6 : 0000000000000001 [ 29.368171] x5 : 0000000000000001 x4 : 0000000000000000 x3 : 0000000000000027 [ 29.375324] x2 : 0000000000000023 x1 : 0000000000000000 x0 : 0000000000000000 [ 29.382477] Call trace: [ 29.384923] update_blocked_averages+0x628/0x660 [ 29.389548] newidle_balance+0x208/0x478 [ 29.393477] pick_next_task_fair+0x58/0x3b8 [ 29.397666] __schedule+0x1c4/0x1250 [ 29.401249] schedule+0x4c/0x100 [ 29.404481] worker_thread+0xc0/0x428 [ 29.408147] kthread+0x140/0x158 [ 29.411380] ret_from_fork+0x10/0x18 [ 29.414960] ---[ end trace 8349fb64d5c118de ]--- Full test log, https://lkft.validation.linaro.org/scheduler/job/2935085#L1120 metadata: git branch: master git repo: https://gitlab.com/Linaro/lkft/mirrors/next/linux-next git describe: next-20210621 kernel-config: https://builds.tuxbuild.com/1uG71M0P29j62n5g5DXGExv8HJi/config Steps to reproduce: -------------------------- Boot arm64 kernel from this build on Juno-r2 and will get warning. Image: https://builds.tuxbuild.com/1uG71M0P29j62n5g5DXGExv8HJi/Image.gz vmlinux: https://builds.tuxbuild.com/1uG71M0P29j62n5g5DXGExv8HJi/vmlinux.xz System.map: https://builds.tuxbuild.com/1uG71M0P29j62n5g5DXGExv8HJi/System.map Few more log on x86: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20210621/testrun/4955196/suite/linux-log-parser/test/check-kernel-exception-2934648/log https://lkft.validation.linaro.org/scheduler/job/2934648#L1170 -- Linaro LKFT https://lkft.linaro.org