Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754832AbbGFLyO (ORCPT ); Mon, 6 Jul 2015 07:54:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49753 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753554AbbGFLyM (ORCPT ); Mon, 6 Jul 2015 07:54:12 -0400 Date: Mon, 6 Jul 2015 17:24:08 +0530 From: Pratyush Anand To: Masami Hiramatsu Cc: linux-arm-kernel@lists.infradead.org, linux@arm.linux.org.uk, catalin.marinas@arm.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, wcohen@redhat.com, dave.long@linaro.org, steve.capper@linaro.org Subject: Re: [PATCH 2/2] arm64: Make all entry code as non-kprobe-able Message-ID: <20150706115408.GC17305@dhcppc13.redhat.com> References: <683f80cef9b2b778be868e77b01a245585448a86.1436158027.git.panand@redhat.com> <559A6075.5070502@hitachi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <559A6075.5070502@hitachi.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 979 Lines: 25 On 06/07/2015:08:03:17 PM, Masami Hiramatsu wrote: > On 2015/07/06 14:03, Pratyush Anand wrote: > > Entry symbols are not kprobe safe. So blacklist them for kprobing. > > As I've said, you can also use _ASM_NOKPROBE(). Thanks for this info.. May be we can use it if we find some single discrete asm routines. Since here all the entry routines need to be blacklisted, so may be this approach should be fine. This approach have been emulated from x86 entry code blacklist. > This patch itself looks good to me, but I'd like to ask arm64 > maintainers' opinion, whether they accept introducing entry-text > section only for this purpose or not. > > Reviewed-by: Masami Hiramatsu Thanks. ~Pratyush -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/