[linux-yocto] [PATCH 02/12] i2c: i2c-octeon: broken irqs, high-level controller, retry lost arbitration

2015-01-29 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: David Daney david.da...@cavium.com Combined several changes: Add workaround for chips with broken irqs. Use High Level Controller when possible. Retry more situations where arbitration is lost. Clean up resource allocation code.

[linux-yocto] [PATCH 03/12] i2c: i2c-octeon: Add octeon_i2c_cvmx2i2c() function.

2015-01-29 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: David Daney david.da...@cavium.com ... to allow interaction with cvmx-twsi code. Signed-off-by: David Daney david.da...@cavium.com Signed-off-by: Abhishek Paliwal abhishek.pali...@aricent.com --- arch/mips/include/asm/octeon/octeon.h |

[linux-yocto] [PATCH 01/12] gpio: gpio-octeon: Add preliminary cn78XX support.

2015-01-29 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: David Daney david.da...@cavium.com The addresses of the GPIO_BIT_CFG registers have a different layout on cn78XX. Define OF_GPIO_OPEN_DRAIN flag for Open Drain outputs. Signed-off-by: David Daney david.da...@cavium.com Signed-off-by:

[linux-yocto] [PATCH] MIPS: OCTEON: Add sysfs support for CPU power throttling.

2015-01-29 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: David Daney david.da...@cavium.com Signed-off-by: David Daney david.da...@cavium.com Signed-off-by: Abhishek Paliwal abhishek.pali...@aricent.com --- arch/mips/cavium-octeon/Makefile| 1 +

[linux-yocto] [PATCH 09/12] MIPS: OCTEON: Move call to register_smp_ops() to smp.c...

2015-01-29 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: David Daney david.da...@cavium.com ... in order to keep all SMP related code together. Signed-off-by: David Daney david.da...@cavium.com Signed-off-by: Abhishek Paliwal abhishek.pali...@aricent.com --- arch/mips/cavium-octeon/setup.c

[linux-yocto] [PATCH 06/12] of: Add of_memory_accessor to map device tree node to memory accessor functions.

2015-01-29 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: Aaron Williams aaron.willi...@cavium.com Currently there is no easy way to map a device tree node to a memory accessor function for devices like I2C EEPROMs. For example, the Vitesse vsc848x 10G PHY driver needs to be able to use the I2C

[linux-yocto] [PATCH 07/12] misc/at24: Register memory accessor functions with of_memory_accessor

2015-01-29 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: Aaron Williams aaron.willi...@cavium.com The at24 module will now register its memory accessor functions with its device tree entry so that other modules may call these functions based on the device tree node. Signed-off-by: Aaron

[linux-yocto] [PATCH 04/12] i2c: i2c-octeon: Add support for cn78XX chips.

2015-01-29 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: David Daney david.da...@cavium.com cn78XX has a different interrupt architecture, so we have to manage the interrupts a little differently. Signed-off-by: David Daney david.da...@cavium.com Signed-off-by: Abhishek Paliwal

[linux-yocto] [PATCH 02/13] MIPS: OCTEON: Fix L1 dacache parity for OCTEON3

2015-01-27 Thread Chandrakala Chavva
system. Signed-off-by: David Daney david.da...@cavium.com Signed-off-by: Leonid Rosenboim lrosenb...@caviumnetworks.com Signed-off-by: Chandrakala Chavva ccha...@caviumnetworks.com Signed-off-by: Abhishek Paliwal abhishek.pali...@aricent.com --- arch/mips/cavium-octeon/setup.c | 12 ++- arch

[linux-yocto] [PATCH 08/13] MIPS/OCTEON: TLB parity error handling

2015-01-27 Thread Chandrakala Chavva
david.da...@cavium.com Signed-off-by: Leonid Rosenboim lrosenb...@caviumnetworks.com Signed-off-by: Chandrakala Chavva ccha...@caviumnetworks.com Signed-off-by: Abhishek Paliwal abhishek.pali...@aricent.com --- arch/mips/kernel/genex.S | 20 1 file changed, 20 insertions

[linux-yocto] [PATCH 13/13] EDAC: octeon_edac-lmc: Fixed crash for DIMM1-only case

2015-01-27 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: Prem Mallappa pmalla...@caviumnetworks.com From: David Daney david.da...@cavium.com Signed-off-by: Prem Mallappa pmalla...@caviumnetworks.com Signed-off-by: David Daney david.da...@cavium.com Signed-off-by: Abhishek Paliwal

[linux-yocto] [PATCH 09/13] MIPS/EDAC: Poll for LMC_INT_REG[nxm_wr_err]

2015-01-27 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: Chandrakala Chavva ccha...@caviumnetworks.com Add missing error interrupt, nxm_wr_err, write to no-existent memory. MIPS/EDAC: Set error reporting state to polling For LMC controller set error reporting state to EDAC_OPSTATE_POLL

[linux-yocto] [PATCH 11/13] MIPS: OCTEON: Add module to inject hardware error conditions.

2015-01-27 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: David Daney david.da...@cavium.com From: Leonid Rosenboim lrosenb...@caviumnetworks.com From: Chandrakala Chavva ccha...@caviumnetworks.com MIPS: OCTEON: Force L1 Dcache and TLB parity errors for testing. MIPS: OCTEON: Keep reset value

[linux-yocto] [PATCH 06/13] MIPS: OCTEON: Fix plat_swiotlb_setup() for OCTEON3

2015-01-27 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: David Daney david.da...@cavium.com Signed-off-by: David Daney david.da...@cavium.com Signed-off-by: Abhishek Paliwal abhishek.pali...@aricent.com --- arch/mips/cavium-octeon/dma-octeon.c | 3 ++- 1 file changed, 2 insertions(+), 1

[linux-yocto] [PATCH 03/13] MIPS/EDAC: Cavium: Updated L2C error checking for OCTEON3.

2015-01-27 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: Chandrakala Chavva ccha...@caviumnetworks.com Use correct CSR for checking Double/Single bit ECC errors for various types. Signed-off-by: Chandrakala Chavva ccha...@caviumnetworks.com Signed-off-by: Abhishek Paliwal abhishek.pali

[linux-yocto] [PATCH 05/13] MIPS: Handle CPU_CAVIUM_OCTEON3 like CPU_CAVIUM_OCTEON2 in clear_page.

2015-01-27 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: David Daney dda...@caviumnetworks.com MIPS: Add Octeon2 optimizations to clear_page. Use the ZCBT instruction for Octeon2. Reduce the number of generated instructions when possible. Both OCTEON3 and OCTEON2 use the same instrucitons for

[linux-yocto] [PATCH 07/13] MIPS/EDAC: Cavium: Fix compilation errors.

2015-01-27 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: Chandrakala Chavva ccha...@caviumnetworks.com FAM_* macros are replaced with OCTEON_IS_OCTEON* macros. Signed-off-by: Chandrakala Chavva ccha...@caviumnetworks.com Signed-off-by: Abhishek Paliwal abhishek.pali...@aricent.com --- drivers

[linux-yocto] [PATCH 12/13] edac/octeon_edac-lmc: Fix kernel panic when 1 DDR present

2015-01-27 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: Prem Mallappa pmalla...@caviumnetworks.com From: David Daney david.da...@cavium.com Add check to see if DDR is available. Signed-off-by: Prem Mallappa pmalla...@caviumnetworks.com Signed-off-by: David Daney david.da...@cavium.com

[linux-yocto] [PATCH 00/13] MIPS-Update EDAC L2C and LMC driver support for Octeon3

2015-01-27 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com Update EDAC L2C and LMC driver support for Octeon3. Added new Error injector module to verify L2C and various other error conditions. Updated clearing of page in linux kernel by using ZCB instructions, new instruction added in Octeon2 and

[linux-yocto] [PATCH 04/13] MIPS: Add ZCB and ZCBT instructions to uasm.

2015-01-27 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: David Daney dda...@caviumnetworks.com These instructions are available in OCTEON II CPUs. Signed-off-by: David Daney dda...@caviumnetworks.com Signed-off-by: Leonid Rosenboim lrosenb...@caviumnetworks.com Signed-off-by: Abhishek Paliwal

[linux-yocto] [PATCH 1/9] MIPS OCTEON Add OCTEON3 to get cpu type

2015-01-23 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: Andreas Herrmann andreas.herrm...@caviumnetworks.com commit cd3f5389489146297eb2c11e4f9d1c4e8aaeb59f upstream Otherwise __builtin_unreachable might be called. Signed-off-by: Andreas Herrmann andreas.herrm...@caviumnetworks.com Cc:

[linux-yocto] [PATCH 2/9] MIPS OCTEON Enable use of FPU

2015-01-23 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: David Daney david.da...@cavium.com commit a36d8225bceba4b7be47ade34d175945f85cffbc upstream Some versions of the assembler will not assemble CFC1 for OCTEON, so override the ISA for these. Add r4k_fpu.o to handle low level FPU

[linux-yocto] [PATCH 6/9] MIPS Override assembler ISA for kernel FPU instruction.

2015-01-23 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: David Daney david.da...@cavium.com Some versions of the assembler will not assemble CFC1 for OCTEON, so override the ISA for these. Signed-off-by: David Daney david.da...@cavium.com Signed-off-by: Abhishek Paliwal

[linux-yocto] [PATCH 9/9] MIPS:OCTEON: More OCTEONIII support

2015-01-23 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: Chandrakala Chavva ccha...@caviumnetworks.com Read clock rate from the correct CSR. Don't clear COP0_DCACHE for OCTEONIII. Signed-off-by: Chandrakala Chavva ccha...@caviumnetworks.com Signed-off-by: Abhishek Paliwal abhishek.pali

[linux-yocto] [PATCH 7/9] MIPS: Octeon: Implement the core-16057 workaround

2015-01-23 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: David Daney david.da...@cavium.com Disable ICache prefetch for certian Octeon II processors. Signed-off-by: David Daney david.da...@cavium.com Signed-off-by: Abhishek Paliwal abhishek.pali...@aricent.com ---

[linux-yocto] [PATCH 5/9] MIPS donot build fast TLB refill handler with 32-bit kernels.

2015-01-23 Thread Chandrakala Chavva
From: Abhishek Paliwal abhishek.pali...@aricent.com From: David Daney david.da...@cavium.com commit 35d0470668cca234e49ed35342b3f9a0eec8355c upstream The fast handler only supports 64-bit kernels. Signed-off-by: David Daney david.da...@cavium.com Signed-off-by: Andreas Herrmann