[PATCH v2 0/2] Memory controller hot reset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

Tegra's memory controller has a "memory hot reset" functionality that
blocks all memory transactions for the memory client. During reset of HW,
it could perform DMA and resetting HW during DMA could lead to a system
hang or memory corruption, so here comes the memory hot reset that blocks
all interactions of HW with memory so that it could be reset safely. Memory
hot reset is urgently required for multimedia, like GPU or video decoder,
as it is quite easy to get into trouble without a proper HW reset.

The short series introduces a custom Tegra-specific memory hot reset API.

Since first revision of this patchset haven't got any comment, I'm trying
again with a V2 that has one minor correction compared to V1, I've added
terga_mc_hotreset_assert()/deassert() functions as in V1 there was only
tegra_mc_hot_reset() and turned out it is not enough.

Please review, thanks.

Dmitry Osipenko (2):
  memory: tegra: Squash tegra20-mc into common tegra-mc driver
  memory: tegra: Introduce memory client hot reset API

 drivers/memory/Kconfig          |  10 -
 drivers/memory/Makefile         |   1 -
 drivers/memory/tegra/Makefile   |   1 +
 drivers/memory/tegra/mc.c       | 433 ++++++++++++++++++++++++++++++++++------
 drivers/memory/tegra/mc.h       |  10 +
 drivers/memory/tegra/tegra114.c |  25 +++
 drivers/memory/tegra/tegra124.c |  32 +++
 drivers/memory/tegra/tegra20.c  |  95 +++++++++
 drivers/memory/tegra/tegra210.c |  27 +++
 drivers/memory/tegra/tegra30.c  |  25 +++
 drivers/memory/tegra20-mc.c     | 254 -----------------------
 include/soc/tegra/mc.h          |  81 +++++++-
 12 files changed, 669 insertions(+), 325 deletions(-)
 create mode 100644 drivers/memory/tegra/tegra20.c
 delete mode 100644 drivers/memory/tegra20-mc.c

-- 
2.15.1

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux