Re: [PATCH] dma/idxd: fix return value for pci device commands

2022-06-08 Thread Kevin Laatz
On 08/06/2022 09:54, Thomas Monjalon wrote: 07/06/2022 12:56, Walsh, Conor: Subject: [PATCH] dma/idxd: fix return value for pci device commands When sending a command to an idxd device via pci bar, the response from HW is checked to ensure it was successful. The response was incorrectly being

Re: [PATCH] dma/idxd: fix return value for pci device commands

2022-06-08 Thread Thomas Monjalon
07/06/2022 12:56, Walsh, Conor: > > > Subject: [PATCH] dma/idxd: fix return value for pci device commands > > > > When sending a command to an idxd device via pci bar, the response from > > HW is checked to ensure it was successful. The response was incorrectly >

RE: [PATCH] dma/idxd: fix return value for pci device commands

2022-06-07 Thread Walsh, Conor
> Subject: [PATCH] dma/idxd: fix return value for pci device commands > > When sending a command to an idxd device via pci bar, the response from > HW is checked to ensure it was successful. The response was incorrectly > being negated before being returned by the function, mean

[PATCH] dma/idxd: fix return value for pci device commands

2022-04-08 Thread Kevin Laatz
When sending a command to an idxd device via pci bar, the response from HW is checked to ensure it was successful. The response was incorrectly being negated before being returned by the function, meaning error codes cannot be checked against the HW specification. This patch fixes the return value