Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7866839ybi; Tue, 9 Jul 2019 05:37:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwG+sFX6ohAk/i+WSbPu+2OTeRud7ezcC6JKYtUPpsYPBFmZaJV7J/t8H15PhBg9n4LmJIp X-Received: by 2002:a17:902:bd06:: with SMTP id p6mr32700010pls.189.1562675864438; Tue, 09 Jul 2019 05:37:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562675864; cv=none; d=google.com; s=arc-20160816; b=IdHMQRNUpTOc7ouJLLmicIffrYeg3IECv5hp9pjePB+nO8QHNZenPYOXVz8l00KLgD BK96Yyn/qO8DyV7Ckrg8lS2A1K4kOIb40qLD52hb+QARyEEX3KISmoGdvqPnKiqZelys cgoiK8PxtVVqj3SHXr+8Tjm+GQb8n4/cGc3hkJ67kTs+Y7I3adOEnpd7w1MjkjsrdZxb FnV5Rvh/Uza5z3tFywAjZrnvWatw5cbmOzpf5fyhqJ7z0+pZ3cjAD9ex3pwQvtp5sPfo a/Rp3AY0OaPf87wEA+zR2im3T+znB602+HyGH7rH2OQ5UyMRLLctq2G9EYmxJLpKtMmP 4Tfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=toXyCL0quzFOYmrXy8+MCWdClqdzvUSV1PASvI/KRWE=; b=JnvDpfciw1Az8VZZ8y97c6ClGSxjd1OZC/HwhB0GwT0LBXiranJBC0epK1IwJg9scj 1Af0NkGyNKq853wzedZxokaeV4psbvTjL5vL036G35a07zcccfNFbCqSf+6cYIcjONrT GcOCgtcJswKwZgSW9/UUQEBpiPxk7Wm22DCG7PYt8WCaAPuwnCDB3g0AiqzshIJJ5WTi jJBhWhGqul5pO41ybWcvFkedrpsjjhoBriKRNIuVSrdofH/Ehq3UdlfcXCZKMgovNAFP uNgfuIIBDK9gxTEKqQCxKaslQDMdxJ4bRsdFZEasJOC4kEOo1dSe9Ly3Pm+hEqsbIgOF mwuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GwfJMv7V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t18si20506212plo.328.2019.07.09.05.37.28; Tue, 09 Jul 2019 05:37:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GwfJMv7V; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726251AbfGIMhE (ORCPT + 99 others); Tue, 9 Jul 2019 08:37:04 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:37661 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726010AbfGIMhE (ORCPT ); Tue, 9 Jul 2019 08:37:04 -0400 Received: by mail-pf1-f196.google.com with SMTP id 19so9245145pfa.4 for ; Tue, 09 Jul 2019 05:37:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=toXyCL0quzFOYmrXy8+MCWdClqdzvUSV1PASvI/KRWE=; b=GwfJMv7VfaZfq541svvZnCJToRGP/8W+q7J/2YC/eZqxEDsURJ5Hmqk6qz3aD97lmk JNT1ydj7O66POQPHdHTjg3jSZAREZD1j25psAWSvOcsILW8Ub/o3WC+P80nvtiNHnB2h gHmdUsjEXJ/jHI/sCNvtBt7hN7kfQP4b7BoZ+WsJp4/6bOpPc5lCJ5mOle8tIb2UsK5d aRUxqBcgLvBSAJdQ8nlJ+gvcRA5sJl+mlQiK6YgMz4HdJ5apBSDLLI+E8HPHvkHgFX/7 a17c22B/w03BUYS9dDBmJMrPfrUAgL2rExPU9WlhJdzGh15MM20NE38Od/muYr9oMFpT /YGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=toXyCL0quzFOYmrXy8+MCWdClqdzvUSV1PASvI/KRWE=; b=qTCe2KTeWMC4nn55pWv4TJaCxVXRXApdPG7gIvHPFAHUnuAG07GKtmwFfAMoK0RbJh rSZIfhnyqVaz9qdk7fTkHRpMRPNUijmcN4cwAJeasSuNmRNrMgJDwcbaySshqlzXIyls YJGPer2zrHYQBBeNwLuI79o9pexUI3nSU7NVT/LKIcuZqgHbN8HKaAIwLMH01hGp0YTd x5zXcfCjknHuz/s6RtXozeBpBVIG1qE9rM2DAqAtGYdMkhTOYL10s2YxtkFF76vo68b4 YSSWINGnOMvgQthqv6sDWJQLIWr6ESKbF2R+bVJmN8ZoXoGUBchu5TP1EApPUPxyLjzP goGQ== X-Gm-Message-State: APjAAAXIUq2E8AMpk0iCwpogANBbEUKkvfmIC5d672giPVbAQhjvdyBH 7KPmEcDWbQs1x4CJvFzMQvY= X-Received: by 2002:a63:211c:: with SMTP id h28mr30226836pgh.438.1562675823411; Tue, 09 Jul 2019 05:37:03 -0700 (PDT) Received: from devnote2 (NE2965lan1.rev.em-net.ne.jp. [210.141.244.193]) by smtp.gmail.com with ESMTPSA id v23sm20816932pff.185.2019.07.09.05.36.59 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 09 Jul 2019 05:37:02 -0700 (PDT) Date: Tue, 9 Jul 2019 21:36:57 +0900 From: Masami Hiramatsu To: Anders Roxell , Steven Rostedt Cc: James Morse , "Naveen N . Rao" , Anil S Keshavamurthy , David Miller , Masami Hiramatsu , Linux ARM , Linux Kernel Mailing List Subject: Re: kprobes sanity test fails on next-20190708 Message-Id: <20190709213657.1447f508bd6b72495ec225d9@gmail.com> In-Reply-To: References: <20190708141136.GA3239@localhost.localdomain> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 9 Jul 2019 12:19:15 +0200 Anders Roxell wrote: > On Mon, 8 Jul 2019 at 17:56, James Morse wrote: > > > > Hi, > > > > On 08/07/2019 15:11, Anders Roxell wrote: > > > argh... resending, with plaintext... Sorry =/ > > > > > > I tried to build a next-201908 defconfig + CONFIG_KPROBES=y and > > > CONFIG_KPROBES_SANITY_TEST=y > > > > > > I get the following Call trace, any ideas? > > > I've tried tags back to next-20190525 and they also failes... I haven't > > > found a commit that works yet. > > > > > > [ 0.098694] Kprobe smoke test: started > > > [ 0.102001] audit: type=2000 audit(0.088:1): state=initialized > > > audit_enabled=0 res=1 > > > [ 0.104753] Internal error: aarch64 BRK: f2000004 [#1] PREEMPT SMP > > > > This sounds like the issue Mark reported: > > https://lore.kernel.org/r/20190702165008.GC34718@lakrids.cambridge.arm.com > > > > It doesn't look like Steve's patch has percolated into next yet: > > https://lore.kernel.org/lkml/20190703103715.32579c25@gandalf.local.home/ > > > > Could you give that a try to see if this is a new issue? > > The patch didn't apply cleanly. > However, when I resolved the issue it works. > I'm a bit embarrassed since I now remembered that I reported it a while back. > https://lore.kernel.org/lkml/20190625191545.245259106@goodmis.org/ > > Both patches resolved the issue. > I've tested both. In that case, the later one (move postcore to subsys) seems good to me. Delaying the test is just avoiding the issue that the selftest found, since right after init_kprobes() are called, the kprobe is ready for use. This means that the selftest must be run as the first user of the kprobes and it must be run right after initialize kprobes. Thank you, > > Cheers, > Anders -- Masami Hiramatsu