From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <1347597870.6883.0.camel@concordia> Subject: Re: [PATCH] powerpc: Add an xmon command to dump one or all pacas From: Michael Ellerman To: Benjamin Herrenschmidt Date: Fri, 14 Sep 2012 14:44:30 +1000 In-Reply-To: <1347439541.2603.100.camel@pasglop> References: <1347436360-29095-1-git-send-email-michael@ellerman.id.au> <1347439541.2603.100.camel@pasglop> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 2012-09-12 at 18:45 +1000, Benjamin Herrenschmidt wrote: > On Wed, 2012-09-12 at 17:52 +1000, Michael Ellerman wrote: > > This was originally motivated by a desire to see the mapping between > > logical and hardware cpu numbers. > > > > But it seemed that it made more sense to just add a command to dump > > (most of) the paca. > > > > With no arguments "dp" will dump the paca for all possible cpus. If > > there are no possible cpus, like early in boot, it will tell you that. > > I'd rather "dp" dump the paca for the current active CPU in xmon. > Shouldn't be hard to make a "dpa" that dumps them all too. OK. I also want to be able to dump the paca of a cpu not in xmon, so I'll keep the "dp #" variant as well. cheers