Re: [kernel/f21] Make sure acpi brightness_switch is disabled (like forever in Fedora)
by Hans de Goede
Hi Josh,
On 07/28/2014 07:04 PM, Josh Boyer wrote:
> commit e6fe382d1d53d4cdf9b544729dc823d4eab0217c
> Author: Josh Boyer <jwboyer(a)fedoraproject.org>
> Date: Mon Jul 28 13:03:01 2014 -0400
>
> Make sure acpi brightness_switch is disabled (like forever in Fedora)
>
> Upstream reverted the change to turn the ACPI brightness_switch_enabled
> parameter off by default. Revert the revert so we go back to the state
> Fedora has traditionally been in.
Ack, I was planning on doing this myself but you beat me to it, thanks for
taking care of this.
Note that 3.17 will have this patch:
https://git.kernel.org/cgit/linux/kernel/git/rafael/linux-pm.git/commit/?...
Which fixes the 2 steps being taken for one keypress problem while
keeping the acpi brightness_switch behavior enabled, so that people who
have an acpi-video controlled backlight and a userspace which does not
do backlight control (e.g. windowmaker).
So for 3.17 we should IMHO drop the revert-revert and stick with
upstream behavior.
Alternatively we could apply that patch now instead of the revert-revert.
Regards,
Hans
7 years, 10 months
fedora 14 kernel performance with ip forwarding workload
by Jesse Brandeburg
The other day I was running the stock fedora kernel on my ip
forwarding setup, to see what the performance was, and the performance
wasn't very good.
system is S5520HC dual socket 2.93GHz Xeon 5570 (Nehalem) with 3 quad
port 82580 adapters (12 ports). Traffic is bidirectional 64 byte
packets being forwarded and received on each port, basically port to
port routing. I am only using 12 flows currently.
The driver is igb, and I am using an affinity script that lines up
each pair of ports that are forwarding traffic into optimal
configurations for cache locality. I am also disabling
remote_node_defrag_ratio to stop cross node traffic.
With the fedora default kernel from F14 it appears that
CONFIG_NETFILTER=y means that I cannot unload all of netfilter even if
I stop iptables service.
perf showed netfilter being prominent, and removing it gives me much
higher throughput. Is there a reason CONFIG_NETFILTER=y ? Isn't it a
good thing to be able to disable netfilter if you want to?
Jesse
8 years
kernel-tests master: Fix typos found by Wouter Depypere (b4e1da1)
by Justin Forbes
Repository : http://git.fedorahosted.org/cgit/kernel-tests.git
On branch : master
>---------------------------------------------------------------
commit b4e1da18398cf13868cd66a66424bc100a244272
Author: Justin M. Forbes <jforbes(a)redhat.com>
Date: Thu Apr 23 07:45:07 2015 -0500
Fix typos found by Wouter Depypere
>---------------------------------------------------------------
config.example | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/config.example b/config.example
index 51a2fd1..370ae5e 100644
--- a/config.example
+++ b/config.example
@@ -20,7 +20,7 @@ submit=none
case $submit in
anonymous)
commit=y
- commithook="curl -H 'Expect:' -F "user=anonymous" -F "test_result=@$logfile\;type=text/x-log" https://apps.fedoraproject.org/kerneltest/upload/anonymous
+ commithook="curl -H 'Expect:' -F "user=anonymous" -F "test_result=@$logfile\;type=text/x-log" https://apps.fedoraproject.org/kerneltest/upload/anonymous"
;;
authenticated)
commit=y
@@ -30,7 +30,7 @@ authenticated)
if [ -n "$password" ]; then
password="-p $password"
fi
- commithook="fedora_submit.py $username $password -l $logfile"
+ commithook="./fedora_submit.py $username $password -l $logfile"
;;
*)
commithook=/usr/bin/true
8 years, 1 month
kernel-tests master: Mention config.example if no .config is found (3196d39)
by Justin Forbes
Repository : http://git.fedorahosted.org/cgit/kernel-tests.git
On branch : master
>---------------------------------------------------------------
commit 3196d3927dbde7b9fc04e923e277a7e61c49e9e1
Author: Justin M. Forbes <jforbes(a)redhat.com>
Date: Mon Apr 20 16:26:45 2015 -0500
Mention config.example if no .config is found
>---------------------------------------------------------------
runtests.sh | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/runtests.sh b/runtests.sh
index 0bfdf1b..2a22401 100755
--- a/runtests.sh
+++ b/runtests.sh
@@ -14,6 +14,8 @@ commithook=/usr/bin/true
if [ -f ./.config ]; then
source ./.config
+else
+ echo "No .config file found. You can cp config.example .config and edit as needed for easier log submission"
fi
kver=$(uname -r)
8 years, 1 month
[PATCH] enable mvebu on the lpae kernel. it has LPAE, there is boards that can have more than 4GiB ram. anaconda defaults to installing LPAE when the hardware supports it, so any install today will not work post install.
by Dennis Gilmore
Signed-off-by: Dennis Gilmore <dennis(a)ausil.us>
---
config-armv7 | 51 ---------------------------------------------------
config-armv7-generic | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
config-armv7-lpae | 1 -
kernel.spec | 3 +++
4 files changed, 54 insertions(+), 52 deletions(-)
diff --git a/config-armv7 b/config-armv7
index a37d238..2063c09 100644
--- a/config-armv7
+++ b/config-armv7
@@ -2,7 +2,6 @@
# CONFIG_ARCH_BERLIN is not set
# CONFIG_ARCH_KEYSTONE is not set
-CONFIG_ARCH_MVEBU=y
CONFIG_ARCH_MXC=y
CONFIG_ARCH_OMAP3=y
CONFIG_ARCH_OMAP4=y
@@ -18,56 +17,6 @@ CONFIG_ARCH_ZYNQ=y
# CONFIG_ARM_VIRT_EXT is not set
# CONFIG_VIRTUALIZATION is not set
-# mvebu
-CONFIG_MACH_ARMADA_370=y
-CONFIG_MACH_ARMADA_375=y
-CONFIG_MACH_ARMADA_38X=y
-CONFIG_MACH_ARMADA_XP=y
-CONFIG_MACH_DOVE=y
-
-CONFIG_MVEBU_DEVBUS=y
-CONFIG_PCI_MVEBU=y
-CONFIG_CACHE_TAUROS2=y
-CONFIG_MV_XOR=y
-CONFIG_CRYPTO_DEV_MV_CESA=m
-CONFIG_MV643XX_ETH=m
-CONFIG_PINCTRL_MVEBU=y
-CONFIG_PINCTRL_ARMADA_370=y
-CONFIG_PINCTRL_ARMADA_XP=y
-# CONFIG_ARM_MVEBU_V7_CPUIDLE is not set
-CONFIG_PINCTRL_DOVE=y
-CONFIG_EDAC_MV64X60=m
-CONFIG_RTC_DRV_S35390A=m
-CONFIG_RTC_DRV_88PM80X=m
-CONFIG_RTC_DRV_ISL12057=m
-CONFIG_RTC_DRV_MV=m
-CONFIG_RTC_DRV_ARMADA38X=m
-CONFIG_MVNETA=m
-CONFIG_GPIO_MVEBU=y
-CONFIG_MVEBU_CLK_CORE=y
-CONFIG_MVEBU_CLK_COREDIV=y
-CONFIG_MMC_MVSDIO=m
-CONFIG_MMC_SDHCI_DOVE=m
-CONFIG_SPI_ORION=m
-CONFIG_USB_MV_UDC=m
-CONFIG_MVEBU_MBUS=y
-CONFIG_USB_XHCI_MVEBU=m
-CONFIG_PHY_MVEBU_SATA=y
-CONFIG_AHCI_MVEBU=m
-CONFIG_ARMADA_THERMAL=m
-CONFIG_DOVE_THERMAL=m
-CONFIG_DRM_ARMADA=m
-CONFIG_ORION_WATCHDOG=m
-CONFIG_SND_KIRKWOOD_SOC=m
-CONFIG_SND_KIRKWOOD_SOC_ARMADA370_DB=m
-CONFIG_USB_EHCI_HCD_ORION=m
-CONFIG_MMC_SDHCI_PXAV3=m
-CONFIG_MVPP2=m
-CONFIG_COMMON_CLK_SI5351=m
-CONFIG_RTC_DRV_ARMADA38X=m
-# CONFIG_CACHE_FEROCEON_L2 is not set
-# CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH is not set
-
# omap
CONFIG_ARCH_OMAP2PLUS_TYPICAL=y
CONFIG_SOC_OMAP5=y
diff --git a/config-armv7-generic b/config-armv7-generic
index b853829..e321d8a 100644
--- a/config-armv7-generic
+++ b/config-armv7-generic
@@ -399,6 +399,57 @@ CONFIG_RTC_DRV_AS3722=y
CONFIG_TI_SOC_THERMAL=m
CONFIG_TI_THERMAL=y
+# mvebu
+CONFIG_ARCH_MVEBU=y
+CONFIG_MACH_ARMADA_370=y
+CONFIG_MACH_ARMADA_375=y
+CONFIG_MACH_ARMADA_38X=y
+CONFIG_MACH_ARMADA_XP=y
+CONFIG_MACH_DOVE=y
+
+CONFIG_MVEBU_DEVBUS=y
+CONFIG_PCI_MVEBU=y
+CONFIG_CACHE_TAUROS2=y
+CONFIG_MV_XOR=y
+CONFIG_CRYPTO_DEV_MV_CESA=m
+CONFIG_MV643XX_ETH=m
+CONFIG_PINCTRL_MVEBU=y
+CONFIG_PINCTRL_ARMADA_370=y
+CONFIG_PINCTRL_ARMADA_XP=y
+# CONFIG_ARM_MVEBU_V7_CPUIDLE is not set
+CONFIG_PINCTRL_DOVE=y
+CONFIG_EDAC_MV64X60=m
+CONFIG_RTC_DRV_S35390A=m
+CONFIG_RTC_DRV_88PM80X=m
+CONFIG_RTC_DRV_ISL12057=m
+CONFIG_RTC_DRV_MV=m
+CONFIG_RTC_DRV_ARMADA38X=m
+CONFIG_MVNETA=m
+CONFIG_GPIO_MVEBU=y
+CONFIG_MVEBU_CLK_CORE=y
+CONFIG_MVEBU_CLK_COREDIV=y
+CONFIG_MMC_MVSDIO=m
+CONFIG_MMC_SDHCI_DOVE=m
+CONFIG_SPI_ORION=m
+CONFIG_USB_MV_UDC=m
+CONFIG_MVEBU_MBUS=y
+CONFIG_USB_XHCI_MVEBU=m
+CONFIG_PHY_MVEBU_SATA=y
+CONFIG_AHCI_MVEBU=m
+CONFIG_ARMADA_THERMAL=m
+CONFIG_DOVE_THERMAL=m
+CONFIG_DRM_ARMADA=m
+CONFIG_ORION_WATCHDOG=m
+CONFIG_SND_KIRKWOOD_SOC=m
+CONFIG_SND_KIRKWOOD_SOC_ARMADA370_DB=m
+CONFIG_USB_EHCI_HCD_ORION=m
+CONFIG_MMC_SDHCI_PXAV3=m
+CONFIG_MVPP2=m
+CONFIG_COMMON_CLK_SI5351=m
+CONFIG_RTC_DRV_ARMADA38X=m
+# CONFIG_CACHE_FEROCEON_L2 is not set
+# CONFIG_CACHE_FEROCEON_L2_WRITETHROUGH is not set
+
# DRM panels
CONFIG_DRM_PANEL=y
CONFIG_DRM_PANEL_SIMPLE=m
diff --git a/config-armv7-lpae b/config-armv7-lpae
index f117193..7600dd4 100644
--- a/config-armv7-lpae
+++ b/config-armv7-lpae
@@ -1,7 +1,6 @@
# ARM A15 lpae unified arch kernel
CONFIG_ARCH_KEYSTONE=y
-# CONFIG_ARCH_MVEBU is not set
# CONFIG_ARCH_MXC is not set
# CONFIG_ARCH_OMAP3 is not set
# CONFIG_ARCH_OMAP4 is not set
diff --git a/kernel.spec b/kernel.spec
index e217ae8..aedf75f 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -2199,6 +2199,9 @@ fi
#
#
%changelog
+* Sat Apr 18 2015 Dennis Gilmore <dennis(a)ausil.us>
+- enable mvebu for the LPAE kernel
+
* Fri Apr 17 2015 Josh Boyer <jwboyer(a)fedoraproject.org> - 4.1.0-0.rc0.git7.1
- Linux v4.0-7300-g4fc8adcfec3d
- Patch from Benjamin Tissoires to fix 3 finger tap on synaptics (rhbz 1212230)
--
2.3.5
8 years, 1 month
kernel-tests master: Add config example for automatic submission of logs (360a778)
by Justin Forbes
Repository : http://git.fedorahosted.org/cgit/kernel-tests.git
On branch : master
>---------------------------------------------------------------
commit 360a7789328efb00479e4ecc942db17fb5cea118
Author: Justin M. Forbes <jforbes(a)redhat.com>
Date: Fri Apr 17 17:15:38 2015 -0500
Add config example for automatic submission of logs
>---------------------------------------------------------------
config.example | 37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/config.example b/config.example
new file mode 100644
index 0000000..51a2fd1
--- /dev/null
+++ b/config.example
@@ -0,0 +1,37 @@
+# Fedora Result Submit Method
+# Default is no submit. Other options are 'anonymous' where we get results
+# without requiring FAS authentication, or 'authenticated' which will use
+# FAS authentication to upload and give you credit towards Fedora Badges.
+
+submit=none
+# submit=anonymous
+# submit=authenticated
+
+
+# FAS User credentials.
+# Storing your FAS password here is technically possible, but not advisable
+# for security seasons
+
+# username=''
+# password=''
+
+# **************** Nothing to edit below here ****************
+
+case $submit in
+anonymous)
+ commit=y
+ commithook="curl -H 'Expect:' -F "user=anonymous" -F "test_result=@$logfile\;type=text/x-log" https://apps.fedoraproject.org/kerneltest/upload/anonymous
+ ;;
+authenticated)
+ commit=y
+ if [ -n "$username" ]; then
+ username="-u $username"
+ fi
+ if [ -n "$password" ]; then
+ password="-p $password"
+ fi
+ commithook="fedora_submit.py $username $password -l $logfile"
+ ;;
+*)
+ commithook=/usr/bin/true
+esac
diff --git a/fedora_submit.py b/fedora_submit.py
old mode 100644
new mode 100755
8 years, 1 month
4.0 final, 4.1 merge window, and us
by Josh Boyer
Hi All,
The 4.0 final release is in rawhide and submitted for an update for
Fedora 22 now. Given the release schedules for 4.1 and F22, we're
going to stick with 4.0 for F22 GA. Please stick to fixes for F22 and
we'll no longer keep that branch in sync with rawhide.
The 4.1 merge window is open and active upstream as well. I'll be
rebasing rawhide to those kernels likely later today or tomorrow. If
you have things that are landing in 4.1 that you'd like enabled,
please let us know. The only major feature I'm aware of that might
land is kdbus, but the jury is still out on that one.
Thanks.
josh
8 years, 1 month
kernel-tests master: Add auto submit script for FAS users (de3640d)
by Justin Forbes
Repository : http://git.fedorahosted.org/cgit/kernel-tests.git
On branch : master
>---------------------------------------------------------------
commit de3640d7b970cf6720b5b574e203df1c307751a9
Author: Justin M. Forbes <jforbes(a)redhat.com>
Date: Fri Apr 10 14:27:41 2015 -0500
Add auto submit script for FAS users
>---------------------------------------------------------------
fedora_submit.py | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 54 insertions(+), 0 deletions(-)
diff --git a/fedora_submit.py b/fedora_submit.py
new file mode 100644
index 0000000..0461f36
--- /dev/null
+++ b/fedora_submit.py
@@ -0,0 +1,54 @@
+#!/usr/bin/env python
+#
+# Licensed under the terms of the GNU GPL License version 2
+
+from fedora.client import OpenIdBaseClient
+import getpass
+import sys, getopt
+
+username = ''
+password = ''
+log = ''
+
+argv = sys.argv[1:]
+try:
+ opts, args = getopt.getopt(argv,"hu:p:l:",["user=","password=", "logfile="])
+except getopt.GetoptError:
+ print 'fedora_submit.py -u <fasuser> [-p <password>] -l <logfile>'
+ sys.exit(2)
+for opt, arg in opts:
+ if opt == '-h':
+ print 'fedora_submit.py -u <fasuser> [-p <password>] -l <logfile>'
+ sys.exit()
+ elif opt in ("-u", "--user"):
+ username = arg
+ elif opt in ("-p", "--password"):
+ password = arg
+ elif opt in ("-l", "--logfile"):
+ log = arg
+
+if username == '' or log == '':
+ print 'fedora_submit.py -u <fasuser> [-p <password>] -l <logfile>'
+ sys.exit(2)
+if password == '':
+ password = getpass.getpass('FAS password: ')
+
+submitclient = OpenIdBaseClient(
+ base_url='https://apps.fedoraproject.org/kerneltest/',
+ login_url='https://apps.fedoraproject.org/kerneltest/login',
+ username=username,
+)
+
+submitclient.login(
+ submitclient.username,
+ password=password
+)
+
+req = submitclient.send_request(
+ 'https://apps.fedoraproject.org/kerneltest/upload/anonymous',
+ verb='POST',
+ auth=True,
+ files= { 'test_result': ('logfile', open(log, 'rb'), 'text/x-log'),}
+)
+
+print req.text
8 years, 1 month
RFE: Enable CONFIG_R8188EU (from staging) in Fedora (ARM) kernels
by Hans de Goede
Hi,
The usb wifi modules supported by CONFIG_R8188EU (from staging)
are used on quite a few Allwinner ARM boards which we now support,
can the (staging) driver for these be enabled please?
If not in general, then at least for ARM?
Thanks & Regards,
Hans
8 years, 2 months