Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp284527pxv; Wed, 21 Jul 2021 23:13:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxW2i4aXLENUGwEPFQz/zFYN3in9YoXDylPH3KNuT2hEbL7p6I5vX3sivgw3cy/Xxgszugw X-Received: by 2002:a02:b60a:: with SMTP id h10mr34906213jam.6.1626934420848; Wed, 21 Jul 2021 23:13:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626934420; cv=none; d=google.com; s=arc-20160816; b=wIyU3DsIuenQXiFRHbgJsaF1YvktxSgaGUP7PYE849ojJsoFJUVCfYEBUEMas/5mys dQAeG3z1JqJEHJguK6z5Kk3jGnpACtFZ/M+f1HByM4R1Tzk0yLoJ/GxzYEQO+oF4H3UD MfFfjOMa5dEJ/lEWQJ2UKuPBFCtCIC0psU5p3p09dx3VdtxdyBwJQ/c3V4j72IiEEy/T iOuI8weivDtBNGfjQL7Q/QYpz1kZwDYYkTW9cd+UTGqg7eQYeu0YBR3aPFwb075m2ZSY ya9Pu3zyFg3QZ2gTBrz6aH6m0se+ryUgIbl1cUr4Se+YxMJOLWs5WnGIVl3iWJTJIYpw RIQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=xYn9TThM+ZWcAUslBNCtRAoUyc+f1YV38quHS3ur+h0=; b=azqhZcS6N3pdKcygrRMqTn7C+AprLaWEYfZtRYw8Gyd8kFmystEaShz9d/e+rpAaPC UwidNq7E6iQ2e5+WkHGbmY37j9lAYtGLpYjZrkr1R+xOy4uT55D68tWwFPaRtA/stN2n HJ70REVvTEb8x5PJNHd/neBPRFHuErs16i784ZqzWAXOV0kky7HRxTOAvPBKIKyKv3fc 0WrE6bnvuxVr4JxFeWue2cwXBjuPDqwjHohigYq6cqI5zuXCxqlcFK6TJbwVa9Qond5i OUu1JVwd5Pwg/mg916Pj0b4MdJwXDOWKi1scZy4kHZmSa5blw41RzXX8sex0qvZ/2MQZ TkOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=e4hyMVxo; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g13si22555038ilf.35.2021.07.21.23.13.29; Wed, 21 Jul 2021 23:13:40 -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=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=e4hyMVxo; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230475AbhGVFbq (ORCPT + 99 others); Thu, 22 Jul 2021 01:31:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229547AbhGVFbp (ORCPT ); Thu, 22 Jul 2021 01:31:45 -0400 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18D00C061575 for ; Wed, 21 Jul 2021 23:12:21 -0700 (PDT) Received: by mail-pl1-x632.google.com with SMTP id u3so3271743plf.5 for ; Wed, 21 Jul 2021 23:12:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20150623.gappssmtp.com; s=20150623; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=xYn9TThM+ZWcAUslBNCtRAoUyc+f1YV38quHS3ur+h0=; b=e4hyMVxoP7Mk4CxoR/e0msaMox1XC/iLjHKH2aLwkAtuyB1KBkjsGBYaqOVf9H9h6G iTfvQYeUsmepI1tAirhqX5+R9fzaoNiPLPO9h+z2OgtZh81Ses9TL5ud6GKwyK0NJt2r BgOIfa1GMG5k4ARHSbXQw1MeKMh/tDrDMhhp7flLg71hQUFKPt1CMtbnUJrlcK5gb1uV 7QDLLUFkPyUgOiZ4SvtlIkiuzgVxR5buXCLbwgfsFIDoAnkBcA8MjlEfXJLIGZJnmk6k eaweuGg0DLmJnNUHPpUZYCW9NtlO/tOsfoZmbRmUPf1x101sm/tK+LLgDKUWpxd2G+JJ y28Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=xYn9TThM+ZWcAUslBNCtRAoUyc+f1YV38quHS3ur+h0=; b=h/5Iy2qSKhG2ip3GFcSMnQJood9ErLJkjyqseVxWWOxOPiUwuXG9pKcvSQ2TiWz1wH AKqCtcdaYJtegEmG7l0z39jA3CvU5XpCIKX599fXZH9u7oVzXbEmOcqeU7kuBq2L1UOu sow7Rwn/dBWw07P44Kl/jS0Ub2TGTpG1+xfzpr9n/VcMMoQcZlWoFVvLP3ZsUNmXLluv RjQ7FZUgqTxPM4bAFoKjHtxM5NOlWTtEJkB+obVOybUwCRlJkq4DDjeBq0jdd2gDLwX+ T2yZGvOiCYJxj1EqpIU683eP3Va2c+8rYVhoauKn5nbvF/lURKymIx3pCln8vB9cyjHZ KqYA== X-Gm-Message-State: AOAM5312Fv8+TqW34kri7w81haRNX3C3/spBdtXKrauutPJgSyjkIZP5 Xo7VXtYLdYwy6IGmDxR8IgHXDg== X-Received: by 2002:a63:34a:: with SMTP id 71mr4572323pgd.289.1626934340483; Wed, 21 Jul 2021 23:12:20 -0700 (PDT) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id j3sm29949764pfe.98.2021.07.21.23.12.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jul 2021 23:12:20 -0700 (PDT) Date: Wed, 21 Jul 2021 23:12:20 -0700 (PDT) X-Google-Original-Date: Wed, 21 Jul 2021 23:12:18 PDT (-0700) Subject: Re: [PATCH -next v2] riscv: add VMAP_STACK overflow detection In-Reply-To: <87bl6yrcmd.fsf@igel.home> CC: tongtiangen@huawei.com, jszhang3@mail.ustc.edu.cn, Paul Walmsley , aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org From: Palmer Dabbelt To: schwab@linux-m68k.org Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 19 Jul 2021 00:23:06 PDT (-0700), schwab@linux-m68k.org wrote: > On Jul 19 2021, tongtiangen wrote: > >> On 2021/7/17 14:55, Andreas Schwab wrote: >>> Please use >>> https://download.opensuse.org/repositories/home:/Andreas_Schwab:/riscv:/jeos/images/openSUSE-Tumbleweed-RISC-V-JeOS-efi.riscv64.raw.xz >>> and run it in qemu with u-boot as kernel. >>> >>> Andreas. >>> >> >> Hi andreas: >> I used today's latest mainline code and .config provided by you, and I >> can't reproduce this panic. > > Did you test it like I said above? > > Andreas. I'm getting this on and off, with just CONFIG_VMAP_STACK=y on top of defconfig, when running on QEMU. It's not showing up right now: I'd thought it was an issue with that initrd patch, but it went away when I re-ran the tests so I'm guessing it's something non-deterministic. I'll try to take a look if it comes back.