[PATCH] powerpc: Fix hugetlb with CONFIG_PPC_MM_SLICES=y

2011-09-20 Thread Paul Mackerras
Commit 41151e77a4 ("powerpc: Hugetlb for BookE") added some #ifdef CONFIG_MM_SLICES conditionals to hugetlb_get_unmapped_area() and vma_mmu_pagesize(). Unfortunately this is not the correct config symbol; it should be CONFIG_PPC_MM_SLICES. The result is that attempting to use hugetlbfs on 64-bit

linux-next: manual merge of the moduleh tree with the powerpc tree

2011-09-20 Thread Stephen Rothwell
Hi Paul, Today's linux-next merge of the moduleh tree got a conflict in arch/powerpc/mm/tlb_nohash.c between commit 41151e77a4d9 ("powerpc: Hugetlb for BookE") from the powerpc tree and commit 09773e3bc0e4 ("powerpc: include export.h for files using EXPORT_SYMBOL/THIS_MODULE") from the moduleh tre

linux-next: manual merge of the tty tree with the powerpc tree

2011-09-20 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the tty tree got conflicts in arch/powerpc/include/asm/udbg.h and arch/powerpc/kernel/udbg.c between commit c26afe9e8591 ("powerpc/ps3: Add gelic udbg driver") from the powerpc tree and commit dcd83aaff1c8 ("tty/powerpc: introduce the ePAPR embedded hypervisor

Re: [PATCH] fsl-diu-fb: remove the ioctl interface

2011-09-20 Thread Tabi Timur-B04825
Anatolij, I'm sorry to resurrect an old thread, but ... On Wed, Jun 22, 2011 at 3:11 PM, Anatolij Gustschin wrote: > On Tue, 21 Jun 2011 23:13:11 + > Tabi Timur-B04825 wrote: > >> Anatolij Gustschin wrote: >> > No! We are using ioctl interface of this driver in many video >> > rendering app

Re: power-next

2011-09-20 Thread Benjamin Herrenschmidt
On Tue, 2011-09-20 at 20:30 +1000, Stephen Rothwell wrote: > Hi Ben, > > On Tue, 20 Sep 2011 16:46:14 +1000 Benjamin Herrenschmidt > wrote: > > > > Hi folks ! > > > > So I've finally got to setup a branch on github for powerpc next. > > > > I've also committed a bunch of stuff to it, so here i

[PATCH] drivers/tty: don't use the byte channel handle as a parameter in ehv_bytechan.c

2011-09-20 Thread Timur Tabi
The ePAPR hypervisor byte channel console driver only supports one byte channel as a console, and the byte channel handle is stored in a global variable. It doesn't make any sense to pass that handle as a parameter to the console functions, since these functions already have access to the global v

Re: [PATCH 1/2] gpio: move mpc8xxx/512x gpio driver to drivers/gpio

2011-09-20 Thread Grant Likely
On Tue, Sep 20, 2011 at 07:32:20PM +0200, Wolfram Sang wrote: > Move the driver to the place where it is expected to be nowadays. Also > rename its CONFIG-name to match the rest and adapt the defconfigs. > Finally, move selection of REQUIRE_GPIOLIB or WANTS_OPTIONAL_GPIOLIB to > the platforms, beca

Re: [PATCH 1/2] gpio: move mpc8xxx/512x gpio driver to drivers/gpio

2011-09-20 Thread Wolfram Sang
On Tue, Sep 20, 2011 at 07:32:20PM +0200, Wolfram Sang wrote: > Move the driver to the place where it is expected to be nowadays. Also > rename its CONFIG-name to match the rest and adapt the defconfigs. > Finally, move selection of REQUIRE_GPIOLIB or WANTS_OPTIONAL_GPIOLIB to > the platforms, beca

[PATCH 1/2] gpio: move mpc8xxx/512x gpio driver to drivers/gpio

2011-09-20 Thread Wolfram Sang
Move the driver to the place where it is expected to be nowadays. Also rename its CONFIG-name to match the rest and adapt the defconfigs. Finally, move selection of REQUIRE_GPIOLIB or WANTS_OPTIONAL_GPIOLIB to the platforms, because this option is per-platform and not per-driver. Signed-off-by: Wo

[PATCH 2/2] powerpc: update 512x-defconfig

2011-09-20 Thread Wolfram Sang
Activate all MPC512x related boards. Also enable GPIO-driver, SPI driver and at25 to test SPI. Enable DEVTMPFS. Bump to 3.1-rc6. Signed-off-by: Wolfram Sang Cc: Anatolij Gustschin Cc: Benjamin Herrenschmidt --- arch/powerpc/configs/mpc512x_defconfig | 19 +++ 1 files changed,

[PATCH] powerpc: reserve iommu page 0

2011-09-20 Thread Thadeu Lima de Souza Cascardo
Some devices have a dma-window that starts at the address 0. This allows DMA addresses to be mapped to this address and returned to drivers as a valid DMA address. Some drivers may not behave well in this case, since the address 0 is considered an error or not allocated. The solution to avoid this

Re: power-next

2011-09-20 Thread Stephen Rothwell
Hi Ben, On Tue, 20 Sep 2011 16:46:14 +1000 Benjamin Herrenschmidt wrote: > > Hi folks ! > > So I've finally got to setup a branch on github for powerpc next. > > I've also committed a bunch of stuff to it, so here it is. I'll go back > to kernel.org as soon as it's been fixed. > > https://git

Re: [PATCH 0/5] ppc64 scheduler fixes

2011-09-20 Thread Peter Zijlstra
On Tue, 2011-09-20 at 10:19 +1000, Anton Blanchard wrote: > > Acked-by: Peter Zijlstra > > Are you OK if Ben takes this, or would you prefer to send it via the > scheduler tree? I was expecting Ben to pick it up, and I see he already did so. Thanks!