From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.windriver.com", Issuer "Intel External Basic Issuing CA 3A" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 63E5FB7203 for ; Mon, 11 Jul 2011 12:36:33 +1000 (EST) From: Tiejun Chen To: Subject: v2 booke/kprobe: Fix stack corrupt issue when kprobe 'stwu' Date: Mon, 11 Jul 2011 10:39:36 +0800 Message-ID: <1310351976-24078-3-git-send-email-tiejun.chen@windriver.com> In-Reply-To: <1310351976-24078-2-git-send-email-tiejun.chen@windriver.com> References: <1310351976-24078-1-git-send-email-tiejun.chen@windriver.com> <1310351976-24078-2-git-send-email-tiejun.chen@windriver.com> MIME-Version: 1.0 Content-Type: text/plain Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , v1 -> v2: when allocate pgirq_ctx, use 'hw_cpu' to identify cpu ID in exc_lvl_early_init(). BTW, I already validated these patches on fsl mpc8536 by kprobe do_fork() and show_interrupts(). Note this bug I fixed is from another email thread, "[BUG?]3.0-rc4+ftrace+kprobe: set kprobe at instruction 'stwu' lead to system crash/freeze", Yong Zhang, previously reported. Tiejun