Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp143169rwl; Wed, 9 Aug 2023 12:14:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGU6FWdAx5nN6CLIIX4rgX3yeeTGjP7e8jOfS4Bm65scpyDdZHhx3ab7glQkP27ykXB66Od X-Received: by 2002:a17:907:2e0b:b0:99b:d0dc:7e68 with SMTP id ig11-20020a1709072e0b00b0099bd0dc7e68mr1869ejc.72.1691608442397; Wed, 09 Aug 2023 12:14:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691608442; cv=none; d=google.com; s=arc-20160816; b=AyNDU8YzPjpz8Aq28DDuPZGMXi1E8dVWf0HiS+bxqQLdi1q+TDw3N/LfOeIIl03Njs idgGwz/FKslj5tBY2VmdECPfC+91Gb0TxcoP46qJvle/ejBE1a607Km1CYY3GFBaEG0s 6Z3sZfmlXuFvCor4oe34UeIIzW512zFM7/h5Gh20vx/fl2B64jO/NL35wkpUQ7vKhQI1 f5SMosxrUerTts0a8sH4TADJ+/G+Gl9Kayp2vT0b221fIH3mhmHffEWqeH0NwNecJ91o lL8FQQ+kWr9XmTUB9uYOAtBFwhiRGZP2perFs9p6FxdQg1tYARgzfCbo3r1g7wMX+FbX Mj+g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=dDpA3TPjDsZcyNcQJPSOOqubO7M5Cub0rju0uQ99gSw=; fh=PAzeb7BY2bOyC3DllVdiDwnwN9k19kc+7Zsx14Q2mNA=; b=O7M5FAhdNv/qRPzvh1gKSRbyUbuarGvJYaBKjFd0VlyFJyDBwO9HA72QGHD2MUb9TT MvgTEyxe/07W8/QgW2NkwLErQfI0vcWhjIH0duJLf26sINAyRs2BNp52B2sz41giBrLg d6th1ej0GP+YMx1P57Pfk7oK/i/X76i1KlwUTX/lFCPSY24exxHo0tRO3aZZVM2CVoom uSUHcOoFt3WVefFRVBmx223bOUf/wF7LMqhSQSX6j7bOsy3TzaT6NoY5L78leLcP1Ueu BouNd3EZoPHysBxC+zvPYVEFa/7TJf9ET60UEgaLeLT6Imn/xDt5ISvDuusG+KZm3W2b CI9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=LwmKPiVm; 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 p26-20020a1709061b5a00b00992dcae7002si9868239ejg.365.2023.08.09.12.13.38; Wed, 09 Aug 2023 12:14: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=@joelfernandes.org header.s=google header.b=LwmKPiVm; 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 S229642AbjHISjv (ORCPT + 99 others); Wed, 9 Aug 2023 14:39:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229663AbjHISju (ORCPT ); Wed, 9 Aug 2023 14:39:50 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29E3F1FCC for ; Wed, 9 Aug 2023 11:39:50 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id 38308e7fff4ca-2b9cbaee7a9so2240421fa.0 for ; Wed, 09 Aug 2023 11:39:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; t=1691606388; x=1692211188; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=dDpA3TPjDsZcyNcQJPSOOqubO7M5Cub0rju0uQ99gSw=; b=LwmKPiVmagqAvTmHyRR6iNihTxZ8WFw1TuBD9eHe/S9oW77gDGU4rsUsDp45syIWQI iHqotEDovHPa7TbhdbK7rFblT/16jvSVdb+YG8BcVObg6IrHUUOat/l4DF7aVeyKhGOj OszzGdb3wgh2Yh4X/bx29AJZeej+t53bs+iWY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691606388; x=1692211188; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dDpA3TPjDsZcyNcQJPSOOqubO7M5Cub0rju0uQ99gSw=; b=IGHccKjRF1TfvjMJyCEQFWdXkc3Yv4fP/bcWZNT3RR3Qmru+BaOviUovw5HvfuyAYg PtoawHNXEkubLdeyj6qwL+g2wo/O7f9hrdOMABiCZi6a3/HwT5Zg0xnHspS6aEwWNZ2Q aR0/pxyG3e8cXRmM23RDGBSxC8hcJyS9bpFmaBWVKkcgpnN4IC77mBTer4Ed0AMVmhkN p1H7piMx4PxsjWf/6qr17YPPJXip1mZnMCiCF16EdwkpUCcHeqpiUDvnx4luuPHEi8WX aR8zbl+QEFPYOIu7e85S8Uv6uzy4+Ek8xgh5gfJlUvyxk9H0xdqqiIpeN/g7iRrKsZ9g oNkQ== X-Gm-Message-State: AOJu0YzUmORBArgiipPpQbpikOydoCtTwGag9Za+flnjAhPDQS9ivg8O mWXEi2pZzDBEokmu2fUfz4kmmZftR16dOMmVjJ1/8nclcKPlqGqN X-Received: by 2002:a05:651c:151:b0:2b7:2ea:33c3 with SMTP id c17-20020a05651c015100b002b702ea33c3mr37988ljd.22.1691606388320; Wed, 09 Aug 2023 11:39:48 -0700 (PDT) MIME-Version: 1.0 References: <20230809103633.485906560@linuxfoundation.org> <20230809135326.GE3031656@google.com> In-Reply-To: From: Joel Fernandes Date: Wed, 9 Aug 2023 14:39:37 -0400 Message-ID: Subject: Re: [PATCH 5.15 00/92] 5.15.126-rc1 review To: Guenter Roeck Cc: 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, pavel@denx.de, jonathanh@nvidia.com, f.fainelli@gmail.com, sudipm.mukherjee@gmail.com, srw@sladewatkins.net, rwarsow@gmx.de, conor@kernel.org, paulmck@kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 Wed, Aug 9, 2023 at 2:35=E2=80=AFPM Joel Fernandes wrote: > > On Wed, Aug 9, 2023 at 12:18=E2=80=AFPM Guenter Roeck wrote: > > > > On 8/9/23 06:53, Joel Fernandes wrote: > > > On Wed, Aug 09, 2023 at 12:40:36PM +0200, Greg Kroah-Hartman wrote: > > >> This is the start of the stable review cycle for the 5.15.126 releas= e. > > >> There are 92 patches in this series, all will be posted as a respons= e > > >> to this one. If anyone has any issues with these being applied, ple= ase > > >> let me know. > > >> > > >> Responses should be made by Fri, 11 Aug 2023 10:36:10 +0000. > > >> Anything received after that time might be too late. > > >> > > >> The whole patch series can be found in one patch at: > > >> https://www.kernel.org/pub/linux/kernel/v5.x/stable-review/patc= h-5.15.126-rc1.gz > > >> or in the git tree and branch at: > > >> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stab= le-rc.git linux-5.15.y > > >> and the diffstat can be found below. > > > > > > Not necesscarily new with 5.15 stable but 3 of the 19 rcutorture scen= arios > > > hang with this -rc: TREE04, TREE07, TASKS03. > > > > > > 5.15 has a known stop machine issue where it hangs after 1.5 hours wi= th cpu > > > hotplug rcutorture testing. Me and tglx are continuing to debug this.= The > > > issue does not show up on anything but 5.15 stable kernels and neithe= r on > > > mainline. > > > > > > > Do you by any have a crash pattern that we could possibly use to find t= he crash > > in ChromeOS crash logs ? No idea if that would help, but it could provi= de some > > additional data points. > > The pattern shows as a hard hang, the system is unresponsive and all CPUs > are stuck in stop_machine. Sometimes it recovers on its own from the > hang and then RCU immediately gives stall warnings. It takes 1.5 hour > to reproduce and sometimes never happens for several hours. > > It appears related to CPU hotplug since gdb showed me most of the CPUs > are spinning in multi_cpu_stop() / stop machine after the hang. > Adding to this, it appears one of the CPUs is constantly firing and reprogramming hrtimer events for some reason every few 100 microseconds (I see this in gdb). My debug angle right now is to figure out why it does that but collecting a trace is hard as it appears even trace collection may not be happening once hung and the only traces I am getting are the ones after the hang recovers, not during the hang. I am also trying to see if multi_cpu_stop() can panic the kernel if it sits there too long. - Joel