Re: [Patch v5 2/4] memory: tegra: Add MC error logging on tegra186 onward

Dmitry Osipenko
2022-03-19T15:59:44Z

16.03.2022 12:25, Ashish Mhetre пишет:
> diff --git a/include/soc/tegra/mc.h b/include/soc/tegra/mc.h
> index 92f810c55b43..6f115436e344 100644
> --- a/include/soc/tegra/mc.h
> +++ b/include/soc/tegra/mc.h
> @@ -203,6 +203,8 @@ struct tegra_mc_soc {
> const struct tegra_smmu_soc *smmu;
>
> u32 intmask;
> + u32 int_channel_mask;

ch_intmask

> + bool has_addr_hi_reg;
>
> const struct tegra_mc_reset_ops *reset_ops;
> const struct tegra_mc_reset *resets;
> @@ -210,6 +212,8 @@ struct tegra_mc_soc {
>
> const struct tegra_mc_icc_ops *icc_ops;
> const struct tegra_mc_ops *ops;
> +
> + int (*get_int_channel)(const struct tegra_mc *mc, int *mc_channel);

This should be a part of tegra_mc_ops.