Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp1395213pxv; Fri, 2 Jul 2021 02:45:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyf9nBMWrr2Bjr/yP8ZiZBxKq6547gBhTvUMMFLEEDIwxeSAOzBG73wnlpx6RclsF8XF8s5 X-Received: by 2002:a6b:b7c3:: with SMTP id h186mr3082441iof.82.1625219151170; Fri, 02 Jul 2021 02:45:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625219151; cv=none; d=google.com; s=arc-20160816; b=uEhXDUeE3XkN2zLCRgUcqpxMdfPrjexKWGFJZmqOge5sjKctdxfGZwuhq9ga0TDQ6B i6nHb+p31GrLUWeNA40NsLHt4zzuq/rsXFWZWSzTzFm2HoYZXf2tKAEQnaRMVJXih6mp h/qcm0+9WzLtytHQoHK8AfwLprmDftFqtjbPAqxfIbnv86zk0FmLtfcZ8Kt6LqtsoGGj uP8ZA0NpM5fn7weC1BnhWhWWKLnOJkxbUV5k4AngbumZLhJHPs6ldYqjnv9nzcdweHH1 nHVInXwtdBHSA3H+6MaSJuVC3LrrLYS34vyxak5O0O5FH+By996N9+CWJlNCZdI+ifa3 hjDA== 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=qqO0BGnrypD/wVeYBOQgNTRPS2etKNdrYj2ZSsBXYfg=; b=CV6Dv6hkfkeyP8dwkEhUSG6DXnubB+CgSCSdM2t1bC2EWhzMFd61z12IbpGqMdX+UM BPMg/IBBXQNAjjeq3hZ++qz/def+/Hj9DDCFPh89ecndW9CGB50Br9kDqbu8yNEitiG1 LeQzeWuZegrWGhZlIxX+qn2P/awWUkZFgBXWRxSvWQXj+HLdr45liG4LGTZVAWcbkEKR 5uNH128hObT5fYfTQZhbR/9K0yLp4dIKtCqKRgzn6vpXxXNg3DVAQGzawDymcNoJgMv5 kp7QjYf6hZhLn4e9/9+fONlt+Nlg0stTO4IHupwWgDdvvbgIV3iwZNS1s/W0ANR6RPUr yExQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=dNhb3bIO; 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 l5si3967259iow.52.2021.07.02.02.45.39; Fri, 02 Jul 2021 02:45:51 -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=dNhb3bIO; 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 S231130AbhGBJqu (ORCPT + 99 others); Fri, 2 Jul 2021 05:46:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230078AbhGBJqt (ORCPT ); Fri, 2 Jul 2021 05:46:49 -0400 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E27BEC061762 for ; Fri, 2 Jul 2021 02:44:17 -0700 (PDT) Received: by mail-io1-xd33.google.com with SMTP id i189so10923937ioa.8 for ; Fri, 02 Jul 2021 02:44:17 -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=qqO0BGnrypD/wVeYBOQgNTRPS2etKNdrYj2ZSsBXYfg=; b=dNhb3bIORfzreK4J0xC93Os9lEr36Ys/zZxwnbDpW+94sRto0b1L1BP4jqSQegNECG W5FXEB5t6LG9AkhADWKUeyLjMIyKJdoJG3TLiKk2ODuPwuZuky8NTOCXLUMpie0wzVNe aS8FNLJbKBbRsZfrycDrnyLPCBEFYs887jqsEs+aDX+/axvZyNHnWNJapBfMqBbs6nzC fMwWNIJ3EMfTKHQ7y67qFEezLXk55fV8cyjFFu4rcrzdL93M7upuvv3VIxfx2gbPmBfw R/2/8uDJjeIBJRP5lwmoUW14zRx27Gos0QyI1ykpIeJzEDPNzDbazZKD6iFGT8AVzY3g lFBQ== 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=qqO0BGnrypD/wVeYBOQgNTRPS2etKNdrYj2ZSsBXYfg=; b=gqHlLBD+9N2qOlalKBKBI3hUIJWIa7cXg0WcQhSW3WeGm3RM3ETwn7VWS/sl645oCY aV56GEbxItNjECyetq1MkCx4HgwiNAD3la4pxdstxu8WSUcEk1ghpa0ifYJZESF6D/Ko Bk17DlW8HzAz9YXxZW+FoeVQqKJoTuRLCmFlzUJVrtTzlpuOUsCFEV79WJ1u1dqMjVFX 0EFGZtSaTAPvIrN4eT/h0ihRfiJGyJdzv7DSevi2SVPPnRNWLrIVLkPHhtp5Y+t+RuCN tb8zOs8DUPXry50cjZp55r8/KgdhozuFc8qA4T0enPJUB1ex2+sXBsy3rj6YSiSGvPgm WYaQ== X-Gm-Message-State: AOAM533Xd905CBxKl84JlYWNgQRaPD6ta/2bzj1/hs2gQkALI5A7SeN4 q0u1XouG7ai3dMSq1tvN9MaZzoLLPXmz5CqEns1IXw== X-Received: by 2002:a02:3506:: with SMTP id k6mr3586781jaa.39.1625219057101; Fri, 02 Jul 2021 02:44:17 -0700 (PDT) MIME-Version: 1.0 References: <1625133383.8r6ttp782l.naveen@linux.ibm.com> In-Reply-To: From: Brendan Jackman Date: Fri, 2 Jul 2021 11:44:06 +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: "Naveen N. Rao" , Sandipan Das , Andrii Nakryiko , Alexei Starovoitov , bpf , Daniel Borkmann , John Fastabend , KP Singh , LKML , Florent Revest Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 1 Jul 2021 at 16:15, Jiri Olsa wrote: > On Thu, Jul 01, 2021 at 04:32:03PM +0530, Naveen N. Rao wrote: > > Yes, I think I just found the issue. We aren't looking at the correct BPF > > instruction when checking the IMM value. > > great, nice catch! :-) that fixes it for me.. Ahh, nice. +1 thanks for taking a look!