Commit Graph

395 Commits

Author SHA1 Message Date
Justin M. Forbes
98c76e090f Linux v4.15-1549-g6304672b7f0a 2018-01-30 12:26:27 -06:00
Peter Robinson
613cf10377 Filter GPU bridge drivers on all arches, re-enable adv7511 2018-01-29 22:28:36 +00:00
Don Zickus
4df1293806 Fix misnamed CONFIG files
A couple of CONFIG file names were misnamed during their creation.
Fix them up.

configs/fedora/generic/CONFIG_DEBUG_VM_RB revisit this if performance isn't horrible -> configs/fedora/generic/CONFIG_DEBUG_VM_RB

and

configs/fedora/generic/CONFIG_DPM_WATCHDOG revisit this in debug -> configs/fedora/generic/CONFIG_DPM_WATCHDOG
2018-01-25 00:13:35 -08:00
Laura Abbott
2841ab2761 Enable CONFIG_IP6_NF_TARGET_NPT (rhbz 1435884) 2018-01-18 08:59:42 -08:00
Peter Robinson
283a6156bc add MMC support for 96boards Synquacer platform, add missing CONFIG_BPF_JIT_ALWAYS_ON as it changed the generated config 2018-01-13 06:20:30 +00:00
Justin M. Forbes
78b277bd72 Initial retpoline patches for Spectre v2 2018-01-11 10:28:58 -06:00
Laura Abbott
e3ed9bf70d Disable CONFIG_RESET_ATTACK_MITIGATION (rhbz 1532058) 2018-01-08 14:37:57 -08:00
Peter Robinson
b56d7dd11d remove old qcom config options 2018-01-08 09:45:22 +00:00
Don Zickus
62496f789f configs: Update config generation script to use configs/fedora
The previous patch moved the configs/base-{generic,debug} to configs/fedora.
Now we update the scripts to reflect that change.  Changing the scripts
was straightforward.  Handling overrides that didn't use generic names
was a little trickier.

To handle random override names (well rhel), I added some extra logic
in the config_generation script called "ORDER".  This tells the scripts
which configs to lay down first and which one overrides it.

Through some testing, I realized I could simplify things and just create
an outer 'order' loop.  This removed some duplicated code.

The other change is the 'skip_if_missing' flag.  The overrides directory
will not mimic the baseline directory layout 100%.  Ensure the baseline
config files are all there, but allow the overrides to have missing files.

Tested on my Fedora and my RHEL tree with success.
2018-01-05 14:40:19 -08:00
Don Zickus
4d6d8cc5c1 configs: Move base-debug and base-generic to configs/fedora
It was suggested that base-debug and base-generic were not good names
to use.  Further discussion led to using configs/fedora for the base
config files and configs/rhel for any overrides.

This patch does a plain

mkdir configs/fedora
git mv configs/base-{generic,debug} configs/fedora

No code changes.
2018-01-05 14:40:14 -08:00
Laura Abbott
1de23271b4 Enable CONFIG_ACPI_REV_OVERRIDE_POSSIBLE 2018-01-03 08:26:25 -08:00
Laura Abbott
07e9ba770a Linux v4.15-rc6 2017-12-31 16:28:27 -08:00
Hans de Goede
148a32e255 Add patches which allow specifying a default SATA linkpower management policy
for mobile chipsets and set the default LPM policy to "med_power_with_dipm"
2017-12-22 18:24:57 +01:00
Laura Abbott
7e5cbdbc68 Linux v4.15-rc4 2017-12-18 09:27:37 -08:00
Jeremy Cline
b59e92ed22
Set CONFIG_SND_HDA_POWER_SAVE_DEFAULT=1 on x86_64 only (rhbz 1525561) 2017-12-15 09:39:04 -05:00
Hans de Goede
c7187efdb4 Enable CONFIG_REGULATOR on x86_64 2017-12-15 13:26:13 +01:00
Laura Abbott
5919ce3742 Linux v4.15-rc2-174-g328b4ed93b69 2017-12-06 09:48:29 -08:00
Peter Robinson
837c7f7fd0 Enable HID_CP2112 2017-12-06 11:05:48 +00:00
Peter Robinson
d809d3e285 enable GPIO_PCF857X for all ARM arches 2017-12-06 06:13:48 +00:00
Peter Robinson
bd6ba47fb1 minor IrDA cleanup, add fix for Pine64 boot already in 4.14 2017-12-06 04:33:38 +00:00
Peter Robinson
9e9be214f5 Disable IrDA (broken, being dropped upstream) 2017-12-06 04:13:25 +00:00
Peter Robinson
afeb9a1070 Minor updates for sun4i drm drivers 2017-12-04 22:22:54 +00:00
Peter Robinson
41e3b9959e enable Simple PM Bus on ARM 2017-12-04 08:25:25 +00:00
Laura Abbott
e173d2adb6 Linux v4.15-rc1 2017-11-27 09:15:57 -08:00
Peter Robinson
690839d2c7 explicitly enable reset simple on ARM 2017-11-27 15:40:21 +00:00
Peter Robinson
f74f35732d Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/kernel 2017-11-23 14:19:51 +00:00
Justin M. Forbes
917a598403 Config options for non debug kernels 2017-11-21 12:44:40 -06:00
Peter Robinson
2d1ca3ead8 Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/kernel 2017-11-21 09:17:27 +00:00
Laura Abbott
f43033cacb Enable driver for the Behringer BCD 2000 (rhbz 1514945) 2017-11-20 10:11:18 -08:00
Laura Abbott
0805625aea Linux v4.14-12891-gc8a0739b185d
Also turn off a powerpc crypto drive that was failing to compile
2017-11-20 10:01:00 -08:00
Laura Abbott
8221dd34f7 Linux v4.14-12375-g2dcd9c71c1ff 2017-11-17 17:10:07 -08:00
Peter Robinson
0830aa88cf drop deprecated option 2017-11-17 11:52:43 +00:00
Laura Abbott
f332286838 Filtering really just gets too complicated. This is getting turned off. 2017-11-16 15:35:03 -08:00
Laura Abbott
863b68486c Turn of this option since it depends on the IR subsystem 2017-11-16 12:06:56 -08:00
Laura Abbott
f0b5033e57 Turn off CONFIG_DRM_SIL_SII8620 since it has strange dependencies 2017-11-16 11:16:17 -08:00
Laura Abbott
6a1970be52 Linux v4.14-9248-ge60e1ee60630 2017-11-16 09:50:37 -08:00
Hans de Goede
1e02c6bb34 Enable USB autosuspend for USB bluetooth receivers by default, use
btusb.enable_autosuspend=n on the kernel cmdline to disable
2017-11-16 13:10:41 +01:00
Laura Abbott
1895d363af Disable IPX and NCPFS
These are being deprecated by the kernel community
https://marc.info/?l=linux-netdev&m=151067745601327&w=2

Turn them off in advance.
2017-11-15 11:54:45 -08:00
Laura Abbott
e1d147112d Linux v4.14-4050-g37cb8e1f8e10 2017-11-15 09:40:48 -08:00
Laura Abbott
2ef4e8028f Linux v4.14-2229-g894025f24bd0 2017-11-14 10:28:07 -08:00
Laura Abbott
1a5d247609 Linux v4.14-104-g1e19bded7f5d
Also flip MAXSMP for generic vs. debug config
(see f4861c48b8)
2017-11-13 11:44:06 -08:00
Don Zickus
2bf928dd97 configs: Update scripts and spec file with layout changes
With the configs in the new place, update the scripts to find
them and utilize the base-generic and generic heirarchy to apply
configs and overrides.

Implement new process_configs.sh script that post-process the
config changes in a simple script and remove those commands
from the spec file.  Add option flags to preserve functionality.

config_generation is a simple rename of baseconfig -> generic and
debugconfig -> debug and arm64 -> aarach64.

build_configs.sh is modified to find configs in generic and base-generic and
then apply base-generic first and if any generic files, apply those next.  The
generic directory is used as an overrides and is expected to be empty for
Fedora initially.

kernel.spec is modified to use process_configs.sh instead of all the
commands in the spec file.  Enabled spec options are translated to
script options.  The config manipulation is moved to be grouped
with all config manipulation commands.  This makes 'cd configs/' simpler.
Now all config scripts and executiion are done in configs/ directory.

v1 -> v2:
* the scripts were not working with SUBARCH correctly
* checkoptions was using wrong comparison file
* passing wrong kernel version to process_configs in spec file

v2 -> v3:
(incorporate Laura A's feedback)
* update README.txt
* fix build_configs.sh warnings
* Output info message on listnewconfig failure
2017-11-13 09:39:17 -08:00
Don Zickus
4be26cbac7 configs: Create symlinks to used scripts
As part of the config re-organization, put the scripts needed to create
the config files in the configs/ directory.  At the top level create
symlinks for those scripts.  This allows the kernel.spec file to find
the scripts it needs and work correctly.

No code changes.
2017-11-13 09:39:16 -08:00
Don Zickus
c54d82caa9 configs: Rename config directories to sub-directory
As part of an effort to foster better cross collaboration with
internal Red Hat kernels, align the configs layout to match
that kernel.  This will allow Red Hat engineers to provide easier
guidance on how to set various config options.

In addition, the scripts that process the config options will migrate
to the configs/ directory too in later patches.  Future config
workflows will stage all work in the configs/ area.

A simple diff between the kernels will easily expose which config
options are different.  Reading the comments in the file provides
guidance to Fedora to determine if that kernel should make a
similar change or not.

Rename debugconfig -> configs/base-debug
Rename baseconfig -> configs/base-generic
Rename configs/base-generic/arm/arm64 -> configs/base-generic/arm/aarch64

No code changes made.
2017-11-13 09:39:12 -08:00
Laura Abbott
1b7eeb8019 Change method of configuration generation
The existing method of managing configuration files gets unweildy.
Changing individual lines in text files gets difficult without
manual organization. Switch to a method of configuration generation
that's inspired from the method used inside Red Hat. Each configuration
option gets its own file which are then combined to form the
configuration files. This makes confirming what's actually enabled much
easier.
2016-12-06 12:07:10 -08:00