RE: [PATCH v2 4/5] perf: fsl_imx8_ddr: Add driver support for i.MX8DXL DDR Perf

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

 




> -----Original Message-----
> From: Xu Yang <xu.yang_2@xxxxxxx>
> Sent: Wednesday, October 11, 2023 1:09 AM
> To: Frank Li <frank.li@xxxxxxx>; corbet@xxxxxxx; shawnguo@xxxxxxxxxx;
> s.hauer@xxxxxxxxxxxxxx; kernel@xxxxxxxxxxxxxx; will@xxxxxxxxxx;
> mark.rutland@xxxxxxx; robh+dt@xxxxxxxxxx;
> krzysztof.kozlowski+dt@xxxxxxxxxx
> Cc: festevam@xxxxxxxxx; conor+dt@xxxxxxxxxx; dl-linux-imx <linux-
> imx@xxxxxxx>; linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; linux-
> doc@xxxxxxxxxxxxxxx; devicetree@xxxxxxxxxxxxxxx; Xu Yang
> <xu.yang_2@xxxxxxx>
> Subject: [PATCH v2 4/5] perf: fsl_imx8_ddr: Add driver support for i.MX8DXL
> DDR Perf
> 
> Add driver support for i.MX8DXL DDR Perf, which supports AXI ID PORT
> CHANNEL filter.
> 
> Signed-off-by: Xu Yang <xu.yang_2@xxxxxxx>

Reviewed-by: Frank Li <Frank.Li@xxxxxxx>

> 
> ---
> Changes since v2:
>  - no changes
> ---
>  drivers/perf/fsl_imx8_ddr_perf.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/drivers/perf/fsl_imx8_ddr_perf.c
> b/drivers/perf/fsl_imx8_ddr_perf.c
> index d0eae2d7e64b..7dbfaee372c7 100644
> --- a/drivers/perf/fsl_imx8_ddr_perf.c
> +++ b/drivers/perf/fsl_imx8_ddr_perf.c
> @@ -92,6 +92,11 @@ static const struct fsl_ddr_devtype_data
> imx8mp_devtype_data = {
>  	.identifier = "i.MX8MP",
>  };
> 
> +static const struct fsl_ddr_devtype_data imx8dxl_devtype_data = {
> +	.quirks = DDR_CAP_AXI_ID_PORT_CHANNEL_FILTER,
> +	.identifier = "i.MX8DXL",
> +};
> +
>  static const struct of_device_id imx_ddr_pmu_dt_ids[] = {
>  	{ .compatible = "fsl,imx8-ddr-pmu", .data = &imx8_devtype_data},
>  	{ .compatible = "fsl,imx8m-ddr-pmu", .data =
> &imx8m_devtype_data},
> @@ -99,6 +104,7 @@ static const struct of_device_id imx_ddr_pmu_dt_ids[]
> = {
>  	{ .compatible = "fsl,imx8mm-ddr-pmu", .data =
> &imx8mm_devtype_data},
>  	{ .compatible = "fsl,imx8mn-ddr-pmu", .data =
> &imx8mn_devtype_data},
>  	{ .compatible = "fsl,imx8mp-ddr-pmu", .data =
> &imx8mp_devtype_data},
> +	{ .compatible = "fsl,imx8dxl-ddr-pmu", .data =
> &imx8dxl_devtype_data},
>  	{ /* sentinel */ }
>  };
>  MODULE_DEVICE_TABLE(of, imx_ddr_pmu_dt_ids);
> --
> 2.34.1






[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux