Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp614195ybg; Wed, 10 Jun 2020 09:08:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyKB+F6nKLstrkjSaUKs3ES26fqMU75s7/ZaHM5n89NnUMDtBePqnNHI/Nw0DIT/dsW/Yhg X-Received: by 2002:a05:6402:206e:: with SMTP id bd14mr3134441edb.105.1591805303093; Wed, 10 Jun 2020 09:08:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591805303; cv=none; d=google.com; s=arc-20160816; b=qF55aKSAFYmPbtjk9LgSoupqy+QB+TKHk4ZyPJnUnQqruuSu4AS99MWsmcD5t7uy80 8rbD2t+I7Fq9ZKNHENxO/U5g2Wid5vU8XOmdRgXuwdOWq0wdGFZp2kgC4lKtJPxgvAEV bp9fsYLYlyfg2cbyClAIU43ORc75jJYgVKn60kYTL212D/0gVvTIYm/CEEjd95z/GQWu o8MoavcphDtSzYv38HQ3zjBYPkgQ4Bme6boPAHXmu7IfggrvAf8S8m2tKJPm78UC3Cev hLA3+bSz2eXcUeuCA9yBVVTiVZZoIfI1yEralyrUo1R5Y9x7UN0+ChWdNdQ3gXiDieKT b3wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=8d/B6bPtpVac0yc7pyaZRtxj5z1kl4bW4SQ+vyFpo+A=; b=fO95UHeoCz4+Gwx/ico0FDnv5YmyfL+IxLs57Q0QCZk5l5Do6oAjx4MIfUMapCUOOn BmTBc2SB1CbYLVQg12PhsvDHsREtKwitA+ntHrTIp04cFc3+GNktZhTINS9OmIijwNr+ cK6ha/EG5n+1+DAyIU9tllAY491n07briabTscoFm8rJ/JboPWXi9/+zyE03v63KjH5Z FQsWz2o9SQBTHmMWfxQ0eFItGq+lTWTo3RIHygLLLX57ZFnOGr80wQbqaER0IYw8tKKE 0fWUR5cm9z25WbVV+CO2ue/vW+jOy07QfJTnhVhUucaHb2cHGpzRqBQcycpByUuSSDXM tB4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=rexwtAZx; 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 de11si23399edb.306.2020.06.10.09.07.59; Wed, 10 Jun 2020 09:08:23 -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=@ellerman.id.au header.s=201909 header.b=rexwtAZx; 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 S1728106AbgFJKMR (ORCPT + 99 others); Wed, 10 Jun 2020 06:12:17 -0400 Received: from ozlabs.org ([203.11.71.1]:43337 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726134AbgFJKMQ (ORCPT ); Wed, 10 Jun 2020 06:12:16 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 49hjTT2Stlz9sRh; Wed, 10 Jun 2020 20:12:12 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1591783933; bh=6MdS/FrXRihHOHwCWI3wY0oUCxFXp63aKB1vDbSR0HQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=rexwtAZxOGeqWScfyZVmEUfI+g1Pta9Fi1LU2fxYj0/NLfSptLzbKLFT6s+H8Kcfe VSl8NcsAiM1nX+QCxl7kWEQWa0IUo47fzZOfgbR1D9aQOHdi7VV4MyvCEX1LIEPQK7 4cazo84S9CwcRIF4f7FFY89q36VoOE0v7+4SeKPg+r+RoWjSJhmgY5ZawCKzlCghfu uh9/OXVHVzF9/TX9Gp+gXE7LVCJs1o9l0Njquu5UmQMVu6BobO6peK5kWIvyynd0le Wo06N0NgINf2RyO2Tvt/bWgxgWcmIP2W8FGb9282mp2kAGKICMj+mcFg0NGvetSAel 90lpGQzaLuTFQ== From: Michael Ellerman To: Christoph Hellwig , Michael Ellerman Cc: Christophe Leroy , Paul Mackerras , Benjamin Herrenschmidt , 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 In-Reply-To: <20200609055320.GA14237@infradead.org> References: <7f24b5961a6839ff01df792816807f74ff236bf6.1582567319.git.christophe.leroy@c-s.fr> <159168034650.1381411.840854749818290996.b4-ty@ellerman.id.au> <20200609055320.GA14237@infradead.org> Date: Wed, 10 Jun 2020 20:12:39 +1000 Message-ID: <87r1unfcvc.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Christoph Hellwig writes: > 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. That commit above is actually already in mainline, I was just _really_ behind on sending the patch notifications. cheers