mbox series

[v2,0/4] remoteproc/mediatek: support L1TCM for MT8192 SCP

Message ID 20210108081738.2175224-1-tzungbi@google.com
Headers show
Series remoteproc/mediatek: support L1TCM for MT8192 SCP | expand

Message

Tzung-Bi Shih Jan. 8, 2021, 8:17 a.m. UTC
The series supports L1TCM which is a high performance memory region in
MT8192 SCP.

The 1st patch replaces platform_get_resource_byname() and
devm_ioremap_resource() pairs per [1] suggested.

The 2nd patch enables MPU for all memory regions.  The patch was
independent but merged to this series per [2] suggested.

The 3rd patch adds a new reg-name "l1tcm" for L1TCM.

The 4th patch supports L1TCM in the firmware loader.  Note that MT8192
SCP is still under development.  The patch breaks early MT8192 SCP
firmware which should only break our own development environment.

Changes from v1[3]:
- Adds 2 patches at beginning of the series.

[1]: https://patchwork.kernel.org/project/linux-remoteproc/patch/20201214050521.845396-3-tzungbi@google.com/#23879113
[2]: https://patchwork.kernel.org/project/linux-remoteproc/patch/20210107023020.3224002-1-tzungbi@google.com/#23879623
[3]: https://patchwork.kernel.org/project/linux-remoteproc/list/?series=401287

Tzung-Bi Shih (4):
  remoteproc/mediatek: use devm_platform_ioremap_resource_byname
  remoteproc/mediatek: enable MPU for all memory regions in MT8192 SCP
  dt-bindings: remoteproc: mediatek: add L1TCM memory region
  remoteproc/mediatek: support L1TCM

 .../bindings/remoteproc/mtk,scp.txt           |  8 +--
 drivers/remoteproc/mtk_common.h               |  6 ++
 drivers/remoteproc/mtk_scp.c                  | 62 +++++++++++++++++--
 3 files changed, 68 insertions(+), 8 deletions(-)

Comments

Mathieu Poirier Jan. 11, 2021, 6:39 p.m. UTC | #1
On Fri, Jan 08, 2021 at 04:17:34PM +0800, Tzung-Bi Shih wrote:
> The series supports L1TCM which is a high performance memory region in

> MT8192 SCP.

> 

> The 1st patch replaces platform_get_resource_byname() and

> devm_ioremap_resource() pairs per [1] suggested.

> 

> The 2nd patch enables MPU for all memory regions.  The patch was

> independent but merged to this series per [2] suggested.

> 

> The 3rd patch adds a new reg-name "l1tcm" for L1TCM.

> 

> The 4th patch supports L1TCM in the firmware loader.  Note that MT8192

> SCP is still under development.  The patch breaks early MT8192 SCP

> firmware which should only break our own development environment.

> 

> Changes from v1[3]:

> - Adds 2 patches at beginning of the series.

> 

> [1]: https://patchwork.kernel.org/project/linux-remoteproc/patch/20201214050521.845396-3-tzungbi@google.com/#23879113

> [2]: https://patchwork.kernel.org/project/linux-remoteproc/patch/20210107023020.3224002-1-tzungbi@google.com/#23879623

> [3]: https://patchwork.kernel.org/project/linux-remoteproc/list/?series=401287

> 

> Tzung-Bi Shih (4):

>   remoteproc/mediatek: use devm_platform_ioremap_resource_byname

>   remoteproc/mediatek: enable MPU for all memory regions in MT8192 SCP

>   dt-bindings: remoteproc: mediatek: add L1TCM memory region

>   remoteproc/mediatek: support L1TCM

> 

>  .../bindings/remoteproc/mtk,scp.txt           |  8 +--

>  drivers/remoteproc/mtk_common.h               |  6 ++

>  drivers/remoteproc/mtk_scp.c                  | 62 +++++++++++++++++--

>  3 files changed, 68 insertions(+), 8 deletions(-)


For this set:

Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>


> 

> -- 

> 2.29.2.729.g45daf8777d-goog

>