From ea4571690020d0e7e9bf481c4299685f461da5fd Mon Sep 17 00:00:00 2001 From: Laura Abbott Date: Thu, 21 May 2015 12:53:03 -0700 Subject: [PATCH] Linux v4.0.4 rebase --- ...ve-WARN_ON-for-invalid-BA-notificati.patch | 34 - ...tomatically-enforce-module-signature.patch | 29 +- ...q-option-to-disable-secure-boot-mode.patch | 29 +- ...pin-3-touches-when-the-firmware-repo.patch | 47 + ...re-route-tracksticks-buttons-on-the-.patch | 151 - ...remove-TOPBUTTONPAD-property-for-Len.patch | 44 - ...remove-X1-Carbon-3rd-gen-from-the-to.patch | 35 - ...remove-X250-from-the-topbuttonpad-li.patch | 32 - ...retrieve-the-extended-capabilities-i.patch | 125 - Kbuild-Add-an-option-to-enable-GCC-VTA.patch | 13 +- ...add-1024-max-sectors-black-list-flag.patch | 95 - amd-xgbe-a0-Add-support-for-XGBE-on-A0.patch | 10411 ++++++++++++++++ ...hy-a0-Add-support-for-XGBE-PHY-on-A0.patch | 1843 +++ ...one-common-setup-default-pinmux-http.patch | 120 +- ...ing-console-to-enable-serial-console.patch | 42 + ...p-avoid-too-many-pending-per-work-IO.patch | 104 + config-arm-generic | 37 +- config-arm64 | 16 +- config-armv7 | 24 +- config-armv7-generic | 81 +- config-armv7-lpae | 1 + config-generic | 106 +- config-powerpc-generic | 7 +- config-powerpc64 | 3 +- config-powerpc64p7 | 2 +- config-s390x | 2 + config-x86-32-generic | 4 +- config-x86-generic | 7 +- config-x86_64-generic | 5 +- drm-i915-Disable-verbose-state-checks.patch | 7 +- drm-i915-hush-check-crtc-state.patch | 11 +- drm-i915-tame-the-chattermouth-v2.patch | 561 - efi-Add-esrt-support.patch | 780 ++ kernel.spec | 148 +- ...tore-to-sector-variable-in-raid0_mak.patch | 48 + ...-t-remove-non-empty-opaque-directory.patch | 57 + sources | 6 +- ...not-register-vendor-backlight-when-a.patch | 29 +- ...atform-driver-use-64-bit-or-32-bit-D.patch | 40 + ...-incorrect-bandwidth-with-Chicony-de.patch | 35 + vhost-scsi-potential-memory-corruption.patch | 53 - ...-port-access-when-module-security-is.patch | 9 +- ...tel-Guard-against-stack-overflow-in-.patch | 36 - 43 files changed, 13836 insertions(+), 1433 deletions(-) delete mode 100644 0001-iwlwifi-mvm-remove-WARN_ON-for-invalid-BA-notificati.patch create mode 100644 Input-synaptics-pin-3-touches-when-the-firmware-repo.patch delete mode 100644 Input-synaptics-re-route-tracksticks-buttons-on-the-.patch delete mode 100644 Input-synaptics-remove-TOPBUTTONPAD-property-for-Len.patch delete mode 100644 Input-synaptics-remove-X1-Carbon-3rd-gen-from-the-to.patch delete mode 100644 Input-synaptics-remove-X250-from-the-topbuttonpad-li.patch delete mode 100644 Input-synaptics-retrieve-the-extended-capabilities-i.patch delete mode 100644 SCSI-add-1024-max-sectors-black-list-flag.patch create mode 100644 amd-xgbe-a0-Add-support-for-XGBE-on-A0.patch create mode 100644 amd-xgbe-phy-a0-Add-support-for-XGBE-PHY-on-A0.patch create mode 100644 arm64-avoid-needing-console-to-enable-serial-console.patch create mode 100644 blk-loop-avoid-too-many-pending-per-work-IO.patch delete mode 100644 drm-i915-tame-the-chattermouth-v2.patch create mode 100644 efi-Add-esrt-support.patch create mode 100644 md-raid0-fix-restore-to-sector-variable-in-raid0_mak.patch create mode 100644 ovl-don-t-remove-non-empty-opaque-directory.patch create mode 100644 usb-make-xhci-platform-driver-use-64-bit-or-32-bit-D.patch create mode 100644 v4l-uvcvideo-Fix-incorrect-bandwidth-with-Chicony-de.patch delete mode 100644 vhost-scsi-potential-memory-corruption.patch delete mode 100644 x86-microcode-intel-Guard-against-stack-overflow-in-.patch diff --git a/0001-iwlwifi-mvm-remove-WARN_ON-for-invalid-BA-notificati.patch b/0001-iwlwifi-mvm-remove-WARN_ON-for-invalid-BA-notificati.patch deleted file mode 100644 index 8dc4e89d2..000000000 --- a/0001-iwlwifi-mvm-remove-WARN_ON-for-invalid-BA-notificati.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 1f16ea294d2ef63013740f4c8539e430b6c12dff Mon Sep 17 00:00:00 2001 -From: Johannes Berg -Date: Fri, 6 Mar 2015 09:17:37 +0100 -Subject: [PATCH] iwlwifi: mvm: remove WARN_ON for invalid BA notification - -The firmware frequently manages to trigger this, and there's -no known driver workaround, so stop warning. - -Signed-off-by: Johannes Berg -Signed-off-by: Emmanuel Grumbach ---- - drivers/net/wireless/iwlwifi/mvm/tx.c | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/drivers/net/wireless/iwlwifi/mvm/tx.c b/drivers/net/wireless/iwlwifi/mvm/tx.c -index 07304e1..96a0540 100644 ---- a/drivers/net/wireless/iwlwifi/mvm/tx.c -+++ b/drivers/net/wireless/iwlwifi/mvm/tx.c -@@ -949,8 +949,10 @@ int iwl_mvm_rx_ba_notif(struct iwl_mvm *mvm, struct iwl_rx_cmd_buffer *rxb, - mvmsta = iwl_mvm_sta_from_mac80211(sta); - tid_data = &mvmsta->tid_data[tid]; - -- if (WARN_ONCE(tid_data->txq_id != scd_flow, "Q %d, tid %d, flow %d", -- tid_data->txq_id, tid, scd_flow)) { -+ if (tid_data->txq_id != scd_flow) { -+ IWL_ERR(mvm, -+ "invalid BA notification: Q %d, tid %d, flow %d\n", -+ tid_data->txq_id, tid, scd_flow); - rcu_read_unlock(); - return 0; - } --- -2.1.0 - diff --git a/Add-option-to-automatically-enforce-module-signature.patch b/Add-option-to-automatically-enforce-module-signature.patch index 8e2789aae..b3ce38ce5 100644 --- a/Add-option-to-automatically-enforce-module-signature.patch +++ b/Add-option-to-automatically-enforce-module-signature.patch @@ -20,7 +20,7 @@ Signed-off-by: Matthew Garrett 7 files changed, 69 insertions(+), 1 deletion(-) diff --git a/Documentation/x86/zero-page.txt b/Documentation/x86/zero-page.txt -index 199f453cb4de..ec38acf00b40 100644 +index 82fbdbc1e0b0..a811210ad486 100644 --- a/Documentation/x86/zero-page.txt +++ b/Documentation/x86/zero-page.txt @@ -30,6 +30,8 @@ Offset Proto Name Meaning @@ -33,10 +33,10 @@ index 199f453cb4de..ec38acf00b40 100644 290/040 ALL edd_mbr_sig_buffer EDD MBR signatures 2D0/A00 ALL e820_map E820 memory map table diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig -index 36327438caf0..61542c282e70 100644 +index b7d31ca55187..ab403a636357 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig -@@ -1566,6 +1566,16 @@ config EFI_MIXED +@@ -1695,6 +1695,16 @@ config EFI_MIXED If unsure, say N. @@ -54,7 +54,7 @@ index 36327438caf0..61542c282e70 100644 def_bool y prompt "Enable seccomp to safely compute untrusted bytecode" diff --git a/arch/x86/boot/compressed/eboot.c b/arch/x86/boot/compressed/eboot.c -index de8eebd6f67c..975d11bfaf5b 100644 +index ef17683484e9..105e7360d747 100644 --- a/arch/x86/boot/compressed/eboot.c +++ b/arch/x86/boot/compressed/eboot.c @@ -12,6 +12,7 @@ @@ -63,9 +63,9 @@ index de8eebd6f67c..975d11bfaf5b 100644 #include +#include - #undef memcpy /* Use memcpy from misc.c */ - -@@ -814,6 +815,37 @@ out: + #include "../string.h" + #include "eboot.h" +@@ -827,6 +828,37 @@ out: return status; } @@ -103,7 +103,7 @@ index de8eebd6f67c..975d11bfaf5b 100644 /* * See if we have Graphics Output Protocol */ -@@ -1389,6 +1421,10 @@ struct boot_params *efi_main(struct efi_config *c, +@@ -1406,6 +1438,10 @@ struct boot_params *efi_main(struct efi_config *c, else setup_boot_services32(efi_early); @@ -129,10 +129,10 @@ index 225b0988043a..90dbfb73e11f 100644 * The sentinel is set to a nonzero value (0xff) in header.S. * diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c -index 41ead8d3bc0b..5a5cf7395724 100644 +index 0a2421cca01f..a3d8174dedf9 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c -@@ -1142,6 +1142,12 @@ void __init setup_arch(char **cmdline_p) +@@ -1151,6 +1151,12 @@ void __init setup_arch(char **cmdline_p) io_delay_init(); @@ -146,7 +146,7 @@ index 41ead8d3bc0b..5a5cf7395724 100644 * Parse the ACPI tables for possible boot-time SMP configuration. */ diff --git a/include/linux/module.h b/include/linux/module.h -index 341a73ecea2e..cca08ac450e2 100644 +index b033dab5c8bf..f526b6e02f59 100644 --- a/include/linux/module.h +++ b/include/linux/module.h @@ -188,6 +188,12 @@ const struct exception_table_entry *search_exception_tables(unsigned long add); @@ -163,10 +163,10 @@ index 341a73ecea2e..cca08ac450e2 100644 extern int modules_disabled; /* for sysctl */ diff --git a/kernel/module.c b/kernel/module.c -index 1f7b4664300e..866417ecc76a 100644 +index 0372c3961016..55dacebb687b 100644 --- a/kernel/module.c +++ b/kernel/module.c -@@ -3843,6 +3843,13 @@ void module_layout(struct module *mod, +@@ -3909,6 +3909,13 @@ void module_layout(struct module *mod, EXPORT_SYMBOL(module_layout); #endif @@ -180,6 +180,3 @@ index 1f7b4664300e..866417ecc76a 100644 bool secure_modules(void) { #ifdef CONFIG_MODULE_SIG --- -1.9.3 - diff --git a/Add-sysrq-option-to-disable-secure-boot-mode.patch b/Add-sysrq-option-to-disable-secure-boot-mode.patch index 67302f2a4..7e23c8131 100644 --- a/Add-sysrq-option-to-disable-secure-boot-mode.patch +++ b/Add-sysrq-option-to-disable-secure-boot-mode.patch @@ -15,7 +15,7 @@ Upstream-status: Fedora mustard 7 files changed, 65 insertions(+), 10 deletions(-) diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c -index b40d6174242f..0ee7749bad74 100644 +index 26c5d54124c1..dab298f03a9c 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c @@ -70,6 +70,11 @@ @@ -30,7 +30,7 @@ index b40d6174242f..0ee7749bad74 100644 #include