Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp254428ybg; Mon, 8 Jun 2020 22:59:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJznGV4q0AAJ/kPkFO0Kr0v2FW/vlTSe2dne3OM8k64wf0N59xT+s3RHsqI4d9zgLQi9LZ4a X-Received: by 2002:aa7:d79a:: with SMTP id s26mr25673593edq.202.1591682368357; Mon, 08 Jun 2020 22:59:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591682368; cv=none; d=google.com; s=arc-20160816; b=JJpe9rDzwJtHGLmkD7nSRBhTpmMHkW429EzlPpTG+PM8ekQTnEBPja15vW/4Nl5RBC 03cig5BnV0g1+GSYMlqKHJ8qFQ35LF9h7K821Gne8LGM/STIFSzMh9g90kC+dZ/VCqeQ R7jt1ZKqxfja+qW3ocgcUNioN4Zi4ozfg2rQSs5jeY893z5g8fdYPtHr5/nuhgJishZF RzxqGfObJsFe6ES9vyGhmPWTlvPScNdd2W1kx+YJNg+/M3exXO1XMbf8IZ8vdceAp4kq EBe8iPakF28V76abC1ieD/8Oxp6Q4zgraPGrosQ/19SAaMS0y1K+zSVMVQqQgFCleJAt VJ8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=WDJS0ySUVAw6kQtMQKzgwZm9RScbAWiEhZ1h+MXRv5g=; b=tP9vk5on/SSZ1sDFnFVqNkG6iiG4OMqr5R5590AcxvoNIw1KYalO8boxsLxRTWr/La m0LXiZfQIPBu6mstRYtCWWwgiEflFeIwN8QOWd/GUnvlfQO9V5Wt6l14zKhptLNPSUnO 3LhKLv9r/mJDid5oN7BnolA7C724RoFdwWZmIfGpc6/KpDlfziCFA+3Uk5rxcDT1lDgj I9G7WCcxIBy2w4C6ueV9cdRf81S5ee5D0pfdNcY/6FExZxiPp6D3RDEWA2TPKh3E14u/ wCJxxfWbgmutKUr60x9fvMbhQ7xIFuHLgo812cOw92x3RQ8UjE666JwkUTfplyuNq7S1 thPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=MQcVtyML; 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 i11si10245709ejv.272.2020.06.08.22.59.04; Mon, 08 Jun 2020 22:59:28 -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=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=MQcVtyML; 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 S1727779AbgFIFxr (ORCPT + 99 others); Tue, 9 Jun 2020 01:53:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727118AbgFIFxq (ORCPT ); Tue, 9 Jun 2020 01:53:46 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E6D7C03E97C for ; Mon, 8 Jun 2020 22:53:46 -0700 (PDT) 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 Cc: Christophe Leroy , Paul Mackerras , Benjamin Herrenschmidt , Michael Ellerman , naveen.n.rao@linux.vnet.ibm.com, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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.