Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=376b1c386755ab46c361ef5c0b4c332123686df7

commit 376b1c386755ab46c361ef5c0b4c332123686df7
Author: DeX77 <[email protected]>
Date:   Thu Mar 30 14:53:55 2017 +0200

kernel-4.10.7-1-x86_64

* kernel bump

diff --git a/source/base/kernel/FrugalBuild b/source/base/kernel/FrugalBuild
index 06c9905..2990d22 100644
--- a/source/base/kernel/FrugalBuild
+++ b/source/base/kernel/FrugalBuild
@@ -26,8 +26,7 @@ _F_kernel_patches=(   
http://algo.ing.unimo.it/people/paolo/disk_sched/patches/4.1
http://algo.ing.unimo.it/people/paolo/disk_sched/patches/4.10.0-v8r8/0002-block-introduce-the-BFQ-v7r11-I-O-sched-for-4.10.0.patch
 \
http://algo.ing.unimo.it/people/paolo/disk_sched/patches/4.10.0-v8r8/0003-block-bfq-add-Early-Queue-Merge-EQM-to-BFQ-v7r11-for.patch
 \
http://algo.ing.unimo.it/people/paolo/disk_sched/patches/4.10.0-v8r8/0004-Turn-BFQ-v7r11-for-4.10.0-into-BFQ-v8r8-for-4.10.0.patch
-                       enable_alx_wol.patch \
-                       fbcon.patch )
+                       enable_alx_wol.patch )

for ppatch in "${_F_kernel_patches[@]}"
do
diff --git a/source/base/kernel/enable_alx_wol.patch 
b/source/base/kernel/enable_alx_wol.patch
index 02c3e54..3428afd 100644
--- a/source/base/kernel/enable_alx_wol.patch
+++ b/source/base/kernel/enable_alx_wol.patch
@@ -1,6 +1,7 @@
+diff -u drivers/net/ethernet/atheros/alx/ethtool.c 
drivers/net/ethernet/atheros/alx/ethtool.c
--- drivers/net/ethernet/atheros/alx/ethtool.c  2016-12-11 20:17:54.000000000 
+0100
+++ drivers/net/ethernet/atheros/alx/ethtool.c  2016-12-13 13:36:36.464047098 
+0100
-@@ -299,6 +299,40 @@
+@@ -299,6 +299,40 @@
}
}

@@ -41,7 +42,7 @@
const struct ethtool_ops alx_ethtool_ops = {
.get_settings   = alx_get_settings,
.set_settings   = alx_set_settings,
-@@ -306,6 +340,8 @@
+@@ -306,6 +340,8 @@
.set_pauseparam = alx_set_pauseparam,
.get_msglevel   = alx_get_msglevel,
.set_msglevel   = alx_set_msglevel,
@@ -50,9 +51,10 @@
.get_link       = ethtool_op_get_link,
.get_strings    = alx_get_strings,
.get_sset_count = alx_get_sset_count,
+diff -u drivers/net/ethernet/atheros/alx/hw.c 
drivers/net/ethernet/atheros/alx/hw.c
--- drivers/net/ethernet/atheros/alx/hw.c       2016-12-11 20:17:54.000000000 
+0100
+++ drivers/net/ethernet/atheros/alx/hw.c       2016-12-13 13:36:36.464047098 
+0100
-@@ -332,6 +332,16 @@
+@@ -332,6 +332,16 @@
alx_write_mem32(hw, ALX_STAD1, val);
}

@@ -69,7 +71,7 @@
static void alx_reset_osc(struct alx_hw *hw, u8 rev)
{
u32 val, val2;
-@@ -848,6 +858,66 @@
+@@ -848,6 +858,66 @@
}
}

@@ -136,7 +138,7 @@
bool alx_phy_configured(struct alx_hw *hw)
{
u32 cfg, hw_cfg;
-@@ -920,6 +990,26 @@
+@@ -920,6 +990,26 @@
return alx_read_phy_reg(hw, ALX_MII_ISR, &isr);
}

@@ -163,7 +165,7 @@
void alx_disable_rss(struct alx_hw *hw)
{
u32 ctrl = alx_read_mem32(hw, ALX_RXQ0);
-@@ -1045,6 +1135,71 @@
+@@ -1045,6 +1135,71 @@
}


@@ -235,9 +237,10 @@
bool alx_get_phy_info(struct alx_hw *hw)
{
u16  devs1, devs2;
+diff -u drivers/net/ethernet/atheros/alx/hw.h 
drivers/net/ethernet/atheros/alx/hw.h
--- drivers/net/ethernet/atheros/alx/hw.h       2016-12-11 20:17:54.000000000 
+0100
+++ drivers/net/ethernet/atheros/alx/hw.h       2016-12-13 13:36:36.464047098 
+0100
-@@ -488,6 +488,8 @@
+@@ -488,6 +488,8 @@
u8 flowctrl;
u32 adv_cfg;

@@ -246,7 +249,7 @@
spinlock_t mdio_lock;
struct mdio_if_info mdio;
u16 phy_id[2];
-@@ -550,12 +552,14 @@
+@@ -550,12 +552,14 @@
void alx_enable_aspm(struct alx_hw *hw, bool l0s_en, bool l1_en);
int alx_setup_speed_duplex(struct alx_hw *hw, u32 ethadv, u8 flowctrl);
void alx_post_phy_link(struct alx_hw *hw);
@@ -261,7 +264,7 @@
void alx_cfg_mac_flowcontrol(struct alx_hw *hw, u8 fc);
void alx_start_mac(struct alx_hw *hw);
int alx_reset_mac(struct alx_hw *hw);
-@@ -564,6 +568,7 @@
+@@ -564,6 +568,7 @@
void alx_configure_basic(struct alx_hw *hw);
void alx_mask_msix(struct alx_hw *hw, int index, bool mask);
void alx_disable_rss(struct alx_hw *hw);
@@ -269,9 +272,10 @@
bool alx_get_phy_info(struct alx_hw *hw);
void alx_update_hw_stats(struct alx_hw *hw);

+diff -u drivers/net/ethernet/atheros/alx/main.c 
drivers/net/ethernet/atheros/alx/main.c
--- drivers/net/ethernet/atheros/alx/main.c     2016-12-11 20:17:54.000000000 
+0100
+++ drivers/net/ethernet/atheros/alx/main.c     2016-12-13 13:36:47.736407751 
+0100
-@@ -894,6 +894,7 @@
+@@ -894,6 +894,7 @@
alx->rxbuf_size = ALX_MAX_FRAME_LEN(hw->mtu);
alx->tx_ringsz = 256;
alx->rx_ringsz = 512;
@@ -279,7 +283,7 @@
hw->imt = 200;
alx->int_mask = ALX_ISR_MISC;
hw->dma_chnl = hw->max_dma_chnl;
-@@ -1150,6 +1151,65 @@
+@@ -1150,6 +1151,65 @@
__alx_stop(netdev_priv(netdev));
return 0;
}
@@ -345,7 +349,7 @@

static void alx_link_check(struct work_struct *work)
{
-@@ -1637,6 +1697,8 @@
+@@ -1637,6 +1697,8 @@
goto out_unmap;
}

@@ -354,7 +358,7 @@
netdev_info(netdev,
"Qualcomm Atheros AR816x/AR817x Ethernet [%pM]\n",
netdev->dev_addr);
-@@ -1679,12 +1741,21 @@
+@@ -1679,12 +1741,21 @@
static int alx_suspend(struct device *dev)
{
struct pci_dev *pdev = to_pci_dev(dev);
@@ -381,7 +385,7 @@
return 0;
}

-@@ -1692,20 +1763,47 @@
+@@ -1692,20 +1763,47 @@
{
struct pci_dev *pdev = to_pci_dev(dev);
struct alx_priv *alx = pci_get_drvdata(pdev);
@@ -440,7 +444,7 @@
#endif


-@@ -1751,6 +1849,8 @@
+@@ -1751,6 +1849,8 @@
}

pci_set_master(pdev);
@@ -449,7 +453,7 @@

alx_reset_pcie(hw);
if (!alx_reset_mac(hw))
-@@ -1802,11 +1902,19 @@
+@@ -1802,11 +1902,19 @@
{}
};

diff --git a/source/base/kernel/fbcon.patch b/source/base/kernel/fbcon.patch
deleted file mode 100644
index 610cf9e..0000000
--- a/source/base/kernel/fbcon.patch
+++ /dev/null
@@ -1,111 +0,0 @@
-@@ -, +, @@
----
- drivers/video/console/fbcon.c | 67 ++++++++++++++++++++++++++-----------------
- 1 file changed, 40 insertions(+), 27 deletions(-)
---- a/drivers/video/console/fbcon.c
-+++ a/drivers/video/console/fbcon.c
-@@ -1165,6 +1165,8 @@ static void fbcon_free_font(struct display *p, bool 
freefont)
-       p->userfont = 0;
- }
-
-+static void set_vc_hi_font(struct vc_data *vc, bool set);
-+
- static void fbcon_deinit(struct vc_data *vc)
- {
-       struct display *p = &fb_display[vc->vc_num];
-@@ -1200,6 +1202,9 @@ static void fbcon_deinit(struct vc_data *vc)
-       if (free_font)
-               vc->vc_font.data = NULL;
-
-+      if (vc->vc_hi_font_mask)
-+              set_vc_hi_font(vc, false);
-+
-       if (!con_is_bound(&fb_con))
-               fbcon_exit();
-
-@@ -2436,32 +2441,10 @@ static int fbcon_get_font(struct vc_data *vc, struct 
console_font *font)
-       return 0;
- }
-
--static int fbcon_do_set_font(struct vc_data *vc, int w, int h,
--                           const u8 * data, int userfont)
-+/* set/clear vc_hi_font_mask and update vc attrs accordingly */
-+static void set_vc_hi_font(struct vc_data *vc, bool set)
- {
--      struct fb_info *info = registered_fb[con2fb_map[vc->vc_num]];
--      struct fbcon_ops *ops = info->fbcon_par;
--      struct display *p = &fb_display[vc->vc_num];
--      int resize;
--      int cnt;
--      char *old_data = NULL;
--
--      if (con_is_visible(vc) && softback_lines)
--              fbcon_set_origin(vc);
--
--      resize = (w != vc->vc_font.width) || (h != vc->vc_font.height);
--      if (p->userfont)
--              old_data = vc->vc_font.data;
--      if (userfont)
--              cnt = FNTCHARCNT(data);
--      else
--              cnt = 256;
--      vc->vc_font.data = (void *)(p->fontdata = data);
--      if ((p->userfont = userfont))
--              REFCOUNT(data)++;
--      vc->vc_font.width = w;
--      vc->vc_font.height = h;
--      if (vc->vc_hi_font_mask && cnt == 256) {
-+      if (!set) {
-               vc->vc_hi_font_mask = 0;
-               if (vc->vc_can_do_color) {
-                       vc->vc_complement_mask >>= 1;
-@@ -2484,7 +2467,7 @@ static int fbcon_do_set_font(struct vc_data *vc, int w, 
int h,
-                           ((c & 0xfe00) >> 1) | (c & 0xff);
-                       vc->vc_attr >>= 1;
-               }
--      } else if (!vc->vc_hi_font_mask && cnt == 512) {
-+      } else {
-               vc->vc_hi_font_mask = 0x100;
-               if (vc->vc_can_do_color) {
-                       vc->vc_complement_mask <<= 1;
-@@ -2516,8 +2499,38 @@ static int fbcon_do_set_font(struct vc_data *vc, int w, 
int h,
-                       } else
-                               vc->vc_video_erase_char = c & ~0x100;
-               }
--
-       }
-+}
-+
-+static int fbcon_do_set_font(struct vc_data *vc, int w, int h,
-+                           const u8 * data, int userfont)
-+{
-+      struct fb_info *info = registered_fb[con2fb_map[vc->vc_num]];
-+      struct fbcon_ops *ops = info->fbcon_par;
-+      struct display *p = &fb_display[vc->vc_num];
-+      int resize;
-+      int cnt;
-+      char *old_data = NULL;
-+
-+      if (con_is_visible(vc) && softback_lines)
-+              fbcon_set_origin(vc);
-+
-+      resize = (w != vc->vc_font.width) || (h != vc->vc_font.height);
-+      if (p->userfont)
-+              old_data = vc->vc_font.data;
-+      if (userfont)
-+              cnt = FNTCHARCNT(data);
-+      else
-+              cnt = 256;
-+      vc->vc_font.data = (void *)(p->fontdata = data);
-+      if ((p->userfont = userfont))
-+              REFCOUNT(data)++;
-+      vc->vc_font.width = w;
-+      vc->vc_font.height = h;
-+      if (vc->vc_hi_font_mask && cnt == 256)
-+              set_vc_hi_font(vc, false);
-+      else if (!vc->vc_hi_font_mask && cnt == 512)
-+              set_vc_hi_font(vc, true);
-
-       if (resize) {
-               int cols, rows;
---
diff --git a/source/include/kernel-version.sh b/source/include/kernel-version.sh
index 240a447..f4d6bbe 100644
--- a/source/include/kernel-version.sh
+++ b/source/include/kernel-version.sh
@@ -16,7 +16,7 @@
# * _F_kernelver_stable: the number of the -stable patch to use (if any)
# * _F_kernelver_nextver: the next kernel version
###
-_F_kernelver_ver=4.10.5
+_F_kernelver_ver=4.10.7
_F_kernelver_rel=1

###
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to