Commit graph

4 commits

Author SHA1 Message Date
Sarannya S
a714b4b326 net: qrtr: fifo: Add bounds check on tx path
Add bounds check on values read from shared memory in the tx path. In
cases where the VM is misbehaving, the qrtr transport should exit and
print a warning when bogus values may cause out of bounds to be read.

Change-Id: I7ebef28ed8eba4c4da0b32d5114365bbe6bea390
Signed-off-by: Sarannya S <quic_sarannya@quicinc.com>
2023-01-02 04:30:39 -08:00
Sarannya S
27eb9f4b4d net: qrtr: fifo: Add bounds check in rx path
Validate the values read from shared memory in the receive path.
In the case where a VM is misbehaving, the qrtr transport should
return immediately and print a warning.

Change-Id: I088f6cc77433dfcd099e5c117b9ca6408c40f09e
Signed-off-by: Sarannya S <quic_sarannya@quicinc.com>
2022-12-23 15:40:54 +05:30
Arun Kumar Neelakantam
4a6eb4b3e2 net: qrtr: Make qrtr rx threads as RT priorities
To support high priority clients like sensor use cases in all system
conditions elevating the router reader threads to RT priorities based
on configuration.

Change-Id: I6f46097f6678f2e00c3ec8872b208d773c377224
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
2019-08-20 19:16:06 -07:00
Arun Kumar Neelakantam
7772a9041c qrtr: Add FIFO based communication between VMs
Add QRTR communication support between two virtual machines
by using shared FIFO and virtual IRQs.

Change-Id: I8fd2115a6ad5acd9a6dac2fa511860a8a68c16ee
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
2019-03-20 16:34:39 -07:00