Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754108AbbGBUPU (ORCPT ); Thu, 2 Jul 2015 16:15:20 -0400 Received: from mail-by2on0073.outbound.protection.outlook.com ([207.46.100.73]:48256 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753977AbbGBUPL (ORCPT ); Thu, 2 Jul 2015 16:15:11 -0400 Authentication-Results: spf=pass (sender IP is 63.163.107.172) smtp.mailfrom=sandisk.com; fb.com; dkim=none (message not signed) header.d=none; X-AuditID: ac160a68-f790b6d00000123b-88-55959bc9f74a Message-ID: <55959BC9.8000103@sandisk.com> Date: Thu, 2 Jul 2015 13:15:05 -0700 From: Bart Van Assche User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Calvin Owens , Nagalakshmi Nandigama , Praveen Krishnamoorthy , Sreekanth Reddy , Abhijit Mahajan CC: , , , , Jens Axboe Subject: Re: [RESEND][PATCH 0/6] Fixes for memory corruption in mpt2sas References: <1431661322-3097935-1-git-send-email-calvinowens@fb.com> <1433821856-2815280-1-git-send-email-calvinowens@fb.com> In-Reply-To: <1433821856-2815280-1-git-send-email-calvinowens@fb.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprGIsWRmVeSWpSXmKPExsWyRoxnke7J2VNDDT43aFus/TKb3WL13X42 i/UL5C2O9b1ntbi8aw6bRff1HWwWBydcZ7V4OGsuk8Xi9QuZLea862B14PJYdn4is8fE5nfs HpfPlnp83iQXwBLFZZOSmpNZllqkb5fAlTF93hbmgo9sFcv+vmZtYDzD2sXIySEhYCIxbf5C dghbTOLCvfVsXYxcHEICJxglun+cZIVwtjNKbD36kA2m49mJN1BVuxkljv75CjaKV0BLYvnv VjCbRUBFonH9CzCbTcBI4tv7mSxdjBwcogJh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nf2DceCpgYzdj6SFLK1efpFAvT8Gf C5Wy9qqf33331y+VxOK+9IWT7rHJND27bXZo6dkQpR3vbxTEOSdstD4uuiL7859G4XLH0IZt O3PnrfpzQomlOCPRUIu5qDgRAHMgJBofAgAA X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11FD013;1:cBxGqGbzKkp2Ji4NCSoS9Kc7UVo+eFB7ADrIGgPxqXpv2C/31i36icdrrCyJEGK/GKesVw06ZqN3k6Tz11UOqZ8UaxT+CvezjlDCRVh8jnvq+U42oz/Rz7g2kfcSH9f3r5qXBrO7sXbvAC9nyTdUOsrdxSrx1mADQrPCZ3aj5Btw0hbxlggB7dzb6t1S6hUg9FRFYqNTEAMTeNnzGfqaBzJqzriox7l7QBQU39OFEtGiduNXyaBLncz6powwZzF3RF1i1sMy6BtXUajFp8KaKudEKS6hakTimn0xQ0ae1pc= X-Forefront-Antispam-Report: CIP:63.163.107.172;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(438002)(377454003)(479174004)(24454002)(51704005)(65806001)(106466001)(86362001)(87936001)(53416004)(47776003)(33656002)(36756003)(50986999)(65816999)(54356999)(76176999)(83506001)(99136001)(64126003)(23746002)(80316001)(19580405001)(19580395003)(5001960100002)(92566002)(5001920100001)(5001770100001)(50466002)(189998001)(77096005)(59896002)(4001350100001)(46102003)(77156002)(62966003)(2950100001)(5003600100002);DIR:OUT;SFP:1101;SCL:1;SRVR:SN1PR02MB1374;H:milsmgep11.sandisk.com;FPR:;SPF:Pass;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;SN1PR02MB1374;2:/N54/Sj2YevWAbgrZTzbMbDPGz1ebRpJTXd9OgWBZx3YPj8q5+PD61d7Rc3bPjD1;3:niensB0/3K8xHXJNCvmi0O/OWySH1AlWnWrOHPEqEWz4m9mWdl8gC7TSGcezCO+sixV4RnN4ECfYyK0vWB6ZZZ24eGDvl61d7UGm0hkpl8Ot/GSK9DZFDFSJ3bewU1Eyi1o4UrNacFNfadPvqDV0kKNjMz3zs2TD63xxV5m5Zw4d8ZYFLtHxUwr8iRg2cQ3zRNKrbykG5sU50uMDe5AHAJ6VnF5fjfhzdI3V0MSTZN75Yw/TASChN+YgcI+lQ3sw;20:irDuO7Ge6I9alkgZZNOdE04irQbyK/nHPf7K2TGEh3MwA34WOJZAWG1DfC7oW2WAnVpATKhgSyCczhGekvDDhaV6VmBtcEjSdCBtiXbg7VTrNma3SOpIVuXhddfofvxxEPLyMva9VDRjhQcEbz8ysDydyYE98X+L9RZaJVxWVJTUawYyigG3bJ/UYTwyHA3CII7TXiYngEktPJk/No+6qko1U83Lhiy7Q9kHvnIR4nztExHq/GsGWjEfuNNbpwE+Bm/3uSM0maO73aoHF92SPG8m+dFecdvefCFTh1R8fMrF05N84B4k+TphKwHT/8LysvBeKldQrsMZs4vSEwwJQ5JG20zrZnv78yBTBDOplKftDaXEkvkA0ZVIwwodHhqp8id4a7Orka6xJObl5cq6rW8kiF6xvQbv8QsjBd32RzxPJf4qyqLTnB3AhhwtXfmRX/LFTB7TYA9XkKIz/hAU4ApYNK/L5i4jXGyBPxl4FHwNSTEj6Gp58VnaLJkQXZBV X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR02MB1374;UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR02MB1664; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:SN1PR02MB1374;BCL:0;PCL:0;RULEID:;SRVR:SN1PR02MB1374; X-Microsoft-Exchange-Diagnostics: 1;SN1PR02MB1374;4:uMs3/U6jCfSU+8VgG6czjNhW9Bge+l0r/px+by/YCe5pFBWcVf8Q1e4bLvYcwvWFZNOlovQBw5Fk2L9sOpj1i8+wqTLnk3ko920lgscUYdxsAo4idUF+1RIc3gOoALIlRtQV6nxASrJ1slQfbWbqvsGsOHb1wc+3kwuBxNiOjXfoZRHv1FI1CIIhgv8Gxum7qoo+pyAythXLxoF8sWA/R1+r5dpXvuYw3RzK0iteo9o8A5WprL//0rH0wvtsa6djce2detnf0nVJp/aVm0Kxo6UpFdCAjc/Y22XkDmdKWhs= X-Forefront-PRVS: 06259BA5A2 X-Microsoft-Exchange-Diagnostics: =?Windows-1252?Q?1;SN1PR02MB1374;23:vihOYeFV6z+5DAZhC/ZVlQ4DKT3L/d6iCIUeI?= =?Windows-1252?Q?vESXTtnRzeye7TjRAIld8SKcrgdOzX56DHzswEF9vjjNTXtbd7sDy8Zw?= =?Windows-1252?Q?1WMBnfSb38kusHhY/fKVpZZ7jzNCB87q6+z3s2E38pf36iv/QReT43Q/?= =?Windows-1252?Q?bbdjS7pn98eQI88xyuVvoHKnRaraSkoVlD2cjPp0fx9rl4SVhrkpcwuZ?= =?Windows-1252?Q?n+WtncMDeHF+CCtkwPHWOPMRAlecEIpcJr701hC7PQ7rkyUAufOiHh2w?= =?Windows-1252?Q?u0dOfz8FD86Neb4HQ0O2QXz1mloQvf+M4qqFonfR2tEjd9ZolV/MHaBR?= =?Windows-1252?Q?O00srxWsrEnfeQQxFc6B7SrHa9CNTEcVtcKOPDkRh/MQLhNxdonSLqJs?= =?Windows-1252?Q?UW+ejkLDiNMC4COCVhi8iUevxAm6uB8WEuKe65vgUfSw9YQNTXLnmsos?= =?Windows-1252?Q?ii3OUHmyHtW35P8rqEWxjsEyLfPuBf9NCVF0D02Br2+WZflZa2hvvb9+?= =?Windows-1252?Q?Xs9JtjG7zR3cL/OnaGLYX8A1Kv8silHmHlJ8ZUV0lYKXdYr0LEGeDyoQ?= =?Windows-1252?Q?z6TIGQ4UAOLJRYDlDS3gQH9BX+1O9NHj60evY4XF0ZnY+yugF0F09u3N?= =?Windows-1252?Q?0YQz22Y9kTGNNQTy7qxiJbwV40sYYAb8KflpO4YDhJNo/xzkdEfs8TkB?= =?Windows-1252?Q?UAKPHJDj831TTNRobZiWroes+Vazev6c1pUYEF3j83q8TATbaJBpwmBo?= =?Windows-1252?Q?PUhpt+H9zO1ztTjc/v5+UXuqBLBBWuCNquW+F1x/7Ovrr1MKfq4qLtTr?= =?Windows-1252?Q?QB5TLrijJB8ANTe35ZQPiuzhj6odBaRJOmcZ5u8VcU/Fqw2vVP7Sq+C6?= =?Windows-1252?Q?xKiFR8Vj35y5E7sJaO7EjIiee6EBI9aNCSM5ai6pAqzk0TY43UC+HOmc?= =?Windows-1252?Q?xmKpqxKuWNxhybaFkolEOrTQrsmbWzOaaMPxhClslFoy7VHQexEIsvJm?= =?Windows-1252?Q?41NEnKeL80zRy5Q/mTM9aFXAW75Vh4V/DZd81unWLwQu1PgndemEWgSs?= =?Windows-1252?Q?6w9F71ZTczRQWEoHDO52lkC3VVR681s1iJvJ7uebWFk2IIYuNg1FVi7c?= =?Windows-1252?Q?rwGjXnLxKEnL7YpZt01OkYZbuvlcPVfpuUGHUz6j8be?= X-Microsoft-Exchange-Diagnostics: 1;SN1PR02MB1374;5:FYg+4KNID79vWhh0pL7IutBtpnlP/nh7b6K97ZDIOTzcN+jkIDIQBm9+MrqIvx1uaWc/7UzpuUERMMbzRSanSKHg2qah32hChHsrNVx1WRELuErrqbBKduBOP9KM3dK0OEJKjd0E9HD1ihMWlFstuw==;24:J1k0z7ZM8qv+ke4i5I7bsT2pSwtFOw1INOUfZYRqjTGQKKjKvXnMuC6EVtBJARZWChOJQUMniSgJpV+ZnPxo3NHLjD7hsZqsWpg7No72FPc=;20:0yyRxVCNEM8QTAIDyF/Z2L5b2bijkYgECwMmTa/BGn9M0YV4dtH78pYEmZE9tXv5Ne6d8q04dc0dciWt1N3B47uQvIN8pfG5a8e9rUVPtbwc/8kJnr9AzTdxgnt4Lxo1RnSXduzntncC7nOlPhW7OJ3R0ik6c2XMvMtBB/TMmd0= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jul 2015 20:15:05.9139 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d;Ip=[63.163.107.172];Helo=[milsmgep11.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR02MB1374 X-Microsoft-Exchange-Diagnostics: 1;SN1PR02MB1664;2:0j4U6ZpwjCKnnKgoYOmySvpAQM6IUwkjIGzJXXqJ0AUrdVB5d4wHOQ15uIceFqIh;2:QbC/l0kigi+jCNAy6i+1leUdc6Xs3u7k3Z6byIV/X1M9cm9PA2oh5w7QO7CBZhmQyUvjqK3S1B5BoJpC1OpYMxR5ZVYXBAFTQUdUNo6IA0RS+zGGABg2ogYQ1FN8LxGe9xzx89RLb94alT5hpM5RJoBk7WEVzMADufeJX6rtBrIa1p36pf77g7vBi1Rz29smuYL9g4VUhl04uxXQhQNF9TxR5UFTSb2Ne28lRhU7ofDgIQd+meTwGpBsX+Y7ADUQ;9:kzSHi568dThSIURt3lZZX9P5u5ydKCRCJWLUWcOUl6kxB2eCnkMCJaTuHqGU5tLyRkrp9xyUnudcmjutr1q4rHRxPhflJR1d7+2lf0JFZQMiYi7/OgwSNq06FCOozZfqdfJOFLz1MhFEMSDoT6oM+A== X-OriginatorOrg: sandisk.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1107 Lines: 24 On 06/08/2015 08:50 PM, Calvin Owens wrote: > This patchset attempts to address problems we've been having with > panics due to memory corruption from the mpt2sas driver. > > I will provide a similar set of fixes for mpt3sas, since we see > similar issues there as well. "Porting" this to mpt3sas will be > trivial since the part of the driver I'm touching is nearly identical > between the two, so I thought it would be simpler to review a patch > against mpt2sas alone at first. > > I've tested this on a handful of large storage boxes over the past few > weeks, so far it seems to have completely eliminated the memory > corruption panics. If you have to repost this series please convert BUG_ON(!spin_is_locked(&ioc->sas_device_lock)); into lockdep_is_held(...). Otherwise, for the whole series: Reviewed-by: Bart Van Assche -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/