memory: tegra: Add MC error logging support for Tegra264 SoC
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest6 patches 4 repliesApplied
- v64 patches 3 repliesSuperseded
- v54 patches 6 repliesSuperseded
Earlier versions · 4
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v4 | 4 patches | 4 replies | Superseded | |
| v3 | 4 patches | 1 reply | Superseded | |
| v2 | 4 patches | 0 replies | Superseded | |
| v1 | 4 patches | 1 reply | Superseded |
Changes in v7 from the cover letter
- Removed WARN_ON from tegra30_mc_handle_irq function and handled error path by returning error value.
- Moved IRQ handler from tegra_mc_ops struct to tegra_mc_soc as it is a SoC specific entity.
- Splitted the 4th patch from v6 into 3 patches for easier review, improved commit message.
Patches in v7 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | memory: tegra: Group error handling related registersdrivers/ drivers/ drivers/ +8 more | +71 | 0 replies | |
| 2/6 | memory: tegra: Group register and fieldsdrivers/ | +33 | 0 replies | |
| 3/6 | memory: tegra: Add support for multiple IRQsdrivers/ drivers/ drivers/ +8 more | +49 | 0 replies | |
| 4/6 | memory: tegra: Group SoC specific fieldsdrivers/ drivers/ drivers/ +8 more | +25 | 0 replies | |
| 5/6 | memory: tegra: Prepare for supporting multiple intmask registersdrivers/ drivers/ drivers/ +8 more | +125 | 0 replies | |
| 6/6 | memory: tegra: Add MC error logging support for Tegra264drivers/ drivers/ drivers/ +1 more | +484 | 0 replies |
Reviews trailers per patch
None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Jon Hunter |
|---|---|
| Series | R-b T-b |
| 1/6 | |
| 2/6 | |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v7 0/6] memory: tegra: Add MC error logging support for Tegra264 SoC
In Tegra264, different components from memory subsystems like Memory Controller Fabric (MCF), HUB, HUB Common (HUBC), Side Band Shim (SBS) and MC Channels have different interrupt lines for receiving memory controller error interrupts. This patch set includes changes to add support and enable Memory Controller error logging for Tegra264.
Ketan Patil (6):
memory: tegra: Group error handling related registers
memory: tegra: Group register and fields
memory: tegra: Add support for multiple IRQs
memory: tegra: Group SoC specific fields
memory: tegra: Prepare for supporting multiple intmask registers
memory: tegra: Add MC error logging support for Tegra264
---
Changes in v7:
- Removed WARN_ON from tegra30_mc_handle_irq function and handled error path by returning error value.
- Moved IRQ handler from tegra_mc_ops struct to tegra_mc_soc as it is a SoC specific entity.
- Splitted the 4th patch from v6 into 3 patches for easier review, improved commit message.
Changes in v6:
- Updated copyright year and commit message.
- Removed redundant mc_ prefix from few structs.
- Grouped the masks and bits next to the associated registers which were missed in previous revision.
- Separated out Tegra264 specific registers from previous SoC registers.
- Reduced variables in mcf_log_fault, hub_log_fault functions.
Changes in v5:
- Updated commit message to clarify the need of grouping of mc-err registers and support for multiple interrupts, so that it can support Tegra264.
Changes in v4:
- Fixed typo in variable name
- Added MC instance aperture mapping for hubc registers and corrected irq handler function to read from respective mc aperture.
Changes in v3:
- Fixed compilation error with W=1 build
Changes in v2:
- Fixed warning due to use of uninitialized variable by returning back from the function
- Removed unnecessary extern declaration of tegra264_mc_ops
- Updated tegra20_mc_irq_handlers, tegra264_mc_irq_handlers and tegra264_mc_ops to static
drivers/memory/tegra/mc.c | 110 ++++++--- drivers/memory/tegra/mc.h | 153 ++++++++---- drivers/memory/tegra/tegra114.c | 18 +- drivers/memory/tegra/tegra124.c | 40 ++- drivers/memory/tegra/tegra186.c | 22 +- drivers/memory/tegra/tegra194.c | 22 +- drivers/memory/tegra/tegra20.c | 31 ++- drivers/memory/tegra/tegra210.c | 21 +- drivers/memory/tegra/tegra234.c | 22 +- drivers/memory/tegra/tegra264.c | 420 +++++++++++++++++++++++++++++++- drivers/memory/tegra/tegra30.c | 18 +- include/soc/tegra/mc.h | 40 ++- 12 files changed, 781 insertions(+), 136 deletions(-)
Signature · 1 line
2.17.1