diff options
author | Alexandre Oliva <lxoliva@fsfla.org> | 2018-02-14 06:30:46 +0000 |
---|---|---|
committer | Alexandre Oliva <lxoliva@fsfla.org> | 2018-02-14 06:30:46 +0000 |
commit | 487808f96883f37d773aaf91ac549eefb2bf8ede (patch) | |
tree | 21e4f65f7824d59427b073ab72be35506716247e /freed-ora/current | |
parent | f91f4755c958c600d3fc895a7647630fa4110aa8 (diff) | |
download | linux-libre-raptor-487808f96883f37d773aaf91ac549eefb2bf8ede.tar.gz linux-libre-raptor-487808f96883f37d773aaf91ac549eefb2bf8ede.zip |
4.15.3-300.fc27.gnu
Diffstat (limited to 'freed-ora/current')
26 files changed, 213 insertions, 150 deletions
diff --git a/freed-ora/current/f27/baseconfig/CONFIG_BT_HCIBTUSB_AUTOSUSPEND b/freed-ora/current/f27/baseconfig/CONFIG_BT_HCIBTUSB_AUTOSUSPEND index 76c0b541b..7a1be90bf 100644 --- a/freed-ora/current/f27/baseconfig/CONFIG_BT_HCIBTUSB_AUTOSUSPEND +++ b/freed-ora/current/f27/baseconfig/CONFIG_BT_HCIBTUSB_AUTOSUSPEND @@ -1 +1 @@ -CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y +# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set diff --git a/freed-ora/current/f27/baseconfig/CONFIG_SATA_MOBILE_LPM_POLICY b/freed-ora/current/f27/baseconfig/CONFIG_SATA_MOBILE_LPM_POLICY index 17ae48a01..a510f6d0b 100644 --- a/freed-ora/current/f27/baseconfig/CONFIG_SATA_MOBILE_LPM_POLICY +++ b/freed-ora/current/f27/baseconfig/CONFIG_SATA_MOBILE_LPM_POLICY @@ -1 +1 @@ -CONFIG_SATA_MOBILE_LPM_POLICY=3 +CONFIG_SATA_MOBILE_LPM_POLICY=0 diff --git a/freed-ora/current/f27/baseconfig/x86/x86_64/CONFIG_SND_HDA_POWER_SAVE_DEFAULT b/freed-ora/current/f27/baseconfig/x86/x86_64/CONFIG_SND_HDA_POWER_SAVE_DEFAULT deleted file mode 100644 index ba018972d..000000000 --- a/freed-ora/current/f27/baseconfig/x86/x86_64/CONFIG_SND_HDA_POWER_SAVE_DEFAULT +++ /dev/null @@ -1 +0,0 @@ -CONFIG_SND_HDA_POWER_SAVE_DEFAULT=1 diff --git a/freed-ora/current/f27/dock-sound.patch b/freed-ora/current/f27/dock-sound.patch deleted file mode 100644 index 01c973d79..000000000 --- a/freed-ora/current/f27/dock-sound.patch +++ /dev/null @@ -1,104 +0,0 @@ -From 61fcf8ece9b6b09450250c4ca40cc3b81a96a68d Mon Sep 17 00:00:00 2001 -From: Kailang Yang <kailang@realtek.com> -Date: Fri, 2 Feb 2018 15:26:46 +0800 -Subject: ALSA: hda/realtek - Enable Thinkpad Dock device for ALC298 platform - -Thinkpad Dock device support for ALC298 platform. -It need to use SSID for the quirk table. -Because IdeaPad also has ALC298 platform. -Use verb for the quirk table will confuse. - -Signed-off-by: Kailang Yang <kailang@realtek.com> -Cc: <stable@vger.kernel.org> -Signed-off-by: Takashi Iwai <tiwai@suse.de> ---- - sound/pci/hda/patch_realtek.c | 42 ++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 42 insertions(+) - -diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c -index 0c61751..32938ca 100644 ---- a/sound/pci/hda/patch_realtek.c -+++ b/sound/pci/hda/patch_realtek.c -@@ -4972,6 +4972,28 @@ static void alc_fixup_tpt440_dock(struct hda_codec *codec, - } - } - -+static void alc_fixup_tpt470_dock(struct hda_codec *codec, -+ const struct hda_fixup *fix, int action) -+{ -+ static const struct hda_pintbl pincfgs[] = { -+ { 0x17, 0x21211010 }, /* dock headphone */ -+ { 0x19, 0x21a11010 }, /* dock mic */ -+ { } -+ }; -+ struct alc_spec *spec = codec->spec; -+ -+ if (action == HDA_FIXUP_ACT_PRE_PROBE) { -+ spec->parse_flags = HDA_PINCFG_NO_HP_FIXUP; -+ /* Enable DOCK device */ -+ snd_hda_codec_write(codec, 0x17, 0, -+ AC_VERB_SET_CONFIG_DEFAULT_BYTES_3, 0); -+ /* Enable DOCK device */ -+ snd_hda_codec_write(codec, 0x19, 0, -+ AC_VERB_SET_CONFIG_DEFAULT_BYTES_3, 0); -+ snd_hda_apply_pincfgs(codec, pincfgs); -+ } -+} -+ - static void alc_shutup_dell_xps13(struct hda_codec *codec) - { - struct alc_spec *spec = codec->spec; -@@ -5446,6 +5468,7 @@ enum { - ALC700_FIXUP_INTEL_REFERENCE, - ALC274_FIXUP_DELL_BIND_DACS, - ALC274_FIXUP_DELL_AIO_LINEOUT_VERB, -+ ALC298_FIXUP_TPT470_DOCK, - }; - - static const struct hda_fixup alc269_fixups[] = { -@@ -6271,6 +6294,12 @@ static const struct hda_fixup alc269_fixups[] = { - .chained = true, - .chain_id = ALC274_FIXUP_DELL_BIND_DACS - }, -+ [ALC298_FIXUP_TPT470_DOCK] = { -+ .type = HDA_FIXUP_FUNC, -+ .v.func = alc_fixup_tpt470_dock, -+ .chained = true, -+ .chain_id = ALC293_FIXUP_LENOVO_SPK_NOISE -+ }, - }; - - static const struct snd_pci_quirk alc269_fixup_tbl[] = { -@@ -6452,8 +6481,16 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { - SND_PCI_QUIRK(0x17aa, 0x2218, "Thinkpad X1 Carbon 2nd", ALC292_FIXUP_TPT440_DOCK), - SND_PCI_QUIRK(0x17aa, 0x2223, "ThinkPad T550", ALC292_FIXUP_TPT440_DOCK), - SND_PCI_QUIRK(0x17aa, 0x2226, "ThinkPad X250", ALC292_FIXUP_TPT440_DOCK), -+ SND_PCI_QUIRK(0x17aa, 0x222d, "Thinkpad", ALC298_FIXUP_TPT470_DOCK), -+ SND_PCI_QUIRK(0x17aa, 0x222e, "Thinkpad", ALC298_FIXUP_TPT470_DOCK), - SND_PCI_QUIRK(0x17aa, 0x2231, "Thinkpad T560", ALC292_FIXUP_TPT460), - SND_PCI_QUIRK(0x17aa, 0x2233, "Thinkpad", ALC292_FIXUP_TPT460), -+ SND_PCI_QUIRK(0x17aa, 0x2245, "Thinkpad T470", ALC298_FIXUP_TPT470_DOCK), -+ SND_PCI_QUIRK(0x17aa, 0x2246, "Thinkpad", ALC298_FIXUP_TPT470_DOCK), -+ SND_PCI_QUIRK(0x17aa, 0x2247, "Thinkpad", ALC298_FIXUP_TPT470_DOCK), -+ SND_PCI_QUIRK(0x17aa, 0x224b, "Thinkpad", ALC298_FIXUP_TPT470_DOCK), -+ SND_PCI_QUIRK(0x17aa, 0x224c, "Thinkpad", ALC298_FIXUP_TPT470_DOCK), -+ SND_PCI_QUIRK(0x17aa, 0x224d, "Thinkpad", ALC298_FIXUP_TPT470_DOCK), - SND_PCI_QUIRK(0x17aa, 0x30bb, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY), - SND_PCI_QUIRK(0x17aa, 0x30e2, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY), - SND_PCI_QUIRK(0x17aa, 0x310c, "ThinkCentre Station", ALC294_FIXUP_LENOVO_MIC_LOCATION), -@@ -6474,7 +6511,12 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { - SND_PCI_QUIRK(0x17aa, 0x5050, "Thinkpad T560p", ALC292_FIXUP_TPT460), - SND_PCI_QUIRK(0x17aa, 0x5051, "Thinkpad L460", ALC292_FIXUP_TPT460), - SND_PCI_QUIRK(0x17aa, 0x5053, "Thinkpad T460", ALC292_FIXUP_TPT460), -+ SND_PCI_QUIRK(0x17aa, 0x505d, "Thinkpad", ALC298_FIXUP_TPT470_DOCK), -+ SND_PCI_QUIRK(0x17aa, 0x505f, "Thinkpad", ALC298_FIXUP_TPT470_DOCK), -+ SND_PCI_QUIRK(0x17aa, 0x5062, "Thinkpad", ALC298_FIXUP_TPT470_DOCK), - SND_PCI_QUIRK(0x17aa, 0x5109, "Thinkpad", ALC269_FIXUP_LIMIT_INT_MIC_BOOST), -+ SND_PCI_QUIRK(0x17aa, 0x511e, "Thinkpad", ALC298_FIXUP_TPT470_DOCK), -+ SND_PCI_QUIRK(0x17aa, 0x511f, "Thinkpad", ALC298_FIXUP_TPT470_DOCK), - SND_PCI_QUIRK(0x17aa, 0x3bf8, "Quanta FL1", ALC269_FIXUP_PCM_44K), - SND_PCI_QUIRK(0x17aa, 0x9e54, "LENOVO NB", ALC269_FIXUP_LENOVO_EAPD), - SND_PCI_QUIRK(0x1b7d, 0xa831, "Ordissimo EVE2 ", ALC269VB_FIXUP_ORDISSIMO_EVE2), /* Also known as Malata PC-B1303 */ --- -cgit v1.1 - diff --git a/freed-ora/current/f27/iwlwifi-mvn.patch b/freed-ora/current/f27/iwlwifi-mvn.patch new file mode 100644 index 000000000..28ca08859 --- /dev/null +++ b/freed-ora/current/f27/iwlwifi-mvn.patch @@ -0,0 +1,115 @@ +From f35978844e2eea1b2a6d4a2a6445d66528fc7a06 Mon Sep 17 00:00:00 2001 +From: Sara Sharon <sara.sharon@intel.com> +Date: Tue, 29 Mar 2016 10:56:57 +0300 +Subject: [PATCH] iwlwifi: mvm: fix security bug in PN checking + +A previous patch allowed the same PN for packets originating from the +same AMSDU by copying PN only for the last packet in the series. + +This however is bogus since we cannot assume the last frame will be +received on the same queue, and if it is received on a different ueue +we will end up not incrementing the PN and possibly let the next +packet to have the same PN and pass through. + +Change the logic instead to driver explicitly indicate for the second +sub frame and on to be allowed to have the same PN as the first +subframe. Indicate it to mac80211 as well for the fallback queue. + +Fixes: f1ae02b186d9 ("iwlwifi: mvm: allow same PN for de-aggregated AMSDU") +Signed-off-by: Sara Sharon <sara.sharon@intel.com> +Signed-off-by: Luca Coelho <luciano.coelho@intel.com> +--- + drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c | 39 ++++++++++++++------------- + 1 file changed, 20 insertions(+), 19 deletions(-) + +diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c b/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c +index 71d6660c48e1..4a4ccfd11e5b 100644 +--- a/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c ++++ b/drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c +@@ -71,6 +71,7 @@ static inline int iwl_mvm_check_pn(struct iwl_mvm *mvm, struct sk_buff *skb, + struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)skb->data; + struct ieee80211_rx_status *stats = IEEE80211_SKB_RXCB(skb); + struct iwl_mvm_key_pn *ptk_pn; ++ int res; + u8 tid, keyidx; + u8 pn[IEEE80211_CCMP_PN_LEN]; + u8 *extiv; +@@ -127,12 +128,13 @@ static inline int iwl_mvm_check_pn(struct iwl_mvm *mvm, struct sk_buff *skb, + pn[4] = extiv[1]; + pn[5] = extiv[0]; + +- if (memcmp(pn, ptk_pn->q[queue].pn[tid], +- IEEE80211_CCMP_PN_LEN) <= 0) ++ res = memcmp(pn, ptk_pn->q[queue].pn[tid], IEEE80211_CCMP_PN_LEN); ++ if (res < 0) ++ return -1; ++ if (!res && !(stats->flag & RX_FLAG_ALLOW_SAME_PN)) + return -1; + +- if (!(stats->flag & RX_FLAG_AMSDU_MORE)) +- memcpy(ptk_pn->q[queue].pn[tid], pn, IEEE80211_CCMP_PN_LEN); ++ memcpy(ptk_pn->q[queue].pn[tid], pn, IEEE80211_CCMP_PN_LEN); + stats->flag |= RX_FLAG_PN_VALIDATED; + + return 0; +@@ -314,28 +316,21 @@ static void iwl_mvm_rx_csum(struct ieee80211_sta *sta, + } + + /* +- * returns true if a packet outside BA session is a duplicate and +- * should be dropped ++ * returns true if a packet is a duplicate and should be dropped. ++ * Updates AMSDU PN tracking info + */ +-static bool iwl_mvm_is_nonagg_dup(struct ieee80211_sta *sta, int queue, +- struct ieee80211_rx_status *rx_status, +- struct ieee80211_hdr *hdr, +- struct iwl_rx_mpdu_desc *desc) ++static bool iwl_mvm_is_dup(struct ieee80211_sta *sta, int queue, ++ struct ieee80211_rx_status *rx_status, ++ struct ieee80211_hdr *hdr, ++ struct iwl_rx_mpdu_desc *desc) + { + struct iwl_mvm_sta *mvm_sta; + struct iwl_mvm_rxq_dup_data *dup_data; +- u8 baid, tid, sub_frame_idx; ++ u8 tid, sub_frame_idx; + + if (WARN_ON(IS_ERR_OR_NULL(sta))) + return false; + +- baid = (le32_to_cpu(desc->reorder_data) & +- IWL_RX_MPDU_REORDER_BAID_MASK) >> +- IWL_RX_MPDU_REORDER_BAID_SHIFT; +- +- if (baid != IWL_RX_REORDER_DATA_INVALID_BAID) +- return false; +- + mvm_sta = iwl_mvm_sta_from_mac80211(sta); + dup_data = &mvm_sta->dup_data[queue]; + +@@ -365,6 +360,12 @@ static bool iwl_mvm_is_nonagg_dup(struct ieee80211_sta *sta, int queue, + dup_data->last_sub_frame[tid] >= sub_frame_idx)) + return true; + ++ /* Allow same PN as the first subframe for following sub frames */ ++ if (dup_data->last_seq[tid] == hdr->seq_ctrl && ++ sub_frame_idx > dup_data->last_sub_frame[tid] && ++ desc->mac_flags2 & IWL_RX_MPDU_MFLG2_AMSDU) ++ rx_status->flag |= RX_FLAG_ALLOW_SAME_PN; ++ + dup_data->last_seq[tid] = hdr->seq_ctrl; + dup_data->last_sub_frame[tid] = sub_frame_idx; + +@@ -981,7 +982,7 @@ void iwl_mvm_rx_mpdu_mq(struct iwl_mvm *mvm, struct napi_struct *napi, + if (ieee80211_is_data(hdr->frame_control)) + iwl_mvm_rx_csum(sta, skb, desc); + +- if (iwl_mvm_is_nonagg_dup(sta, queue, rx_status, hdr, desc)) { ++ if (iwl_mvm_is_dup(sta, queue, rx_status, hdr, desc)) { + kfree_skb(skb); + goto out; + } +-- +2.15.1 + diff --git a/freed-ora/current/f27/kernel-aarch64-debug.config b/freed-ora/current/f27/kernel-aarch64-debug.config index ea83d02dd..245393329 100644 --- a/freed-ora/current/f27/kernel-aarch64-debug.config +++ b/freed-ora/current/f27/kernel-aarch64-debug.config @@ -653,7 +653,7 @@ CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBT3C=m CONFIG_BT_HCIBTSDIO=m CONFIG_BT_HCIBTUART=m -CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y +# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB=m CONFIG_BT_HCIBTUSB_RTL=y @@ -4667,7 +4667,7 @@ CONFIG_SATA_AHCI=y # CONFIG_SATA_DWC is not set # CONFIG_SATA_HIGHBANK is not set # CONFIG_SATA_INIC162X is not set -CONFIG_SATA_MOBILE_LPM_POLICY=3 +CONFIG_SATA_MOBILE_LPM_POLICY=0 CONFIG_SATA_MV=m # CONFIG_SATA_NV is not set CONFIG_SATA_PMP=y diff --git a/freed-ora/current/f27/kernel-aarch64.config b/freed-ora/current/f27/kernel-aarch64.config index 8dd77f186..a79351f20 100644 --- a/freed-ora/current/f27/kernel-aarch64.config +++ b/freed-ora/current/f27/kernel-aarch64.config @@ -653,7 +653,7 @@ CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBT3C=m CONFIG_BT_HCIBTSDIO=m CONFIG_BT_HCIBTUART=m -CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y +# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB=m CONFIG_BT_HCIBTUSB_RTL=y @@ -4645,7 +4645,7 @@ CONFIG_SATA_AHCI=y # CONFIG_SATA_DWC is not set # CONFIG_SATA_HIGHBANK is not set # CONFIG_SATA_INIC162X is not set -CONFIG_SATA_MOBILE_LPM_POLICY=3 +CONFIG_SATA_MOBILE_LPM_POLICY=0 CONFIG_SATA_MV=m # CONFIG_SATA_NV is not set CONFIG_SATA_PMP=y diff --git a/freed-ora/current/f27/kernel-armv7hl-debug.config b/freed-ora/current/f27/kernel-armv7hl-debug.config index da3fc3125..bce7849e9 100644 --- a/freed-ora/current/f27/kernel-armv7hl-debug.config +++ b/freed-ora/current/f27/kernel-armv7hl-debug.config @@ -692,7 +692,7 @@ CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBT3C=m CONFIG_BT_HCIBTSDIO=m CONFIG_BT_HCIBTUART=m -CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y +# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB=m CONFIG_BT_HCIBTUSB_RTL=y @@ -5022,7 +5022,7 @@ CONFIG_SATA_AHCI=y # CONFIG_SATA_DWC is not set CONFIG_SATA_HIGHBANK=m # CONFIG_SATA_INIC162X is not set -CONFIG_SATA_MOBILE_LPM_POLICY=3 +CONFIG_SATA_MOBILE_LPM_POLICY=0 CONFIG_SATA_MV=m # CONFIG_SATA_NV is not set CONFIG_SATA_PMP=y diff --git a/freed-ora/current/f27/kernel-armv7hl-lpae-debug.config b/freed-ora/current/f27/kernel-armv7hl-lpae-debug.config index 8c33dc5b5..3ef4e603f 100644 --- a/freed-ora/current/f27/kernel-armv7hl-lpae-debug.config +++ b/freed-ora/current/f27/kernel-armv7hl-lpae-debug.config @@ -668,7 +668,7 @@ CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBT3C=m CONFIG_BT_HCIBTSDIO=m CONFIG_BT_HCIBTUART=m -CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y +# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB=m CONFIG_BT_HCIBTUSB_RTL=y @@ -4715,7 +4715,7 @@ CONFIG_SATA_AHCI=y # CONFIG_SATA_DWC is not set CONFIG_SATA_HIGHBANK=m # CONFIG_SATA_INIC162X is not set -CONFIG_SATA_MOBILE_LPM_POLICY=3 +CONFIG_SATA_MOBILE_LPM_POLICY=0 CONFIG_SATA_MV=m # CONFIG_SATA_NV is not set CONFIG_SATA_PMP=y diff --git a/freed-ora/current/f27/kernel-armv7hl-lpae.config b/freed-ora/current/f27/kernel-armv7hl-lpae.config index 997efa10d..96178e3bc 100644 --- a/freed-ora/current/f27/kernel-armv7hl-lpae.config +++ b/freed-ora/current/f27/kernel-armv7hl-lpae.config @@ -667,7 +667,7 @@ CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBT3C=m CONFIG_BT_HCIBTSDIO=m CONFIG_BT_HCIBTUART=m -CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y +# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB=m CONFIG_BT_HCIBTUSB_RTL=y @@ -4693,7 +4693,7 @@ CONFIG_SATA_AHCI=y # CONFIG_SATA_DWC is not set CONFIG_SATA_HIGHBANK=m # CONFIG_SATA_INIC162X is not set -CONFIG_SATA_MOBILE_LPM_POLICY=3 +CONFIG_SATA_MOBILE_LPM_POLICY=0 CONFIG_SATA_MV=m # CONFIG_SATA_NV is not set CONFIG_SATA_PMP=y diff --git a/freed-ora/current/f27/kernel-armv7hl.config b/freed-ora/current/f27/kernel-armv7hl.config index 427268d1e..e9a4aca1b 100644 --- a/freed-ora/current/f27/kernel-armv7hl.config +++ b/freed-ora/current/f27/kernel-armv7hl.config @@ -691,7 +691,7 @@ CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBT3C=m CONFIG_BT_HCIBTSDIO=m CONFIG_BT_HCIBTUART=m -CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y +# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB=m CONFIG_BT_HCIBTUSB_RTL=y @@ -5000,7 +5000,7 @@ CONFIG_SATA_AHCI=y # CONFIG_SATA_DWC is not set CONFIG_SATA_HIGHBANK=m # CONFIG_SATA_INIC162X is not set -CONFIG_SATA_MOBILE_LPM_POLICY=3 +CONFIG_SATA_MOBILE_LPM_POLICY=0 CONFIG_SATA_MV=m # CONFIG_SATA_NV is not set CONFIG_SATA_PMP=y diff --git a/freed-ora/current/f27/kernel-i686-PAE.config b/freed-ora/current/f27/kernel-i686-PAE.config index fda5cebfd..e6198bd92 100644 --- a/freed-ora/current/f27/kernel-i686-PAE.config +++ b/freed-ora/current/f27/kernel-i686-PAE.config @@ -557,7 +557,7 @@ CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBT3C=m CONFIG_BT_HCIBTSDIO=m CONFIG_BT_HCIBTUART=m -CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y +# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB=m CONFIG_BT_HCIBTUSB_RTL=y @@ -4370,7 +4370,7 @@ CONFIG_SATA_AHCI=y # CONFIG_SATA_DWC is not set # CONFIG_SATA_HIGHBANK is not set CONFIG_SATA_INIC162X=m -CONFIG_SATA_MOBILE_LPM_POLICY=3 +CONFIG_SATA_MOBILE_LPM_POLICY=0 CONFIG_SATA_MV=m CONFIG_SATA_NV=m CONFIG_SATA_PMP=y diff --git a/freed-ora/current/f27/kernel-i686-PAEdebug.config b/freed-ora/current/f27/kernel-i686-PAEdebug.config index bb85df64b..fbe6a26b2 100644 --- a/freed-ora/current/f27/kernel-i686-PAEdebug.config +++ b/freed-ora/current/f27/kernel-i686-PAEdebug.config @@ -558,7 +558,7 @@ CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBT3C=m CONFIG_BT_HCIBTSDIO=m CONFIG_BT_HCIBTUART=m -CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y +# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB=m CONFIG_BT_HCIBTUSB_RTL=y @@ -4391,7 +4391,7 @@ CONFIG_SATA_AHCI=y # CONFIG_SATA_DWC is not set # CONFIG_SATA_HIGHBANK is not set CONFIG_SATA_INIC162X=m -CONFIG_SATA_MOBILE_LPM_POLICY=3 +CONFIG_SATA_MOBILE_LPM_POLICY=0 CONFIG_SATA_MV=m CONFIG_SATA_NV=m CONFIG_SATA_PMP=y diff --git a/freed-ora/current/f27/kernel-i686-debug.config b/freed-ora/current/f27/kernel-i686-debug.config index 9fde16bdf..e6ef10680 100644 --- a/freed-ora/current/f27/kernel-i686-debug.config +++ b/freed-ora/current/f27/kernel-i686-debug.config @@ -558,7 +558,7 @@ CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBT3C=m CONFIG_BT_HCIBTSDIO=m CONFIG_BT_HCIBTUART=m -CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y +# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB=m CONFIG_BT_HCIBTUSB_RTL=y @@ -4391,7 +4391,7 @@ CONFIG_SATA_AHCI=y # CONFIG_SATA_DWC is not set # CONFIG_SATA_HIGHBANK is not set CONFIG_SATA_INIC162X=m -CONFIG_SATA_MOBILE_LPM_POLICY=3 +CONFIG_SATA_MOBILE_LPM_POLICY=0 CONFIG_SATA_MV=m CONFIG_SATA_NV=m CONFIG_SATA_PMP=y diff --git a/freed-ora/current/f27/kernel-i686.config b/freed-ora/current/f27/kernel-i686.config index 6910f9d5a..004f986c2 100644 --- a/freed-ora/current/f27/kernel-i686.config +++ b/freed-ora/current/f27/kernel-i686.config @@ -557,7 +557,7 @@ CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBT3C=m CONFIG_BT_HCIBTSDIO=m CONFIG_BT_HCIBTUART=m -CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y +# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB=m CONFIG_BT_HCIBTUSB_RTL=y @@ -4370,7 +4370,7 @@ CONFIG_SATA_AHCI=y # CONFIG_SATA_DWC is not set # CONFIG_SATA_HIGHBANK is not set CONFIG_SATA_INIC162X=m -CONFIG_SATA_MOBILE_LPM_POLICY=3 +CONFIG_SATA_MOBILE_LPM_POLICY=0 CONFIG_SATA_MV=m CONFIG_SATA_NV=m CONFIG_SATA_PMP=y diff --git a/freed-ora/current/f27/kernel-ppc64-debug.config b/freed-ora/current/f27/kernel-ppc64-debug.config index 5ce009714..cca98c715 100644 --- a/freed-ora/current/f27/kernel-ppc64-debug.config +++ b/freed-ora/current/f27/kernel-ppc64-debug.config @@ -543,7 +543,7 @@ CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBT3C=m CONFIG_BT_HCIBTSDIO=m CONFIG_BT_HCIBTUART=m -CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y +# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB=m CONFIG_BT_HCIBTUSB_RTL=y @@ -4200,7 +4200,7 @@ CONFIG_SATA_AHCI=y # CONFIG_SATA_DWC is not set # CONFIG_SATA_HIGHBANK is not set CONFIG_SATA_INIC162X=m -CONFIG_SATA_MOBILE_LPM_POLICY=3 +CONFIG_SATA_MOBILE_LPM_POLICY=0 CONFIG_SATA_MV=m CONFIG_SATA_NV=m CONFIG_SATA_PMP=y diff --git a/freed-ora/current/f27/kernel-ppc64.config b/freed-ora/current/f27/kernel-ppc64.config index 7217a249a..fae6450d8 100644 --- a/freed-ora/current/f27/kernel-ppc64.config +++ b/freed-ora/current/f27/kernel-ppc64.config @@ -542,7 +542,7 @@ CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBT3C=m CONFIG_BT_HCIBTSDIO=m CONFIG_BT_HCIBTUART=m -CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y +# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB=m CONFIG_BT_HCIBTUSB_RTL=y @@ -4177,7 +4177,7 @@ CONFIG_SATA_AHCI=y # CONFIG_SATA_DWC is not set # CONFIG_SATA_HIGHBANK is not set CONFIG_SATA_INIC162X=m -CONFIG_SATA_MOBILE_LPM_POLICY=3 +CONFIG_SATA_MOBILE_LPM_POLICY=0 CONFIG_SATA_MV=m CONFIG_SATA_NV=m CONFIG_SATA_PMP=y diff --git a/freed-ora/current/f27/kernel-ppc64le-debug.config b/freed-ora/current/f27/kernel-ppc64le-debug.config index 3cfdd6fe4..bce0f33b2 100644 --- a/freed-ora/current/f27/kernel-ppc64le-debug.config +++ b/freed-ora/current/f27/kernel-ppc64le-debug.config @@ -499,7 +499,7 @@ CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBT3C=m CONFIG_BT_HCIBTSDIO=m CONFIG_BT_HCIBTUART=m -CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y +# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB=m CONFIG_BT_HCIBTUSB_RTL=y @@ -4139,7 +4139,7 @@ CONFIG_SATA_AHCI=y # CONFIG_SATA_DWC is not set # CONFIG_SATA_HIGHBANK is not set CONFIG_SATA_INIC162X=m -CONFIG_SATA_MOBILE_LPM_POLICY=3 +CONFIG_SATA_MOBILE_LPM_POLICY=0 CONFIG_SATA_MV=m CONFIG_SATA_NV=m CONFIG_SATA_PMP=y diff --git a/freed-ora/current/f27/kernel-ppc64le.config b/freed-ora/current/f27/kernel-ppc64le.config index a9fb92fd0..83bee82e6 100644 --- a/freed-ora/current/f27/kernel-ppc64le.config +++ b/freed-ora/current/f27/kernel-ppc64le.config @@ -498,7 +498,7 @@ CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBT3C=m CONFIG_BT_HCIBTSDIO=m CONFIG_BT_HCIBTUART=m -CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y +# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB=m CONFIG_BT_HCIBTUSB_RTL=y @@ -4116,7 +4116,7 @@ CONFIG_SATA_AHCI=y # CONFIG_SATA_DWC is not set # CONFIG_SATA_HIGHBANK is not set CONFIG_SATA_INIC162X=m -CONFIG_SATA_MOBILE_LPM_POLICY=3 +CONFIG_SATA_MOBILE_LPM_POLICY=0 CONFIG_SATA_MV=m CONFIG_SATA_NV=m CONFIG_SATA_PMP=y diff --git a/freed-ora/current/f27/kernel-s390x-debug.config b/freed-ora/current/f27/kernel-s390x-debug.config index 2155ca5e6..549b87766 100644 --- a/freed-ora/current/f27/kernel-s390x-debug.config +++ b/freed-ora/current/f27/kernel-s390x-debug.config @@ -500,7 +500,7 @@ CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBT3C=m CONFIG_BT_HCIBTSDIO=m CONFIG_BT_HCIBTUART=m -CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y +# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB=m CONFIG_BT_HCIBTUSB_RTL=y @@ -4038,7 +4038,7 @@ CONFIG_SATA_AHCI=y # CONFIG_SATA_DWC is not set # CONFIG_SATA_HIGHBANK is not set CONFIG_SATA_INIC162X=m -CONFIG_SATA_MOBILE_LPM_POLICY=3 +CONFIG_SATA_MOBILE_LPM_POLICY=0 CONFIG_SATA_MV=m CONFIG_SATA_NV=m CONFIG_SATA_PMP=y diff --git a/freed-ora/current/f27/kernel-s390x.config b/freed-ora/current/f27/kernel-s390x.config index 17bead3c8..4aa6361c6 100644 --- a/freed-ora/current/f27/kernel-s390x.config +++ b/freed-ora/current/f27/kernel-s390x.config @@ -499,7 +499,7 @@ CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBT3C=m CONFIG_BT_HCIBTSDIO=m CONFIG_BT_HCIBTUART=m -CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y +# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB=m CONFIG_BT_HCIBTUSB_RTL=y @@ -4015,7 +4015,7 @@ CONFIG_SATA_AHCI=y # CONFIG_SATA_DWC is not set # CONFIG_SATA_HIGHBANK is not set CONFIG_SATA_INIC162X=m -CONFIG_SATA_MOBILE_LPM_POLICY=3 +CONFIG_SATA_MOBILE_LPM_POLICY=0 CONFIG_SATA_MV=m CONFIG_SATA_NV=m CONFIG_SATA_PMP=y diff --git a/freed-ora/current/f27/kernel-x86_64-debug.config b/freed-ora/current/f27/kernel-x86_64-debug.config index 42440f685..2c73b50d1 100644 --- a/freed-ora/current/f27/kernel-x86_64-debug.config +++ b/freed-ora/current/f27/kernel-x86_64-debug.config @@ -570,7 +570,7 @@ CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBT3C=m CONFIG_BT_HCIBTSDIO=m CONFIG_BT_HCIBTUART=m -CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y +# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB=m CONFIG_BT_HCIBTUSB_RTL=y @@ -4469,7 +4469,7 @@ CONFIG_SATA_AHCI=y # CONFIG_SATA_DWC is not set # CONFIG_SATA_HIGHBANK is not set CONFIG_SATA_INIC162X=m -CONFIG_SATA_MOBILE_LPM_POLICY=3 +CONFIG_SATA_MOBILE_LPM_POLICY=0 CONFIG_SATA_MV=m CONFIG_SATA_NV=m CONFIG_SATA_PMP=y @@ -5009,7 +5009,7 @@ CONFIG_SND_HDA_INPUT_BEEP_MODE=0 CONFIG_SND_HDA_INPUT_BEEP=y CONFIG_SND_HDA_INTEL=m CONFIG_SND_HDA_PATCH_LOADER=y -CONFIG_SND_HDA_POWER_SAVE_DEFAULT=1 +CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0 CONFIG_SND_HDA_POWER_SAVE=y CONFIG_SND_HDA_PREALLOC_SIZE=4096 CONFIG_SND_HDA_RECONFIG=y diff --git a/freed-ora/current/f27/kernel-x86_64.config b/freed-ora/current/f27/kernel-x86_64.config index f0d554694..63e355c40 100644 --- a/freed-ora/current/f27/kernel-x86_64.config +++ b/freed-ora/current/f27/kernel-x86_64.config @@ -569,7 +569,7 @@ CONFIG_BT_HCIBPA10X=m CONFIG_BT_HCIBT3C=m CONFIG_BT_HCIBTSDIO=m CONFIG_BT_HCIBTUART=m -CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y +# CONFIG_BT_HCIBTUSB_AUTOSUSPEND is not set CONFIG_BT_HCIBTUSB_BCM=y CONFIG_BT_HCIBTUSB=m CONFIG_BT_HCIBTUSB_RTL=y @@ -4448,7 +4448,7 @@ CONFIG_SATA_AHCI=y # CONFIG_SATA_DWC is not set # CONFIG_SATA_HIGHBANK is not set CONFIG_SATA_INIC162X=m -CONFIG_SATA_MOBILE_LPM_POLICY=3 +CONFIG_SATA_MOBILE_LPM_POLICY=0 CONFIG_SATA_MV=m CONFIG_SATA_NV=m CONFIG_SATA_PMP=y @@ -4988,7 +4988,7 @@ CONFIG_SND_HDA_INPUT_BEEP_MODE=0 CONFIG_SND_HDA_INPUT_BEEP=y CONFIG_SND_HDA_INTEL=m CONFIG_SND_HDA_PATCH_LOADER=y -CONFIG_SND_HDA_POWER_SAVE_DEFAULT=1 +CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0 CONFIG_SND_HDA_POWER_SAVE=y CONFIG_SND_HDA_PREALLOC_SIZE=4096 CONFIG_SND_HDA_RECONFIG=y diff --git a/freed-ora/current/f27/kernel.spec b/freed-ora/current/f27/kernel.spec index ebe68a57b..7f3b0cba1 100644 --- a/freed-ora/current/f27/kernel.spec +++ b/freed-ora/current/f27/kernel.spec @@ -42,7 +42,7 @@ Summary: The Linux kernel # For non-released -rc kernels, this will be appended after the rcX and # gitX tags, so a 3 here would become part of release "0.rcX.gitX.3" # -%global baserelease 301 +%global baserelease 300 %global fedora_build %{baserelease} # base_sublevel is the kernel version we're starting with and patching @@ -92,7 +92,7 @@ Summary: The Linux kernel %if 0%{?released_kernel} # Do we have a -stable update to apply? -%define stable_update 2 +%define stable_update 3 # Set rpm version accordingly %if 0%{?stable_update} %define stablerev %{stable_update} @@ -704,8 +704,11 @@ Patch641: 0001-Bluetooth-btusb-Disable-autosuspend-on-QCA-Rome-devi.patch # Fix crash on Xwayland using nouveau Patch650: dma-buf-fix-reservation_object_wait_timeout_rcu-once-more-v2.patch -# rhbz 1543326 -Patch651: dock-sound.patch +# rhbz 1544821 +Patch651: ssb-Do-not-disable-PCI-host-on-non-Mips.patch + +# https://bugzilla.kernel.org/show_bug.cgi?id=198351 +Patch652: iwlwifi-mvn.patch # END OF PATCH DEFINITIONS @@ -2034,6 +2037,14 @@ fi # # %changelog +* Tue Feb 13 2018 Alexandre Oliva <lxoliva@fsfla.org> -libre +- GNU Linux-libre 4.15.3-gnu. + +* Tue Feb 13 2018 Laura Abbott <labbott@redhat.com> - 4.15.3-300 +- Linux v4.15.3 +- Fix for b43 wifi (rhbz 1544821) +- Turn off a few powersave options for rebase + * Sun Feb 11 2018 Peter Robinson <pbrobinson@fedoraproject.org> 4.15.2-301 - Add Exynos5 patch (second part of series) to fix USB-3 devices on some Odroid devices - Fix up and re-enable adv7511 diff --git a/freed-ora/current/f27/sources b/freed-ora/current/f27/sources index 0d5feccd1..6fbf2371a 100644 --- a/freed-ora/current/f27/sources +++ b/freed-ora/current/f27/sources @@ -1,2 +1,2 @@ SHA512 (linux-libre-4.15-gnu.tar.xz) = a55cc663c6fb1e1cfa7905282b368b5d5888bc2398f0acf37e5bb9a232ded04fd566b1980e654da26aaec005332e458581495184d6bd4cec669181085d4d78a5 -SHA512 (patch-4.15.2.xz) = 883d36831ab6a785dda071c91502ca4401b4d4602901bb19716a390cf48ef21830ebb309fe77ec1b741519fa799de7e342df5d7689224a2989f2816bbeaded24 +SHA512 (patch-4.15.3.xz) = e82ccc4829353458b77e6261b7793221ece82430727b5bd38f79fa637cb920648b50fc5abedf0a9690eca926d8adb4454dd41bd64442ccc7573a4c13ce007277 diff --git a/freed-ora/current/f27/ssb-Do-not-disable-PCI-host-on-non-Mips.patch b/freed-ora/current/f27/ssb-Do-not-disable-PCI-host-on-non-Mips.patch new file mode 100644 index 000000000..207584940 --- /dev/null +++ b/freed-ora/current/f27/ssb-Do-not-disable-PCI-host-on-non-Mips.patch @@ -0,0 +1,42 @@ +From patchwork Fri Jan 26 09:38:01 2018 +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +Subject: ssb: Do not disable PCI host on non-Mips +From: Sven Joachim <svenjoac@gmx.de> +X-Patchwork-Id: 10185397 +Message-Id: <87vafpq7t2.fsf@turtle.gmx.de> +To: Michael Buesch <m@bues.ch>, linux-wireless@vger.kernel.org +Cc: James Hogan <jhogan@kernel.org>, linux-mips@linux-mips.org, + Ralf Baechle <ralf@linux-mips.org>, James Hogan <jhogan@kernel.org>, + Paul Burton <paul.burton@mips.com>, + Matt Redfearn <matt.redfearn@imgtec.com>, + Guenter Roeck <linux@roeck-us.net> +Date: Fri, 26 Jan 2018 10:38:01 +0100 + +After upgrading an old laptop to 4.15-rc9, I found that the eth0 and +wlan0 interfaces had disappeared. It turns out that the b43 and b44 +drivers require SSB_PCIHOST_POSSIBLE which depends on +PCI_DRIVERS_LEGACY, a config option that only exists on Mips. + +Fixes: 58eae1416b80 ("ssb: Disable PCI host for PCI_DRIVERS_GENERIC") +Cc: stable@vger.org +Signed-off-by: Sven Joachim <svenjoac@gmx.de> +Reviewed-by: James Hogan <jhogan@kernel.org> +--- + drivers/ssb/Kconfig | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig +index 71c73766ee22..65af12c3bdb2 100644 +--- a/drivers/ssb/Kconfig ++++ b/drivers/ssb/Kconfig +@@ -32,7 +32,7 @@ config SSB_BLOCKIO + + config SSB_PCIHOST_POSSIBLE + bool +- depends on SSB && (PCI = y || PCI = SSB) && PCI_DRIVERS_LEGACY ++ depends on SSB && (PCI = y || PCI = SSB) && (PCI_DRIVERS_LEGACY || !MIPS) + default y + + config SSB_PCIHOST |