Re: 3.11-rc3+git: __divdi3 undefined on powerpc (from radeon)

2013-08-04 Thread Guenter Roeck
On Sat, Aug 03, 2013 at 03:44:26PM +0300, Meelis Roos wrote: > While trying to compile v3.11-rc3-288-gabe0308 on powerpc 32-bit, > it failed with the following linking error: > > ERROR: "__divdi3" [drivers/gpu/drm/radeon/radeon.ko] undefined! > > Some new 64-bit division in radeon that is not im

Re: [PATCH] drivers/crypto/nx: saves chaining value from co-processor

2013-08-04 Thread Michael Ellerman
On Fri, Aug 02, 2013 at 05:16:56PM -0500, Fionnuala Gunter wrote: > On Sat, 2013-08-03 at 07:59 +1000, Benjamin Herrenschmidt wrote: > > On Fri, 2013-08-02 at 16:55 -0500, Fionnuala Gunter wrote: > > > Sorry, I thought linuxppc-dev was the right tree since the patch is > > > for > > > a ppc driver

Re: [PATCH 2/8] Mark powerpc memory resources as busy

2013-08-04 Thread Michael Ellerman
On Fri, Aug 02, 2013 at 02:05:57PM -0500, Nathan Fontenot wrote: > On 08/01/2013 09:28 PM, Michael Ellerman wrote: > > On Wed, Jul 24, 2013 at 01:36:34PM -0500, Nathan Fontenot wrote: > >> Memory I/O resources need to be marked as busy or else we cannot remove > >> them when doing memory hot remove

Re: [PATCH 3/8] Add all memory via sysfs probe interface at once

2013-08-04 Thread Michael Ellerman
On Fri, Aug 02, 2013 at 02:13:06PM -0500, Nathan Fontenot wrote: > On 08/01/2013 09:32 PM, Michael Ellerman wrote: > > On Wed, Jul 24, 2013 at 01:37:47PM -0500, Nathan Fontenot wrote: > >> When doing memory hot add via the 'probe' interface in sysfs we do not > >> need to loop through and add memor

[PATCH] powerpc: Implement __get_user_pages_fast()

2013-08-04 Thread Paul Mackerras
Other architectures have a __get_user_pages_fast(), in addition to the regular get_user_pages_fast(), which doesn't call get_user_pages() on failure, and thus doesn't attempt to fault pages in or COW them. The generic KVM code uses __get_user_pages_fast() to detect whether a page for which we have

[PATCH] powerpc: Fix VRSAVE handling

2013-08-04 Thread Paul Mackerras
Since 2002, the kernel has not saved VRSAVE on exception entry and restored it on exit; rather, VRSAVE gets context-switched in _switch. This means that when executing in process context in the kernel, the userspace VRSAVE value is live in the VRSAVE register. However, the signal code assumes that

Re: [PATCH] arch: powerpc: kvm: add signed type cast for comparation

2013-08-04 Thread Paul Mackerras
On Mon, Jul 22, 2013 at 02:32:35PM +0800, Chen Gang wrote: > 'rmls' is 'unsigned long', lpcr_rmls() will return negative number when > failure occurs, so it need a type cast for comparing. > > 'lpid' is 'unsigned long', kvmppc_alloc_lpid() return negative number > when failure occurs, so it need a

Re: [PATCH] arch: powerpc: kvm: add signed type cast for comparation

2013-08-04 Thread Chen Gang
On 08/05/2013 12:34 PM, Paul Mackerras wrote: > On Mon, Jul 22, 2013 at 02:32:35PM +0800, Chen Gang wrote: >> > 'rmls' is 'unsigned long', lpcr_rmls() will return negative number when >> > failure occurs, so it need a type cast for comparing. >> > >> > 'lpid' is 'unsigned long', kvmppc_alloc_lpid(

[PATCH v2 1/2] ASoC: fsl: Add S/PDIF CPU DAI driver

2013-08-04 Thread Nicolin Chen
This patch add S/PDIF controller driver for Freescale SoC. Reviewed-by: Lars-Peter Clausen Signed-off-by: Nicolin Chen --- .../devicetree/bindings/sound/fsl,spdif.txt| 62 + sound/soc/fsl/Kconfig |3 + sound/soc/fsl/Makefile

[PATCH v2 0/2] Add freescale S/PDIF CPU DAI and machine drivers

2013-08-04 Thread Nicolin Chen
Changelog: v1->v2: * Dropped one applied patch for spdif dummy codec drivers. * Use generic DMA DT binding. * Let spdif controller driver calculate the clock div. * Added one optional clock source for spdif tx. * Reivsed documentation accordingly. Nicolin Chen (2): ASoC: fsl: Add S/PDIF CPU

[PATCH v2 2/2] ASoC: fsl: Add S/PDIF machine driver

2013-08-04 Thread Nicolin Chen
Add S/PDIF machine driver for Freescale i.MX series SoC. Signed-off-by: Nicolin Chen --- .../devicetree/bindings/sound/imx-audio-spdif.txt | 29 + sound/soc/fsl/Kconfig | 11 ++ sound/soc/fsl/Makefile |2 + sound/soc/fsl/imx-s