Re: [PATCH v2] powerpc/setup_{32, 64}.c: remove unneeded boot_cpuid{, _phys}

2011-12-16 Thread Benjamin Herrenschmidt
On Fri, 2011-12-16 at 15:29 -0600, Scott Wood wrote: > It would be nice if we could eliminate all usage of the boot cpu dtb > field -- it's easy to forget to set it, especially if you're not making > an AMP config. The default -1 means this patch would break booting with > such a tree. > > If we

Re: [PATCH v2] powerpc/setup_{32, 64}.c: remove unneeded boot_cpuid{, _phys}

2011-12-16 Thread Scott Wood
On 12/15/2011 09:35 PM, Benjamin Herrenschmidt wrote: > On Fri, 2011-12-16 at 03:29 +, McClintock Matthew-B29882 wrote: >> On Thu, Dec 15, 2011 at 9:12 PM, Benjamin Herrenschmidt >> wrote: >>> On Mon, 2011-11-28 at 22:24 -0600, Matthew McClintock wrote: boot_cpuid and init_thread_info.cpu

Re: [PATCH] phylib: update mdiobus_alloc() to allocate extra private space

2011-12-16 Thread Timur Tabi
David Miller wrote: > Make the change how I suggested, where mdiobus_alloc() retains it's current > function signature and semantics. Then you can edit drivers as needed rather > than from the beginning. Yes, your approach makes much more sense. I should have thought of it. -- Timur Tabi Linux

Re: [PATCH] phylib: update mdiobus_alloc() to allocate extra private space

2011-12-16 Thread David Miller
From: Timur Tabi Date: Thu, 15 Dec 2011 11:12:01 -0600 > Andy Fleming wrote: >> Why? Doesn't this just obfuscate things a little, while providing no >> immediate benefit? > > I see code like this frequently: > > bus = mdiobus_alloc(); > if (bus == NULL) > return -ENOM

Re: [PATCH] phylib: update mdiobus_alloc() to allocate extra private space

2011-12-16 Thread David Miller
From: Timur Tabi Date: Thu, 15 Dec 2011 10:51:35 -0600 > Augment mdiobus_alloc() to take a parameter indicating the number of extra > bytes to allocate for private data. Almost all callers of mdiobus_alloc() > separately allocate a private data structure. By allowing mdiobus_alloc() > to alloca

Re: [PATCH 3/3] mtd/nand : workaround for Freescale FCM to support large-page Nand chip

2011-12-16 Thread Scott Wood
On 12/15/2011 08:44 PM, LiuShuo wrote: > hi Artem, > Could this patch be applied now and we make a independent patch for bad > block information > migration later? This patch is not safe to use without migration. -Scott ___ Linuxppc-dev mailing list L