MPC8641 based custom board kernel Bug

2013-12-25 Thread Ashish Khetan
Hi, I was trying to port Linux-3.12 for MPC8641 based custom designed board for evaluation purpose. I have been facing a kernel bug at mpic initialization. Is somebody have faced this kind of bugs or can give me any pointer for further steps how to solve kernel bugs will be really helpful. here is

[PATCH] ASoC: fsl_sai: Fix one bug for hardware limitation.

2013-12-25 Thread Xiubo Li
This is maybe one bug or a limitation of the hardware that the {T,R}CR2's Synchronous Mode bits must be set as late as possible, or the SAI device maybe hanged up, and there has not any explaination about this limitation in the SAI Data Sheet. Signed-off-by: Xiubo Li --- sound/soc/fsl/fsl_sai.c

[PATCH] powerpc/powernv: Remove unnecessary assignment

2013-12-25 Thread Gavin Shan
We don't have IO ports on PHB3 and the assignment of variable "iomap_off" on PHB3 is meaningless. The patch just removes the unnecessary assignment to the variable. The code change should have been part of commit c35d2a8c ("powerpc/powernv: Needn't IO segment map for PHB3"). Signed-off-by: Gavin S

[PATCH 4/4] powerpc/fsl-booke: Add initial T208x QDS board support

2013-12-25 Thread Shengzhou Liu
Add support for Freescale T2080/T2081 QDS Development System Board. T2081QDS board shares the same PCB with T1040QDS with some differences. The T2080QDS Development System is a high-performance computing, evaluation, and development platform that supports T2080 QorIQ Power Architecture processor,

[PATCH 3/4] powerpc/fsl-booke: Add support for T2080/T2081 SoC

2013-12-25 Thread Shengzhou Liu
Add support for T2080/T2081 SoC without DPAA components. The T2080 SoC includes the following function and features: - Four dual-threaded 64-bit Power architecture e6500 cores, up to 1.8GHz - 2MB L2 cache and 512KB CoreNet platform cache (CPC) - Hierarchical interconnect fabric - One 32-/64-bit DD

[PATCH 2/4] powerpc/fsl_pci: add versionless pci compatible

2013-12-25 Thread Shengzhou Liu
There are much pci compatible with version on existing platforms. To stop putting version numbers in device tree later, we add a generic compatible 'fsl,qoriq-pcie'. The version number is readable directly from a register. Signed-off-by: Shengzhou Liu --- arch/powerpc/sysdev/fsl_pci.c | 1 + 1 f

[PATCH 1/4] powerpc/85xx/dts: add third elo3 dma component

2013-12-25 Thread Shengzhou Liu
Add elo3-dma-2.dtsi to support the third DMA controller. This is used on T2080, T4240, B4860, etc. FSL MPIC v4.3 adds a new discontiguous address range for internal interrupts, e.g. internal interrupt 0 is at offset 0x200 and thus interrupt number is: 0x200 >> 5 = 16 in the device tree. DMA contr

Re: [PATCH] ibmveth: Fix more little endian issues

2013-12-25 Thread Ben Hutchings
On Tue, 2013-12-24 at 12:55 +1100, Anton Blanchard wrote: > The hypervisor expects MAC addresses passed in registers to be big > endian u64. Create a helper function called ibmveth_encode_mac_addr > which does the right thing in both big and little endian. > > We were storing the MAC address in a

[PATCH 4/4] powerpc/eeh: Eliminate AER gap

2013-12-25 Thread Gavin Shan
The patch intends to implement the backend of eeh_ops::restore_bars so that we can eliminate the gap of AER and PCI error reporting between pHyp and sapphire that is introduced by reset on one specific PE or the whole PHB. It's notable that the PHB3 and P7IOC is sharing the same code to eliminate t

[PATCH 1/4] powerpc/eeh: Add restore_bars operation

2013-12-25 Thread Gavin Shan
After reset on the specific PE or PHB, we never configure AER correctly on PowerNV platform. We needn't care it on pSeries platform. The patch introduces additional EEH operation eeh_ops:: restore_bars() so that we have chance to configure AER correctly for PowerNV platform. Signed-off-by: Gavin S

[PATCH 2/4] powerpc/eeh: Cache AER capability in EEH dev

2013-12-25 Thread Gavin Shan
When fixing AER registers on PowerNV platform, we need the position of AER capability for each PCI device. The patch caches that to EEH device during probe time. Also, the patch figures the EEH device is associated with the upstream port of PCIe bridge or not, which is useful while fixing AER regis

[PATCH 3/4] powerpc/powernv: Detect PHB chip revision

2013-12-25 Thread Gavin Shan
The patch intends to detect the PHB3 chip revision that was exported by the underly firmware. In turn, we can have different AER configuration for switch ports and endpoints accordingly. Signed-off-by: Gavin Shan --- arch/powerpc/platforms/powernv/pci-ioda.c |5 + arch/powerpc/platforms/