CONFIG_PREEMPT and High Resolution Timers problem

2009-04-04 Thread Vijay Nikam
Hello All, I have mpc8313erdb eval board with Linux-2.6.20 running on it. Recently I had a problem, I wrote a driver and from I am sending notification to user space application using fasync driver method (SIGIO signal). In user space applicaion process I have used posix-timers (timer_create and

[PATCH] fsl-diu-fb: Pass the proper device for dma mapping routines

2009-04-04 Thread Anton Vorontsov
The driver should pass a device that specifies internal DMA ops, but currently NULL pointers are passed, and thus following bug pops up: Freescale DIU driver [ cut here ] kernel BUG at arch/powerpc/include/asm/dma-mapping.h:237! Oops: Exception in kernel mode, sig:

[PATCH] ASoC: fsl_dma: Pass the proper device for dma mapping routines

2009-04-04 Thread Anton Vorontsov
The driver should pass a device that specifies internal DMA ops, but substream-pcm is just a logical device, and thus doesn't have arch- specific dma callbacks, therefore following bug appears: Freescale Synchronous Serial Interface (SSI) ASoC Driver [ cut here ]

[PATCH 1/3] spi_mpc83xx: Handles other Freescale processors

2009-04-04 Thread Anton Vorontsov
With this patch we'll able to select spi_mpc83xx driver on the MPC86xx platforms. Let the driver depend on FSL_SOC, so we don't have to worry about Kconfig anymore. Also remove the experimental dependency, the driver has been tested to work on a various hardware, and surely not experimental

[PATCH 2/3] spi_mpc83xx: Quieten down the Requested speed is too low message

2009-04-04 Thread Anton Vorontsov
When a platform is running at high frequencies it's not always possible to scale-down a frequency to a requested value, and using mmc_spi driver this leads to the following printk flood during card polling: ... mmc_spi spi32766.0: Requested speed is too low: 40 Hz. Will use 520828 Hz

[PATCH 3/3] powerpc/86xx: Add MMC SPI support for MPC8610HPCD boards

2009-04-04 Thread Anton Vorontsov
This patch adds spi and mmc-spi-slot nodes, plus a gpio-controller for PIXIS' sdcsr bank that is used for managing SPI chip-select and for reading card's states. Note that spi-max-frequency is lowered since at high frequencies SD cards don't work reliably (there is some problem with the chip

Re: [PATCH 3/3] powerpc/86xx: Add MMC SPI support for MPC8610HPCD boards

2009-04-04 Thread H. Peter Anvin
Anton Vorontsov wrote: This patch adds spi and mmc-spi-slot nodes, plus a gpio-controller for PIXIS' sdcsr bank that is used for managing SPI chip-select and for reading card's states. Note that spi-max-frequency is lowered since at high frequencies SD cards don't work reliably (there is