Linux-EDAC Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH v4 0/2] Add EDAC support for Cadence ddr controller
@ 2020-04-24  8:31 Dhananjay Kangude
  2020-04-24  8:31 ` [PATCH v4 1/2] dt-bindings: edac: Add cadence ddr mc support Dhananjay Kangude
  2020-04-24  8:31 ` [PATCH v4 2/2] EDAC/Cadence:Add EDAC driver for cadence memory controller Dhananjay Kangude
  0 siblings, 2 replies; 5+ messages in thread
From: Dhananjay Kangude @ 2020-04-24  8:31 UTC (permalink / raw)
  To: linux-edac
  Cc: bp, mchehab, tony.luck, james.morse, linux-kernel, mparab,
	robh+dt, devicetree, Dhananjay Kangude

These patches add new edac driver for Cadence ddr memory controller.
Cadence controller detects single(CE) and double(UE) bit errors during
memory operations(RMW). DDR controller raised the interrupt on detection
of the ecc error event and fill the data into registers. Driver handle
the interrupt event and notify edac subsystem about ecc errors.

Changes since v4:
=================
- Add Makefile change
- Coreected YAML file fixes

Changes since v3:
=================
- Corrected YAML file location

Changes since v2:
=================
- Added minor fixes to YAML file
- Split ISR into two differnt functions
- Removed unused paramters
- Fixed indentation issues
- Improved code readabilty
- Checked return value for edac_get_dimm
- Modified quirks as a ip_features

Changes since v1:
=================
- Made predefined arrays as static
  Fixes: 201447a5db9b ("EDAC/Cadence:Add EDAC driver for cadence memory controller")
- Replace macro 'EDAC_DIMM_PTR' with newly introduce function
- Removed unused variable root*** SUBJECT HERE ***

Dhananjay Kangude (2):
  dt-bindings: edac: Add cadence ddr mc support
  EDAC/Cadence:Add EDAC driver for cadence memory controller

 .../devicetree/bindings/edac/cdns,ddr-edac.yaml    |   45 ++
 drivers/edac/Kconfig                               |    8 +
 drivers/edac/Makefile                              |    1 +
 drivers/edac/cadence_edac.c                        |  641 ++++++++++++++++++++
 4 files changed, 695 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/edac/cdns,ddr-edac.yaml
 create mode 100644 drivers/edac/cadence_edac.c


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, back to index

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24  8:31 [PATCH v4 0/2] Add EDAC support for Cadence ddr controller Dhananjay Kangude
2020-04-24  8:31 ` [PATCH v4 1/2] dt-bindings: edac: Add cadence ddr mc support Dhananjay Kangude
2020-04-27 21:31   ` Rob Herring
2020-04-24  8:31 ` [PATCH v4 2/2] EDAC/Cadence:Add EDAC driver for cadence memory controller Dhananjay Kangude
2020-05-11 17:44   ` James Morse

Linux-EDAC Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-edac/0 linux-edac/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-edac linux-edac/ https://lore.kernel.org/linux-edac \
		linux-edac@vger.kernel.org
	public-inbox-index linux-edac

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-edac


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git