RE: [PATCH 1/2] habanalabs: block WREG_BULK packet on PDMA

2020-07-05 Thread Omer Shpigelman
On Tue, Jul 5, 2020 at 00:30 AM, Oded Gabbay wrote: > WREG_BULK is a special packet that has a variable length. Therefore, we can't > parse it when validating CBs that go to the PCI DMA queue. In case the user > needs to use it, it can put multiple WREG32 packets instead. > > Signed-off-by: Oded

[PATCH 1/2] habanalabs: block WREG_BULK packet on PDMA

2020-07-04 Thread Oded Gabbay
WREG_BULK is a special packet that has a variable length. Therefore, we can't parse it when validating CBs that go to the PCI DMA queue. In case the user needs to use it, it can put multiple WREG32 packets instead. Signed-off-by: Oded Gabbay --- drivers/misc/habanalabs/gaudi/gaudi.c | 7 ++-