Re: [PATCH 2/5] msix: simplfy the conditional in msix_set/unset_vector_notifiers

2021-09-03 Thread Alex Williamson
On Wed, 25 Aug 2021 15:56:17 +0800 "Longpeng(Mike)" wrote: > 'msix_function_masked' is kept pace with the device's config, s/pace/synchronized/? > we can use it to replace the complex conditional in > msix_set/unset_vector_notifiers. > > poll_notifier should be reset to NULL in the error path

Re: [PATCH 2/5] msix: simplfy the conditional in msix_set/unset_vector_notifiers

2021-08-25 Thread Longpeng (Mike, Cloud Infrastructure Service Product Dept.)
在 2021/8/25 17:52, Philippe Mathieu-Daudé 写道: > On 8/25/21 9:56 AM, Longpeng(Mike) wrote: >> 'msix_function_masked' is kept pace with the device's config, >> we can use it to replace the complex conditional in >> msix_set/unset_vector_notifiers. > > Typo 'simplfy' -> 'simplify' in

Re: [PATCH 2/5] msix: simplfy the conditional in msix_set/unset_vector_notifiers

2021-08-25 Thread Philippe Mathieu-Daudé
On 8/25/21 9:56 AM, Longpeng(Mike) wrote: > 'msix_function_masked' is kept pace with the device's config, > we can use it to replace the complex conditional in > msix_set/unset_vector_notifiers. Typo 'simplfy' -> 'simplify' in this/previous patch subject. > poll_notifier should be reset to NULL

[PATCH 2/5] msix: simplfy the conditional in msix_set/unset_vector_notifiers

2021-08-25 Thread Longpeng(Mike)
'msix_function_masked' is kept pace with the device's config, we can use it to replace the complex conditional in msix_set/unset_vector_notifiers. poll_notifier should be reset to NULL in the error path in msix_set_vector_notifiers, fix it incidentally. Signed-off-by: Longpeng(Mike) ---