[PATCH v2 1/9] dt-bindings: gce: mt8195: Add CMDQ_SYNC_TOKEN_SECURE_THR_EOF event id
Jason-JH Lin (林睿祥)
Jason-JH.Lin at mediatek.com
Tue Oct 24 23:26:42 PDT 2023
Hi Krzysztof,
Thanks for the reviews.
On Mon, 2023-10-23 at 09:47 +0200, Krzysztof Kozlowski wrote:
>
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
> On 23/10/2023 06:37, Jason-JH.Lin wrote:
> > CMDQ_SYNC_TOKEN_SECURE_THR_EOF is used as secure irq to notify CMDQ
> > driver in the normal world that GCE secure thread has completed a
> task
> > in thee secure world.
>
> s/thee/the/
>
> >
> > Signed-off-by: Jason-JH.Lin <jason-jh.lin at mediatek.com>
> > ---
>
> This is a new patch, so you must mention it in the changelog. There
> is
> nothing in the changelog saying about this new patch.
>
>
> > include/dt-bindings/gce/mt8195-gce.h | 6 ++++++
> > 1 file changed, 6 insertions(+)
> >
> > diff --git a/include/dt-bindings/gce/mt8195-gce.h b/include/dt-
> bindings/gce/mt8195-gce.h
> > index dcfb302b8a5b..9f99da3363b9 100644
> > --- a/include/dt-bindings/gce/mt8195-gce.h
> > +++ b/include/dt-bindings/gce/mt8195-gce.h
> > @@ -809,4 +809,10 @@
> > /* end of hw event */
> > #define CMDQ_MAX_HW_EVENT1019
> >
> > +/*
> > + * Notify normal CMDQ there are some secure task done,
> > + * this token sync with secure world.
> > + */
> > +#define CMDQ_SYNC_TOKEN_SECURE_THR_EOF980
>
> Why is this below 1019? Your driver calls it also even, so is this an
> event or not?
>
> Your driver does not use this value, so does it mean FW uses it?
I just want to separate this kind of event (sw token) from the HW
event. So I define it after CMDQ_MAX_HW_EVENT.
But from the perspective of GCE event signal, there is no difference.
So I'll move it to the correct position.
Regards,
Jason-JH.Lin
>
> Best regards,
> Krzysztof
>
More information about the Linux-mediatek
mailing list