Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 590731 Details for
Bug 825491
kernel 3.4.0 iwlwifi flaky
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to add patches mentioned ion comment 7 to the F17 kernel package
patch (text/plain), 5.97 KB, created by
Thorsten Leemhuis
on 2012-06-10 11:32:04 UTC
(
hide
)
Description:
patch to add patches mentioned ion comment 7 to the F17 kernel package
Filename:
MIME Type:
Creator:
Thorsten Leemhuis
Created:
2012-06-10 11:32:04 UTC
Size:
5.97 KB
patch
obsolete
>diff --git a/iwlwifi-disable-the-buggy-chain-extension-feature-in-HW.part b/iwlwifi-disable-the-buggy-chain-extension-feature-in-HW.part >index e69de29..cede064 100644 >--- a/iwlwifi-disable-the-buggy-chain-extension-feature-in-HW.part >+++ b/iwlwifi-disable-the-buggy-chain-extension-feature-in-HW.part >@@ -0,0 +1,45 @@ >+From: Emmanuel Grumbach <emmanuel.grumbach@intel.com> >+Date: Wed, 6 Jun 2012 11:55:02 +0000 (+0200) >+Subject: iwlwifi: disable the buggy chain extension feature in HW >+X-Git-Tag: master-2012-06-07~2 >+X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Flinville%2Fwireless.git;a=commitdiff_plain;h=d012d04e4d6312ea157b6cf19e9689af934f5aa7 >+ >+iwlwifi: disable the buggy chain extension feature in HW >+ >+This feature has been reported to be buggy and enabled by >+default. We therefore need to disable it manually. >+ >+Cc: stable@vger.kernel.org >+Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> >+Signed-off-by: Johannes Berg <johannes.berg@intel.com> >+Signed-off-by: John W. Linville <linville@tuxdriver.com> >+--- >+ >+diff --git a/drivers/net/wireless/iwlwifi/iwl-prph.h b/drivers/net/wireless/iwlwifi/iwl-prph.h >+index 3b10692..dfd5466 100644 >+--- a/drivers/net/wireless/iwlwifi/iwl-prph.h >++++ b/drivers/net/wireless/iwlwifi/iwl-prph.h >+@@ -224,6 +224,7 @@ >+ #define SCD_TXFACT (SCD_BASE + 0x10) >+ #define SCD_ACTIVE (SCD_BASE + 0x14) >+ #define SCD_QUEUECHAIN_SEL (SCD_BASE + 0xe8) >++#define SCD_CHAINEXT_EN (SCD_BASE + 0x244) >+ #define SCD_AGGR_SEL (SCD_BASE + 0x248) >+ #define SCD_INTERRUPT_MASK (SCD_BASE + 0x108) >+ >+diff --git a/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c b/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c >+index ec6fb39..79c6b91 100644 >+--- a/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c >++++ b/drivers/net/wireless/iwlwifi/iwl-trans-pcie.c >+@@ -1058,6 +1058,11 @@ static void iwl_tx_start(struct iwl_trans *trans) >+ iwl_write_prph(trans, SCD_DRAM_BASE_ADDR, >+ trans_pcie->scd_bc_tbls.dma >> 10); >+ >++ /* The chain extension of the SCD doesn't work well. This feature is >++ * enabled by default by the HW, so we need to disable it manually. >++ */ >++ iwl_write_prph(trans, SCD_CHAINEXT_EN, 0); >++ >+ /* Enable DMA channel */ >+ for (chan = 0; chan < FH_TCSR_CHNL_NUM ; chan++) >+ iwl_write_direct32(trans, FH_TCSR_CHNL_TX_CONFIG_REG(chan), >diff --git a/iwlwifi-dont-mess-up-the-SCD-when-removing-a-key.patch b/iwlwifi-dont-mess-up-the-SCD-when-removing-a-key.patch >index e69de29..5f8ff49 100644 >--- a/iwlwifi-dont-mess-up-the-SCD-when-removing-a-key.patch >+++ b/iwlwifi-dont-mess-up-the-SCD-when-removing-a-key.patch >@@ -0,0 +1,43 @@ >+From: Emmanuel Grumbach <emmanuel.grumbach@intel.com> >+Date: Wed, 6 Jun 2012 07:13:36 +0000 (+0200) >+Subject: iwlwifi: don't mess up the SCD when removing a key >+X-Git-Tag: master-2012-06-07~3 >+X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Flinville%2Fwireless.git;a=commitdiff_plain;h=d6ee27eb13beab94056e0de52d81220058ca2297 >+ >+iwlwifi: don't mess up the SCD when removing a key >+ >+When we remove a key, we put a key index which was supposed >+to tell the fw that we are actually removing the key. But >+instead the fw took that index as a valid index and messed >+up the SRAM of the device. >+ >+This memory corruption on the device mangled the data of >+the SCD. The impact on the user is that SCD queue 2 got >+stuck after having removed keys. >+The message is the log that was printed is: >+ >+Queue 2 stuck for 10000ms >+ >+This doesn't seem to fix the higher queues that get stuck >+from time to time. >+ >+Cc: stable@vger.kernel.org [2.6.27+] >+Reviewed-by: Meenakshi Venkataraman <meenakshi.venkataraman@intel.com> >+Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> >+Signed-off-by: Johannes Berg <johannes.berg@intel.com> >+Signed-off-by: John W. Linville <linville@tuxdriver.com> >+--- >+ >+diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-sta.c b/drivers/net/wireless/iwlwifi/iwl-agn-sta.c >+index aea07aa..eb6a8ea 100644 >+--- a/drivers/net/wireless/iwlwifi/iwl-agn-sta.c >++++ b/drivers/net/wireless/iwlwifi/iwl-agn-sta.c >+@@ -1267,7 +1267,7 @@ int iwl_remove_dynamic_key(struct iwl_priv *priv, >+ key_flags |= STA_KEY_MULTICAST_MSK; >+ >+ sta_cmd.key.key_flags = key_flags; >+- sta_cmd.key.key_offset = WEP_INVALID_OFFSET; >++ sta_cmd.key.key_offset = keyconf->hw_key_idx; >+ sta_cmd.sta.modify_mask = STA_MODIFY_KEY_MASK; >+ sta_cmd.mode = STA_CONTROL_MODIFY_MSK; >+ >diff --git a/kernel.spec b/kernel.spec >index f132855..4829af6 100644 >--- a/kernel.spec >+++ b/kernel.spec >@@ -54,7 +54,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 1 >+%global baserelease 2 > %global fedora_build %{baserelease} > > # base_sublevel is the kernel version we're starting with and patching >@@ -769,6 +769,10 @@ Patch22019: rtl818x-fix-sleeping-function-called-from-invalid-context.patch > #rhbz 822825 822821 CVE-2012-2372 > Patch22021: mm-pmd_read_atomic-fix-32bit-PAE-pmd-walk-vs-pmd_populate-SMP-race-condition.patch > >+#rhbz 825491 (heading upstream) >+Patch22022: iwlwifi-disable-the-buggy-chain-extension-feature-in-HW.part >+Patch22023: iwlwifi-dont-mess-up-the-SCD-when-removing-a-key.patch >+ > # END OF PATCH DEFINITIONS > > %endif >@@ -1478,6 +1482,10 @@ ApplyPatch rtl818x-fix-sleeping-function-called-from-invalid-context.patch > #rhbz 822825 822821 CVE-2012-2372 > ApplyPatch mm-pmd_read_atomic-fix-32bit-PAE-pmd-walk-vs-pmd_populate-SMP-race-condition.patch > >+#rhbz 825491 >+ApplyPatch iwlwifi-disable-the-buggy-chain-extension-feature-in-HW.part >+ApplyPatch iwlwifi-dont-mess-up-the-SCD-when-removing-a-key.patch >+ > # END OF PATCH APPLICATIONS > > %endif >@@ -2332,6 +2340,11 @@ fi > # '-' | | > # '-' > %changelog >+* Sun Jun 19 2012 Thorsten Leemhuis <fedora@leemhuis.info> 3.4.2-2 >+- add iwlwifi-disable-the-buggy-chain-extension-feature-in-HW.part and >+ iwlwifi-dont-mess-up-the-SCD-when-removing-a-key.patch to fix flaky >+ iwlwifi (#825491) >+ > * Sat Jun 09 2012 Josh Boyer <jwboyer@redhat.com> 3.4.2-1 > - Linux v3.4.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 825491
: 590731