Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp201411pxv; Wed, 30 Jun 2021 03:41:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzv+D0LndNmcGp5Pl0bMalP9F7cqipPw0tw1r5c/2c2DCKQK903vZ9kYgYOryNLpWhFq+zm X-Received: by 2002:a05:6402:68a:: with SMTP id f10mr45802671edy.99.1625049663235; Wed, 30 Jun 2021 03:41:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625049663; cv=none; d=google.com; s=arc-20160816; b=LeLQ0aoqJ0EKybNprL9+6kht7ZjZBVfhZ6+GPuGOL77Pj3YNGe7MvNiisanzpt9iLY VxIVEiMfPC2wKtuqjkt7GXgEake3JTHLlDCj11V3WMtFAzeAMVbpqhyhaGDYpucwNu7q scYtVsdMZUEdI+1sqoqPS2kZPYzWme24S8nylvEvKt2FZZQ6v6PQIAB+5sDIPrFuZpqN 526qgHRZncSmh25YC8bSewdLletJnwMfrTGl0izl+ipSkNRitlUSy9SKoCpMnTidhJEO fRTyQNZqMX9uoTqpn+lrbCaNfW7/HRyPGNxfZrvoQymAAp9NBWhgVUOycGTAgzwijmSD Yutw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=oYowxdHPN61Y9qY1zFymchy5MCzI2srPYMEbOZef5aE=; b=vPVLeEUSX9YVQsyX8xbYU0tL4ic56Qx7aSBCug5sB0tt7PGfZCAjEM7ltHxAwxsDKV L4sCD0r/XfMFu4WhAyO5F4lwMZJ82zpEOPmTFRVPi8+Lqd131viVBqX6Ao1ON8ilB/aV pg30/9P/7oNgrpijJxSgpAf8cktiKXrO2r5zwHIU9Vm4YuAPR/SbpZ8vhpdxcvRX8pLU UuXS6CzWztv5/IqtzPmRtZfBGC5o5AmLgeEJQuLAVJsaoK/pRJ/Gh8/MpGiQzgjmv07J l3oiSK47ux/ra9VJHrGuVfKLhUyKynuIat8elLfS1GEFKUhxhkKRaDEu9QLcpG3vratn vJ4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=hgDnjDNP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v11si17623153edc.610.2021.06.30.03.40.27; Wed, 30 Jun 2021 03:41:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=hgDnjDNP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234112AbhF3Khm (ORCPT + 99 others); Wed, 30 Jun 2021 06:37:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229882AbhF3Khk (ORCPT ); Wed, 30 Jun 2021 06:37:40 -0400 Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33388C06175F for ; Wed, 30 Jun 2021 03:35:11 -0700 (PDT) Received: by mail-il1-x136.google.com with SMTP id g3so1123243ilq.10 for ; Wed, 30 Jun 2021 03:35:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oYowxdHPN61Y9qY1zFymchy5MCzI2srPYMEbOZef5aE=; b=hgDnjDNPxcONENyswmTFE8XXY4m3HgOTeKMOhw0bVmtFmk012qRj6ji+M+7jCJTHb3 YqIvrawiTYLD2xSy/a7hBAXqqnpbXwnSVD9IrQyaV9RUyXnbBOjyoa2Xno/TwatLesaW E2KuVhmqNPdoPekT1NR8HoXVWtdY3oUFW1BpS0TvTEW5YAwHrq2C8khf0i2cAMGLZZbl 76ecF3LebTIweZEMz/VFo0JMMLMfGc/jbRK46iQT86TtR7wW9MRPTNm/bCib3OTfKJM0 ywBTie6eJSJFyTA7Z7EDHm+jDnxHor0OMMqMpnlt170jXxFg1sZabpFHfYLnCWIzEvMZ lxMA== 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=oYowxdHPN61Y9qY1zFymchy5MCzI2srPYMEbOZef5aE=; b=jDFaJm36d5yGSvyayS9bUWZdnV3LqNnN5QmeEUHhwesQsHBEGJ+hafCnwKW8aEI9Xu lS6d4Mvza7e2dawjl0tiHt67eOktAOWqchc2L/DKcaq2CpyR0b8GMlFya0hfTVhZaB9k /UfNsFcxwoOOgimvG4l0FB54lCppC6Gstsx117HXhrpee2AqiLf1HjpGwjPZJRcUVbTc pF4+69tHDKp5k8VDaodzKoF9nLat1MFVPSh34UkgGWcaZkiuI6QOBeUTBv01zJmjIbKm TdPVNJjO9G1XGRx2LWulT6osb+8UcMgYk6UeHsQ0ee4816/x7KhiYYQWHzdmhOHB7yXD awDQ== X-Gm-Message-State: AOAM530KFTwFj4HwKzOJuoDLN2uV8apnKOVSRbhZSPQtPZw/mWHDfY+a v0ySYq4/s7W85VlSR7A/OuQjgaNwkf/WeNyGS62qwg== X-Received: by 2002:a92:6f07:: with SMTP id k7mr14654789ilc.276.1625049310206; Wed, 30 Jun 2021 03:35:10 -0700 (PDT) MIME-Version: 1.0 References: <20210202135002.4024825-1-jackmanb@google.com> In-Reply-To: From: Brendan Jackman Date: Wed, 30 Jun 2021 12:34:58 +0200 Message-ID: Subject: Re: [BUG soft lockup] Re: [PATCH bpf-next v3] bpf: Propagate stack bounds to registers in atomics w/ BPF_FETCH To: Jiri Olsa Cc: bpf , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , KP Singh , Florent Revest , John Fastabend , LKML , "Naveen N. Rao" , Sandipan Das Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 29 Jun 2021 at 23:09, Jiri Olsa wrote: > > On Tue, Jun 29, 2021 at 06:41:24PM +0200, Jiri Olsa wrote: > > On Tue, Jun 29, 2021 at 06:25:33PM +0200, Brendan Jackman wrote: > > > On Tue, 29 Jun 2021 at 18:04, Jiri Olsa wrote: > > > > On Tue, Jun 29, 2021 at 04:10:12PM +0200, Jiri Olsa wrote: > > > > > On Mon, Jun 28, 2021 at 11:21:42AM +0200, Brendan Jackman wrote: > > > > > > atomics in .imm). Any idea if this test was ever passing on PowerPC? > > > > > > > > > > > > > > > > hum, I guess not.. will check > > > > > > > > nope, it locks up the same: > > > > > > Do you mean it locks up at commit 91c960b0056 too? Sorry I was being stupid here - the test didn't exist at this commit > > I tried this one: > > 37086bfdc737 bpf: Propagate stack bounds to registers in atomics w/ BPF_FETCH > > > > I will check also 91c960b0056, but I think it's the new test issue So yeah hard to say whether this was broken on PowerPC all along. How hard is it for me to get set up to reproduce the failure? Is there a rootfs I can download, and some instructions for running a PowerPC QEMU VM? If so if you can also share your config and I'll take a look. If it's not as simple as that, I'll stare at the code for a while and see if anything jumps out.