public inbox for netdev@vger.kernel.org 
 help / color / mirror / Atom feed
From: Alex Elder <elder@linaro•org>
To: davem@davemloft•net, kuba@kernel•org
Cc: jponduru@codeaurora•org, avuyyuru@codeaurora•org,
	bjorn.andersson@linaro•org, agross@kernel•org,
	cpratapa@codeaurora•org, subashab@codeaurora•org,
	mka@chromium•org, evgreen@chromium•org, elder@kernel•org,
	netdev@vger•kernel.org, linux-arm-msm@vger•kernel.org,
	linux-kernel@vger•kernel.org
Subject: [PATCH net v2 0/3] net: ipa: fix two replenish bugs
Date: Wed, 12 Jan 2022 07:30:09 -0600	[thread overview]
Message-ID: <20220112133012.778148-1-elder@linaro.org> (raw)

This series contains two fixes for bugs in the IPA receive buffer
replenishing code.  The (new) second patch defines a bitmap to
represent endpoint the replenish enabled flag.  Its purpose is to
prepare for the third patch, which adds an additional flag.

Version 2 of this series uses bitmap operations in the second bug
fix rather than an atomic variable, as suggested by Jakub.

					-Alex

Alex Elder (3):
  net: ipa: fix atomic update in ipa_endpoint_replenish()
  net: ipa: use a bitmap for endpoint replenish_enabled
  net: ipa: prevent concurrent replenish

 drivers/net/ipa/ipa_endpoint.c | 28 ++++++++++++++++++++--------
 drivers/net/ipa/ipa_endpoint.h | 17 +++++++++++++++--
 2 files changed, 35 insertions(+), 10 deletions(-)

-- 
2.32.0


             reply	other threads:[~2022-01-12 13:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-12 13:30 Alex Elder [this message]
2022-01-12 13:30 ` [PATCH net v2 1/3] net: ipa: fix atomic update in ipa_endpoint_replenish() Alex Elder
2022-01-12 13:30 ` [PATCH net v2 2/3] net: ipa: use a bitmap for endpoint replenish_enabled Alex Elder
2022-01-12 13:30 ` [PATCH net v2 3/3] net: ipa: prevent concurrent replenish Alex Elder
2022-01-12 14:50 ` [PATCH net v2 0/3] net: ipa: fix two replenish bugs patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220112133012.778148-1-elder@linaro.org \
    --to=elder@linaro$(echo .)org \
    --cc=agross@kernel$(echo .)org \
    --cc=avuyyuru@codeaurora$(echo .)org \
    --cc=bjorn.andersson@linaro$(echo .)org \
    --cc=cpratapa@codeaurora$(echo .)org \
    --cc=davem@davemloft$(echo .)net \
    --cc=elder@kernel$(echo .)org \
    --cc=evgreen@chromium$(echo .)org \
    --cc=jponduru@codeaurora$(echo .)org \
    --cc=kuba@kernel$(echo .)org \
    --cc=linux-arm-msm@vger$(echo .)kernel.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=mka@chromium$(echo .)org \
    --cc=netdev@vger$(echo .)kernel.org \
    --cc=subashab@codeaurora$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox