From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7B86C433DF for ; Tue, 9 Jun 2020 06:59:09 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 626E52074B for ; Tue, 9 Jun 2020 06:59:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="MQcVtyML" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 626E52074B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49h1F74mT7zDqgw for ; Tue, 9 Jun 2020 16:59:07 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=bombadil.srs.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=batv+0efb7c18612ba92a370e+6134+infradead.org+hch@bombadil.srs.infradead.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=infradead.org header.i=@infradead.org header.a=rsa-sha256 header.s=bombadil.20170209 header.b=MQcVtyML; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 49gznf306PzDqSM for ; Tue, 9 Jun 2020 15:53:42 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=WDJS0ySUVAw6kQtMQKzgwZm9RScbAWiEhZ1h+MXRv5g=; b=MQcVtyMLgKl+y6Gj+FAVgPDZJ6 A05JWrb0/FYvd/P5bUzJ02U1p4VlG9s1fYtrgvhzlSCqDi9GfBZBvKM/fn4PhrIbK/Uz845Wgq3gk iEiduuys3OM/Ji81sNzehEpoh5TeFSGVQvLy5sV4bBlNr+cVBMbyrWxi+/LtR+TsTs0/3iDlJ48F7 vWzLTn4lP72aMqDMBGbhEiQMxJwa2IrgBwAqn0R2LdU/IFhvUk2Hdyhu49aCijNsMxc0K8PnBuRPM qQ3pWiXnzAYWYWftPcO+L2fz0pz93APi4dyrefTkublCB4/dpvQ7xIW3V7EaNvuWHPVmBtaciqn9N d6IdJXFg==; Received: from hch by bombadil.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1jiXCK-0006fA-A0; Tue, 09 Jun 2020 05:53:20 +0000 Date: Mon, 8 Jun 2020 22:53:20 -0700 From: Christoph Hellwig To: Michael Ellerman Subject: Re: [PATCH] powerpc/kprobes: Use probe_address() to read instructions Message-ID: <20200609055320.GA14237@infradead.org> References: <7f24b5961a6839ff01df792816807f74ff236bf6.1582567319.git.christophe.leroy@c-s.fr> <159168034650.1381411.840854749818290996.b4-ty@ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <159168034650.1381411.840854749818290996.b4-ty@ellerman.id.au> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Christophe Leroy , linux-kernel@vger.kernel.org, Paul Mackerras , naveen.n.rao@linux.vnet.ibm.com, linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Tue, Jun 09, 2020 at 03:28:38PM +1000, Michael Ellerman wrote: > On Mon, 24 Feb 2020 18:02:10 +0000 (UTC), Christophe Leroy wrote: > > In order to avoid Oopses, use probe_address() to read the > > instruction at the address where the trap happened. > > Applied to powerpc/next. > > [1/1] powerpc/kprobes: Use probe_address() to read instructions > https://git.kernel.org/powerpc/c/9ed5df69b79a22b40b20bc2132ba2495708b19c4 probe_addresss has been renamed to get_kernel_nofault in the -mm queue that Andrew sent off to Linus last night.