From: Gabriele Paoloni <gabriele.paoloni@huawei.com>
To: <davem@davemloft.com>, <alexander.duyck@gmail.com>
Cc: <gabriele.paoloni@huawei.com>, <helgaas@kernel.org>,
<leedom@gmail.com>, <leedom@chelsio.com>, <linuxarm@huawei.com>,
<werner@chelsio.com>, <ganeshgr@chelsio.com>, <arjun@chelsio.com>,
<asit.k.mallick@intel.com>, <patrick.j.cramer@intel.com>,
<ashok.raj@intel.com>, <dingtianhong@huawei.com>,
<mark.rutland@arm.com>, <amira@mellanox.com>,
<catalin.marinas@arm.com>, <will.deacon@arm.com>,
<David.Laight@aculab.com>, <jeffrey.t.kirsher@intel.com>,
<netdev@vger.kernel.org>, <robin.murphy@arm.com>,
<davem@davemloft.net>, <linux-arm-kernel@lists.infradead.org>
Subject: [RFC PATCH 1/2] net: revert commit 1a8b6d76dc5b
Date: Tue, 2 May 2017 10:59:25 +0100 [thread overview]
Message-ID: <1493719166-9036-2-git-send-email-gabriele.paoloni@huawei.com> (raw)
In-Reply-To: <1493719166-9036-1-git-send-email-gabriele.paoloni@huawei.com>
From: gabriele paoloni <gabriele.paoloni@huawei.com>
commit 1a8b6d76dc5b was introducing relaxed ordering as global
symbol. This does not make sense as relaxed ordering support
depends on the PCIe EP and on the Root Complex (therefore it is
not related to the CPU architecture)
Signed-off-by: Gabriele Paoloni <gabriele.paoloni@huawei.com>
---
arch/Kconfig | 3 ---
arch/sparc/Kconfig | 1 -
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c | 2 +-
3 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/arch/Kconfig b/arch/Kconfig
index c4d6833..c0b118d 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -851,7 +851,4 @@ config STRICT_MODULE_RWX
and non-text memory will be made non-executable. This provides
protection against certain security exploits (e.g. writing to text)
-config ARCH_WANT_RELAX_ORDER
- bool
-
source "kernel/gcov/Kconfig"
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index ed96869..3f47142 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -43,7 +43,6 @@ config SPARC
select ARCH_HAS_SG_CHAIN
select CPU_NO_EFFICIENT_FFS
select LOCKDEP_SMALL if LOCKDEP
- select ARCH_WANT_RELAX_ORDER
config SPARC32
def_bool !64BIT
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c b/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
index c38d50c..094e1d6 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
@@ -350,7 +350,7 @@ s32 ixgbe_start_hw_gen2(struct ixgbe_hw *hw)
}
IXGBE_WRITE_FLUSH(hw);
-#ifndef CONFIG_ARCH_WANT_RELAX_ORDER
+#ifndef CONFIG_SPARC
/* Disable relaxed ordering */
for (i = 0; i < hw->mac.max_tx_queues; i++) {
u32 regval;
--
2.7.4
next prev parent reply other threads:[~2017-05-02 10:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-02 9:59 [RFC PATCH 0/2] net: ixgbe: disable relaxed ordering at runtime Gabriele Paoloni
2017-05-02 9:59 ` Gabriele Paoloni [this message]
2017-05-02 9:59 ` [RFC PATCH 2/2] net: ixgbe: disable RO depending on the root port flags Gabriele Paoloni
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=1493719166-9036-2-git-send-email-gabriele.paoloni@huawei.com \
--to=gabriele.paoloni@huawei.com \
--cc=David.Laight@aculab.com \
--cc=alexander.duyck@gmail.com \
--cc=amira@mellanox.com \
--cc=arjun@chelsio.com \
--cc=ashok.raj@intel.com \
--cc=asit.k.mallick@intel.com \
--cc=catalin.marinas@arm.com \
--cc=davem@davemloft.com \
--cc=davem@davemloft.net \
--cc=dingtianhong@huawei.com \
--cc=ganeshgr@chelsio.com \
--cc=helgaas@kernel.org \
--cc=jeffrey.t.kirsher@intel.com \
--cc=leedom@chelsio.com \
--cc=leedom@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linuxarm@huawei.com \
--cc=mark.rutland@arm.com \
--cc=netdev@vger.kernel.org \
--cc=patrick.j.cramer@intel.com \
--cc=robin.murphy@arm.com \
--cc=werner@chelsio.com \
--cc=will.deacon@arm.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox