Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935427AbcCPX4y (ORCPT ); Wed, 16 Mar 2016 19:56:54 -0400 Received: from mail-pf0-f176.google.com ([209.85.192.176]:33893 "EHLO mail-pf0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S935351AbcCPX4w (ORCPT ); Wed, 16 Mar 2016 19:56:52 -0400 Subject: Re: [v3,1/8] powerpc: Create a helper for getting the kernel toc value To: Torsten Duwe , Michael Ellerman References: <3qNsms00H7z9snl@ozlabs.org> <1458123799.27361.3.camel@ellerman.id.au> <20160316145851.GA15870@lst.de> Cc: pmladek@suse.com, jeyu@redhat.com, Jiri Kosina , linux-kernel@vger.kernel.org, rostedt@goodmis.org, kamalesh@linux.vnet.ibm.com, linuxppc-dev@ozlabs.org, live-patching@vger.kernel.org, mbenes@suse.cz From: Balbir Singh Message-ID: <56E9F2BD.2050504@gmail.com> Date: Thu, 17 Mar 2016 10:56:45 +1100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <20160316145851.GA15870@lst.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 534 Lines: 13 On 17/03/16 01:58, Torsten Duwe wrote: > On Wed, Mar 16, 2016 at 09:23:19PM +1100, Michael Ellerman wrote: >> Sure. I'll try and get something working, though this merge window is not >> starting well so I may not get time for a few weeks :) > Do you already have something in mind? > Can you give us a hint? > > We need extra space in the stack, it can be on top of the stack with a pointer in PACA, we could use a fixed set size stack for only LR restore, if required TOC restore, but I think we only need LR space Balbir Singh.