From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from e28smtp06.in.ibm.com (e28smtp06.in.ibm.com [122.248.162.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "e28smtp06.in.ibm.com", Issuer "GeoTrust SSL CA" (not verified)) by ozlabs.org (Postfix) with ESMTPS id D86232C00B9 for ; Tue, 14 May 2013 12:16:56 +1000 (EST) Received: from /spool/local by e28smtp06.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 14 May 2013 07:40:56 +0530 Received: from d28relay02.in.ibm.com (d28relay02.in.ibm.com [9.184.220.59]) by d28dlp03.in.ibm.com (Postfix) with ESMTP id 41B4C125804F for ; Tue, 14 May 2013 07:48:40 +0530 (IST) Received: from d28av01.in.ibm.com (d28av01.in.ibm.com [9.184.220.63]) by d28relay02.in.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r4E2Gix56947082 for ; Tue, 14 May 2013 07:46:44 +0530 Received: from d28av01.in.ibm.com (loopback [127.0.0.1]) by d28av01.in.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r4E2GlW6022431 for ; Tue, 14 May 2013 02:16:48 GMT From: Li Zhong To: linux-kernel@vger.kernel.org Subject: [RFC PATCH v4 0/5] powerpc: Support context tracking for Power pSeries Date: Tue, 14 May 2013 10:16:39 +0800 Message-Id: <1368497804-21706-1-git-send-email-zhong@linux.vnet.ibm.com> Cc: Li Zhong , fweisbec@gmail.com, paulus@samba.org, paulmck@linux.vnet.ibm.com, linuxppc-dev@lists.ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , These patches try to support context tracking for Power arch, beginning with 64-bit pSeries. The codes are ported from that of the x86_64, and in each patch, I listed the corresponding patch for x86. v4: fixed some cosmetic issues suggested by Ben. Li Zhong (5): powerpc: Syscall hooks for context tracking subsystem powerpc: Exception hooks for context tracking subsystem powerpc: Exit user context on notify resume powerpc: Use the new schedule_user API on userspace preemption powerpc: select HAVE_CONTEXT_TRACKING for pSeries arch/powerpc/include/asm/context_tracking.h | 10 ++++ arch/powerpc/include/asm/thread_info.h | 7 ++- arch/powerpc/kernel/entry_64.S | 3 +- arch/powerpc/kernel/ptrace.c | 5 ++ arch/powerpc/kernel/signal.c | 5 ++ arch/powerpc/kernel/traps.c | 80 +++++++++++++++++++-------- arch/powerpc/mm/fault.c | 41 +++++++++----- arch/powerpc/mm/hash_utils_64.c | 36 +++++++++--- arch/powerpc/platforms/pseries/Kconfig | 1 + 9 files changed, 140 insertions(+), 48 deletions(-) create mode 100644 arch/powerpc/include/asm/context_tracking.h -- 1.7.9.5