lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AM6PR04MB4966A8D160E0F1970A24E9F280D30@AM6PR04MB4966.eurprd04.prod.outlook.com>
Date:   Thu, 23 Apr 2020 10:33:10 +0000
From:   Aisheng Dong <aisheng.dong@....com>
To:     Peng Fan <peng.fan@....com>,
        "shawnguo@...nel.org" <shawnguo@...nel.org>,
        "s.hauer@...gutronix.de" <s.hauer@...gutronix.de>
CC:     "kernel@...gutronix.de" <kernel@...gutronix.de>,
        "festevam@...il.com" <festevam@...il.com>,
        "linux@...pel-privat.de" <linux@...pel-privat.de>,
        Leonard Crestez <leonard.crestez@....com>,
        Daniel Baluta <daniel.baluta@....com>,
        Joakim Zhang <qiangqing.zhang@....com>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "linux-arm-kernel@...ts.infradead.org" 
        <linux-arm-kernel@...ts.infradead.org>,
        dl-linux-imx <linux-imx@....com>
Subject: RE: [PATCH 4/4] firmware: imx: scu-pd: add more cm4 resources

> From: Peng Fan <peng.fan@....com>
> Sent: Thursday, April 23, 2020 3:00 PM
> 
> Add more cm4 resources, then linux could use cm4's i2c/lpuart and could kick
> cm4 core.
> 
> Signed-off-by: Peng Fan <peng.fan@....com>
> ---
>  drivers/firmware/imx/scu-pd.c | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/drivers/firmware/imx/scu-pd.c b/drivers/firmware/imx/scu-pd.c
> index 7b43bd63cc1e..2fa86be2027a 100644
> --- a/drivers/firmware/imx/scu-pd.c
> +++ b/drivers/firmware/imx/scu-pd.c
> @@ -170,6 +170,16 @@ static const struct imx_sc_pd_range
> imx8qxp_scu_pd_ranges[] = {
>  	/* CM40 SS */
>  	{ "cm40_i2c", IMX_SC_R_M4_0_I2C, 1, false, 0 },
>  	{ "cm40_intmux", IMX_SC_R_M4_0_INTMUX, 1, false, 0 },
> +	{ "cm40_pid", IMX_SC_R_M4_0_PID0, 5, true, 0},
> +	{ "cm40_mu1a", IMX_SC_R_M4_0_MU_1A, 1, false, 0},
> +	{ "cm40_lpuart", IMX_SC_R_M4_0_UART, 1, false, 0},

For consistency,
s/cm40_pid/cm40-pid
s/cm40_mu1a/cm40-mu-a1
s/cm40_lpuart/cm40-lpuart

This also applies for the following part.

besides that, you can add my tag:
Reviewed-by: Dong Aisheng <aisheng.dong@....com>

Regards
Aisheng
	A
> +
> +	/* CM41 SS */
> +	{ "cm41_i2c", IMX_SC_R_M4_1_I2C, 1, false, 0 },
> +	{ "cm41_intmux", IMX_SC_R_M4_1_INTMUX, 1, false, 0 },
> +	{ "cm41_pid", IMX_SC_R_M4_1_PID0, 5, true, 0},
> +	{ "cm41_mu1a", IMX_SC_R_M4_1_MU_1A, 1, false, 0},
> +	{ "cm41_lpuart", IMX_SC_R_M4_1_UART, 1, false, 0},
>  };


> 
>  static const struct imx_sc_pd_soc imx8qxp_scu_pd = {
> --
> 2.16.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ