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

2020-05-04 Thread bbhatt
On 2020-05-04 07:33, Jeffrey Hugo wrote: On 5/1/2020 8:32 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 v4 8/8] bus: mhi: core: Ensure non-zero session or sequence ID values are used

2020-05-04 Thread Jeffrey Hugo
On 5/1/2020 8:32 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 v4 8/8] bus: mhi: core: Ensure non-zero session or sequence ID values are used

2020-05-01 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. Suggested-by: