Linux v4.6-rc5-69-gf28f20da704d
- Require /usr/bin/kernel-install to fix installation after systemd package swizzling (rhbz 1331012) - Reenable debugging options.
This commit is contained in:
		
							parent
							
								
									cc46c86633
								
							
						
					
					
						commit
						e07a3bae84
					
				| @ -1825,13 +1825,13 @@ CONFIG_B43=m | ||||
| CONFIG_B43_SDIO=y | ||||
| CONFIG_B43_BCMA=y | ||||
| CONFIG_B43_BCMA_PIO=y | ||||
| # CONFIG_B43_DEBUG is not set | ||||
| CONFIG_B43_DEBUG=y | ||||
| CONFIG_B43_PHY_LP=y | ||||
| CONFIG_B43_PHY_N=y | ||||
| CONFIG_B43_PHY_HT=y | ||||
| CONFIG_B43_PHY_G=y | ||||
| CONFIG_B43LEGACY=m | ||||
| # CONFIG_B43LEGACY_DEBUG is not set | ||||
| CONFIG_B43LEGACY_DEBUG=y | ||||
| CONFIG_B43LEGACY_DMA=y | ||||
| CONFIG_B43LEGACY_PIO=y | ||||
| CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y | ||||
| @ -5168,7 +5168,7 @@ CONFIG_PM_DEBUG=y | ||||
| # CONFIG_DPM_WATCHDOG is not set # revisit this in debug | ||||
| CONFIG_PM_TRACE=y | ||||
| CONFIG_PM_TRACE_RTC=y | ||||
| # CONFIG_PM_TEST_SUSPEND is not set | ||||
| CONFIG_PM_TEST_SUSPEND=y | ||||
| # CONFIG_PM_OPP is not set | ||||
| # CONFIG_PM_AUTOSLEEP is not set | ||||
| # CONFIG_PM_WAKELOCKS is not set | ||||
|  | ||||
							
								
								
									
										110
									
								
								config-nodebug
									
									
									
									
									
								
							
							
						
						
									
										110
									
								
								config-nodebug
									
									
									
									
									
								
							| @ -2,101 +2,101 @@ CONFIG_SND_VERBOSE_PRINTK=y | ||||
| CONFIG_SND_DEBUG=y | ||||
| CONFIG_SND_PCM_XRUN_DEBUG=y | ||||
| 
 | ||||
| # CONFIG_DEBUG_ATOMIC_SLEEP is not set | ||||
| CONFIG_DEBUG_ATOMIC_SLEEP=y | ||||
| 
 | ||||
| # CONFIG_DEBUG_MUTEXES is not set | ||||
| # CONFIG_DEBUG_RT_MUTEXES is not set | ||||
| # CONFIG_DEBUG_LOCK_ALLOC is not set | ||||
| # CONFIG_LOCK_TORTURE_TEST is not set | ||||
| # CONFIG_PROVE_LOCKING is not set | ||||
| # CONFIG_DEBUG_SPINLOCK is not set | ||||
| # CONFIG_PROVE_RCU is not set | ||||
| CONFIG_DEBUG_MUTEXES=y | ||||
| CONFIG_DEBUG_RT_MUTEXES=y | ||||
| CONFIG_DEBUG_LOCK_ALLOC=y | ||||
| CONFIG_LOCK_TORTURE_TEST=m | ||||
| CONFIG_PROVE_LOCKING=y | ||||
| CONFIG_DEBUG_SPINLOCK=y | ||||
| CONFIG_PROVE_RCU=y | ||||
| # CONFIG_PROVE_RCU_REPEATEDLY is not set | ||||
| # CONFIG_DEBUG_PER_CPU_MAPS is not set | ||||
| CONFIG_DEBUG_PER_CPU_MAPS=y | ||||
| CONFIG_CPUMASK_OFFSTACK=y | ||||
| 
 | ||||
| # CONFIG_CPU_NOTIFIER_ERROR_INJECT is not set | ||||
| CONFIG_CPU_NOTIFIER_ERROR_INJECT=m | ||||
| 
 | ||||
| # CONFIG_FAULT_INJECTION is not set | ||||
| # CONFIG_FAILSLAB is not set | ||||
| # CONFIG_FAIL_PAGE_ALLOC is not set | ||||
| # CONFIG_FAIL_MAKE_REQUEST is not set | ||||
| # CONFIG_FAULT_INJECTION_DEBUG_FS is not set | ||||
| # CONFIG_FAULT_INJECTION_STACKTRACE_FILTER is not set | ||||
| # CONFIG_FAIL_IO_TIMEOUT is not set | ||||
| # CONFIG_FAIL_MMC_REQUEST is not set | ||||
| CONFIG_FAULT_INJECTION=y | ||||
| CONFIG_FAILSLAB=y | ||||
| CONFIG_FAIL_PAGE_ALLOC=y | ||||
| CONFIG_FAIL_MAKE_REQUEST=y | ||||
| CONFIG_FAULT_INJECTION_DEBUG_FS=y | ||||
| CONFIG_FAULT_INJECTION_STACKTRACE_FILTER=y | ||||
| CONFIG_FAIL_IO_TIMEOUT=y | ||||
| CONFIG_FAIL_MMC_REQUEST=y | ||||
| 
 | ||||
| # CONFIG_LOCK_STAT is not set | ||||
| CONFIG_LOCK_STAT=y | ||||
| 
 | ||||
| # CONFIG_DEBUG_STACK_USAGE is not set | ||||
| CONFIG_DEBUG_STACK_USAGE=y | ||||
| 
 | ||||
| # CONFIG_ACPI_DEBUG is not set | ||||
| CONFIG_ACPI_DEBUG=y | ||||
| # CONFIG_ACPI_DEBUGGER is not set | ||||
| 
 | ||||
| # CONFIG_DEBUG_SG is not set | ||||
| # CONFIG_DEBUG_PI_LIST is not set | ||||
| CONFIG_DEBUG_SG=y | ||||
| CONFIG_DEBUG_PI_LIST=y | ||||
| 
 | ||||
| # CONFIG_PAGE_EXTENSION is not set | ||||
| # CONFIG_PAGE_OWNER is not set | ||||
| # CONFIG_DEBUG_PAGEALLOC is not set | ||||
| 
 | ||||
| # CONFIG_DEBUG_OBJECTS is not set | ||||
| CONFIG_DEBUG_OBJECTS=y | ||||
| # CONFIG_DEBUG_OBJECTS_SELFTEST is not set | ||||
| # CONFIG_DEBUG_OBJECTS_FREE is not set | ||||
| # CONFIG_DEBUG_OBJECTS_TIMERS is not set | ||||
| # CONFIG_DEBUG_OBJECTS_RCU_HEAD is not set | ||||
| CONFIG_DEBUG_OBJECTS_FREE=y | ||||
| CONFIG_DEBUG_OBJECTS_TIMERS=y | ||||
| CONFIG_DEBUG_OBJECTS_RCU_HEAD=y | ||||
| CONFIG_DEBUG_OBJECTS_ENABLE_DEFAULT=1 | ||||
| 
 | ||||
| CONFIG_X86_PTDUMP=y | ||||
| # CONFIG_ARM64_PTDUMP is not set | ||||
| # CONFIG_EFI_PGT_DUMP is not set | ||||
| CONFIG_ARM64_PTDUMP=y | ||||
| CONFIG_EFI_PGT_DUMP=y | ||||
| 
 | ||||
| # CONFIG_CAN_DEBUG_DEVICES is not set | ||||
| CONFIG_CAN_DEBUG_DEVICES=y | ||||
| 
 | ||||
| # CONFIG_MODULE_FORCE_UNLOAD is not set | ||||
| CONFIG_MODULE_FORCE_UNLOAD=y | ||||
| 
 | ||||
| 
 | ||||
| # CONFIG_DEBUG_NOTIFIERS is not set | ||||
| CONFIG_DEBUG_NOTIFIERS=y | ||||
| 
 | ||||
| # CONFIG_DMA_API_DEBUG is not set | ||||
| CONFIG_DMA_API_DEBUG=y | ||||
| 
 | ||||
| # CONFIG_MMIOTRACE is not set | ||||
| CONFIG_MMIOTRACE=y | ||||
| 
 | ||||
| # CONFIG_DEBUG_CREDENTIALS is not set | ||||
| CONFIG_DEBUG_CREDENTIALS=y | ||||
| 
 | ||||
| # off in both production debug and nodebug builds, | ||||
| #  on in rawhide nodebug builds | ||||
| # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||||
| CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y | ||||
| 
 | ||||
| # CONFIG_EXT4_DEBUG is not set | ||||
| CONFIG_EXT4_DEBUG=y | ||||
| 
 | ||||
| # CONFIG_XFS_WARN is not set | ||||
| 
 | ||||
| # CONFIG_DEBUG_PERF_USE_VMALLOC is not set | ||||
| CONFIG_DEBUG_PERF_USE_VMALLOC=y | ||||
| 
 | ||||
| # CONFIG_JBD2_DEBUG is not set | ||||
| CONFIG_JBD2_DEBUG=y | ||||
| 
 | ||||
| # CONFIG_NFSD_FAULT_INJECTION is not set | ||||
| CONFIG_NFSD_FAULT_INJECTION=y | ||||
| 
 | ||||
| # CONFIG_DEBUG_BLK_CGROUP is not set | ||||
| CONFIG_DEBUG_BLK_CGROUP=y | ||||
| 
 | ||||
| # CONFIG_DRBD_FAULT_INJECTION is not set | ||||
| CONFIG_DRBD_FAULT_INJECTION=y | ||||
| 
 | ||||
| # CONFIG_ATH_DEBUG is not set | ||||
| # CONFIG_CARL9170_DEBUGFS is not set | ||||
| # CONFIG_IWLWIFI_DEVICE_TRACING is not set | ||||
| CONFIG_ATH_DEBUG=y | ||||
| CONFIG_CARL9170_DEBUGFS=y | ||||
| CONFIG_IWLWIFI_DEVICE_TRACING=y | ||||
| 
 | ||||
| # CONFIG_RTLWIFI_DEBUG is not set | ||||
| 
 | ||||
| # CONFIG_DEBUG_OBJECTS_WORK is not set | ||||
| CONFIG_DEBUG_OBJECTS_WORK=y | ||||
| 
 | ||||
| # CONFIG_DMADEVICES_DEBUG is not set | ||||
| CONFIG_DMADEVICES_DEBUG=y | ||||
| # CONFIG_DMADEVICES_VDEBUG is not set | ||||
| 
 | ||||
| CONFIG_PM_ADVANCED_DEBUG=y | ||||
| 
 | ||||
| # CONFIG_CEPH_LIB_PRETTYDEBUG is not set | ||||
| # CONFIG_QUOTA_DEBUG is not set | ||||
| CONFIG_CEPH_LIB_PRETTYDEBUG=y | ||||
| CONFIG_QUOTA_DEBUG=y | ||||
| 
 | ||||
| 
 | ||||
| CONFIG_KGDB_KDB=y | ||||
| @ -104,19 +104,19 @@ CONFIG_KDB_DEFAULT_ENABLE=0x0 | ||||
| CONFIG_KDB_KEYBOARD=y | ||||
| CONFIG_KDB_CONTINUE_CATASTROPHIC=0 | ||||
| 
 | ||||
| # CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER is not set | ||||
| CONFIG_DEBUG_OBJECTS_PERCPU_COUNTER=y | ||||
| # CONFIG_PERCPU_TEST is not set | ||||
| # CONFIG_TEST_LIST_SORT is not set | ||||
| CONFIG_TEST_LIST_SORT=y | ||||
| # CONFIG_TEST_STRING_HELPERS is not set | ||||
| 
 | ||||
| # CONFIG_DETECT_HUNG_TASK is not set | ||||
| CONFIG_DETECT_HUNG_TASK=y | ||||
| CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120 | ||||
| # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set | ||||
| # CONFIG_WQ_WATCHDOG is not set | ||||
| CONFIG_WQ_WATCHDOG=y | ||||
| 
 | ||||
| # CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK is not set | ||||
| CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y | ||||
| 
 | ||||
| # CONFIG_DEBUG_KMEMLEAK is not set | ||||
| CONFIG_DEBUG_KMEMLEAK=y | ||||
| CONFIG_DEBUG_KMEMLEAK_EARLY_LOG_SIZE=1024 | ||||
| # CONFIG_DEBUG_KMEMLEAK_TEST is not set | ||||
| CONFIG_DEBUG_KMEMLEAK_DEFAULT_OFF=y | ||||
|  | ||||
| @ -374,7 +374,7 @@ CONFIG_SP5100_TCO=m | ||||
| 
 | ||||
| # CONFIG_MEMTEST is not set | ||||
| # CONFIG_DEBUG_TLBFLUSH is not set | ||||
| # CONFIG_MAXSMP is not set | ||||
| CONFIG_MAXSMP=y | ||||
| 
 | ||||
| 
 | ||||
| CONFIG_HP_ILO=m | ||||
|  | ||||
							
								
								
									
										2
									
								
								gitrev
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								gitrev
									
									
									
									
									
								
							| @ -1 +1 @@ | ||||
| 5f44abd041c5f3be76d57579ab254d78e601315b | ||||
| f28f20da704d399fb1e4d8838ffd697a357d9cc8 | ||||
|  | ||||
							
								
								
									
										16
									
								
								kernel.spec
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								kernel.spec
									
									
									
									
									
								
							| @ -69,7 +69,7 @@ Summary: The Linux kernel | ||||
| # The rc snapshot level | ||||
| %define rcrev 5 | ||||
| # The git snapshot level | ||||
| %define gitrev 0 | ||||
| %define gitrev 1 | ||||
| # Set rpm version accordingly | ||||
| %define rpmversion 4.%{upstream_sublevel}.0 | ||||
| %endif | ||||
| @ -125,7 +125,7 @@ Summary: The Linux kernel | ||||
| # Set debugbuildsenabled to 1 for production (build separate debug kernels) | ||||
| #  and 0 for rawhide (all kernels are debug kernels). | ||||
| # See also 'make debug' and 'make release'. | ||||
| %define debugbuildsenabled 1 | ||||
| %define debugbuildsenabled 0 | ||||
| 
 | ||||
| # Want to build a vanilla kernel build without any non-upstream patches? | ||||
| %define with_vanilla %{?_with_vanilla: 1} %{?!_with_vanilla: 0} | ||||
| @ -347,7 +347,7 @@ Summary: The Linux kernel | ||||
| # Packages that need to be installed before the kernel is, because the %%post | ||||
| # scripts use them. | ||||
| # | ||||
| %define kernel_prereq  coreutils, systemd >= 203-2 | ||||
| %define kernel_prereq  coreutils, systemd >= 203-2, /usr/bin/kernel-install | ||||
| %define initrd_prereq  dracut >= 027 | ||||
| 
 | ||||
| 
 | ||||
| @ -608,8 +608,8 @@ Patch665: netfilter-x_tables-deal-with-bogus-nextoffset-values.patch | ||||
| #rhbz 1309487 | ||||
| Patch701: antenna_select.patch | ||||
| 
 | ||||
| # Follow on for CVE-2016-3156 | ||||
| Patch702: ipv4-fib-don-t-warn-when-primary-address-is-missing-.patch | ||||
| # Stop splashing crap about broken firmware BGRT | ||||
| Patch702: x86-efi-bgrt-Switch-all-pr_err-to-pr_debug-for-inval.patch | ||||
| 
 | ||||
| # END OF PATCH DEFINITIONS | ||||
| 
 | ||||
| @ -2136,6 +2136,12 @@ fi | ||||
| # | ||||
| #  | ||||
| %changelog | ||||
| * Wed Apr 27 2016 Josh Boyer <jwboyer@fedoraproject.org> - 4.6.0-0.rc5.git1.1 | ||||
| - Linux v4.6-rc5-69-gf28f20da704d | ||||
| - Require /usr/bin/kernel-install to fix installation after systemd package | ||||
|   swizzling (rhbz 1331012) | ||||
| - Reenable debugging options. | ||||
| 
 | ||||
| * Tue Apr 26 2016 Josh Boyer <jwboyer@fedoraproject.org> | ||||
| - Enable IEEE802154_AT86RF230 on more arches (rhbz 1330356) | ||||
| 
 | ||||
|  | ||||
							
								
								
									
										1
									
								
								sources
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								sources
									
									
									
									
									
								
							| @ -1,3 +1,4 @@ | ||||
| a60d48eee08ec0536d5efb17ca819aef  linux-4.5.tar.xz | ||||
| 6f557fe90b800b615c85c2ca04da6154  perf-man-4.5.tar.gz | ||||
| c2b73e066519c911302f0dd8aaa9d2cd  patch-4.6-rc5.xz | ||||
| 58659a26dfd3d2997a38bfa7d278da83  patch-4.6-rc5-git1.xz | ||||
|  | ||||
							
								
								
									
										96
									
								
								x86-efi-bgrt-Switch-all-pr_err-to-pr_debug-for-inval.patch
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										96
									
								
								x86-efi-bgrt-Switch-all-pr_err-to-pr_debug-for-inval.patch
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,96 @@ | ||||
| From 5b252532b1785a82b71d16e3c134f58d7c7fee3d Mon Sep 17 00:00:00 2001 | ||||
| From: Josh Boyer <jwboyer@fedoraproject.org> | ||||
| Date: Wed, 27 Apr 2016 08:37:41 -0400 | ||||
| Subject: [PATCH] x86/efi-bgrt: Switch all pr_err() to pr_debug() for invalid | ||||
|  BGRT | ||||
| 
 | ||||
| The promise of pretty boot splashes from firmware via BGRT was at | ||||
| best only that; a promise.  The kernel diligently checks to make | ||||
| sure the BGRT data firmware gives it is valid, and dutifully warns | ||||
| the user when it isn't.  However, it does so via the pr_err log | ||||
| level which seems unnecessary.  The user cannot do anything about | ||||
| this and there really isn't an error on the part of Linux to | ||||
| correct. | ||||
| 
 | ||||
| This lowers the log level by using pr_debug instead.  Users will | ||||
| no longer have their boot process uglified by the kernel reminding | ||||
| us that firmware can and often is broken.  Ironic, considering | ||||
| BGRT is supposed to make boot pretty to begin with. | ||||
| 
 | ||||
| Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org> | ||||
| ---
 | ||||
|  arch/x86/platform/efi/efi-bgrt.c | 18 +++++++++--------- | ||||
|  1 file changed, 9 insertions(+), 9 deletions(-) | ||||
| 
 | ||||
| diff --git a/arch/x86/platform/efi/efi-bgrt.c b/arch/x86/platform/efi/efi-bgrt.c
 | ||||
| index a2433817c987..6f70d2ac8029 100644
 | ||||
| --- a/arch/x86/platform/efi/efi-bgrt.c
 | ||||
| +++ b/arch/x86/platform/efi/efi-bgrt.c
 | ||||
| @@ -43,40 +43,40 @@ void __init efi_bgrt_init(void)
 | ||||
|  		return; | ||||
|   | ||||
|  	if (bgrt_tab->header.length < sizeof(*bgrt_tab)) { | ||||
| -		pr_err("Ignoring BGRT: invalid length %u (expected %zu)\n",
 | ||||
| +		pr_debug("Ignoring BGRT: invalid length %u (expected %zu)\n",
 | ||||
|  		       bgrt_tab->header.length, sizeof(*bgrt_tab)); | ||||
|  		return; | ||||
|  	} | ||||
|  	if (bgrt_tab->version != 1) { | ||||
| -		pr_err("Ignoring BGRT: invalid version %u (expected 1)\n",
 | ||||
| +		pr_debug("Ignoring BGRT: invalid version %u (expected 1)\n",
 | ||||
|  		       bgrt_tab->version); | ||||
|  		return; | ||||
|  	} | ||||
|  	if (bgrt_tab->status & 0xfe) { | ||||
| -		pr_err("Ignoring BGRT: reserved status bits are non-zero %u\n",
 | ||||
| +		pr_debug("Ignoring BGRT: reserved status bits are non-zero %u\n",
 | ||||
|  		       bgrt_tab->status); | ||||
|  		return; | ||||
|  	} | ||||
|  	if (bgrt_tab->image_type != 0) { | ||||
| -		pr_err("Ignoring BGRT: invalid image type %u (expected 0)\n",
 | ||||
| +		pr_debug("Ignoring BGRT: invalid image type %u (expected 0)\n",
 | ||||
|  		       bgrt_tab->image_type); | ||||
|  		return; | ||||
|  	} | ||||
|  	if (!bgrt_tab->image_address) { | ||||
| -		pr_err("Ignoring BGRT: null image address\n");
 | ||||
| +		pr_debug("Ignoring BGRT: null image address\n");
 | ||||
|  		return; | ||||
|  	} | ||||
|   | ||||
|  	image = memremap(bgrt_tab->image_address, sizeof(bmp_header), MEMREMAP_WB); | ||||
|  	if (!image) { | ||||
| -		pr_err("Ignoring BGRT: failed to map image header memory\n");
 | ||||
| +		pr_debug("Ignoring BGRT: failed to map image header memory\n");
 | ||||
|  		return; | ||||
|  	} | ||||
|   | ||||
|  	memcpy(&bmp_header, image, sizeof(bmp_header)); | ||||
|  	memunmap(image); | ||||
|  	if (bmp_header.id != 0x4d42) { | ||||
| -		pr_err("Ignoring BGRT: Incorrect BMP magic number 0x%x (expected 0x4d42)\n",
 | ||||
| +		pr_debug("Ignoring BGRT: Incorrect BMP magic number 0x%x (expected 0x4d42)\n",
 | ||||
|  			bmp_header.id); | ||||
|  		return; | ||||
|  	} | ||||
| @@ -84,14 +84,14 @@ void __init efi_bgrt_init(void)
 | ||||
|   | ||||
|  	bgrt_image = kmalloc(bgrt_image_size, GFP_KERNEL | __GFP_NOWARN); | ||||
|  	if (!bgrt_image) { | ||||
| -		pr_err("Ignoring BGRT: failed to allocate memory for image (wanted %zu bytes)\n",
 | ||||
| +		pr_debug("Ignoring BGRT: failed to allocate memory for image (wanted %zu bytes)\n",
 | ||||
|  		       bgrt_image_size); | ||||
|  		return; | ||||
|  	} | ||||
|   | ||||
|  	image = memremap(bgrt_tab->image_address, bmp_header.size, MEMREMAP_WB); | ||||
|  	if (!image) { | ||||
| -		pr_err("Ignoring BGRT: failed to map image memory\n");
 | ||||
| +		pr_debug("Ignoring BGRT: failed to map image memory\n");
 | ||||
|  		kfree(bgrt_image); | ||||
|  		bgrt_image = NULL; | ||||
|  		return; | ||||
| -- 
 | ||||
| 2.5.5 | ||||
| 
 | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user