summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configs/fedora/generic/x86/CONFIG_GPIO_AMDPT1
-rw-r--r--configs/fedora/generic/x86/CONFIG_PINCTRL_AMD2
-rw-r--r--configs/fedora/generic/x86/CONFIG_X86_AMD_PLATFORM_DEVICE2
-rw-r--r--kernel-i686-PAE.config6
-rw-r--r--kernel-i686-PAEdebug.config6
-rw-r--r--kernel-i686-debug.config6
-rw-r--r--kernel-i686.config6
-rw-r--r--kernel-x86_64-debug.config6
-rw-r--r--kernel-x86_64.config6
-rw-r--r--kernel.spec4
10 files changed, 25 insertions, 20 deletions
diff --git a/configs/fedora/generic/x86/CONFIG_GPIO_AMDPT b/configs/fedora/generic/x86/CONFIG_GPIO_AMDPT
new file mode 100644
index 000000000..04ac1ad2c
--- /dev/null
+++ b/configs/fedora/generic/x86/CONFIG_GPIO_AMDPT
@@ -0,0 +1 @@
+CONFIG_GPIO_AMDPT=m
diff --git a/configs/fedora/generic/x86/CONFIG_PINCTRL_AMD b/configs/fedora/generic/x86/CONFIG_PINCTRL_AMD
index 02626b835..a1f44d876 100644
--- a/configs/fedora/generic/x86/CONFIG_PINCTRL_AMD
+++ b/configs/fedora/generic/x86/CONFIG_PINCTRL_AMD
@@ -1 +1 @@
-# CONFIG_PINCTRL_AMD is not set
+CONFIG_PINCTRL_AMD=m
diff --git a/configs/fedora/generic/x86/CONFIG_X86_AMD_PLATFORM_DEVICE b/configs/fedora/generic/x86/CONFIG_X86_AMD_PLATFORM_DEVICE
index 15b9c575b..4da780aa7 100644
--- a/configs/fedora/generic/x86/CONFIG_X86_AMD_PLATFORM_DEVICE
+++ b/configs/fedora/generic/x86/CONFIG_X86_AMD_PLATFORM_DEVICE
@@ -1 +1 @@
-# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
+CONFIG_X86_AMD_PLATFORM_DEVICE=y
diff --git a/kernel-i686-PAE.config b/kernel-i686-PAE.config
index 580201dec..91c9e37b7 100644
--- a/kernel-i686-PAE.config
+++ b/kernel-i686-PAE.config
@@ -1630,7 +1630,7 @@ CONFIG_GPD_POCKET_FAN=m
# CONFIG_GPIO_ADP5588 is not set
# CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMD8111 is not set
-# CONFIG_GPIO_AMDPT is not set
+CONFIG_GPIO_AMDPT=m
CONFIG_GPIO_BD9571MWV=m
# CONFIG_GPIO_BT8XX is not set
CONFIG_GPIO_CRYSTAL_COVE=y
@@ -3964,7 +3964,7 @@ CONFIG_PHYSICAL_START=0x400000
# CONFIG_PI433 is not set
CONFIG_PID_NS=y
CONFIG_PINCONF=y
-# CONFIG_PINCTRL_AMD is not set
+CONFIG_PINCTRL_AMD=m
# CONFIG_PINCTRL_AXP209 is not set
CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_PINCTRL_BROXTON=m
@@ -6181,7 +6181,7 @@ CONFIG_X86_32_IRIS=m
CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_AMD_FREQ_SENSITIVITY=m
-# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
+CONFIG_X86_AMD_PLATFORM_DEVICE=y
# CONFIG_X86_ANCIENT_MCE is not set
CONFIG_X86_BIGSMP=y
# CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK is not set
diff --git a/kernel-i686-PAEdebug.config b/kernel-i686-PAEdebug.config
index 4a24fcbbb..96a7b314b 100644
--- a/kernel-i686-PAEdebug.config
+++ b/kernel-i686-PAEdebug.config
@@ -1649,7 +1649,7 @@ CONFIG_GPD_POCKET_FAN=m
# CONFIG_GPIO_ADP5588 is not set
# CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMD8111 is not set
-# CONFIG_GPIO_AMDPT is not set
+CONFIG_GPIO_AMDPT=m
CONFIG_GPIO_BD9571MWV=m
# CONFIG_GPIO_BT8XX is not set
CONFIG_GPIO_CRYSTAL_COVE=y
@@ -3985,7 +3985,7 @@ CONFIG_PHYSICAL_START=0x400000
# CONFIG_PI433 is not set
CONFIG_PID_NS=y
CONFIG_PINCONF=y
-# CONFIG_PINCTRL_AMD is not set
+CONFIG_PINCTRL_AMD=m
# CONFIG_PINCTRL_AXP209 is not set
CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_PINCTRL_BROXTON=m
@@ -6204,7 +6204,7 @@ CONFIG_X86_32_IRIS=m
CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_AMD_FREQ_SENSITIVITY=m
-# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
+CONFIG_X86_AMD_PLATFORM_DEVICE=y
# CONFIG_X86_ANCIENT_MCE is not set
CONFIG_X86_BIGSMP=y
CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y
diff --git a/kernel-i686-debug.config b/kernel-i686-debug.config
index b4ee0a3ff..1fe036f98 100644
--- a/kernel-i686-debug.config
+++ b/kernel-i686-debug.config
@@ -1649,7 +1649,7 @@ CONFIG_GPD_POCKET_FAN=m
# CONFIG_GPIO_ADP5588 is not set
# CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMD8111 is not set
-# CONFIG_GPIO_AMDPT is not set
+CONFIG_GPIO_AMDPT=m
CONFIG_GPIO_BD9571MWV=m
# CONFIG_GPIO_BT8XX is not set
CONFIG_GPIO_CRYSTAL_COVE=y
@@ -3985,7 +3985,7 @@ CONFIG_PHYSICAL_START=0x400000
# CONFIG_PI433 is not set
CONFIG_PID_NS=y
CONFIG_PINCONF=y
-# CONFIG_PINCTRL_AMD is not set
+CONFIG_PINCTRL_AMD=m
# CONFIG_PINCTRL_AXP209 is not set
CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_PINCTRL_BROXTON=m
@@ -6204,7 +6204,7 @@ CONFIG_X86_32_IRIS=m
CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_AMD_FREQ_SENSITIVITY=m
-# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
+CONFIG_X86_AMD_PLATFORM_DEVICE=y
# CONFIG_X86_ANCIENT_MCE is not set
CONFIG_X86_BIGSMP=y
CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y
diff --git a/kernel-i686.config b/kernel-i686.config
index 38701c9b8..a4a58fe28 100644
--- a/kernel-i686.config
+++ b/kernel-i686.config
@@ -1630,7 +1630,7 @@ CONFIG_GPD_POCKET_FAN=m
# CONFIG_GPIO_ADP5588 is not set
# CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMD8111 is not set
-# CONFIG_GPIO_AMDPT is not set
+CONFIG_GPIO_AMDPT=m
CONFIG_GPIO_BD9571MWV=m
# CONFIG_GPIO_BT8XX is not set
CONFIG_GPIO_CRYSTAL_COVE=y
@@ -3964,7 +3964,7 @@ CONFIG_PHYSICAL_START=0x400000
# CONFIG_PI433 is not set
CONFIG_PID_NS=y
CONFIG_PINCONF=y
-# CONFIG_PINCTRL_AMD is not set
+CONFIG_PINCTRL_AMD=m
# CONFIG_PINCTRL_AXP209 is not set
CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_PINCTRL_BROXTON=m
@@ -6181,7 +6181,7 @@ CONFIG_X86_32_IRIS=m
CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_AMD_FREQ_SENSITIVITY=m
-# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
+CONFIG_X86_AMD_PLATFORM_DEVICE=y
# CONFIG_X86_ANCIENT_MCE is not set
CONFIG_X86_BIGSMP=y
# CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK is not set
diff --git a/kernel-x86_64-debug.config b/kernel-x86_64-debug.config
index 1c8c6fc24..9978ef6d1 100644
--- a/kernel-x86_64-debug.config
+++ b/kernel-x86_64-debug.config
@@ -1692,7 +1692,7 @@ CONFIG_GPD_POCKET_FAN=m
# CONFIG_GPIO_ADP5588 is not set
# CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMD8111 is not set
-# CONFIG_GPIO_AMDPT is not set
+CONFIG_GPIO_AMDPT=m
# CONFIG_GPIO_AXP209 is not set
CONFIG_GPIO_BD9571MWV=m
# CONFIG_GPIO_BT8XX is not set
@@ -4035,7 +4035,7 @@ CONFIG_PHYSICAL_START=0x1000000
# CONFIG_PI433 is not set
CONFIG_PID_NS=y
CONFIG_PINCONF=y
-# CONFIG_PINCTRL_AMD is not set
+CONFIG_PINCTRL_AMD=m
# CONFIG_PINCTRL_AXP209 is not set
CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_PINCTRL_BROXTON=m
@@ -6299,7 +6299,7 @@ CONFIG_X86_64_ACPI_NUMA=y
CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_AMD_FREQ_SENSITIVITY=m
-# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
+CONFIG_X86_AMD_PLATFORM_DEVICE=y
CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK=y
CONFIG_X86_CHECK_BIOS_CORRUPTION=y
CONFIG_X86_CPUID=y
diff --git a/kernel-x86_64.config b/kernel-x86_64.config
index 2096c3f84..f2f7cc4d0 100644
--- a/kernel-x86_64.config
+++ b/kernel-x86_64.config
@@ -1673,7 +1673,7 @@ CONFIG_GPD_POCKET_FAN=m
# CONFIG_GPIO_ADP5588 is not set
# CONFIG_GPIO_ALTERA is not set
# CONFIG_GPIO_AMD8111 is not set
-# CONFIG_GPIO_AMDPT is not set
+CONFIG_GPIO_AMDPT=m
# CONFIG_GPIO_AXP209 is not set
CONFIG_GPIO_BD9571MWV=m
# CONFIG_GPIO_BT8XX is not set
@@ -4014,7 +4014,7 @@ CONFIG_PHYSICAL_START=0x1000000
# CONFIG_PI433 is not set
CONFIG_PID_NS=y
CONFIG_PINCONF=y
-# CONFIG_PINCTRL_AMD is not set
+CONFIG_PINCTRL_AMD=m
# CONFIG_PINCTRL_AXP209 is not set
CONFIG_PINCTRL_BAYTRAIL=y
CONFIG_PINCTRL_BROXTON=m
@@ -6276,7 +6276,7 @@ CONFIG_X86_64_ACPI_NUMA=y
CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_AMD_FREQ_SENSITIVITY=m
-# CONFIG_X86_AMD_PLATFORM_DEVICE is not set
+CONFIG_X86_AMD_PLATFORM_DEVICE=y
# CONFIG_X86_BOOTPARAM_MEMORY_CORRUPTION_CHECK is not set
CONFIG_X86_CHECK_BIOS_CORRUPTION=y
CONFIG_X86_CPUID=y
diff --git a/kernel.spec b/kernel.spec
index 5854216f6..564e4b481 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -1922,6 +1922,10 @@ fi
#
#
%changelog
+* Sun May 20 2018 Hans de Goede <hdegoede@redhat.com>
+- Enable GPIO_AMDPT, PINCTRL_AMD and X86_AMD_PLATFORM_DEVICE Kconfig options
+ to fix i2c and GPIOs not working on AMD based laptops (rhbz#1510649)
+
* Thu May 17 2018 Justin M. Forbes <jforbes@fedoraproject.org>
- Fix CVE-2018-1120 (rhbz 1575472 1579542)