Re: [PATCH v5 8/8] bus: mhi: core: Ensure non-zero session or sequence ID values are used

2020-05-05 Thread bbhatt
On 2020-05-05 08:57, Jeffrey Hugo wrote: On 5/4/2020 8:44 PM, Bhaumik Bhatt wrote: While writing any sequence or session identifiers, it is possible that the host could write a zero value, whereas only non-zero values should be supported writes to those registers. Ensure that the host does not

Re: [PATCH v5 8/8] bus: mhi: core: Ensure non-zero session or sequence ID values are used

2020-05-05 Thread Jeffrey Hugo
On 5/4/2020 8:44 PM, Bhaumik Bhatt wrote: While writing any sequence or session identifiers, it is possible that the host could write a zero value, whereas only non-zero values should be supported writes to those registers. Ensure that the host does not write a non-zero value for them and also

[PATCH v5 8/8] bus: mhi: core: Ensure non-zero session or sequence ID values are used

2020-05-04 Thread Bhaumik Bhatt
While writing any sequence or session identifiers, it is possible that the host could write a zero value, whereas only non-zero values should be supported writes to those registers. Ensure that the host does not write a non-zero value for them and also log them in debug messages. Signed-off-by: