Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753965AbcDSKRn (ORCPT ); Tue, 19 Apr 2016 06:17:43 -0400 Received: from ozlabs.org ([103.22.144.67]:37559 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753502AbcDSKQf (ORCPT ); Tue, 19 Apr 2016 06:16:35 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 5d31a96e6c0187f2c5d7004e005fd094a1277e9e In-Reply-To: <1460552003-15409-5-git-send-email-mpe@ellerman.id.au> To: Michael Ellerman , From: Michael Ellerman Cc: pmladek@suse.com, jeyu@redhat.com, jikos@kernel.org, linux-kernel@vger.kernel.org, rostedt@goodmis.org, kamalesh@linux.vnet.ibm.com, duwe@lst.de, live-patching@vger.kernel.org, mbenes@suse.cz Subject: Re: [4/5] powerpc/livepatch: Add livepatch stack to struct thread_info Message-Id: <3qq1Bm5pBgz9t8m@ozlabs.org> Date: Tue, 19 Apr 2016 20:16:32 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 721 Lines: 19 On Wed, 2016-13-04 at 12:53:22 UTC, Michael Ellerman wrote: > In order to support live patching we need to maintain an alternate > stack of TOC & LR values. We use the base of the stack for this, and > store the "live patch stack pointer" in struct thread_info. > > Unlike the other fields of thread_info, we can not statically initialise > that value, so it must be done at run time. > > This patch just adds the code to support that, it is not enabled until > the next patch which actually adds live patch support. > > Signed-off-by: Michael Ellerman > Acked-by: Balbir Singh Applied to powerpc next. https://git.kernel.org/powerpc/c/5d31a96e6c0187f2c5d7004e00 cheers