Re: [PATCH RFC] ASoC: fsl: Add Freescale Generic ASoC Sound Card with ASRC support

2014-08-16 Thread Mark Brown
On Wed, Jul 30, 2014 at 07:27:38PM +0800, Nicolin Chen wrote: > The Freescale Generic ASoC Sound Card is a general ASoC DAI Link driver that > can be used, ideally, for all Freescale CPU DAI drivers and external CODECs. Applied, thanks. signature.asc Description: Digital signature __

[PATCH 4/5] powerpc/eeh: Reenable PCI devices after reset

2014-08-16 Thread Gavin Shan
The PCI devices that have been passed through are enabled before reset, we need restore to the enabled state after reset. Otherwise, MMIO access might be issued to disabled devices after reset and causes exceptional recursive EEH error. Signed-off-by: Gavin Shan --- arch/powerpc/kernel/eeh.c | 6

[PATCH 2/5] powerpc/eeh: Add eeh_pe_state sysfs entry

2014-08-16 Thread Gavin Shan
The patch adds sysfs entry "eeh_pe_state". Reading on it returns the PE's state while writing to it clears the frozen state. It's used to check or clear the PE frozen state from userland for debugging purpose. The patch also replaces printk(KERN_WARNING ...) with pr_warn() in eeh_sysfs.c Signed-o

[PATCH 1/5] powerpc/eeh: Drop unused argument in eeh_check_failure()

2014-08-16 Thread Gavin Shan
eeh_check_failure() is used to check frozen state of the PE which owns the indicated I/O address. The argument "val" of the function isn't used. The patch drops it and return the frozen state of the PE as expected. Cc: Vishal Mansur Signed-off-by: Gavin Shan --- arch/powerpc/include/asm/eeh.h |

[PATCH 5/5] powerpc/eeh: Clear frozen state on passing device

2014-08-16 Thread Gavin Shan
When passing through device, its PE might have been put into frozen state. One obvious example would be: the passed PE is forced to be offline because of hitting maximal allowed EEH errors in userland. In that case, the frozen state won't be cleared and then the PE is returned back to host, which m

[PATCH 3/5] powerpc/eeh: Freeze PE before PE reset

2014-08-16 Thread Gavin Shan
The patch adds one more option (EEH_OPT_FREEZE_PE) to set_option() method to proactively freeze PE, which will be issued before resetting pass-throughed PE to drop MMIO access during reset because it's always contributing to recursive EEH error. Signed-off-by: Gavin Shan --- arch/powerpc/include

[PATCH 0/5] powerpc: EEH fixes

2014-08-16 Thread Gavin Shan
The series of patches is to fix recursive EEH error during recovery for VFIO-PCI except some cleanup. The recursive EEH error is caused by MMIO access when the PE is under reset or the PCI device isn't enabled yet. The solution is to freeze the PE until the PCI device is enabled after PE reset. An