The Linux kernel
Go to file
Paul Bolle da848d916b Remove all references to unknown Kconfig symbols
There are 244 Kconfig symbols referenced in the files used for
configuration generation and in the shipped .config files that are
unknown in v4.20-rc1. Neither are these symbols added in the patches
that Fedora applies. The references to these symbols can be safely
removed.

These symbols are:
    CONFIG_8723AU_AP_MODE
    CONFIG_8723AU_BT_COEXIST
    CONFIG_ACPI_NFIT_DEBUG
    CONFIG_ACPI_PROCFS
    CONFIG_ADE7753
    CONFIG_ADE7754
    CONFIG_ADE7758
    CONFIG_ADE7759
    CONFIG_ADIS16060
    CONFIG_ALTERNATIVES
    CONFIG_ARM64_PTDUMP
    CONFIG_ARM_ASM_UNIFIED
    CONFIG_ARM_PTDUMP
    CONFIG_ATH9K_DEBUG
    CONFIG_AVERAGE
    CONFIG_AXON_RAM
    CONFIG_BACKLIGHT_LM3630
    CONFIG_BLK_DEV_NVME_SCSI
    CONFIG_BLK_DEV_OSD
    CONFIG_BLK_DEV_RAM_DAX
    CONFIG_BOOTPARAM_LOCKDEP_CROSSRELEASE_FULLSTACK
    CONFIG_BT_HCIBTUART
    CONFIG_BUILD_DOCSRC
    CONFIG_BUILD_ID_SALT
    CONFIG_CC_STACKPROTECTOR_AUTO
    CONFIG_CC_STACKPROTECTOR_NONE
    CONFIG_CC_STACKPROTECTOR_REGULAR
    CONFIG_CIFS_SMB2
    CONFIG_CIFS_SMB311
    CONFIG_CIFS_STATS
    CONFIG_CPU_FREQ_STAT_DETAILS
    CONFIG_CPU_NOTIFIER_ERROR_INJECT
    CONFIG_CROS_EC_CHARDEV
    CONFIG_CROSS_COMPILE
    CONFIG_CRYPTO_CRC32_ARM64
    CONFIG_CRYPTO_CRC32_ARM64_CE
    CONFIG_CRYPTO_MCRYPTD
    CONFIG_CRYPTO_SALSA20_586
    CONFIG_CRYPTO_SALSA20_X86_64
    CONFIG_CRYPTO_SHA1_MB
    CONFIG_CRYPTO_SHA256_MB
    CONFIG_CRYPTO_SHA512_MB
    CONFIG_CRYPTO_SKEIN
    CONFIG_CTC
    CONFIG_DEBUG_NX_TEST
    CONFIG_DEBUG_REFCOUNT
    CONFIG_DEBUG_SET_MODULE_RONX
    CONFIG_DGAP
    CONFIG_DGNC
    CONFIG_DIRECT_GBPAGES
    CONFIG_DISABLE_MPROFILE_KERNEL
    CONFIG_DM_CACHE_CLEANER
    CONFIG_DM_MQ_DEFAULT
    CONFIG_DRM_AMD_DC_FBC
    CONFIG_DRM_AMD_DC_PRE_VEGA
    CONFIG_DRM_AMD_POWERPLAY
    CONFIG_DRM_DEBUG_MM_SELFTEST
    CONFIG_DRM_ETNAVIV_REGISTER_LOGGING
    CONFIG_DRM_IMX_IPUV3
    CONFIG_DRM_OMAP_NUM_CRTCS
    CONFIG_DRM_TILCDC_SLAVE_COMPAT
    CONFIG_DT3155
    CONFIG_DVB_USB_FRIIO
    CONFIG_DW_DMAC_BIG_ENDIAN_IO
    CONFIG_EFI_ALLOW_SECURE_BOOT_EXIT
    CONFIG_EFI_SECURE_BOOT_LOCK_DOWN
    CONFIG_EFI_SECURE_BOOT_SIG_ENFORCE
    CONFIG_ENABLE_WARN_DEPRECATED
    CONFIG_FB_AUO_K190X
    CONFIG_FUJITSU_LAPTOP_DEBUG
    CONFIG_GPIO_AXP209
    CONFIG_GPIO_DEVRES
    CONFIG_GPIO_MCP23S08
    CONFIG_GPIO_SX150X
    CONFIG_HFI1_VERBS_31BIT_PSN
    CONFIG_HFSPLUS_FS_POSIX_ACL
    CONFIG_HOTPLUG
    CONFIG_HT_IRQ
    CONFIG_I2C_DESIGNWARE
    CONFIG_I2O
    CONFIG_I40E_FCOE
    CONFIG_I7300_IDLE
    CONFIG_IDMA64
    CONFIG_INFINIBAND_CXGB3_DEBUG
    CONFIG_INFINIBAND_EXP_USER_ACCESS
    CONFIG_INPUT_GPIO
    CONFIG_INPUT_GPIO_TILT_POLLED
    CONFIG_INTEL_RDT_A
    CONFIG_IOMMU_STRESS
    CONFIG_IP1000
    CONFIG_IP_DCCP_CCID2
    CONFIG_IPL
    CONFIG_IPV6_SEG6_INLINE
    CONFIG_IRDA
    CONFIG_IR_LIRC_CODEC
    CONFIG_IRQ_DOMAIN_DEBUG
    CONFIG_IWM
    CONFIG_KEXEC_SIG
    CONFIG_KEXEC_SIG_FORCE
    CONFIG_KVM_DEVICE_ASSIGNMENT
    CONFIG_LGUEST
    CONFIG_LGUEST_GUEST
    CONFIG_LIRC_BT829
    CONFIG_LIRC_IMON
    CONFIG_LIRC_PARALLEL
    CONFIG_LIRC_SERIAL
    CONFIG_LIRC_SERIAL_TRANSMITTER
    CONFIG_LIRC_STAGING
    CONFIG_LIRC_ZILOG
    CONFIG_LNET
    CONFIG_LOGFS
    CONFIG_LPFC_NVME_INITIATOR
    CONFIG_LPFC_NVME_TARGET
    CONFIG_MACH_MESON8B
    CONFIG_MCE_AMD_INJ
    CONFIG_MEDIA_CEC_DEBUG
    CONFIG_MEDIA_RC_SUPPORT
    CONFIG_MFD_CROS_EC_I2C
    CONFIG_MFD_CROS_EC_SPI
    CONFIG_MG_DISK
    CONFIG_MLX_CPLD_PLATFORM
    CONFIG_MOVABLE_NODE
    CONFIG_MTD_NAND_DOCG4
    CONFIG_MTD_NAND_PXA3xx
    CONFIG_MVEBU_CLK_CORE
    CONFIG_NET_CADENCE
    CONFIG_NET_CLS_ROUTE
    CONFIG_NET_DCCPPROBE
    CONFIG_NET_DSA_HWMON
    CONFIG_NETFILTER_DEBUG
    CONFIG_NET_PACKET_ENGINE
    CONFIG_NET_SCTPPROBE
    CONFIG_NET_TCPPROBE
    CONFIG_NET_VENDOR_EXAR
    CONFIG_NET_VENDOR_SNI
    CONFIG_NF_CONNTRACK_IPV4
    CONFIG_NF_CONNTRACK_IPV6
    CONFIG_NF_CONNTRACK_PROC_COMPAT
    CONFIG_NFC_WILINK
    CONFIG_NFP_NET_DEBUG
    CONFIG_NFP_NETVF
    CONFIG_NFT_BRIDGE_META
    CONFIG_NFT_EXTHDR
    CONFIG_NFT_META
    CONFIG_NFT_RBTREE
    CONFIG_NFT_RT
    CONFIG_NFT_SET_BITMAP
    CONFIG_NFT_SET_HASH
    CONFIG_NFT_SET_RBTREE
    CONFIG_NL80211
    CONFIG_NMI_LOG_BUF_SHIFT
    CONFIG_NO_BOOTMEM
    CONFIG_NO_HZ_FULL_ALL
    CONFIG_NO_HZ_FULL_SYSIDLE
    CONFIG_NR_DEV_DAX
    CONFIG_OLPC_XO1
    CONFIG_OMAP2_DSS_RFBI
    CONFIG_OMAP_PM_NOOP
    CONFIG_PHONE
    CONFIG_PHY_MIPHY365X
    CONFIG_PHY_STIH41X_USB
    CONFIG_PNFS_OBJLAYOUT
    CONFIG_PPC_CPUFEATURES_ENABLE_UNKNOWN
    CONFIG_PPC_ICSWX
    CONFIG_PPC_ICSWX_PID
    CONFIG_PPC_ICSWX_USE_SIGILL
    CONFIG_PROVE_RCU_REPEATEDLY
    CONFIG_QETH_IPV6
    CONFIG_R8723AU
    CONFIG_RCU_KTHREAD_PRIO
    CONFIG_RCU_NOCB_CPU_ALL
    CONFIG_RCU_TORTURE_TEST_SLOW_CLEANUP
    CONFIG_RCU_TORTURE_TEST_SLOW_INIT
    CONFIG_RCU_TORTURE_TEST_SLOW_INIT_DELAY
    CONFIG_RCU_TORTURE_TEST_SLOW_PREINIT
    CONFIG_RESET_GPIO
    CONFIG_RESET_HSDK_V1
    CONFIG_RIO
    CONFIG_RTC_DRV_DS1307_HWMON
    CONFIG_RTC_DRV_ISL12057
    CONFIG_RTC_DS1685_PROC_REGS
    CONFIG_RTC_DS1685_SYSFS_REGS
    CONFIG_S390_GUEST_OLD_TRANSPORT
    CONFIG_SAMSUNG_USBPHY
    CONFIG_SCM_BLOCK_CLUSTER_WRITE
    CONFIG_SCSI_EATA
    CONFIG_SCSI_EATA_PIO
    CONFIG_SCSI_FUTURE_DOMAIN
    CONFIG_SCSI_IN2000
    CONFIG_SCSI_SRP
    CONFIG_SECURITY_SELINUX_POLICYDB_VERSION_MAX
    CONFIG_SENSORS_TWL4030_MADC
    CONFIG_SHARED_KERNEL
    CONFIG_SIGMA
    CONFIG_SILEAD_DMI
    CONFIG_SND_HDA_POWER_SAVE
    CONFIG_SND_SOC_DIO2125
    CONFIG_SOC_EXYNOS4212
    CONFIG_SOC_EXYNOS4415
    CONFIG_SOC_EXYNOS5440
    CONFIG_SOLO6X10
    CONFIG_SPARSE_RCU_POINTER
    CONFIG_SSB_DEBUG
    CONFIG_SSB_SILENT
    CONFIG_STE_MODEM_RPROC
    CONFIG_STRIP
    CONFIG_SYNOPSYS_DWC_ETH_QOS
    CONFIG_TEST_FIND_BIT
    CONFIG_TI_DAC7512
    CONFIG_TOUCHSCREEN_FT6236
    CONFIG_TOUCHSCREEN_INTEL_MID
    CONFIG_TR
    CONFIG_TRACE_ENUM_MAP_FILE
    CONFIG_TSL2x7x
    CONFIG_UCSI
    CONFIG_UIO_PDRV
    CONFIG_USB_ATMEL
    CONFIG_USB_CHIPIDEA_ULPI
    CONFIG_USB_DEBUG
    CONFIG_USB_EZUSB
    CONFIG_USB_GADGET_LEGACY
    CONFIG_USB_SERIAL_KEYSPAN_MPR
    CONFIG_USB_SERIAL_KEYSPAN_USA18X
    CONFIG_USB_SERIAL_KEYSPAN_USA19
    CONFIG_USB_SERIAL_KEYSPAN_USA19QI
    CONFIG_USB_SERIAL_KEYSPAN_USA19QW
    CONFIG_USB_SERIAL_KEYSPAN_USA19W
    CONFIG_USB_SERIAL_KEYSPAN_USA28
    CONFIG_USB_SERIAL_KEYSPAN_USA28X
    CONFIG_USB_SERIAL_KEYSPAN_USA28XA
    CONFIG_USB_SERIAL_KEYSPAN_USA28XB
    CONFIG_USB_SERIAL_KEYSPAN_USA49W
    CONFIG_USB_SERIAL_KEYSPAN_USA49WLC
    CONFIG_USE_THIN_ARCHIVES
    CONFIG_VIDEO_CPIA
    CONFIG_VIDEO_SAMSUNG_S5P_TV
    CONFIG_VIDEO_SH_MOBILE_CSI2
    CONFIG_VIDEO_STK1160_AC97
    CONFIG_VIDEO_TW686X_KH
    CONFIG_VIDEO_VIVI
    CONFIG_W1_SLAVE_BQ27000
    CONFIG_W1_SLAVE_DS2760
    CONFIG_XEN_DEBUG
    CONFIG_XEN_SCRUB_PAGES

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
2018-11-08 10:44:32 -06:00
configs Remove all references to unknown Kconfig symbols 2018-11-08 10:44:32 -06:00
scripts Adjust grep pattern for finding Kconfig symbols 2018-11-08 10:38:58 -06:00
tests Add memory/filesystem tests 2018-10-05 09:51:31 -04:00
.gitignore Add kernel-{headers,tools} to .gitignore 2018-08-28 09:55:29 -04:00
0001-iio-Use-event-header-from-kernel-tree.patch Fix for incorrect return checking in cpupower (rhbz 1374212) 2016-09-14 09:42:37 -07:00
0001-Make-get_cert_list-not-complain-about-cert-lists-tha.patch Update MODSIGN fixes with dhowell's first round of feedback. 2018-01-09 17:11:55 -05:00
0001-s390-mm-Fix-ERROR-__node_distance-undefined.patch Linux v4.19-11807-g310c7585e830 2018-10-31 13:11:02 -05:00
0002-Add-efi_status_to_str-and-rework-efi_status_to_err.patch Update MODSIGN fixes with dhowell's first round of feedback. 2018-01-09 17:11:55 -05:00
0003-Make-get_cert_list-use-efi_status_to_str-to-print-er.patch Update MODSIGN fixes with dhowell's first round of feedback. 2018-01-09 17:11:55 -05:00
ACPI-irq-Workaround-firmware-issue-on-X-Gene-based-m400.patch Work around firmware issue on X-Gene based m400 (rhbz 1574718) 2018-05-10 09:43:52 -04:00
ACPI-scan-Fix-regression-related-to-X-Gene-UARTs.patch Linux v4.18-2978-g1eb46908b35d 2018-08-15 10:58:06 -07:00
Add-an-EFI-signature-blob-parser-and-key-loader.patch Linux v4.11-8539-gaf82455 2017-05-05 13:07:47 -05:00
Add-EFI-signature-data-types.patch Linux v4.11-8539-gaf82455 2017-05-05 13:07:47 -05:00
Add-option-to-automatically-enforce-module-signature.patch Refresh SB patchset to fix bisectability issue 2016-10-27 10:49:53 -04:00
arm64-Add-option-of-13-for-FORCE_MAX_ZONEORDER.patch Enable sound SoC on aarch64, Update some ARM patches to latest upstream, small cleanups 2017-04-26 11:33:46 +01:00
arm64-arch_timer-Workaround-for-Allwinner-A64-timer-instability.patch Linux v4.19-1676-g0d1b82cd8ac2 2018-10-23 10:47:47 -05:00
arm64-dts-allwinner-a64-Enable-A64-timer-workaround.patch Add fix for AllWinner A64 timer scew errata 2018-07-09 08:23:23 +01:00
arm-sdhci-esdhc-imx-fixes.patch Linux v4.19-1676-g0d1b82cd8ac2 2018-10-23 10:47:47 -05:00
ARM-tegra-usb-no-reset.patch Linux v4.1-11235-gc63f887bdae8 2015-06-29 11:24:25 -04:00
ath9k-rx-dma-stop-check.patch Linux v4.1-rc2-79-g0e1dc4274828 2015-05-07 09:22:47 -04:00
bcm283x-drm-vc4-set-is_yuv-to-false-when-num_planes-1.patch Fixes to Rock960 series of devices, Raspberry Pi graphics fix 2018-10-17 09:14:49 +01:00
bcm2835-cpufreq-add-CPU-frequency-control-driver.patch Add thermal trip to bcm283x (Raspberry Pi) cpufreq 2018-09-26 21:09:43 +01:00
brcmfmac-Remove-firmware-loading-code-duplication.patch Rebase device specific NVRAM files on brcm WiFi devices to latest 2018-10-12 20:08:19 +01:00
build_configs.sh configs: Create symlinks to used scripts 2017-11-13 09:39:16 -08:00
check_configs.awk Add script to check config generation 2016-12-22 14:11:05 -08:00
config_generation configs: Create symlinks to used scripts 2017-11-13 09:39:16 -08:00
crash-driver.patch Linux v4.17-10288-ga2225d931f75 2018-06-11 10:24:06 -07:00
die-floppy-die.patch Linux v4.1-rc2-79-g0e1dc4274828 2015-05-07 09:22:47 -04:00
disable-i8042-check-on-apple-mac.patch Linux v4.2-9700-g7d9071a09502 2015-09-08 08:34:33 -04:00
drm-i915-hush-check-crtc-state.patch Linux v4.12-10317-gaf3c8d9 2017-07-10 08:40:53 -07:00
efi-Add-EFI_SECURE_BOOT-bit.patch Refresh SB patchset to fix bisectability issue 2016-10-27 10:49:53 -04:00
efi-Disable-secure-boot-if-shim-is-in-insecure-mode.patch Refresh SB patchset to fix bisectability issue 2016-10-27 10:49:53 -04:00
efi-lockdown.patch Remove bpf restriction for now, revisit (rhbz 1622986) 2018-08-28 15:39:51 -05:00
efi-secureboot.patch Secure Boot updates 2018-06-11 15:35:41 -05:00
filter-aarch64.sh Cleanup some old config options, remove DRM drivers hidden behind DRM_LEGACY, tweak module filters a little (fpga, iio, few other bits), minor find optimisation 2018-08-16 20:01:58 +01:00
filter-armv7hl.sh Cleanup some old config options, remove DRM drivers hidden behind DRM_LEGACY, tweak module filters a little (fpga, iio, few other bits), minor find optimisation 2018-08-16 20:01:58 +01:00
filter-i686.sh Add hid-asus for i686 too 2018-11-05 11:48:37 -06:00
filter-modules.sh Updates for hid-asus 2018-11-03 08:23:31 -05:00
filter-ppc64le.sh Cleanup some old config options, remove DRM drivers hidden behind DRM_LEGACY, tweak module filters a little (fpga, iio, few other bits), minor find optimisation 2018-08-16 20:01:58 +01:00
filter-s390x.sh Rename kernel-drivers to kernel-modules 2014-05-01 21:10:48 -04:00
filter-x86_64.sh Rename kernel-drivers to kernel-modules 2014-05-01 21:10:48 -04:00
firmware-Drop-WARN-from-usermodehelper_read_trylock-.patch Linux v4.2-rc2 2015-07-13 10:53:53 -04:00
Fix-for-module-sig-verification.patch Fix for signed module loading (rhbz 1476467) 2017-08-14 10:23:05 -05:00
generate_all_configs.sh Change method of configuration generation 2016-12-06 12:07:10 -08:00
generate_bls_conf.sh Drop the id field from generated BLS snippets 2018-07-12 12:58:27 -04:00
generate_debug_configs.sh Change method of configuration generation 2016-12-06 12:07:10 -08:00
gitrev Linux v4.20-rc1-87-g85758777c2a2 2018-11-07 16:31:05 -06:00
input-kill-stupid-messages.patch Linux v4.1-rc2-79-g0e1dc4274828 2015-05-07 09:22:47 -04:00
input-rmi4-remove-the-need-for-artifical-IRQ.patch Linux v4.18-rc2-132-gf57494321cbf 2018-06-28 08:34:35 -07:00
Input-synaptics-pin-3-touches-when-the-firmware-repo.patch Linux v4.2-rc2 2015-07-13 10:53:53 -04:00
Kbuild-Add-an-option-to-enable-GCC-VTA.patch Linux v4.2-rc2 2015-07-13 10:53:53 -04:00
kernel-aarch64-debug.config Remove all references to unknown Kconfig symbols 2018-11-08 10:44:32 -06:00
kernel-aarch64.config Remove all references to unknown Kconfig symbols 2018-11-08 10:44:32 -06:00
kernel-armv7hl-debug.config Remove all references to unknown Kconfig symbols 2018-11-08 10:44:32 -06:00
kernel-armv7hl-lpae-debug.config Remove all references to unknown Kconfig symbols 2018-11-08 10:44:32 -06:00
kernel-armv7hl-lpae.config Remove all references to unknown Kconfig symbols 2018-11-08 10:44:32 -06:00
kernel-armv7hl.config Remove all references to unknown Kconfig symbols 2018-11-08 10:44:32 -06:00
kernel-i686-debug.config Remove all references to unknown Kconfig symbols 2018-11-08 10:44:32 -06:00
kernel-i686.config Remove all references to unknown Kconfig symbols 2018-11-08 10:44:32 -06:00
kernel-local Change method of configuration generation 2016-12-06 12:07:10 -08:00
kernel-ppc64le-debug.config Remove all references to unknown Kconfig symbols 2018-11-08 10:44:32 -06:00
kernel-ppc64le.config Remove all references to unknown Kconfig symbols 2018-11-08 10:44:32 -06:00
kernel-s390x-debug.config Remove all references to unknown Kconfig symbols 2018-11-08 10:44:32 -06:00
kernel-s390x.config Remove all references to unknown Kconfig symbols 2018-11-08 10:44:32 -06:00
kernel-x86_64-debug.config Remove all references to unknown Kconfig symbols 2018-11-08 10:44:32 -06:00
kernel-x86_64.config Remove all references to unknown Kconfig symbols 2018-11-08 10:44:32 -06:00
kernel.spec Linux v4.20-rc1-87-g85758777c2a2 2018-11-07 16:31:05 -06:00
KEYS-Allow-unrestricted-boot-time-addition-of-keys-t.patch Add missing patch for signed modules rebase 2017-05-05 16:20:02 -05:00
lib-cpumask-Make-CPUMASK_OFFSTACK-usable-without-deb.patch Linux v4.1-11355-g6aaf0da8728c 2015-06-30 13:01:28 -04:00
lis3-improve-handling-of-null-rate.patch Linux v4.2-rc1 2015-07-06 16:34:35 -04:00
Makefile Change method of configuration generation 2016-12-06 12:07:10 -08:00
merge.pl configs: Create symlinks to used scripts 2017-11-13 09:39:16 -08:00
mod-extra.list sort mod-extra.list alphabetically (NFC) 2015-09-09 15:10:45 +01:00
mod-extra.sh Prep mod-extra.sh for signed modules 2012-09-25 13:22:00 -04:00
mod-sign.sh simplify the signing stuff now that sign-file takes pub/priv key args 2013-03-28 16:33:21 -04:00
MODSIGN-Import-certificates-from-UEFI-Secure-Boot.patch Linux v4.11-8539-gaf82455 2017-05-05 13:07:47 -05:00
MODSIGN-Support-not-importing-certs-from-db.patch Linux v4.11-8539-gaf82455 2017-05-05 13:07:47 -05:00
namespaces-no-expert.patch Linux v4.18-11682-g815f0ddb346c 2018-08-23 10:08:57 -04:00
no-pcspkr-modalias.patch Linux v4.13-9219-g015a9e66b9b8 2017-09-08 17:21:55 -05:00
PatchList.txt drop old watchdog patch 2017-01-31 16:47:17 +00:00
process_configs.sh configs: Update scripts and spec file with layout changes 2017-11-13 09:39:17 -08:00
qcom-msm89xx-fixes.patch Linux v4.19-9448-g673c790e7282 2018-10-29 13:54:19 -05:00
README.txt Spelling and minor readme fixes 2018-10-23 16:31:51 +01:00
rebase-notes.txt Add a note to turn off CONFIG_AF_KCM 2018-08-17 12:33:32 -07:00
remove-binary-diff.pl Linux v4.9-rc3 2016-10-31 06:27:33 -07:00
scsi-sd_revalidate_disk-prevent-NULL-ptr-deref.patch Linux v4.9-7150-gcdb98c2 2016-12-14 12:50:48 -06:00
silence-fbcon-logo.patch Linux v4.14-rc1 2017-09-18 14:14:22 -05:00
sources Linux v4.20-rc1-87-g85758777c2a2 2018-11-07 16:31:05 -06:00
TODO re-enable RCU_FAST_NO_HZ, enable NO_HZ_FULL on x86_64 2014-09-17 13:10:12 -05:00
usb-phy-tegra-Add-38.4MHz-clock-table-entry.patch fix i.MX6 gpu module loading, fix Jetson TX1 usb 2016-04-28 13:42:42 +01:00
x509.genkey Switch to using modsign-post-KS upstream with x509 certs 2012-09-25 13:22:04 -04:00
xen-pciback-Don-t-disable-PCI_COMMAND-on-PCI-device-.patch Linux v4.1-rc2-79-g0e1dc4274828 2015-05-07 09:22:47 -04:00

		Kernel package tips & tricks.
		~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The kernel is one of the more complicated packages in the distro, and
for the newcomer, some of the voodoo in the spec file can be somewhat scary.
This file attempts to document some of the magic.


Speeding up make prep
---------------------
The kernel is nearly 500MB of source code, and as such, 'make prep'
takes a while. The spec file employs some trickery so that repeated
invocations of make prep don't take as long.  Ordinarily the %prep
phase of a package will delete the tree it is about to untar/patch.
The kernel %prep keeps around an unpatched version of the tree,
and makes a symlink tree clone of that clean tree and than applies
the patches listed in the spec to the symlink tree.
This makes a huge difference if you're doing multiple make preps a day.
As an added bonus, doing a diff between the clean tree and the symlink
tree is slightly faster than it would be doing two proper copies of the tree.


Build logs.
-----------
There's a convenience helper script in scripts/grab-logs.sh
that will grab the build logs from koji for the kernel version reported
by make verrel


Config hierarchy.
-----------------
Instead of having to maintain a config file for every arch variant we build on,
the kernel spec uses a nested system of configs. Each option CONFIG_FOO is
represented by a single file named CONFIG_FOO which contains the state (=y, =m,
=n). These options are collected in the folder base-generic. Architecture
specific options are set in nested folders. An option set in a nested folder
will override the same option set in one of the higher levels.

The individual CONFIG_FOO files only exist in the pkg-git repository. The RPM
contains kernel-foo.config files which are the result of combining all the
CONFIG_FOO files. The files are combined by running build_configs.sh. This
script _must_ be run each time one of the options is changed.

Example flow:

# Enable the option CONFIG_ABC123 as a module for all arches
echo "CONFIG_ABC123=m" > configs/base-generic/CONFIG_ABC1234
# enable the option CONFIG_XYZ321 for only x86
echo "# CONFIG_XYZ321 is not set" > configs/base-generic/CONFIG_XYZ321
echo "CONFIG_XYZ321=m" > configs/base-generic/x86/CONFIG_XYZ321
# regenerate the combined config files
./build_configs.sh

The file config_generation gives a listing of what folders go into each
config file generated.

Debug options.
--------------
This is a little complicated, as the purpose & meaning of this changes
depending on where we are in the release cycle.
If we are building for a current stable release, 'make release' has
typically been run already, which sets up the following..
- Two builds occur, a 'kernel' and a 'kernel-debug' flavor.
- kernel-debug will get various heavyweight debugging options like
  lockdep etc turned on.

If we are building for rawhide, 'make debug' has been run, which changes
the status quo to:
- We only build one kernel 'kernel'
- The debug options are always turned on.
This is done to increase coverage testing, as not many people actually
run kernel-debug.

The debug options are managed in a separate heierarchy under base-debug. This
works in a similar manner to base-generic. More deeply nested folders, again,
override options. The file config_generation gives a listing of what folders
go into each config file generated.