• Alex Elder's avatar
    net: ipa: GSI only needs one completion · 7ece9eaa
    Alex Elder authored
    A mutex ensures we never submit more than one GSI command of any
    kind at once.  This means the per-channel and per-event ring
    completion structures provide no benefit.  Instead, just use the
    single (existing) GSI completion to signal the completion of GSI
    commands of all types.
    
    This makes gsi_evt_ring_init() a trivial function with no inverse,
    so open-code it in its sole caller and get rid of the function.
    Signed-off-by: default avatarAlex Elder <elder@linaro.org>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    7ece9eaa
gsi.c 64.6 KB