Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1659307
| From | Chris Packham <chris.packham@alliedtelesis.co.nz> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | EDAC: simplify total memory calculation |
| Date | 2017-06-07 02:00 +0200 |
| Message-ID | <tPwye-7dr-11@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
This take the approach used by cell_edac.c to obtain the total memory from the devicetree and applies it to mv64x60_edac.c, altera_edac.c and cpc925_edac.c which were all manually parsing the reg property. In the case of mv64x60 this actually fixes cases where #address/size-cells != 1. For altera and cpc925 this is just a cleanup. Chris Packham (3): EDAC: mv64x60: calculate memory size correctly EDAC: altera: simplify calculation of total memory EDAC: cpc925: simplify calculation of total memory drivers/edac/altera_edac.c | 24 ++++++++---------------- drivers/edac/cpc925_edac.c | 32 ++++++++++---------------------- drivers/edac/mv64x60_edac.c | 17 +++++++++++------ 3 files changed, 29 insertions(+), 44 deletions(-) -- 2.13.0
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
EDAC: simplify total memory calculation Chris Packham <chris.packham@alliedtelesis.co.nz> - 2017-06-07 02:00 +0200 [PATCH v2 2/3] EDAC: altera: simplify calculation of total memory Chris Packham <chris.packham@alliedtelesis.co.nz> - 2017-06-07 02:00 +0200 [PATCH v2 1/3] EDAC: mv64x60: calculate memory size correctly Chris Packham <chris.packham@alliedtelesis.co.nz> - 2017-06-07 02:00 +0200
csiph-web