[arch-commits] Commit in linux-hardened/trunk (3 files)
Levente Polyak
anthraxx at archlinux.org
Mon Apr 30 21:08:07 UTC 2018
Date: Monday, April 30, 2018 @ 21:08:06
Author: anthraxx
Revision: 323198
upgpkg: linux-hardened 4.16.6.a-1
Modified:
linux-hardened/trunk/PKGBUILD
linux-hardened/trunk/config.x86_64
Deleted:
linux-hardened/trunk/net-aquantia-Regression-on-reset-with-1.x-firmware.patch
----------------------------------------------------------+
PKGBUILD | 10 -
config.x86_64 | 2
net-aquantia-Regression-on-reset-with-1.x-firmware.patch | 68 -------------
3 files changed, 5 insertions(+), 75 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-30 20:08:35 UTC (rev 323197)
+++ PKGBUILD 2018-04-30 21:08:06 UTC (rev 323198)
@@ -5,7 +5,7 @@
pkgbase=linux-hardened
_srcname=linux-4.16
-_pkgver=4.16.5
+_pkgver=4.16.6
pkgver=${_pkgver}.a
pkgrel=1
url='https://github.com/anthraxx/linux-hardened'
@@ -25,7 +25,6 @@
# https://bugs.archlinux.org/task/56711
drm-i915-edp-Only-use-the-alternate-fixed-mode-if-its-asked-for.patch
- net-aquantia-Regression-on-reset-with-1.x-firmware.patch
fix-vboxguest-on-guests-with-more-than-4G-RAM.patch
partially-revert-swiotlb-remove-various-exports.patch
)
@@ -32,16 +31,15 @@
replaces=('linux-grsec')
sha256sums=('63f6dc8e3c9f3a0273d5d6f4dca38a2413ca3a5f689329d05b750e4c87bb21b9'
'SKIP'
- '8c3bb050d11da6e91d3e169f76ee3ed6937e1ca64264e605ddba8108696ba011'
+ '634d3fd97e5d9d90262db0a9d62ed0a40043eb691d68bd4a545f907079610b56'
'SKIP'
- '65482af87d9bac91d67591bde20ab56162060ea05fad910dbfcb5e5e964c8804'
+ '587477338e3c34e31c8d895bae9bed6847d6b0b5ad318460733ee9213730315f'
'SKIP'
- '6f296e865186eb6993e1494b595b56c8e56ec75327c982a846ca3d24686dc163'
+ '8e1484d775b378be0cb424674ac66e5e96a0ab1adbde3bb5b4f9ad0be75d5993'
'ae2e95db94ef7176207c690224169594d49445e04249d2499e9d2fbc117a0b21'
'75f99f5239e03238f88d1a834c50043ec32b1dc568f2cc291b07d04718483919'
'ad6344badc91ad0630caacde83f7f9b97276f80d26a20619a87952be65492c65'
'c08d12c699398ef88b764be1837b9ee11f2efd3188bd1bf4e8f85dfbeee58148'
- 'd7233371fe617895b600ad1939d8b818395276d07b8a7918b955c9590a5d1112'
'b1c1cf770b2baab046d52687ec3dd83c543e3f45b4abeae2686c814673e0a1c5'
'87a0849079db7bf1deefb687bcf43170f1b209d27af9950f98b049cdf233b447')
validpgpkeys=(
Modified: config.x86_64
===================================================================
--- config.x86_64 2018-04-30 20:08:35 UTC (rev 323197)
+++ config.x86_64 2018-04-30 21:08:06 UTC (rev 323198)
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86 4.16.5 Kernel Configuration
+# Linux/x86 4.16.6 Kernel Configuration
#
CONFIG_64BIT=y
CONFIG_X86_64=y
Deleted: net-aquantia-Regression-on-reset-with-1.x-firmware.patch
===================================================================
--- net-aquantia-Regression-on-reset-with-1.x-firmware.patch 2018-04-30 20:08:35 UTC (rev 323197)
+++ net-aquantia-Regression-on-reset-with-1.x-firmware.patch 2018-04-30 21:08:06 UTC (rev 323198)
@@ -1,68 +0,0 @@
-From: Igor Russkikh <igor.russkikh at aquantia.com>
-Date: Wed, 11 Apr 2018 15:23:24 +0300
-Subject: net: aquantia: Regression on reset with 1.x firmware
-
-On ASUS XG-C100C with 1.5.44 firmware a special mode called "dirty wake"
-is active. With this mode when motherboard gets powered (but no poweron
-happens yet), NIC automatically enables powersave link and watches
-for WOL packet.
-This normally allows to powerup the PC after AC power failures.
-
-Not all motherboards or bios settings gives power to PCI slots,
-so this mode is not enabled on all the hardware.
-
-4.16 linux driver introduced full hardware reset sequence
-This is required since before that we had no NIC hardware
-reset implemented and there were side effects of "not clean start".
-
-But this full reset is incompatible with "dirty wake" WOL feature
-it keeps the PHY link in a special mode forever. As a consequence,
-driver sees no link and no traffic.
-
-To fix this we forcibly change FW state to idle state before doing
-the full reset. This makes FW to restore link state.
-
-Fixes: c8c82eb net: aquantia: Introduce global AQC hardware reset sequence
-Signed-off-by: Igor Russkikh <igor.russkikh at aquantia.com>
-Signed-off-by: David S. Miller <davem at davemloft.net>
----
- .../aquantia/atlantic/hw_atl/hw_atl_utils.c | 16 ++++++++++++++++
- 1 file changed, 16 insertions(+)
-
-diff --git a/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c b/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c
-index d3b847ec7465..c58b2c227260 100644
---- a/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c
-+++ b/drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c
-@@ -48,6 +48,8 @@
- #define FORCE_FLASHLESS 0
-
- static int hw_atl_utils_ver_match(u32 ver_expected, u32 ver_actual);
-+static int hw_atl_utils_mpi_set_state(struct aq_hw_s *self,
-+ enum hal_atl_utils_fw_state_e state);
-
- int hw_atl_utils_initfw(struct aq_hw_s *self, const struct aq_fw_ops **fw_ops)
- {
-@@ -247,6 +249,20 @@ int hw_atl_utils_soft_reset(struct aq_hw_s *self)
-
- self->rbl_enabled = (boot_exit_code != 0);
-
-+ /* FW 1.x may bootup in an invalid POWER state (WOL feature).
-+ * We should work around this by forcing its state back to DEINIT
-+ */
-+ if (!hw_atl_utils_ver_match(HW_ATL_FW_VER_1X,
-+ aq_hw_read_reg(self,
-+ HW_ATL_MPI_FW_VERSION))) {
-+ int err = 0;
-+
-+ hw_atl_utils_mpi_set_state(self, MPI_DEINIT);
-+ AQ_HW_WAIT_FOR((aq_hw_read_reg(self, HW_ATL_MPI_STATE_ADR) &
-+ HW_ATL_MPI_STATE_MSK) == MPI_DEINIT,
-+ 10, 1000U);
-+ }
-+
- if (self->rbl_enabled)
- return hw_atl_utils_soft_reset_rbl(self);
- else
---
-2.17.0
-
More information about the arch-commits
mailing list