Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753494Ab3EMFwO (ORCPT ); Mon, 13 May 2013 01:52:14 -0400 Received: from gate.crashing.org ([63.228.1.57]:58011 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752072Ab3EMFwN (ORCPT ); Mon, 13 May 2013 01:52:13 -0400 Message-ID: <1368424306.19924.20.camel@pasglop> Subject: Re: [RFC PATCH v3 0/5] powerpc: Support context tracking for Power pSeries From: Benjamin Herrenschmidt To: Li Zhong Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, paulmck@linux.vnet.ibm.com, fweisbec@gmail.com, paulus@samba.org, michael@ellerman.id.au, Anton Blanchard Date: Mon, 13 May 2013 15:51:46 +1000 In-Reply-To: <1368422493-9831-1-git-send-email-zhong@linux.vnet.ibm.com> References: <1368422493-9831-1-git-send-email-zhong@linux.vnet.ibm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.6.4-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1892 Lines: 44 On Mon, 2013-05-13 at 13:21 +0800, Li Zhong wrote: > 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. So that's yet another pile of bloat on all syscall entry/exit and exception entry/exit. What is it used for ? (I haven't followed on x86_64 side). Cheers, Ben. > v3: > > This version is mainly a rebasing, against 3.10-rc1, also as the common code > to handle the exception are pulled into 3.10, so there is no dependency on > tip tree. So patch #2 and #6 in previous version_2 is merged together. > > 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 | 91 ++++++++++++++++++++------- > arch/powerpc/mm/fault.c | 16 ++++- > arch/powerpc/mm/hash_utils_64.c | 38 ++++++++--- > arch/powerpc/platforms/pseries/Kconfig | 1 + > 9 files changed, 140 insertions(+), 36 deletions(-) > create mode 100644 arch/powerpc/include/asm/context_tracking.h > -- 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/