Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp4005156rwb; Sun, 30 Jul 2023 22:38:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlFiFvvOo445DUYnIBlAKIuR3URfqJMmGyAbslIz5s1YqNQlsUPI01LITHPVZd940p1KY2Mb X-Received: by 2002:a05:6359:3514:b0:135:afe6:4f83 with SMTP id un20-20020a056359351400b00135afe64f83mr4389846rwb.29.1690781883026; Sun, 30 Jul 2023 22:38:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690781882; cv=none; d=google.com; s=arc-20160816; b=WoDwv/TX1tpAC6OfFLMBhg+wuuonOrpBMpq66ZHBw+nX+m+hjzzNJe96ixWNSlQEPf Iqp8GqcEbjGQbhYwtYTq3Gy22rFeQ/ldXuEgZyOQBP1CQQbfnKK+LL/E4oB0ciExKwff dqouvdMBPq0jHQ7NQIR9dwDExxz9NCawDgZWsCDWIJXQh0WVVnqIZmiLr1y6jfjjpv4M 0gM96362I4shQQSl8nvXa3A192S0Ybf0hAkpEKjKpFmnUdzqaLbxR4qQvUensOjkCSZs AMUe8s8JrreBUWZEOptkGhAXxfrbDy9lWGcluU5MuxcpGvjUTIDLtc2OMx+j26TpnBrE XHJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id:sender:dkim-signature; bh=InO4fB71UppySdmBaFe7IJBmYOMGORvt2/2z9f7w8Mo=; fh=ojFclswcdMsMgItmrCFOXfHoEVq+YxysfY10olGwc38=; b=JMjCWItaf6H6C4y62UGRzKlzECiZ8suGNrpWj30/Vzy7y4jhl9oII1CTcK0mJhW3tq x/sW2X8+KC2DLqWwjF4P38ykPyh9Ed8UDEcwwZOoqNMpJcwvpbmgU2Eu+oSNVBFfbtH1 stnN9O7keWTWNpXMEvSgziPy3Ntb2KYchg40DN2lpDLUaRXsn2QO09OW4sXVM+y3dj5H h+pJoy11DZ4EuY59iMo1WzYC+gx5u09vngkMt7LVp1q3XSFmDBEQuVHhd1YOc9mic/L5 3EV3imo9XVdGv882ntjEklP6uIfq3rnqswVnB7wAau1Ha954juQYsDfXr+dbcY7XkeCt ZCSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="WDP0Jj/7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e185-20020a6369c2000000b0055b82bb0bbdsi6544509pgc.879.2023.07.30.22.37.50; Sun, 30 Jul 2023 22:38:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="WDP0Jj/7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229871AbjGaERK (ORCPT + 99 others); Mon, 31 Jul 2023 00:17:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229678AbjGaERE (ORCPT ); Mon, 31 Jul 2023 00:17:04 -0400 Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40A60119; Sun, 30 Jul 2023 21:17:02 -0700 (PDT) Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-686b91c2744so2864901b3a.0; Sun, 30 Jul 2023 21:17:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690777022; x=1691381822; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id:sender :from:to:cc:subject:date:message-id:reply-to; bh=InO4fB71UppySdmBaFe7IJBmYOMGORvt2/2z9f7w8Mo=; b=WDP0Jj/72CwoAduZqkX03b85dhAPk5h0OFjQ0w2iKJnTY5cqgURnS6BbD3pTlMfyES RI32KKl+Oo6XtnJIAxbxKl9/xJMIq5sXVBr99uaesy48VChj2vrVnO1ZAzkM/BP/gu9D Bcl45NfCpDEHN0zpd8v5/hR3xoLavO0GWjcOonKW6vgPIGy8CBXggPwmDspZZvxnEpNE oqRciRXdI1PxAHyWx9TFSRrLI1lVM1oLFeaK2HtauY/eTEd3bG1iw1yL1Qi79VL9pAEe VY1m5HIFRBHdRyUVNR2zGAwOOOr+cZwBa8SvxrbEjuTeJCSckn/B9w7f7kLLKyM0RjIv I/hQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690777022; x=1691381822; h=content-transfer-encoding:in-reply-to:subject:from:references:cc:to :content-language:user-agent:mime-version:date:message-id:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=InO4fB71UppySdmBaFe7IJBmYOMGORvt2/2z9f7w8Mo=; b=c2jqVYwGFbhAHwfDiy/h6zybm1z/HacmNKxjbNqBMwXsF0ixGRrWCm4yLEu+/n7c8j hCDV0EGY/ruV9xOLMVhwwmaReui8iwvxirg0o7YK3FhdVkDtJFWq/2qvYDPSMBt+mabn 9McS2ea/jmGI82OvEGSfFaPHE626pU6d30uVZS91nzJasnzUbqKC04hrN/dhbL2EN38Q uCxM+SrtPf+noXAiQZRTNkj/RwrLxHfzqNususMTUcmn4VSv4bGe2BR9wXsUiyad9faC tJB5662BUICAxZaGowImW6FJ0zw6zrQptZi8k+kHHbIs1kYBOnbXoEXtjjOp1zGBqd1T wssg== X-Gm-Message-State: ABy/qLYadRQGokM1eWUBzX3HkT2sN9ByKcBw24/Qk44hS/QhmieQw9D6 iYU45JGfmFagzSTvDjCon/w= X-Received: by 2002:a05:6a00:1147:b0:66a:6339:e8f9 with SMTP id b7-20020a056a00114700b0066a6339e8f9mr9671743pfm.0.1690777021642; Sun, 30 Jul 2023 21:17:01 -0700 (PDT) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id e3-20020aa78c43000000b00682562bf477sm6588959pfd.82.2023.07.30.21.16.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 30 Jul 2023 21:17:01 -0700 (PDT) Sender: Guenter Roeck Message-ID: <0a07880d-1e6a-25d5-18c7-cf0bfa58cee9@roeck-us.net> Date: Sun, 30 Jul 2023 21:16:59 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: paulmck@kernel.org Cc: Joel Fernandes , Pavel Machek , Greg Kroah-Hartman , stable@vger.kernel.org, patches@lists.linux.dev, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, akpm@linux-foundation.org, shuah@kernel.org, patches@kernelci.org, lkft-triage@lists.linaro.org, jonathanh@nvidia.com, f.fainelli@gmail.com, sudipm.mukherjee@gmail.com, srw@sladewatkins.net, rwarsow@gmx.de, conor@kernel.org, rcu@vger.kernel.org References: <78722041-D1F7-45FA-BA1C-41B92209BA6C@joelfernandes.org> <0751f5a8-2727-4a08-8bb8-50bbd4244c9c@paulmck-laptop> <67eba84a-ae24-2983-a756-463f39f3ca71@roeck-us.net> <2f4b012e-1f95-30aa-3f43-c31e84cb2c42@roeck-us.net> <2cfc68cc-3a2f-4350-a711-ef0c0d8385fd@paulmck-laptop> <6d45f1d0-25e5-8603-0fbb-73374be00503@roeck-us.net> From: Guenter Roeck Subject: Re: [PATCH 6.4 000/227] 6.4.7-rc1 review In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7/30/23 20:54, Paul E. McKenney wrote: > On Thu, Jul 27, 2023 at 09:22:52PM -0700, Guenter Roeck wrote: >> On 7/27/23 13:33, Paul E. McKenney wrote: >> [ ... ] >> >>> So which of the following Kconfig options is defined in your .config? >>> CONFIG_TASKS_RCU, CONFIG_TASKS_RUDE_RCU, and CONFIG_TASKS_TRACE_RCU. >>> >> >> Only CONFIG_TASKS_RCU. I added another log message after call_rcu_tasks(). >> It never returns from that function. >> >> [ 1.168993] Running RCU synchronous self tests >> [ 1.169219] Running RCU synchronous self tests >> [ 1.285795] smpboot: CPU0: Intel Xeon Processor (Cascadelake) (family: 0x6, model: 0x55, stepping: 0x6) >> [ 1.302827] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1. >> [ 1.304526] Running RCU Tasks wait API self tests >> >> ... and then nothing for at least 10 minutes (then I gave up and stopped the test). >> >> Qemu command line: >> >> qemu-system-x86_64 -kernel \ >> arch/x86/boot/bzImage -M q35 -cpu Cascadelake-Server -no-reboot \ >> -snapshot -device e1000e,netdev=net0 -netdev user,id=net0 -m 256 \ >> -drive file=rootfs.iso,format=raw,if=ide,media=cdrom \ >> --append "earlycon=uart8250,io,0x3f8,9600n8 panic=-1 slub_debug=FZPUA root=/dev/sr0 rootwait console=ttyS0 noreboot" \ >> -d unimp,guest_errors -nographic -monitor none >> >> Again, this doesn't happen all the time. With Cascadelake-Server >> I see it maybe once every 5 boot attempts. I tried with qemu v8.0 >> and v8.1. Note that it does seem to happen with various CPU types, >> only for some it seems to me more likely to happen (so maybe the >> CPU type was a red herring). It does seem to depend on the system >> load, and happen more often if the system is under heavy load. > > Hmmm... What kernel are you using as your qemu/KVM hypervisor? > Not sure I understand the question. KVM is disabled in my systems. The host CPUs are Ryzen 3900X and 5900X, but I don't really see why that would matter. > And I echo Joel's requests for your .config file. > Did you see the e-mail I sent about this problem earlier today ? https://lore.kernel.org/lkml/3da81a5c-700b-8e21-1bde-27dd3a0b8945@roeck-us.net/ I think I'll declare this to be a problem with my test environment and disable RCU debugging. Thanks, Guenter