All of lore.kernel.org
 help / color / mirror / Atom feed
From: Neal Liu <neal.liu@mediatek.com>
To: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Cc: Neal Liu <neal.liu@mediatek.com>,
	Rob Herring <robh+dt@kernel.org>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	<devicetree@vger.kernel.org>,
	wsd_upstream <wsd_upstream@mediatek.com>,
	lkml <linux-kernel@vger.kernel.org>,
	"moderated list:ARM/Mediatek SoC support" 
	<linux-mediatek@lists.infradead.org>,
	Linux ARM <linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH v4 2/2] soc: mediatek: add mtk-devapc driver
Date: Mon, 3 Aug 2020 12:05:46 +0800	[thread overview]
Message-ID: <1596427546.22971.23.camel@mtkswgap22> (raw)
In-Reply-To: <CAAOTY_-RMT-1+-5aPxqhgLbk74j0MH8U78mibBZppt_OPPQrJA@mail.gmail.com>

Hi Chun-Kuang,

On Sun, 2020-08-02 at 07:50 +0800, Chun-Kuang Hu wrote:
> Hi, Neal:
> 
> Neal Liu <neal.liu@mediatek.com> 於 2020年7月29日 週三 下午4:29寫道:
> >
> > MediaTek bus fabric provides TrustZone security support and data
> > protection to prevent slaves from being accessed by unexpected
> > masters.
> > The security violation is logged and sent to the processor for
> > further analysis or countermeasures.
> >
> > Any occurrence of security violation would raise an interrupt, and
> > it will be handled by mtk-devapc driver. The violation
> > information is printed in order to find the murderer.
> >
> > Signed-off-by: Neal Liu <neal.liu@mediatek.com>
> > ---
> 
> [snip]
> 
> > +
> > +struct mtk_devapc_context {
> > +       struct device *dev;
> > +       u32 vio_idx_num;
> > +       void __iomem *devapc_pd_base;
> 
> This is devapc context, so prefix 'devapc' is redundant.
> And, what does 'pd' mean?

'pd' means power down. Of course we would also remove it as well.
I suggest to change it as 'infra_base'.

> 
> Regards,
> Chun-Kuang.
> 
> > +       struct mtk_devapc_vio_info *vio_info;
> > +       const struct mtk_devapc_pd_offset *offset;
> > +       const struct mtk_devapc_vio_dbgs *vio_dbgs;
> > +};
> > +


WARNING: multiple messages have this Message-ID (diff)
From: Neal Liu <neal.liu@mediatek.com>
To: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Cc: devicetree@vger.kernel.org,
	wsd_upstream <wsd_upstream@mediatek.com>,
	lkml <linux-kernel@vger.kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	Neal Liu <neal.liu@mediatek.com>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	"moderated list:ARM/Mediatek SoC support"
	<linux-mediatek@lists.infradead.org>,
	Linux ARM <linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH v4 2/2] soc: mediatek: add mtk-devapc driver
Date: Mon, 3 Aug 2020 12:05:46 +0800	[thread overview]
Message-ID: <1596427546.22971.23.camel@mtkswgap22> (raw)
In-Reply-To: <CAAOTY_-RMT-1+-5aPxqhgLbk74j0MH8U78mibBZppt_OPPQrJA@mail.gmail.com>

Hi Chun-Kuang,

On Sun, 2020-08-02 at 07:50 +0800, Chun-Kuang Hu wrote:
> Hi, Neal:
> 
> Neal Liu <neal.liu@mediatek.com> 於 2020年7月29日 週三 下午4:29寫道:
> >
> > MediaTek bus fabric provides TrustZone security support and data
> > protection to prevent slaves from being accessed by unexpected
> > masters.
> > The security violation is logged and sent to the processor for
> > further analysis or countermeasures.
> >
> > Any occurrence of security violation would raise an interrupt, and
> > it will be handled by mtk-devapc driver. The violation
> > information is printed in order to find the murderer.
> >
> > Signed-off-by: Neal Liu <neal.liu@mediatek.com>
> > ---
> 
> [snip]
> 
> > +
> > +struct mtk_devapc_context {
> > +       struct device *dev;
> > +       u32 vio_idx_num;
> > +       void __iomem *devapc_pd_base;
> 
> This is devapc context, so prefix 'devapc' is redundant.
> And, what does 'pd' mean?

'pd' means power down. Of course we would also remove it as well.
I suggest to change it as 'infra_base'.

> 
> Regards,
> Chun-Kuang.
> 
> > +       struct mtk_devapc_vio_info *vio_info;
> > +       const struct mtk_devapc_pd_offset *offset;
> > +       const struct mtk_devapc_vio_dbgs *vio_dbgs;
> > +};
> > +

_______________________________________________
Linux-mediatek mailing list
Linux-mediatek@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-mediatek

WARNING: multiple messages have this Message-ID (diff)
From: Neal Liu <neal.liu@mediatek.com>
To: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Cc: devicetree@vger.kernel.org,
	wsd_upstream <wsd_upstream@mediatek.com>,
	lkml <linux-kernel@vger.kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	Neal Liu <neal.liu@mediatek.com>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	"moderated list:ARM/Mediatek SoC support"
	<linux-mediatek@lists.infradead.org>,
	Linux ARM <linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH v4 2/2] soc: mediatek: add mtk-devapc driver
Date: Mon, 3 Aug 2020 12:05:46 +0800	[thread overview]
Message-ID: <1596427546.22971.23.camel@mtkswgap22> (raw)
In-Reply-To: <CAAOTY_-RMT-1+-5aPxqhgLbk74j0MH8U78mibBZppt_OPPQrJA@mail.gmail.com>

Hi Chun-Kuang,

On Sun, 2020-08-02 at 07:50 +0800, Chun-Kuang Hu wrote:
> Hi, Neal:
> 
> Neal Liu <neal.liu@mediatek.com> 於 2020年7月29日 週三 下午4:29寫道:
> >
> > MediaTek bus fabric provides TrustZone security support and data
> > protection to prevent slaves from being accessed by unexpected
> > masters.
> > The security violation is logged and sent to the processor for
> > further analysis or countermeasures.
> >
> > Any occurrence of security violation would raise an interrupt, and
> > it will be handled by mtk-devapc driver. The violation
> > information is printed in order to find the murderer.
> >
> > Signed-off-by: Neal Liu <neal.liu@mediatek.com>
> > ---
> 
> [snip]
> 
> > +
> > +struct mtk_devapc_context {
> > +       struct device *dev;
> > +       u32 vio_idx_num;
> > +       void __iomem *devapc_pd_base;
> 
> This is devapc context, so prefix 'devapc' is redundant.
> And, what does 'pd' mean?

'pd' means power down. Of course we would also remove it as well.
I suggest to change it as 'infra_base'.

> 
> Regards,
> Chun-Kuang.
> 
> > +       struct mtk_devapc_vio_info *vio_info;
> > +       const struct mtk_devapc_pd_offset *offset;
> > +       const struct mtk_devapc_vio_dbgs *vio_dbgs;
> > +};
> > +

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2020-08-03  4:05 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-29  8:18 [PATCH v4] Add MediaTek MT6779 devapc driver Neal Liu
2020-07-29  8:18 ` Neal Liu
2020-07-29  8:18 ` Neal Liu
2020-07-29  8:18 ` [PATCH v4 1/2] dt-bindings: devapc: add bindings for mtk-devapc Neal Liu
2020-07-29  8:18   ` Neal Liu
2020-07-29  8:18   ` Neal Liu
2020-07-29  8:18 ` [PATCH v4 2/2] soc: mediatek: add mtk-devapc driver Neal Liu
2020-07-29  8:18   ` Neal Liu
2020-07-29  8:18   ` Neal Liu
2020-07-29 16:38   ` Chun-Kuang Hu
2020-07-29 16:38     ` Chun-Kuang Hu
2020-07-29 16:38     ` Chun-Kuang Hu
2020-07-31  2:44     ` Neal Liu
2020-07-31  2:44       ` Neal Liu
2020-07-31  2:44       ` Neal Liu
2020-07-31 15:03       ` Chun-Kuang Hu
2020-07-31 15:03         ` Chun-Kuang Hu
2020-07-31 15:03         ` Chun-Kuang Hu
2020-08-03  3:32         ` Neal Liu
2020-08-03  3:32           ` Neal Liu
2020-08-03  3:32           ` Neal Liu
2020-08-03 16:13           ` Chun-Kuang Hu
2020-08-03 16:13             ` Chun-Kuang Hu
2020-08-03 16:13             ` Chun-Kuang Hu
2020-08-04  2:18             ` Neal Liu
2020-08-04  2:18               ` Neal Liu
2020-08-04  2:18               ` Neal Liu
2020-08-04 15:27               ` Chun-Kuang Hu
2020-08-04 15:27                 ` Chun-Kuang Hu
2020-08-04 15:27                 ` Chun-Kuang Hu
2020-07-29 22:47   ` Chun-Kuang Hu
2020-07-29 22:47     ` Chun-Kuang Hu
2020-07-29 22:47     ` Chun-Kuang Hu
2020-07-31  2:47     ` Neal Liu
2020-07-31  2:47       ` Neal Liu
2020-07-31  2:47       ` Neal Liu
2020-07-30 16:14   ` Chun-Kuang Hu
2020-07-30 16:14     ` Chun-Kuang Hu
2020-07-30 16:14     ` Chun-Kuang Hu
2020-07-31  2:52     ` Neal Liu
2020-07-31  2:52       ` Neal Liu
2020-07-31  2:52       ` Neal Liu
2020-07-31 15:55       ` Chun-Kuang Hu
2020-07-31 15:55         ` Chun-Kuang Hu
2020-07-31 15:55         ` Chun-Kuang Hu
2020-08-03  3:41         ` Neal Liu
2020-08-03  3:41           ` Neal Liu
2020-08-03  3:41           ` Neal Liu
2020-08-01  0:12   ` Chun-Kuang Hu
2020-08-01  0:12     ` Chun-Kuang Hu
2020-08-01  0:12     ` Chun-Kuang Hu
2020-08-03  4:01     ` Neal Liu
2020-08-03  4:01       ` Neal Liu
2020-08-03  4:01       ` Neal Liu
2020-08-03 16:04       ` Chun-Kuang Hu
2020-08-03 16:04         ` Chun-Kuang Hu
2020-08-03 16:04         ` Chun-Kuang Hu
2020-08-04  2:08         ` Neal Liu
2020-08-04  2:08           ` Neal Liu
2020-08-04  2:08           ` Neal Liu
2020-08-04 15:55           ` Chun-Kuang Hu
2020-08-04 15:55             ` Chun-Kuang Hu
2020-08-04 15:55             ` Chun-Kuang Hu
2020-08-01 23:50   ` Chun-Kuang Hu
2020-08-01 23:50     ` Chun-Kuang Hu
2020-08-01 23:50     ` Chun-Kuang Hu
2020-08-03  4:05     ` Neal Liu [this message]
2020-08-03  4:05       ` Neal Liu
2020-08-03  4:05       ` Neal Liu
2020-08-03 15:38       ` Chun-Kuang Hu
2020-08-03 15:38         ` Chun-Kuang Hu
2020-08-03 15:38         ` Chun-Kuang Hu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1596427546.22971.23.camel@mtkswgap22 \
    --to=neal.liu@mediatek.com \
    --cc=chunkuang.hu@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=matthias.bgg@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=wsd_upstream@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.