Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp718987pxj; Fri, 11 Jun 2021 09:43:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy6/49X9Ju5J25WJqEApEN4r7DB98ZzmMW8cL0oczNqxpVneTX0sQUuZrSDKY26DvTWorkC X-Received: by 2002:a17:906:e2c7:: with SMTP id gr7mr4438071ejb.20.1623429826851; Fri, 11 Jun 2021 09:43:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623429826; cv=none; d=google.com; s=arc-20160816; b=c2kEckEoyWokM54rm6hrhghSht9KIxXP8LV6JSWjScJtxYM5qeunToYN39x31Bfzoo 4ne7ECF3dcRM7JBMeYwA4Kbu8yya+qPZCPz/3k+FzMLuU7D1xY35UdBgBnPJAO0EeKl2 FfHHz2mqJ5suyAFMKdF5zgTZJ3LIOG8m4LXyre2vhBtrmfpgB077MvX87RYCVTizj26m dsKjPcT766GawFGgFbhmHyww0Luoq4Jkg8vEZbW61bGJ8I84faDw09012gYkTUQpJU8O V+3n5Z/DJEgJye+D3eJiu2swAZh/BqVbTisLfCbicNpnp6JUEQNQwb/tAnQKfIHAlTUM KosQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from; bh=oJYmRMyoKvrYW7BkIs7EaL719iSioRtTmQy++tq3Ifg=; b=VwozetqbMD++/tqHjoya/2bq9qKEMCyhX51Bq5RP7PKzJVJ290xHzbmBaRRBv8Clbi +oLDFNDYOJjUW8O+fGfic8UqjHB8BO/aJJPageBQ2A1kDFv2fuibVCwOzncuHtalwWZx RXo4skl6Jx15MwbdJLyjR318Nf0sbHJ8WoF+IrSmkwEaOBnaGv+v0CGi3KHN6E8UjlfO gZtLukJabEcPbj5nSMgexFQ0Pm5UppXCkXHFSSJ0DY7ZPZCrQVaGNnqTCsgOxLb2LMjZ TJmqKXVWDJVokZe9jX25av59c3uPYhZsfrbPvnw/ZwRBkKML5KmJRY3SmgWRcsevB1xJ ypvA== ARC-Authentication-Results: i=1; mx.google.com; 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 lv23si2208789ejb.467.2021.06.11.09.43.21; Fri, 11 Jun 2021 09:43:46 -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; 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 S230376AbhFKQn3 (ORCPT + 99 others); Fri, 11 Jun 2021 12:43:29 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:47279 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229935AbhFKQn0 (ORCPT ); Fri, 11 Jun 2021 12:43:26 -0400 X-Greylist: delayed 9071 seconds by postgrey-1.27 at vger.kernel.org; Fri, 11 Jun 2021 12:43:25 EDT Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4G1mnW3mnLz1s3pb; Fri, 11 Jun 2021 18:41:19 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4G1mnV6lD7z1r0wv; Fri, 11 Jun 2021 18:41:18 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id DNOF1t6SXpEc; Fri, 11 Jun 2021 18:41:17 +0200 (CEST) X-Auth-Info: UjAl/qSEJiAcUzh+KfzDTVzON+wrDx36PXw07BKvqDwzz+F6woY6oRGDBmF8tT9C Received: from igel.home (ppp-46-244-189-84.dynamic.mnet-online.de [46.244.189.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 11 Jun 2021 18:41:17 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id C31282C3655; Fri, 11 Jun 2021 18:41:16 +0200 (CEST) From: Andreas Schwab To: Jisheng Zhang Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Luke Nelson , Xi Wang , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, netdev@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH 7/9] riscv: bpf: Avoid breaking W^X References: <20210330022144.150edc6e@xhacker> <20210330022521.2a904a8c@xhacker> <87o8ccqypw.fsf@igel.home> <20210612002334.6af72545@xhacker> X-Yow: I will SHAVE and buy JELL-O and bring my MARRIAGE MANUAL!! Date: Fri, 11 Jun 2021 18:41:16 +0200 In-Reply-To: <20210612002334.6af72545@xhacker> (Jisheng Zhang's message of "Sat, 12 Jun 2021 00:23:34 +0800") Message-ID: <87bl8cqrpv.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Jun 12 2021, Jisheng Zhang wrote: > I reproduced an kernel panic with the defconfig on qemu, but I'm not sure whether > this is the issue you saw, I will check. > > 0.161959] futex hash table entries: 512 (order: 3, 32768 bytes, linear) > [ 0.167028] pinctrl core: initialized pinctrl subsystem > [ 0.190727] Unable to handle kernel paging request at virtual address ffffffff81651bd8 > [ 0.191361] Oops [#1] > [ 0.191509] Modules linked in: > [ 0.191814] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.13.0-rc5-default+ #3 > [ 0.192179] Hardware name: riscv-virtio,qemu (DT) > [ 0.192492] epc : __memset+0xc4/0xfc > [ 0.192712] ra : skb_flow_dissector_init+0x22/0x86 Yes, that's the same. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."