Kernel 4.9 rebase plans
by Laura Abbott
Hi,
Kernel 4.9 was officially released yesterday, December 11. This kernel is
being built for rawhide today. The plan for bringing this kernel into
F24/F25 is going to follow roughly the same schedule as in the past.
This means pushing the new rebase when we think it's stable enough.
In the past, this has happened around the .2 stable release (so 4.9.2
in this case). Given the holidays, this won't be happening until 2017
but we'll be monitoring closely. I'll update with more information
once it gets closer. As always, please let us know if you have any
questions.
Thanks,
Laura
6 years, 10 months
version 4.10 kernels fail when building custom package from the
src.rpm, perf plugins aren't created
by stan
Hi,
I usually run a custom kernel from the latest rawhide kernel packages
in the stable release. I've been running 4.9 kernels during the
development cycle in F25, and they've been working fine.
When I tried to compile the stable 4.9 kernel, or a 4.10 kernel, for
F25, I hit errors. First, the location of the custom config file has
changed to SOURCES/kernel-local from config-x86_64-generic. I noticed
my configuration was being ignored when building, and tracked it down.
Forty minutes to build instead of ten.
Then for 4.10 I hit this error [1]. It seems that the perf-plugins are
not being built, so no directory is being created for them, so the rpm
can't be built. If I build without perf in the options,
rpmbuild -bb --without perf --without debug --without debuginfo
--without cross-headers --target=`uname -m` kernel.spec >
build_output 2> error_output
the build and packaging is successful, the packages install fine, and
even boot into multiuser without problem. But when I attempt to start
X using startx (LXDE), the system begins the X initialization, and then
hangs. Locked. The magic request keys do nothing, the mouse doesn't
move, the keyboard is inactive.
Is there a change in the 4.10 kernel that would cause behavior like
this?
These warnings are a little concerning too [2].
Thanks for any insight or help.
1.
+ popd
+ exit 0
+ umask 022
+ cd /home/stan/rpmbuild/BUILD
+ cd kernel-4.9.fc25
+ cd linux-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64
+ make ARCH=x86_64
INSTALL_HDR_PATH=/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr
headers_install
+
find /home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/include
'(' -name .install -o -name .check -o -name ..install.cmd -o
-name ..check.cmd ')'
+ xargs rm -f
+ make -s 'EXTRA_CFLAGS=-O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic'
'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -C
tools/perf V=1 NO_PERF_READ_VDSO32=1 NO_PERF_READ_VDSOX32=1 WERROR=0
NO_LIBUNWIND=1 HAVE_CPLUS_DEMANGLE=1 NO_GTK2=1 NO_STRLCPY=1 NO_BIONIC=1
prefix=/usr
DESTDIR=/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64
lib=lib64 install-bin install-traceevent-plugins Warning:
tools/include/uapi/linux/bpf.h differs from kernel Warning:
tools/arch/x86/include/asm/cpufeatures.h differs from kernel Warning:
tools/arch/x86/include/uapi/asm/vmx.h differs from kernel Warning:
tools/arch/powerpc/include/uapi/asm/kvm.h differs from kernel Warning:
tools/arch/arm/include/uapi/asm/kvm.h differs from kernel install:
cannot create directory
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64':
Not a directory install: failed to access
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64/traceevent/plugins':
Not a directory install: cannot create directory
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64':
Not a directory install: failed to access
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64/traceevent/plugins':
Not a directory install: cannot create directory
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64':
Not a directory install: failed to access
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64/traceevent/plugins':
Not a directory install: cannot create directory
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64':
Not a directory install: failed to access
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64/traceevent/plugins':
Not a directory install: cannot create directory
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64':
Not a directory install: failed to access
'/home/stan /rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64/traceevent/plugins':
Not a directory install: cannot create directory
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64':
Not a directory install: failed to access
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64/traceevent/plugins':
Not a directory install: cannot create directory
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64':
Not a directory install: failed to access
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64/traceevent/plugins':
Not a directory install: cannot create directory
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64':
Not a directory install: failed to access
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64/traceevent/plugins':
Not a directory install: cannot create directory
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64':
Not a directory install: failed to access
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64/traceevent/plugins':
Not a directory install: cannot create directory
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64':
Not a directory install: failed to access
'/home/stan/rpmbuild/BUILDROOT/kernel-4.10.0-0.rc0.git8.1.20161223.fc25.x86_64/usr/lib64/traceevent/plugins':
Not a directory make[3]: *** [install_plugins] Error 1 make[2]: ***
[install-traceevent-plugins] Error 2 make[1]: *** [sub-make] Error 2
make: *** [install-traceevent-plugins] Error 2 error: Bad exit status
from /var/tmp/rpm-tmp.LQNaRP (%install) Bad exit status
from /var/tmp/rpm-tmp.LQNaRP (%install)
2.
Warning: tools/arch/x86/include/asm/cpufeatures.h differs from kernel
Warning: tools/arch/x86/include/uapi/asm/vmx.h differs from kernel
Warning: tools/arch/powerpc/include/uapi/asm/kvm.h differs from kernel
Warning: tools/arch/arm/include/uapi/asm/kvm.h differs from kernel
jevents: Processing mapfile pmu-events/arch/x86/mapfile.csv
+ chmod +x tools/power/cpupower/utils/version-gen.sh
+ make -j6 -C tools/power/cpupower CPUFREQ_BENCH=false
+ pushd tools/power/cpupower/debug/x86_64
+ make -j6 centrino-decode powernow-k8-decode
+ popd
+ pushd tools/power/x86/x86_energy_perf_policy/
+ make
+ popd
+ pushd tools/power/x86/turbostat
+ make
+ popd
+ pushd tools/thermal/tmon/
+ make
+ popd
+ pushd tools/iio/
+ make
+ popd
+ pushd tools/gpio/
+ make
gpio-event-mon.c: In function 'monitor_device':
gpio-event-mon.c:100:19: warning: format '%lu' expects argument of type
'long unsigned int', but argument 3 has type '__u64 {aka long long
unsigned int}' [-Wformat=] fprintf(stdout, "GPIO EVENT %" PRIu64 ": ",
event.timestamp); ^~~~~~~~~~~~~~
6 years, 11 months
[PATCH] Add script to check config generation
by Laura Abbott
The kernel configuration generation currently checks to make sure
every option is defined with listnewconfig. It does not check that
each option is the same as listnewconfig. This can lead to odd
situations where the Fedora configuration does not match what's
actually present in the generated config. Add a script to check
for these kinds of changes.
Based on work done by Miguel Flores Silverio <floresmigu3l(a)gmail.com>
---
Below is the full diff to fix up the configs to pass the check
successfully. I omitted them from this patch to focus on the
'interesting' part of this patch which is the logic to find
the changes. I can resend with the full diffs if people are
actually interested. It's basically just changing to =y or =m
where approrpiate to match what is actually being generated.
baseconfig/CONFIG_BACKLIGHT_CLASS_DEVICE | 2 +-
baseconfig/CONFIG_BLK_DEV_SKD | 2 +-
baseconfig/CONFIG_BRIDGE_NETFILTER | 2 +-
baseconfig/CONFIG_CFAG12864B | 2 +-
baseconfig/CONFIG_CGROUP_NET_CLASSID | 2 +-
baseconfig/CONFIG_CRC32 | 2 +-
baseconfig/CONFIG_CRC7 | 2 +-
baseconfig/CONFIG_CRC_CCITT | 2 +-
baseconfig/CONFIG_CRC_T10DIF | 2 +-
baseconfig/CONFIG_CRYPTO_CTS | 2 +-
baseconfig/CONFIG_CRYPTO_DRBG_MENU | 2 +-
baseconfig/CONFIG_CRYPTO_GF128MUL | 2 +-
baseconfig/CONFIG_CRYPTO_LZO | 2 +-
baseconfig/CONFIG_CRYPTO_MD5 | 2 +-
baseconfig/CONFIG_CRYPTO_NULL | 2 +-
baseconfig/CONFIG_CRYPTO_RSA | 2 +-
baseconfig/CONFIG_CRYPTO_SEQIV | 2 +-
baseconfig/CONFIG_CRYPTO_XTS | 2 +-
baseconfig/CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND | 2 +-
baseconfig/CONFIG_DRM_AST | 2 +-
baseconfig/CONFIG_DRM_CIRRUS_QEMU | 2 +-
baseconfig/CONFIG_DRM_MGAG200 | 2 +-
baseconfig/CONFIG_DVB_MN88472 | 2 +-
baseconfig/CONFIG_DVB_MN88473 | 2 +-
baseconfig/CONFIG_ENCRYPTED_KEYS | 2 +-
baseconfig/CONFIG_FS_ENCRYPTION | 2 +-
baseconfig/CONFIG_IIO_BUFFER_CB | 2 +-
baseconfig/CONFIG_IIO_KFIFO_BUF | 2 +-
baseconfig/CONFIG_IIO_SW_TRIGGER | 2 +-
baseconfig/CONFIG_INFINIBAND_MTHCA_DEBUG | 1 -
baseconfig/CONFIG_IWL4965 | 2 +-
baseconfig/CONFIG_MAC80211_RC_DEFAULT | 2 +-
baseconfig/CONFIG_MFD_CORE | 2 +-
baseconfig/CONFIG_MFD_WL1273_CORE | 2 +-
baseconfig/CONFIG_MLX4_DEBUG | 1 -
baseconfig/CONFIG_NETFILTER_XT_MATCH_CONNTRACK | 2 +-
baseconfig/CONFIG_NETFILTER_XT_MATCH_STATE | 2 +-
baseconfig/CONFIG_NFP_NET_DEBUG | 2 +-
baseconfig/CONFIG_NFS_V3 | 2 +-
baseconfig/CONFIG_NFS_V4 | 2 +-
baseconfig/CONFIG_NF_CONNTRACK_IPV4 | 2 +-
baseconfig/CONFIG_NF_CONNTRACK_IPV6 | 2 +-
baseconfig/CONFIG_NF_CONNTRACK_PROCFS | 2 +-
baseconfig/CONFIG_NVMEM | 2 +-
baseconfig/CONFIG_OPENVSWITCH_GENEVE | 2 +-
baseconfig/CONFIG_OPENVSWITCH_GRE | 2 +-
baseconfig/CONFIG_OPENVSWITCH_VXLAN | 2 +-
baseconfig/CONFIG_PM_DEVFREQ | 2 +-
baseconfig/CONFIG_PPP_BSDCOMP | 2 +-
baseconfig/CONFIG_R8712U | 2 +-
baseconfig/CONFIG_SERIO_LIBPS2 | 2 +-
baseconfig/CONFIG_SND | 2 +-
baseconfig/CONFIG_SND_HDA_CODEC_ANALOG | 2 +-
baseconfig/CONFIG_SND_HDA_CODEC_CA0110 | 2 +-
baseconfig/CONFIG_SND_HDA_CODEC_CA0132 | 2 +-
baseconfig/CONFIG_SND_HDA_CODEC_CIRRUS | 2 +-
baseconfig/CONFIG_SND_HDA_CODEC_CMEDIA | 2 +-
baseconfig/CONFIG_SND_HDA_CODEC_CONEXANT | 2 +-
baseconfig/CONFIG_SND_HDA_CODEC_HDMI | 2 +-
baseconfig/CONFIG_SND_HDA_CODEC_REALTEK | 2 +-
baseconfig/CONFIG_SND_HDA_CODEC_SI3054 | 2 +-
baseconfig/CONFIG_SND_HDA_CODEC_SIGMATEL | 2 +-
baseconfig/CONFIG_SND_HDA_CODEC_VIA | 2 +-
baseconfig/CONFIG_SND_HDA_GENERIC | 2 +-
baseconfig/CONFIG_SND_HDA_INTEL | 2 +-
baseconfig/CONFIG_SND_HRTIMER | 2 +-
baseconfig/CONFIG_SND_INTEL8X0 | 2 +-
baseconfig/CONFIG_SND_MIXER_OSS | 2 +-
baseconfig/CONFIG_SND_PCM_OSS | 2 +-
baseconfig/CONFIG_SND_SEQUENCER | 2 +-
baseconfig/CONFIG_TASKS_RCU | 2 +-
baseconfig/CONFIG_USB_STORAGE_USBAT | 2 +-
baseconfig/CONFIG_VIDEO_EM28XX_RC | 2 +-
baseconfig/CONFIG_VIDEO_V4L2 | 2 +-
baseconfig/CONFIG_XZ_DEC_ARMTHUMB | 2 +-
baseconfig/CONFIG_XZ_DEC_IA64 | 2 +-
baseconfig/CONFIG_XZ_DEC_SPARC | 2 +-
baseconfig/CONFIG_ZLIB_DEFLATE | 2 +-
baseconfig/arm/CONFIG_ASYMMETRIC_KEY_TYPE | 2 +-
baseconfig/arm/CONFIG_CC_STACKPROTECTOR | 2 +-
baseconfig/arm/CONFIG_CC_STACKPROTECTOR_NONE | 1 +
baseconfig/arm/CONFIG_CRYPTO_CRYPTD | 1 +
baseconfig/arm/CONFIG_FB_MODE_HELPERS | 1 +
baseconfig/arm/CONFIG_GAMEPORT | 1 -
baseconfig/arm/CONFIG_GPIO_GENERIC | 2 +-
baseconfig/arm/CONFIG_GPIO_GENERIC_PLATFORM | 2 +-
baseconfig/arm/CONFIG_INPUT_MATRIXKMAP | 1 +
baseconfig/arm/CONFIG_IP_SCTP | 1 -
baseconfig/arm/CONFIG_MFD_SYSCON | 1 +
baseconfig/arm/CONFIG_MFD_WL1273_CORE | 1 +
baseconfig/arm/CONFIG_MMC_ARMMMCI | 2 +-
baseconfig/arm/CONFIG_MMC_DW_K3 | 2 +-
baseconfig/arm/CONFIG_MMC_DW_PCI | 2 +-
baseconfig/arm/CONFIG_MMC_DW_PLTFM | 2 +-
baseconfig/arm/CONFIG_MMC_DW_ROCKCHIP | 2 +-
baseconfig/arm/CONFIG_NET_VENDOR_BROADCOM | 1 -
baseconfig/arm/CONFIG_NET_VENDOR_CHELSIO | 1 -
baseconfig/arm/CONFIG_NET_VENDOR_EMULEX | 1 -
baseconfig/arm/CONFIG_NVMEM | 1 -
baseconfig/arm/CONFIG_OF_MDIO | 2 +-
baseconfig/arm/CONFIG_OF_PCI | 2 +-
baseconfig/arm/CONFIG_OF_PCI_IRQ | 2 +-
baseconfig/arm/CONFIG_SRAM | 1 +
baseconfig/arm/CONFIG_SYNC_FILE | 1 +
baseconfig/arm/arm64/CONFIG_ACPI_HED | 2 +-
baseconfig/arm/arm64/CONFIG_ACPI_IPMI | 2 +-
.../arm/arm64/CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND | 1 +
baseconfig/arm/arm64/CONFIG_FB_MODE_HELPERS | 1 +
baseconfig/arm/arm64/CONFIG_GPIO_PCA953X | 1 +
.../arm/arm64/CONFIG_HAVE_64BIT_ALIGNED_ACCESS | 1 -
baseconfig/arm/arm64/CONFIG_HZ_100 | 1 +
baseconfig/arm/arm64/CONFIG_HZ_1000 | 1 +
baseconfig/arm/armv7/CONFIG_ARCH_VEXPRESS_SPC | 2 +-
baseconfig/arm/armv7/CONFIG_EXYNOS_THERMAL | 2 +-
baseconfig/arm/armv7/CONFIG_INPUT_MATRIXKMAP | 1 -
baseconfig/arm/armv7/CONFIG_JFFS2_LZO | 2 +-
baseconfig/arm/armv7/CONFIG_JFFS2_RUBIN | 2 +-
baseconfig/arm/armv7/CONFIG_MCPM | 2 +-
baseconfig/arm/armv7/CONFIG_MEMORY | 1 +
baseconfig/arm/armv7/CONFIG_MFD_SYSCON | 1 -
baseconfig/arm/armv7/CONFIG_MMC_DW_EXYNOS | 2 +-
baseconfig/arm/armv7/CONFIG_P54_SPI_DEFAULT_EEPROM | 2 +-
baseconfig/arm/armv7/CONFIG_PINCTRL_SAMSUNG | 2 +-
baseconfig/arm/armv7/CONFIG_PM_DEVFREQ | 1 -
.../arm/armv7/CONFIG_POWER_RESET_SYSCON_POWEROFF | 1 +
baseconfig/arm/armv7/CONFIG_REGMAP_I2C | 1 +
baseconfig/arm/armv7/CONFIG_REGMAP_MMIO | 2 +-
baseconfig/arm/armv7/CONFIG_REGMAP_SPI | 2 +-
baseconfig/arm/armv7/CONFIG_SND_SOC_AC97_CODEC | 2 +-
baseconfig/arm/armv7/CONFIG_SND_SOC_RT5631 | 1 +
baseconfig/arm/armv7/CONFIG_SRAM | 1 -
baseconfig/arm/armv7/armv7/CONFIG_ARM_VIRT_EXT | 2 +-
.../arm/armv7/armv7/CONFIG_BATTERY_BQ27XXX_I2C | 2 +-
baseconfig/arm/armv7/armv7/CONFIG_DDR | 1 +
baseconfig/arm/armv7/armv7/CONFIG_EXTCON | 1 +
baseconfig/arm/armv7/armv7/CONFIG_HUGETLB_PAGE | 1 +
baseconfig/arm/armv7/armv7/CONFIG_I2C_OMAP | 2 +-
baseconfig/arm/armv7/armv7/CONFIG_INPUT_MATRIXKMAP | 1 +
baseconfig/arm/armv7/armv7/CONFIG_MFD_WL1273_CORE | 1 -
.../arm/armv7/armv7/CONFIG_OMAP_INTERCONNECT | 2 +-
.../arm/armv7/armv7/CONFIG_PL310_ERRATA_588369 | 1 +
.../arm/armv7/armv7/CONFIG_PL310_ERRATA_727915 | 1 +
baseconfig/arm/armv7/armv7/CONFIG_QCOM_SMSM | 2 +-
baseconfig/arm/armv7/armv7/CONFIG_SND_SOC_WM8753 | 1 +
baseconfig/arm/armv7/armv7/CONFIG_SND_SOC_WM8903 | 1 +
baseconfig/arm/armv7/armv7/CONFIG_TI_CPTS | 2 +-
.../armv7/armv7/CONFIG_VIDEO_SAMSUNG_EXYNOS4_IS | 1 +
baseconfig/arm/armv7/armv7/CONFIG_VIRTUALIZATION | 1 -
baseconfig/arm/armv7/lpae/CONFIG_EXTCON | 1 +
baseconfig/arm/armv7/lpae/CONFIG_SYNC_FILE | 1 +
baseconfig/powerpc/CONFIG_ASYMMETRIC_KEY_TYPE | 2 +-
baseconfig/powerpc/CONFIG_HIBERNATION | 2 +-
baseconfig/powerpc/CONFIG_HOTPLUG_PCI_RPA_DLPAR | 2 +-
baseconfig/powerpc/CONFIG_INPUT_MATRIXKMAP | 1 +
baseconfig/powerpc/CONFIG_MTD_OF_PARTS | 2 +-
baseconfig/powerpc/CONFIG_SYNC_FILE | 1 +
baseconfig/powerpc/powerpc64/CONFIG_BLK_DEV_IDEPCI | 2 +-
.../powerpc64/CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND | 1 +
baseconfig/powerpc/powerpc64/CONFIG_GENERIC_PHY | 1 +
baseconfig/powerpc/powerpc64/CONFIG_I2C_MUX | 1 +
baseconfig/powerpc/powerpc64/CONFIG_I2C_POWERMAC | 2 +-
baseconfig/powerpc/powerpc64/CONFIG_MFD_CORE | 1 +
baseconfig/powerpc/powerpc64/CONFIG_SERIAL_CORE | 1 +
baseconfig/powerpc/powerpc64/CONFIG_WINDFARM_PM112 | 2 +-
baseconfig/powerpc/powerpc64/CONFIG_WINDFARM_PM121 | 2 +-
baseconfig/powerpc/powerpc64/CONFIG_WINDFARM_PM72 | 2 +-
baseconfig/powerpc/powerpc64/CONFIG_WINDFARM_PM81 | 2 +-
baseconfig/powerpc/powerpc64/CONFIG_WINDFARM_PM91 | 2 +-
baseconfig/powerpc/powerpc64/CONFIG_WINDFARM_RM31 | 2 +-
.../powerpc64le/CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND | 1 +
baseconfig/powerpc/powerpc64le/CONFIG_GENERIC_PHY | 1 +
baseconfig/powerpc/powerpc64le/CONFIG_I2C_MUX | 1 +
baseconfig/powerpc/powerpc64le/CONFIG_MFD_CORE | 1 +
baseconfig/powerpc/powerpc64le/CONFIG_SERIAL_CORE | 1 +
.../powerpc64p7/CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND | 1 +
baseconfig/powerpc/powerpc64p7/CONFIG_GENERIC_PHY | 1 +
baseconfig/powerpc/powerpc64p7/CONFIG_I2C_MUX | 1 +
baseconfig/powerpc/powerpc64p7/CONFIG_MFD_CORE | 1 +
baseconfig/powerpc/powerpc64p7/CONFIG_SERIAL_CORE | 1 +
baseconfig/s390x/CONFIG_ASYMMETRIC_KEY_TYPE | 2 +-
baseconfig/s390x/CONFIG_CRC7 | 1 +
.../s390x/CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND | 1 +
baseconfig/s390x/CONFIG_FIXED_PHY | 1 +
baseconfig/s390x/CONFIG_HID | 2 +-
baseconfig/s390x/CONFIG_HID_GENERIC | 1 +
baseconfig/s390x/CONFIG_HID_MAGICMOUSE | 1 +
baseconfig/s390x/CONFIG_HWMON | 2 +-
baseconfig/s390x/CONFIG_I2C | 2 +-
baseconfig/s390x/CONFIG_INPUT | 1 -
baseconfig/s390x/CONFIG_IUCV | 2 +-
baseconfig/s390x/CONFIG_MFD_CORE | 2 +-
baseconfig/s390x/CONFIG_MFD_WL1273_CORE | 1 +
baseconfig/s390x/CONFIG_MII | 1 -
baseconfig/s390x/CONFIG_NEW_LEDS | 1 -
baseconfig/s390x/CONFIG_PCMCIA | 1 +
baseconfig/s390x/CONFIG_PHYLIB | 2 +-
baseconfig/s390x/CONFIG_POWER_SUPPLY | 1 -
baseconfig/s390x/CONFIG_PPS | 1 -
baseconfig/s390x/CONFIG_PTP_1588_CLOCK | 1 -
baseconfig/s390x/CONFIG_SERIAL_CORE | 1 +
baseconfig/x86/CONFIG_ACPI_HED | 2 +-
baseconfig/x86/CONFIG_DW_DMAC_CORE | 1 +
baseconfig/x86/CONFIG_DW_DMAC_PCI | 1 +
baseconfig/x86/CONFIG_IOSF_MBI | 2 +-
baseconfig/x86/CONFIG_KVM_MMU_AUDIT | 2 +-
baseconfig/x86/CONFIG_NO_BOOTMEM | 2 +-
baseconfig/x86/CONFIG_THERMAL_GOV_BANG_BANG | 1 +
baseconfig/x86/CONFIG_THERMAL_GOV_USER_SPACE | 1 +
baseconfig/x86/CONFIG_THERMAL_WRITABLE_TRIPS | 1 +
baseconfig/x86/i686/CONFIG_CRYPTO_CRYPTD | 1 +
baseconfig/x86/i686/CONFIG_CRYPTO_LRW | 1 +
.../x86/i686/CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND | 1 +
baseconfig/x86/i686/CONFIG_DRM_PANEL | 1 +
baseconfig/x86/i686/CONFIG_DW_DMAC_CORE | 1 +
baseconfig/x86/i686/CONFIG_DW_DMAC_PCI | 1 +
baseconfig/x86/i686/CONFIG_FB_MODE_HELPERS | 1 +
baseconfig/x86/i686/CONFIG_GENERIC_PHY | 1 +
baseconfig/x86/i686/CONFIG_GPIO_CS5535 | 1 +
baseconfig/x86/i686/CONFIG_HSU_DMA | 1 +
baseconfig/x86/i686/CONFIG_I2C_MUX | 1 +
baseconfig/x86/i686/CONFIG_INPUT_MATRIXKMAP | 1 +
baseconfig/x86/i686/CONFIG_MTD_OF_PARTS | 2 +-
baseconfig/x86/i686/CONFIG_NSC_GPIO | 2 +-
baseconfig/x86/i686/CONFIG_PINCONF | 1 +
baseconfig/x86/i686/CONFIG_PINMUX | 1 +
baseconfig/x86/i686/CONFIG_REGMAP_I2C | 1 +
baseconfig/x86/i686/CONFIG_SERIAL_8250_MID | 1 +
baseconfig/x86/i686/CONFIG_SND_SOC_SSM4567 | 1 +
baseconfig/x86/i686/CONFIG_SND_SOC_TS3A227E | 1 +
baseconfig/x86/i686/CONFIG_SPARSE_IRQ | 2 +-
baseconfig/x86/i686/CONFIG_SYNC_FILE | 1 +
baseconfig/x86/i686PAE/CONFIG_CRYPTO_CRYPTD | 1 +
baseconfig/x86/i686PAE/CONFIG_CRYPTO_LRW | 1 +
.../x86/i686PAE/CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND | 1 +
baseconfig/x86/i686PAE/CONFIG_DRM_PANEL | 1 +
baseconfig/x86/i686PAE/CONFIG_DW_DMAC_CORE | 1 +
baseconfig/x86/i686PAE/CONFIG_DW_DMAC_PCI | 1 +
baseconfig/x86/i686PAE/CONFIG_FB_MODE_HELPERS | 1 +
baseconfig/x86/i686PAE/CONFIG_GENERIC_PHY | 1 +
baseconfig/x86/i686PAE/CONFIG_HSU_DMA | 1 +
baseconfig/x86/i686PAE/CONFIG_I2C_MUX | 1 +
baseconfig/x86/i686PAE/CONFIG_INPUT_MATRIXKMAP | 1 +
baseconfig/x86/i686PAE/CONFIG_LIBNVDIMM | 1 +
baseconfig/x86/i686PAE/CONFIG_MTD_OF_PARTS | 2 +-
baseconfig/x86/i686PAE/CONFIG_NSC_GPIO | 2 +-
baseconfig/x86/i686PAE/CONFIG_PINCONF | 1 +
baseconfig/x86/i686PAE/CONFIG_PINMUX | 1 +
baseconfig/x86/i686PAE/CONFIG_REGMAP_I2C | 1 +
baseconfig/x86/i686PAE/CONFIG_SERIAL_8250_MID | 1 +
baseconfig/x86/i686PAE/CONFIG_SND_SOC_SSM4567 | 1 +
baseconfig/x86/i686PAE/CONFIG_SND_SOC_TS3A227E | 1 +
baseconfig/x86/i686PAE/CONFIG_SPARSE_IRQ | 2 +-
baseconfig/x86/i686PAE/CONFIG_SYNC_FILE | 1 +
baseconfig/x86/x86_64/CONFIG_CRYPTO_CRYPTD | 1 +
baseconfig/x86/x86_64/CONFIG_CRYPTO_LRW | 1 +
baseconfig/x86/x86_64/CONFIG_CRYPTO_MCRYPTD | 1 +
baseconfig/x86/x86_64/CONFIG_DRM_PANEL | 1 +
baseconfig/x86/x86_64/CONFIG_GENERIC_PHY | 1 +
baseconfig/x86/x86_64/CONFIG_HSU_DMA | 1 +
baseconfig/x86/x86_64/CONFIG_I2C_MUX | 1 +
baseconfig/x86/x86_64/CONFIG_LIBNVDIMM | 2 +-
baseconfig/x86/x86_64/CONFIG_MAILBOX | 1 +
baseconfig/x86/x86_64/CONFIG_MTD_BLKDEVS | 1 +
baseconfig/x86/x86_64/CONFIG_NODES_SHIFT | 2 +-
baseconfig/x86/x86_64/CONFIG_NR_CPUS | 2 +-
baseconfig/x86/x86_64/CONFIG_PINCONF | 1 +
baseconfig/x86/x86_64/CONFIG_PINMUX | 1 +
baseconfig/x86/x86_64/CONFIG_REGMAP_I2C | 1 +
baseconfig/x86/x86_64/CONFIG_SERIAL_8250_MID | 1 +
baseconfig/x86/x86_64/CONFIG_SND_SOC_SSM4567 | 1 +
baseconfig/x86/x86_64/CONFIG_SND_SOC_TS3A227E | 1 +
baseconfig/x86/x86_64/CONFIG_SYNC_FILE | 1 +
check_configs.awk | 22 ++
kernel-aarch64-debug.config | 207 +++++++++--------
kernel-aarch64.config | 207 +++++++++--------
kernel-armv7hl-debug.config | 247 ++++++++++-----------
kernel-armv7hl-lpae-debug.config | 219 +++++++++---------
kernel-armv7hl-lpae.config | 219 +++++++++---------
kernel-armv7hl.config | 247 ++++++++++-----------
kernel-i686-PAE.config | 210 +++++++++---------
kernel-i686-PAEdebug.config | 210 +++++++++---------
kernel-i686-debug.config | 210 +++++++++---------
kernel-i686.config | 210 +++++++++---------
kernel-ppc64-debug.config | 184 ++++++++-------
kernel-ppc64.config | 184 ++++++++-------
kernel-ppc64le-debug.config | 168 +++++++-------
kernel-ppc64le.config | 168 +++++++-------
kernel-ppc64p7-debug.config | 168 +++++++-------
kernel-ppc64p7.config | 168 +++++++-------
kernel-s390x-debug.config | 182 ++++++++-------
kernel-s390x.config | 182 ++++++++-------
kernel-x86_64-debug.config | 210 +++++++++---------
kernel-x86_64.config | 210 +++++++++---------
kernel.spec | 21 ++
294 files changed, 2282 insertions(+), 2182 deletions(-)
delete mode 100644 baseconfig/CONFIG_INFINIBAND_MTHCA_DEBUG
delete mode 100644 baseconfig/CONFIG_MLX4_DEBUG
create mode 100644 baseconfig/arm/CONFIG_CC_STACKPROTECTOR_NONE
create mode 100644 baseconfig/arm/CONFIG_CRYPTO_CRYPTD
create mode 100644 baseconfig/arm/CONFIG_FB_MODE_HELPERS
delete mode 100644 baseconfig/arm/CONFIG_GAMEPORT
create mode 100644 baseconfig/arm/CONFIG_INPUT_MATRIXKMAP
delete mode 100644 baseconfig/arm/CONFIG_IP_SCTP
create mode 100644 baseconfig/arm/CONFIG_MFD_SYSCON
create mode 100644 baseconfig/arm/CONFIG_MFD_WL1273_CORE
delete mode 100644 baseconfig/arm/CONFIG_NET_VENDOR_BROADCOM
delete mode 100644 baseconfig/arm/CONFIG_NET_VENDOR_CHELSIO
delete mode 100644 baseconfig/arm/CONFIG_NET_VENDOR_EMULEX
delete mode 100644 baseconfig/arm/CONFIG_NVMEM
create mode 100644 baseconfig/arm/CONFIG_SRAM
create mode 100644 baseconfig/arm/CONFIG_SYNC_FILE
create mode 100644 baseconfig/arm/arm64/CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND
create mode 100644 baseconfig/arm/arm64/CONFIG_FB_MODE_HELPERS
create mode 100644 baseconfig/arm/arm64/CONFIG_GPIO_PCA953X
delete mode 100644 baseconfig/arm/arm64/CONFIG_HAVE_64BIT_ALIGNED_ACCESS
create mode 100644 baseconfig/arm/arm64/CONFIG_HZ_100
create mode 100644 baseconfig/arm/arm64/CONFIG_HZ_1000
delete mode 100644 baseconfig/arm/armv7/CONFIG_INPUT_MATRIXKMAP
create mode 100644 baseconfig/arm/armv7/CONFIG_MEMORY
delete mode 100644 baseconfig/arm/armv7/CONFIG_MFD_SYSCON
delete mode 100644 baseconfig/arm/armv7/CONFIG_PM_DEVFREQ
create mode 100644 baseconfig/arm/armv7/CONFIG_POWER_RESET_SYSCON_POWEROFF
create mode 100644 baseconfig/arm/armv7/CONFIG_REGMAP_I2C
create mode 100644 baseconfig/arm/armv7/CONFIG_SND_SOC_RT5631
delete mode 100644 baseconfig/arm/armv7/CONFIG_SRAM
create mode 100644 baseconfig/arm/armv7/armv7/CONFIG_DDR
create mode 100644 baseconfig/arm/armv7/armv7/CONFIG_EXTCON
create mode 100644 baseconfig/arm/armv7/armv7/CONFIG_HUGETLB_PAGE
create mode 100644 baseconfig/arm/armv7/armv7/CONFIG_INPUT_MATRIXKMAP
delete mode 100644 baseconfig/arm/armv7/armv7/CONFIG_MFD_WL1273_CORE
create mode 100644 baseconfig/arm/armv7/armv7/CONFIG_PL310_ERRATA_588369
create mode 100644 baseconfig/arm/armv7/armv7/CONFIG_PL310_ERRATA_727915
create mode 100644 baseconfig/arm/armv7/armv7/CONFIG_SND_SOC_WM8753
create mode 100644 baseconfig/arm/armv7/armv7/CONFIG_SND_SOC_WM8903
create mode 100644 baseconfig/arm/armv7/armv7/CONFIG_VIDEO_SAMSUNG_EXYNOS4_IS
delete mode 100644 baseconfig/arm/armv7/armv7/CONFIG_VIRTUALIZATION
create mode 100644 baseconfig/arm/armv7/lpae/CONFIG_EXTCON
create mode 100644 baseconfig/arm/armv7/lpae/CONFIG_SYNC_FILE
create mode 100644 baseconfig/powerpc/CONFIG_INPUT_MATRIXKMAP
create mode 100644 baseconfig/powerpc/CONFIG_SYNC_FILE
create mode 100644 baseconfig/powerpc/powerpc64/CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND
create mode 100644 baseconfig/powerpc/powerpc64/CONFIG_GENERIC_PHY
create mode 100644 baseconfig/powerpc/powerpc64/CONFIG_I2C_MUX
create mode 100644 baseconfig/powerpc/powerpc64/CONFIG_MFD_CORE
create mode 100644 baseconfig/powerpc/powerpc64/CONFIG_SERIAL_CORE
create mode 100644 baseconfig/powerpc/powerpc64le/CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND
create mode 100644 baseconfig/powerpc/powerpc64le/CONFIG_GENERIC_PHY
create mode 100644 baseconfig/powerpc/powerpc64le/CONFIG_I2C_MUX
create mode 100644 baseconfig/powerpc/powerpc64le/CONFIG_MFD_CORE
create mode 100644 baseconfig/powerpc/powerpc64le/CONFIG_SERIAL_CORE
create mode 100644 baseconfig/powerpc/powerpc64p7/CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND
create mode 100644 baseconfig/powerpc/powerpc64p7/CONFIG_GENERIC_PHY
create mode 100644 baseconfig/powerpc/powerpc64p7/CONFIG_I2C_MUX
create mode 100644 baseconfig/powerpc/powerpc64p7/CONFIG_MFD_CORE
create mode 100644 baseconfig/powerpc/powerpc64p7/CONFIG_SERIAL_CORE
create mode 100644 baseconfig/s390x/CONFIG_CRC7
create mode 100644 baseconfig/s390x/CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND
create mode 100644 baseconfig/s390x/CONFIG_FIXED_PHY
create mode 100644 baseconfig/s390x/CONFIG_HID_GENERIC
create mode 100644 baseconfig/s390x/CONFIG_HID_MAGICMOUSE
delete mode 100644 baseconfig/s390x/CONFIG_INPUT
create mode 100644 baseconfig/s390x/CONFIG_MFD_WL1273_CORE
delete mode 100644 baseconfig/s390x/CONFIG_MII
delete mode 100644 baseconfig/s390x/CONFIG_NEW_LEDS
create mode 100644 baseconfig/s390x/CONFIG_PCMCIA
delete mode 100644 baseconfig/s390x/CONFIG_POWER_SUPPLY
delete mode 100644 baseconfig/s390x/CONFIG_PPS
delete mode 100644 baseconfig/s390x/CONFIG_PTP_1588_CLOCK
create mode 100644 baseconfig/s390x/CONFIG_SERIAL_CORE
create mode 100644 baseconfig/x86/CONFIG_DW_DMAC_CORE
create mode 100644 baseconfig/x86/CONFIG_DW_DMAC_PCI
create mode 100644 baseconfig/x86/CONFIG_THERMAL_GOV_BANG_BANG
create mode 100644 baseconfig/x86/CONFIG_THERMAL_GOV_USER_SPACE
create mode 100644 baseconfig/x86/CONFIG_THERMAL_WRITABLE_TRIPS
create mode 100644 baseconfig/x86/i686/CONFIG_CRYPTO_CRYPTD
create mode 100644 baseconfig/x86/i686/CONFIG_CRYPTO_LRW
create mode 100644 baseconfig/x86/i686/CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND
create mode 100644 baseconfig/x86/i686/CONFIG_DRM_PANEL
create mode 100644 baseconfig/x86/i686/CONFIG_DW_DMAC_CORE
create mode 100644 baseconfig/x86/i686/CONFIG_DW_DMAC_PCI
create mode 100644 baseconfig/x86/i686/CONFIG_FB_MODE_HELPERS
create mode 100644 baseconfig/x86/i686/CONFIG_GENERIC_PHY
create mode 100644 baseconfig/x86/i686/CONFIG_GPIO_CS5535
create mode 100644 baseconfig/x86/i686/CONFIG_HSU_DMA
create mode 100644 baseconfig/x86/i686/CONFIG_I2C_MUX
create mode 100644 baseconfig/x86/i686/CONFIG_INPUT_MATRIXKMAP
create mode 100644 baseconfig/x86/i686/CONFIG_PINCONF
create mode 100644 baseconfig/x86/i686/CONFIG_PINMUX
create mode 100644 baseconfig/x86/i686/CONFIG_REGMAP_I2C
create mode 100644 baseconfig/x86/i686/CONFIG_SERIAL_8250_MID
create mode 100644 baseconfig/x86/i686/CONFIG_SND_SOC_SSM4567
create mode 100644 baseconfig/x86/i686/CONFIG_SND_SOC_TS3A227E
create mode 100644 baseconfig/x86/i686/CONFIG_SYNC_FILE
create mode 100644 baseconfig/x86/i686PAE/CONFIG_CRYPTO_CRYPTD
create mode 100644 baseconfig/x86/i686PAE/CONFIG_CRYPTO_LRW
create mode 100644 baseconfig/x86/i686PAE/CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND
create mode 100644 baseconfig/x86/i686PAE/CONFIG_DRM_PANEL
create mode 100644 baseconfig/x86/i686PAE/CONFIG_DW_DMAC_CORE
create mode 100644 baseconfig/x86/i686PAE/CONFIG_DW_DMAC_PCI
create mode 100644 baseconfig/x86/i686PAE/CONFIG_FB_MODE_HELPERS
create mode 100644 baseconfig/x86/i686PAE/CONFIG_GENERIC_PHY
create mode 100644 baseconfig/x86/i686PAE/CONFIG_HSU_DMA
create mode 100644 baseconfig/x86/i686PAE/CONFIG_I2C_MUX
create mode 100644 baseconfig/x86/i686PAE/CONFIG_INPUT_MATRIXKMAP
create mode 100644 baseconfig/x86/i686PAE/CONFIG_LIBNVDIMM
create mode 100644 baseconfig/x86/i686PAE/CONFIG_PINCONF
create mode 100644 baseconfig/x86/i686PAE/CONFIG_PINMUX
create mode 100644 baseconfig/x86/i686PAE/CONFIG_REGMAP_I2C
create mode 100644 baseconfig/x86/i686PAE/CONFIG_SERIAL_8250_MID
create mode 100644 baseconfig/x86/i686PAE/CONFIG_SND_SOC_SSM4567
create mode 100644 baseconfig/x86/i686PAE/CONFIG_SND_SOC_TS3A227E
create mode 100644 baseconfig/x86/i686PAE/CONFIG_SYNC_FILE
create mode 100644 baseconfig/x86/x86_64/CONFIG_CRYPTO_CRYPTD
create mode 100644 baseconfig/x86/x86_64/CONFIG_CRYPTO_LRW
create mode 100644 baseconfig/x86/x86_64/CONFIG_CRYPTO_MCRYPTD
create mode 100644 baseconfig/x86/x86_64/CONFIG_DRM_PANEL
create mode 100644 baseconfig/x86/x86_64/CONFIG_GENERIC_PHY
create mode 100644 baseconfig/x86/x86_64/CONFIG_HSU_DMA
create mode 100644 baseconfig/x86/x86_64/CONFIG_I2C_MUX
create mode 100644 baseconfig/x86/x86_64/CONFIG_MAILBOX
create mode 100644 baseconfig/x86/x86_64/CONFIG_MTD_BLKDEVS
create mode 100644 baseconfig/x86/x86_64/CONFIG_PINCONF
create mode 100644 baseconfig/x86/x86_64/CONFIG_PINMUX
create mode 100644 baseconfig/x86/x86_64/CONFIG_REGMAP_I2C
create mode 100644 baseconfig/x86/x86_64/CONFIG_SERIAL_8250_MID
create mode 100644 baseconfig/x86/x86_64/CONFIG_SND_SOC_SSM4567
create mode 100644 baseconfig/x86/x86_64/CONFIG_SND_SOC_TS3A227E
create mode 100644 baseconfig/x86/x86_64/CONFIG_SYNC_FILE
create mode 100755 check_configs.awk
diff --git a/check_configs.awk b/check_configs.awk
new file mode 100755
index 0000000..b3dd4ab
--- /dev/null
+++ b/check_configs.awk
@@ -0,0 +1,22 @@
+#!/usr/bin/awk -f
+
+/is not set/ {
+ split ($0, a, "#");
+ split(a[2], b);
+ if (NR==FNR) {
+ configs[b[1]]="is not set";
+ } else {
+ if (configs[b[1]] != "" && configs[b[1]] != "is not set")
+ print "expected # "b[1] " is not set, found " b[1] " " configs[b[1]];
+ }
+}
+
+/=/ {
+ split ($0, a, "=");
+ if (NR==FNR) {
+ configs[a[1]]=a[2];
+ } else {
+ if (configs[a[1]] != "" && configs[a[1]] != a[2])
+ print "expected "a[1]"="configs[a[1]]" but found " a[1]"="a[2];
+ }
+}
diff --git a/kernel.spec b/kernel.spec
index 0ceb314..1965a42 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -313,8 +313,11 @@ Summary: The Linux kernel
# printed out?
%if %{nopatches}
%define listnewconfig_fail 0
+%define configmismatch_fail 0
%else
%define listnewconfig_fail 1
+%define configmismatch_fail 1
+%else
%endif
# To temporarily exclude an architecture from being built, add it to
@@ -449,6 +452,8 @@ Source39: kernel-x86_64-debug.config
Source40: generate_all_configs.sh
Source41: generate_debug_configs.sh
+Source42: check_configs.awk
+
# This file is intentionally left empty in the stock kernel. Its a nicety
# added for those wanting to do custom rebuilds with altered config opts.
Source1000: kernel-local
@@ -1210,9 +1215,21 @@ rm -f kernel-%{version}-*debug.config
%define make make %{?cross_opts}
+CheckConfigs() {
+ cp %{SOURCE42} .
+ ./check_configs.awk $1 $2 > .mismatches
+ if [ -s .mismatches ]
+ then
+ echo "Error: Mismatches found in configuration files"
+ cat .mismatches
+ exit 1
+ fi
+}
+
# now run oldconfig over all the config files
for i in *.config
do
+ cat $i > temp-$i
mv $i .config
Arch=`head -1 .config | cut -b 3-`
make ARCH=$Arch listnewconfig | grep -E '^CONFIG_' >.newoptions || true
@@ -1226,6 +1243,10 @@ do
make ARCH=$Arch oldnoconfig
echo "# $Arch" > configs/$i
cat .config >> configs/$i
+%if %{configmismatch_fail}
+ CheckConfigs configs/$i temp-$i
+%endif
+ rm temp-$i
done
# end of kernel config
%endif
--
2.7.4
6 years, 11 months
[PATCH] Enable QDF2400 Onboard Networking
by Christopher Covington
The QDF2400 family of SoCs from Qualcomm Datacenter Technologies has an
on-board gigabit Ethernet port. The qcom-emac driver for this hardware has
been accepted into Linus Torvalds upstream repository as of 2016-12-17, so
enable the appropriate configuration for Fedora. The QCA7000 configuration
option, revealed by enabling CONFIG_NET_VENDOR_QUALCOMM, is left unset for
now, due to lack of hardware on hand for testing.
Signed-off-by: Christopher Covington <cov(a)codeaurora.org>
---
baseconfig/arm/arm64/CONFIG_NET_VENDOR_QUALCOMM | 1 +
baseconfig/arm/arm64/CONFIG_QCA7000 | 1 +
baseconfig/arm/arm64/CONFIG_QCOM_EMAC | 1 +
kernel-aarch64-debug.config | 4 +++-
kernel-aarch64.config | 4 +++-
5 files changed, 9 insertions(+), 2 deletions(-)
create mode 100644 baseconfig/arm/arm64/CONFIG_NET_VENDOR_QUALCOMM
create mode 100644 baseconfig/arm/arm64/CONFIG_QCA7000
create mode 100644 baseconfig/arm/arm64/CONFIG_QCOM_EMAC
diff --git a/baseconfig/arm/arm64/CONFIG_NET_VENDOR_QUALCOMM b/baseconfig/arm/arm64/CONFIG_NET_VENDOR_QUALCOMM
new file mode 100644
index 0000000..46be71a
--- /dev/null
+++ b/baseconfig/arm/arm64/CONFIG_NET_VENDOR_QUALCOMM
@@ -0,0 +1 @@
+CONFIG_NET_VENDOR_QUALCOMM=y
diff --git a/baseconfig/arm/arm64/CONFIG_QCA7000 b/baseconfig/arm/arm64/CONFIG_QCA7000
new file mode 100644
index 0000000..1a7ec7f
--- /dev/null
+++ b/baseconfig/arm/arm64/CONFIG_QCA7000
@@ -0,0 +1 @@
+# CONFIG_QCA7000 is not set
diff --git a/baseconfig/arm/arm64/CONFIG_QCOM_EMAC b/baseconfig/arm/arm64/CONFIG_QCOM_EMAC
new file mode 100644
index 0000000..4e3fa01
--- /dev/null
+++ b/baseconfig/arm/arm64/CONFIG_QCOM_EMAC
@@ -0,0 +1 @@
+CONFIG_QCOM_EMAC=m
diff --git a/kernel-aarch64-debug.config b/kernel-aarch64-debug.config
index 455c71c..4fa0835 100644
--- a/kernel-aarch64-debug.config
+++ b/kernel-aarch64-debug.config
@@ -3395,7 +3395,7 @@ CONFIG_NET_VENDOR_NETRONOME=y
CONFIG_NET_VENDOR_NVIDIA=y
CONFIG_NET_VENDOR_OKI=y
# CONFIG_NET_VENDOR_QLOGIC is not set
-# CONFIG_NET_VENDOR_QUALCOMM is not set
+CONFIG_NET_VENDOR_QUALCOMM=y
CONFIG_NET_VENDOR_RDC=y
CONFIG_NET_VENDOR_REALTEK=y
# CONFIG_NET_VENDOR_RENESAS is not set
@@ -3980,12 +3980,14 @@ CONFIG_PWM_TEGRA=m
CONFIG_PWM=y
# CONFIG_PWRSEQ_EMMC is not set
# CONFIG_PWRSEQ_SIMPLE is not set
+# CONFIG_QCA7000 is not set
CONFIG_QCOM_ADSP_PIL=m
CONFIG_QCOM_BAM_DMA=y
# CONFIG_QCOM_CLK_RPM is not set
# CONFIG_QCOM_CLK_SMD_RPM is not set
CONFIG_QCOM_COINCELL=m
# CONFIG_QCOM_EBI2 is not set
+CONFIG_QCOM_EMAC=m
CONFIG_QCOM_GSBI=y
# CONFIG_QCOM_HIDMA is not set
# CONFIG_QCOM_HIDMA_MGMT is not set
diff --git a/kernel-aarch64.config b/kernel-aarch64.config
index 608d26f..13cf069 100644
--- a/kernel-aarch64.config
+++ b/kernel-aarch64.config
@@ -3374,7 +3374,7 @@ CONFIG_NET_VENDOR_NETRONOME=y
CONFIG_NET_VENDOR_NVIDIA=y
CONFIG_NET_VENDOR_OKI=y
# CONFIG_NET_VENDOR_QLOGIC is not set
-# CONFIG_NET_VENDOR_QUALCOMM is not set
+CONFIG_NET_VENDOR_QUALCOMM=y
CONFIG_NET_VENDOR_RDC=y
CONFIG_NET_VENDOR_REALTEK=y
# CONFIG_NET_VENDOR_RENESAS is not set
@@ -3958,12 +3958,14 @@ CONFIG_PWM_TEGRA=m
CONFIG_PWM=y
# CONFIG_PWRSEQ_EMMC is not set
# CONFIG_PWRSEQ_SIMPLE is not set
+# CONFIG_QCA7000 is not set
CONFIG_QCOM_ADSP_PIL=m
CONFIG_QCOM_BAM_DMA=y
# CONFIG_QCOM_CLK_RPM is not set
# CONFIG_QCOM_CLK_SMD_RPM is not set
CONFIG_QCOM_COINCELL=m
# CONFIG_QCOM_EBI2 is not set
+CONFIG_QCOM_EMAC=m
CONFIG_QCOM_GSBI=y
# CONFIG_QCOM_HIDMA is not set
# CONFIG_QCOM_HIDMA_MGMT is not set
--
Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc.
Qualcomm Technologies, Inc. is a member of the
Code Aurora Forum, a Linux Foundation Collaborative Project.
6 years, 11 months
Re: [PATCH] Enable QDF2400 Onboard Networking
by Christopher Covington
On 2016-12-19 14:24, Timur Tabi wrote:
> On 12/19/2016 01:04 PM, Christopher Covington wrote:
>> The QDF2400 family of SoCs from Qualcomm Datacenter Technologies has
>> an
>> on-board gigabit Ethernet port. The qcom-emac driver for this hardware
>> has
>> been accepted into Linus Torvalds upstream repository as of
>> 2016-12-17, so
>> enable the appropriate configuration for Fedora. The QCA7000
>> configuration
>> option, revealed by enabling CONFIG_NET_VENDOR_QUALCOMM, is left unset
>> for
>> now, due to lack of hardware on hand for testing.
>
> Do you want to enable the specific PHY driver that's on the QDF2400
> SDP boards as well? The genphy driver seems to work pretty well, so I
> don't think it's necessary.
>
> CONFIG_AT803X_PHY
Looks like it's already built as a module:
http://pkgs.fedoraproject.org/cgit/rpms/kernel.git/tree/kernel-aarch64.co...
Thanks,
Cov
--
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm
Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code
Aurora Forum, a Linux Foundation Collaborative Project.
6 years, 11 months
[PATCH] Re-add ACPI SPCR (serial console) support
by Christopher Covington
Four SPCR patches were merged upstream into 4.9, but one was reverted by a
subsequent commit (due to a trivial merge conflict with a later, unrelated
patch). A fixed up version of the missing patch is queued up for 4.10 in
tty-next. Carry it to make sure users see serial console output on ACPI
systems. Otherwise manually setting console=ttyAMAn would be required.
---
arm64-ACPI-parse-SPCR-table.patch | 101 ++++++++++++++++++++++++++++++++++++++
kernel.spec | 6 +++
2 files changed, 107 insertions(+)
create mode 100644 arm64-ACPI-parse-SPCR-table.patch
[Sending as new message, this time including the fedora-kernel list.]
diff --git a/arm64-ACPI-parse-SPCR-table.patch b/arm64-ACPI-parse-SPCR-table.patch
new file mode 100644
index 0000000..ad85b02
--- /dev/null
+++ b/arm64-ACPI-parse-SPCR-table.patch
@@ -0,0 +1,101 @@
+From 10879ae5f12e9cab3c4e8e9504c1aaa8a033bde7 Mon Sep 17 00:00:00 2001
+From: Aleksey Makarov <aleksey.makarov(a)linaro.org>
+Date: Tue, 4 Oct 2016 10:15:32 +0300
+Subject: serial: pl011: add console matching function
+
+This patch adds function pl011_console_match() that implements
+method match of struct console. It allows to match consoles against
+data specified in a string, for example taken from command line or
+compiled by ACPI SPCR table handler.
+
+This patch was merged to tty-next but then reverted because of
+conflict with
+
+commit 46e36683f433 ("serial: earlycon: Extend earlycon command line option to support 64-bit addresses")
+
+Now it is fixed.
+
+Signed-off-by: Aleksey Makarov <aleksey.makarov(a)linaro.org>
+Reviewed-by: Peter Hurley <peter(a)hurleysoftware.com>
+Acked-by: Russell King <rmk+kernel(a)armlinux.org.uk>
+Tested-by: Christopher Covington <cov(a)codeaurora.org>
+Signed-off-by: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
+---
+ drivers/tty/serial/amba-pl011.c | 55 +++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 55 insertions(+)
+
+diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
+index e2c33b9..c00ab22 100644
+--- a/drivers/tty/serial/amba-pl011.c
++++ b/drivers/tty/serial/amba-pl011.c
+@@ -2315,12 +2315,67 @@ static int __init pl011_console_setup(struct console *co, char *options)
+ return uart_set_options(&uap->port, co, baud, parity, bits, flow);
+ }
+
++/**
++ * pl011_console_match - non-standard console matching
++ * @co: registering console
++ * @name: name from console command line
++ * @idx: index from console command line
++ * @options: ptr to option string from console command line
++ *
++ * Only attempts to match console command lines of the form:
++ * console=pl011,mmio|mmio32,<addr>[,<options>]
++ * console=pl011,0x<addr>[,<options>]
++ * This form is used to register an initial earlycon boot console and
++ * replace it with the amba_console at pl011 driver init.
++ *
++ * Performs console setup for a match (as required by interface)
++ * If no <options> are specified, then assume the h/w is already setup.
++ *
++ * Returns 0 if console matches; otherwise non-zero to use default matching
++ */
++static int __init pl011_console_match(struct console *co, char *name, int idx,
++ char *options)
++{
++ unsigned char iotype;
++ resource_size_t addr;
++ int i;
++
++ if (strcmp(name, "pl011") != 0)
++ return -ENODEV;
++
++ if (uart_parse_earlycon(options, &iotype, &addr, &options))
++ return -ENODEV;
++
++ if (iotype != UPIO_MEM && iotype != UPIO_MEM32)
++ return -ENODEV;
++
++ /* try to match the port specified on the command line */
++ for (i = 0; i < ARRAY_SIZE(amba_ports); i++) {
++ struct uart_port *port;
++
++ if (!amba_ports[i])
++ continue;
++
++ port = &amba_ports[i]->port;
++
++ if (port->mapbase != addr)
++ continue;
++
++ co->index = i;
++ port->cons = co;
++ return pl011_console_setup(co, options);
++ }
++
++ return -ENODEV;
++}
++
+ static struct uart_driver amba_reg;
+ static struct console amba_console = {
+ .name = "ttyAMA",
+ .write = pl011_console_write,
+ .device = uart_console_device,
+ .setup = pl011_console_setup,
++ .match = pl011_console_match,
+ .flags = CON_PRINTBUFFER,
+ .index = -1,
+ .data = &amba_reg,
+--
+cgit v0.12
+
diff --git a/kernel.spec b/kernel.spec
index 2fc8909..9e20308 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -492,6 +492,9 @@ Source5005: kbuild-AFTER_LINK.patch
# Standalone patches
+# http://www.spinics.net/lists/linux-serial/msg24272.html
+Patch420: arm64-ACPI-parse-SPCR-table.patch
+
# a tempory patch for QCOM hardware enablement. Will be gone by end of 2016/F-26 GA
Patch421: qcom-QDF2432-tmp-errata.patch
@@ -2174,6 +2177,9 @@ fi
#
#
%changelog
+* Sat Dec 10 2016 Christopher Covington <cov(a)codeaurora.org>
+- Re-add ACPI SPCR (serial console) support
+
* Fri Dec 09 2016 Laura Abbott <labbott(a)fedoraproject.org> - 4.9.0-0.rc8.git4.1
- Linux v4.9-rc8-85-ga37102d
--
Qualcomm Datacenter Technologies, Inc. as an affiliate of Qualcomm
Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora
Forum, a Linux Foundation Collaborative Project.
6 years, 11 months
[PATCH] config: Enable CONFIG_MODVERSIONS
by Don Zickus
Hi,
I noticed that CONFIG_MODVERSIONS was not enabled in Fedora. I do not know
the history and would be curious to know if someone knew.
Otherwise, I would like to propose enabling it. Traditionally this option
helps 3rd party drivers update to newer kernel versions if the symbol
checksums match from the symbol list the driver needs in the kernel.
Fedora normally is not interested in 3rd party drivers. I am not going to
ask Fedora to start being interested either. :-)
My reason for enabling this is really to help with RHEL technology. RHEL
does support 3rd party drivers for business reasons. Having better support
in Fedora for 3rd party drivers helps us iron out some of our technology
in this area.
As a bonus, it does help make sure existing Fedora 3rd party drivers don't
accidentally get loaded with the wrong kernel version. This gets blocked at
load time and can help prevent various panics. Though Fedora traditionally
closes such bugs anyway.
Signed-off-by: Don Zickus <dzickus(a)redhat.com>
diff --git a/config-generic b/config-generic
index 7444895..e0e9387 100644
--- a/config-generic
+++ b/config-generic
@@ -91,7 +91,7 @@ CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_LOAD is not set
# -- MODULE_FORCE_UNLOAD is controlled by config-debug/nodebug
-# CONFIG_MODVERSIONS is not set
+CONFIG_MODVERSIONS=y
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_PCI=y
7 years