All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@web.de>
To: xenomai@xenomai.org
Subject: [PATCH 3/4] drivers/net/igb: Replace read_barrier_depends
Date: Sun, 11 Apr 2021 09:54:20 +0200	[thread overview]
Message-ID: <e7fe718e258392435b2c14799f2b3e50d1732537.1618127660.git.jan.kiszka@web.de> (raw)
In-Reply-To: <cover.1618127660.git.jan.kiszka@web.de>

From: Jan Kiszka <jan.kiszka@siemens.com>

Follows upstream commit c4cb99185b4c.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 kernel/drivers/net/drivers/igb/igb_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/drivers/net/drivers/igb/igb_main.c b/kernel/drivers/net/drivers/igb/igb_main.c
index 2f49ba17fe..1dc4732ee2 100644
--- a/kernel/drivers/net/drivers/igb/igb_main.c
+++ b/kernel/drivers/net/drivers/igb/igb_main.c
@@ -4644,7 +4644,7 @@ static bool igb_clean_tx_irq(struct igb_q_vector *q_vector)
 			break;

 		/* prevent any other reads prior to eop_desc */
-		read_barrier_depends();
+		smp_rmb();

 		/* if DD is not set pending work has not been completed */
 		if (!(eop_desc->wb.status & cpu_to_le32(E1000_TXD_STAT_DD)))
--
2.26.2



  parent reply	other threads:[~2021-04-11  7:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-11  7:54 [PATCH 0/4] Various driver fix-lets Jan Kiszka
2021-04-11  7:54 ` [PATCH 1/4] drivers/can/peak_canfd: Fix building out-of-tree Jan Kiszka
2021-04-11  7:54 ` [PATCH 2/4] drivers/net: Account for renaming of pci_cleanup_aer_uncorrect_error_status in 5.7 Jan Kiszka
2021-04-11  7:54 ` Jan Kiszka [this message]
2021-04-11  7:54 ` [PATCH 4/4] drivers/net/r8169: Remove duplicate and usused ether_crc definition Jan Kiszka
2021-04-11  8:51 ` [PATCH 5/4] drivers/net/experimental/e1000: Annotate valid fall-through cases Jan Kiszka
2021-04-11 10:09 ` [PATCH 6/4] drivers/net/igb: Make sure CONFIG_IGB_HWMON is off Jan Kiszka

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=e7fe718e258392435b2c14799f2b3e50d1732537.1618127660.git.jan.kiszka@web.de \
    --to=jan.kiszka@web.de \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.