Dan Carpenter
|
d8c27ba86a
|
EDAC, thunderx: Fix memory leak in thunderx_l2c_threaded_isr()
Fix memory leak in L2c threaded interrupt handler.
[ bp: Rewrite commit message. ]
Fixes: 41003396f9 ("EDAC, thunderx: Add Cavium ThunderX EDAC driver")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
CC: David Daney <[email protected]>
CC: Jan Glauber <[email protected]>
CC: Mauro Carvalho Chehab <[email protected]>
CC: Sergey Temerkhanov <[email protected]>
CC: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/20181013102843.GG16086@mwanda
|
2018-10-13 13:58:06 +02:00 |
|
Kees Cook
|
6663484b4e
|
EDAC, thunderx: Remove VLA usage
In the quest to remove all stack VLA usage from the kernel[1], switch to
using a kmalloc-allocated buffer instead of stack space. This should be
fine since the existing routine is allocating memory too.
Signed-off-by: Kees Cook <[email protected]>
Acked-by: Jan Glauber <[email protected]>
Cc: David Daney <[email protected]>
Cc: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/20180629184850.GA37464@beast
Link: https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com [1]
Signed-off-by: Borislav Petkov <[email protected]>
|
2018-07-09 11:33:02 +02:00 |
|
Jan Glauber
|
f821fe8cc7
|
EDAC, thunderx: Remove suspend/resume support
The memory controller on ThunderX/OcteonTX systems does not support
power management. Therefore remove the suspend/resume callbacks.
Signed-off-by: Jan Glauber <[email protected]>
Cc: David Daney <[email protected]>
Cc: Jan Glauber <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: Suzuki K Poulose <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Zhangshaokun <[email protected]>
Cc: [email protected]
Cc: linux-edac <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Borislav Petkov <[email protected]>
|
2017-09-27 17:35:58 +02:00 |
|
Christophe JAILLET
|
3eaef0fa39
|
EDAC, thunderx: Fix error handling path in thunderx_lmc_probe()
Return the proper error value if ioremap() fails (and not 0).
Signed-off-by: Christophe JAILLET <[email protected]>
Cc: David Daney <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: linux-edac <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
[ Massage commit message, remove newline. ]
Signed-off-by: Borislav Petkov <[email protected]>
|
2017-08-18 19:12:08 +02:00 |
|
Borislav Petkov
|
c54182ec0e
|
EDAC: Get rid of mci->mod_ver
It is a write-only variable so get rid of it.
Signed-off-by: Borislav Petkov <[email protected]>
Acked-by: Robert Richter <[email protected]>
Acked-by: Michal Simek <[email protected]>
Acked-by: Thor Thayer <[email protected]>
Acked-by: Tony Luck <[email protected]>
Cc: Mark Gross <[email protected]>
Cc: Tim Small <[email protected]>
Cc: Ranganathan Desikan <[email protected]>
Cc: "Arvind R." <[email protected]>
Cc: Jason Baron <[email protected]>
Cc: "Sören Brinkmann" <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: David Daney <[email protected]>
Cc: Loc Ho <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
|
2017-07-17 13:42:48 +02:00 |
|
Vadim Lomovtsev
|
cf97825862
|
EDAC, thunderx: Fix a warning during l2c debugfs node creation
Compare the number of debugfs entries created by
thunderx_create_debugfs_nodes() with the requested number of entries to
properly determine whether to print a warning.
Signed-off-by: Vadim Lomovtsev <[email protected]>
Cc: linux-edac <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Sergey Temerkhanov <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
|
2017-06-01 20:08:17 +02:00 |
|
Sergey Temerkhanov
|
5195c206fd
|
EDAC, thunderx: Remove unused code
Remove unused code reserved for upcoming CPUs.
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Sergey Temerkhanov <[email protected]>
Cc: David Daney <[email protected]>
Cc: [email protected]
Cc: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Borislav Petkov <[email protected]>
|
2017-04-07 11:49:32 +02:00 |
|
Sergey Temerkhanov
|
3d2d8c0f84
|
EDAC, thunderx: Change LMC index calculation
Shift the node number by 3 bits instead of 8 allowing proper functioning
with default EDAC_MAX_MCS.
Signed-off-by: Sergey Temerkhanov <[email protected]>
Cc: David Daney <[email protected]>
Cc: [email protected]
Cc: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Borislav Petkov <[email protected]>
|
2017-04-07 11:47:44 +02:00 |
|
Jan Glauber
|
621c4fe3cc
|
EDAC, thunderx: Fix L2C MCI interrupt disable
Fix a typo that disabled the MCI interrupts using the wrong bitmask.
Signed-off-by: Jan Glauber <[email protected]>
Cc: David Daney <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: Sergey Temerkhanov <[email protected]>
Cc: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Borislav Petkov <[email protected]>
|
2017-04-05 14:46:05 +02:00 |
|
Sergey Temerkhanov
|
41003396f9
|
EDAC, thunderx: Add Cavium ThunderX EDAC driver
Add support for Cavium ThunderX EDAC capable on-chip peripherals, namely
the DRAM controller (LMC), cache coherent processor interconnect (CCPI)
and level 2 cache blocks (L2C-TAD, L2C-MCI, L2C-CBC)
Signed-off-by: Sergey Temerkhanov <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Borislav Petkov <[email protected]>
|
2017-03-27 11:43:56 +02:00 |
|