Re: [PATCH][next] octeontx2-af: Fix undetected unmap PF error check

2020-12-17 Thread Jakub Kicinski
On Thu, 17 Dec 2020 05:24:34 + George Cherian wrote: > > From: Colin Ian King > > > > Currently the check for an unmap PF error is always going to be false > > because > > intr_val is a 32 bit int and is being bit-mask checked against 1ULL << 32. > > Fix > > this by making intr_val a u64 t

RE: [PATCH][next] octeontx2-af: Fix undetected unmap PF error check

2020-12-16 Thread George Cherian
l.org > Cc: kernel-janit...@vger.kernel.org; linux-ker...@vger.kernel.org > Subject: [PATCH][next] octeontx2-af: Fix undetected unmap PF error > check > > From: Colin Ian King > > Currently the check for an unmap PF error is always going to be false because > intr_val is a

[PATCH][next] octeontx2-af: Fix undetected unmap PF error check

2020-12-16 Thread Colin King
From: Colin Ian King Currently the check for an unmap PF error is always going to be false because intr_val is a 32 bit int and is being bit-mask checked against 1ULL << 32. Fix this by making intr_val a u64 to match the type at it is copied from, namely npa_event_context->npa_af_rvu_ge. Addres