Re: [PATCH v6 01/10] i3c: Add core I3C infrastructure
From: Przemyslaw Gaj
Date: Tue Sep 04 2018 - 07:05:23 EST
Hi Vitor,
ïOn 9/3/18, 11:33 AM, "vitor" <Vitor.Soares@xxxxxxxxxxxx> wrote:
EXTERNAL MAIL
Hi Przemek,
On 30-08-2018 20:00, Przemyslaw Gaj wrote:
> So, per my understanding since the Main master support the hand-off of
> the bus you accept all incoming MR, right? Or do you check all devices BCR?
>
> I'm not sure what do you mean here. Mastership request(MR) is from secondary master
> to current master. Current master can NACK this request if for example it comes from
> wrong device. If it's ok, current master sends GETACCMST command and secondary master
> may ACK or NACK this command. It it's acked, secondary master becomes current master.
>
> Best regards,
> Vitor Soares
>
> Please let me know if something is unclear.
>
> Regards,
> Przemek
>
Sorry, it s not clear yet.
For instances there is a bus with several secondary master. If each of
them request the bus mastership (one at a time), will you accept all by
default? Because you can only accept only some of them.
First of all, only devices which have Mastership request event enabled (ENMR slave event)
can request mastership. Second thing is that this device needs to have IBI enabled in
current master. I accept all such devices. There is no additional logic for now, we can add it
in the future.
I was very busy recently. I'm almost ready to publish my changes related to mastership request.
I'm sorry for the delay.
Regards,
Vitor Soares
Regards,
Przemek