Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752084AbdGYN21 (ORCPT ); Tue, 25 Jul 2017 09:28:27 -0400 Received: from mail-by2nam03on0078.outbound.protection.outlook.com ([104.47.42.78]:2820 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750980AbdGYN2Y (ORCPT ); Tue, 25 Jul 2017 09:28:24 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Chad.Dupuis@cavium.com; Date: Tue, 25 Jul 2017 09:27:55 -0400 (EDT) From: Chad Dupuis X-X-Sender: cdupuis@administrators-MacBook-Pro.local To: Thomas Gleixner cc: LKML , QLogic-Storage-Upstream@qlogic.com, martin.petersen@oracle.com, James Bottomley , linux-scsi , Christoph Hellwig , Sebastian Andrzej Siewior Subject: Re: [patch 0/5] scsi/bnx2*: Plug hotplug race, correct locking and simplify hotplug code In-Reply-To: <20170724105255.715647116@linutronix.de> Message-ID: References: <20170724105255.715647116@linutronix.de> User-Agent: Alpine 2.00 (OSX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Originating-IP: [96.230.18.249] X-ClientProxiedBy: MWHPR04CA0046.namprd04.prod.outlook.com (10.172.163.32) To DM5PR07MB2777.namprd07.prod.outlook.com (10.168.104.145) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 105a78bc-e1cb-456d-11fd-08d4d36105ba X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201703131423075)(201703031133081)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:DM5PR07MB2777; X-Microsoft-Exchange-Diagnostics: 1;DM5PR07MB2777;3:JS2J8peWzEO6SJpF39535MOprZbz3lA1z1dk3EWyc7NMD/CBZulL2pZeAt3yeNNVhEy3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f09plDzA+Np87DucHorcThzkWJOr9/j2i7aQE6k2vieDut7d2tic1lGt+CScKz3PRokTIatxKwjM5JmN3qmo8WNtwS75WqGGhluV7VGSFtv+hsKUDOne+vu0jgZpFSbXJBLJfZDNvhNfDh4uZGEVmZPiXuPpnPS1hWfu3toKU40AItbo+P6sBi8msjgrYmt9g4f9X29kbFXxMww5CQBeGk96M7RR/75pI4auJjhggt0= X-Microsoft-Exchange-Diagnostics: 1;DM5PR07MB2777;20:yor906QWmvnaz7ZNKpsV4DLaWSqjmgbIt7JRtWr1DKNOzy4sxCuO+kEX+we3TNn1RyBPudV268ZmPC/A3etH9t8GNC1s16bwuVo/DCRRM3YstO6i3UsRCN6Pl5IHW31IhH7Rj5LeutI8XG/qkPty1UBYT8RhjUk8/TRoSfuieBijzz+rYDZhOqVOtFnYAN1zqTr9pwlPOuMC9mA78w4pOcnbHEDaihu2vXqNAQJ4+gGGupywS/L2UX8gsQywELJ3glGP8rriYmJ6NINYsd/X0BFaWaNen4kv+8u9fsc7WfTpA0fPdCzZuqm/4m3LQrkWabCMqT5AcQtGXyYEkJ/eAniLGuT4JWI8FatcfPsgVkA7SzBbqmXXWa8CkWibBRZxr4o5FGhEHuLNEhAJSYXenUthUQsf5KEPkyOJ1zuMPazPk1ln4e+7c+0dbLPf/STeAAjzN8kbjAWUNE9Dnmsq1ci/M7roerS8AUV9FwA4ZAV1dUP0Wfz+Z77tg4F75O0R X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(3002001)(6041248)(20161123564025)(20161123555025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DM5PR07MB2777;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DM5PR07MB2777; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DM5PR07MB2777;4:qqyDKWBgRtSxdDP9LmQhg4ZslV8SglAggs0LQxoI5B?= =?us-ascii?Q?QSyw3o6XYarYnztpBcaFfPiAaqrrsOCXPon8TuItlXYCO1pLK1Fa64jJweN5?= =?us-ascii?Q?v/qhM79HvPulwFb/n8xjSPB+9NF+eSTQpi6Id9Gonio0Aha4r34XWpJxc8QQ?= =?us-ascii?Q?a3lcsT4S/9ZvwIfsHS66LI7Lehhvefksf4smvm2xGI/UkUL/GGXknPDz/p02?= =?us-ascii?Q?qZ3UQ1IC5nmx6Y3rwN/aBgzpqGdlSM8iMjg7j9Gvpx9fTHWVyynabx85F+9x?= =?us-ascii?Q?fevHXtpZAvW2TtIz/9a7JVQCeFU54HuvYcY74C6be66O2Fm+5m8OLrbuLN3p?= =?us-ascii?Q?ltOgKF3lAZPhHiRhAeLiGCz4ZsI7adfMQAH/8+AFOTCB31Te5FEts/RkbI/m?= =?us-ascii?Q?LH7C4tq681HyXumSu6JzOy6Kbue0yW7cwojyb3DAap8gVyi0nbA6SC7eJUvD?= =?us-ascii?Q?OH7JNd3d0jo9ny2oAy5icom3Oj9ORu94Ou3JDOhJGkB9FUMi9THs+fpuOLJX?= =?us-ascii?Q?zycaO6XHMfzakutC8kCTar2HkkVCsguJLg6qTulFdC+idDW13PKYNnMsJJE/?= =?us-ascii?Q?U/lq/IGyBXq22D4yosP8taY/9BRTQts41qV4IM1Yn1uQ29+N6GbwvVm7w4O1?= =?us-ascii?Q?Wn7dILXsLyZk1eXJoxwgnNmlsEEd0IihDfvEI6gUjXrIHtyKh7FA3xHBjRTJ?= =?us-ascii?Q?SJZNVAO5d3YPI2NqoMyYi4EVy/jTl+09QJNKk8d1PmI/DmY0IFTL4BsnPPyi?= =?us-ascii?Q?PcygRaGsSBXTAYcRtRx7i8s4y9XiAEVITIK61T9dx8Ihqyw6ntXpdJeG3dmO?= =?us-ascii?Q?MDtniMH5YMDrzxXD8qSd6/okm/A9/DEYbGfr4Bf2RMCRloEvBC9KG+O1spZV?= =?us-ascii?Q?T4dw94tT5Z3i8nwVmuEumFvonR8KftyF0BC0FsvWR6GPKQX8UnAlKglnWgHF?= =?us-ascii?Q?ZVABvK7CPHV/+qkPsZ2N9PIJY8ZDz8Qbx29RCTK+KwAiS43y64OH4e3NNP0d?= =?us-ascii?Q?RmNhcYNxWl4tC0AKB3GdXSrHdN7CdaOHMSpiItUHXpZioabf1P+12SwLqNP3?= =?us-ascii?Q?3cXzGED8D1RJ6ZyBHvQ8OmCm93AwVDt7DuhXqoIF9Uwswx3s0A5B0SsGR/5P?= =?us-ascii?Q?f25s1f0MA1b+lvcOBM0wstHDF3fBCc?= X-Forefront-PRVS: 03793408BA X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(7370300001)(4630300001)(6049001)(6009001)(39410400002)(39400400002)(39850400002)(39450400003)(39840400002)(39860400002)(24454002)(199003)(189002)(66066001)(81156014)(50986999)(478600001)(53936002)(8676002)(105586002)(54356999)(106356001)(81166006)(6246003)(76176999)(38730400002)(110136004)(3846002)(6116002)(4326008)(47776003)(5005980100005)(23726003)(68736007)(42186005)(98436002)(101416001)(25786009)(86362001)(6486002)(117156002)(97736004)(9686003)(5660300001)(189998001)(7350300001)(77096006)(54906002)(72206003)(7736002)(90366009)(4001350100001)(229853002)(2906002)(305945005)(6666003)(83506001)(2950100002)(6916009);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR07MB2777;H:[192.168.1.225];FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DM5PR07MB2777;23:52bvKjyOR/tf30KtN+mpLFssWQrX1lODkfFCucyvS?= =?us-ascii?Q?0C3OpMiHh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k?= =?us-ascii?Q?2Y/56G5YRg55uUdKkSkBjwrQkXnTuUiq8V02zAPQ3MyY/vEzaplmSXnNT+6+?= =?us-ascii?Q?tpWctt4WVucxoo6LevU3zKAnc1cTWcQKQQbrexsZtXelEndMNAPFvDfvWTvX?= =?us-ascii?Q?7mKy2U+D351GkksQ7OYbWLuhpOCb102t+R3NE6ZcWDwlNql2SuDe5I9RsvfU?= =?us-ascii?Q?aAin/EJE//9PIhHnptFGT3mC5IRiMWx7qVJD8XXpCLFJgDtMNLYcKKmvurnl?= =?us-ascii?Q?RuIjdI+vPn60U+q/vfxSjDdSiIxHjJoxwNZlJ9NLqJeEPD6/sz/Y9/5Spf9t?= =?us-ascii?Q?Zl3xFlr+cY5Zh+foS9JWZsr3O5Z8Dr2LWY49jVm7/wNMdTbUjCuChfqWgitx?= =?us-ascii?Q?QcaTuoODG1xyCpziww92Zyl9CHXKueyFIK1+wwZoqRGl1xl7Vp5hhrBhP583?= =?us-ascii?Q?u2hzITc+30DAIzlT4z3yhrC11/5lqyaxjpZbE1/Z2E98WhrwEm36GzLiFexT?= =?us-ascii?Q?O8uu07Gt25w34j7IZpK/FqsYSSU4io=3D?= X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DM5PR07MB2777;6:9opd2mGbTxib3qRvztGo0BD/5NYflF3D+4ZYj6DJqa?= =?us-ascii?Q?dEJKjFqrwZTMS4KygM25cgw01bJULNkVq3Ke5Ch02MT8eYumn5JjepJN6Cvu?= =?us-ascii?Q?juU2fQ3JyAr+8EYvDAP3CsgRdvjtoQcUtPjmz7F/ZiZ1D35pFrvd65jr6FqN?= =?us-ascii?Q?aApbSgWD9lPrCdTDknaMN/dG/nVqY4XJ7kuwfvyeDTFj2Lpksn+T5VDG2+PO?= =?us-ascii?Q?+mEcU4WALlgQbbQ2uGHcP1wZNUKmy256ygCZekBES/2dN62Uof4qUHaNVgNU?= =?us-ascii?Q?YA3KcGpAlBFKc+3XBvSNP37QnvTcPs0gqDfno+3QW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gHQbqe82K10bRgbuJQNgG9VRrysPfHAgAU8Qk9CoWSkhdaN+MRp6YRoVv1UGsoNlptXLljVu32mgApPYvk+oUqW4HAeDk81FmWHZQtgiArdpfVEBhyyCmz42/KNSCqJMJdBGMYO6EtUG5TCAQm6bG6K/SCcEHW11GEdewKWozuNEg0fa9HFHWzGC7vUL4l69kdtu2L6ApYDUP2XaGAeDKEXeHSLEceJYP/61HwP08RqMGY+ZBzo= X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Jul 2017 13:28:21.4800 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR07MB2777 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1132 Lines: 31 On Mon, 24 Jul 2017, 6:52am, Thomas Gleixner wrote: > The conversion of the cpu hotplug locking to a percpu rwsem does not longer > allow recursive locking of the hotplug lock. > > The BNX2I and BNX2FC drivers install/remove hotplug states with the hotplug > lock held. The install/removal code acquired the hotplug lock as well. > > While looking into this, I noticed an interesting hotplug race in the > BNX2FC driver, which could result in dereferencing a NULL pointer or freed > and potentially reused memory. > > The following series addresses these problems and as a final step on top it > simplifies the hotplug code in both drivers. > > Thanks, > > tglx > > ---- > drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 68 ++++++++------------------------------ > drivers/scsi/bnx2fc/bnx2fc_hwi.c | 45 ++++++++++++------------- > drivers/scsi/bnx2i/bnx2i_init.c | 64 ++++++++--------------------------- > include/linux/cpuhotplug.h | 2 - > 4 files changed, 53 insertions(+), 126 deletions(-) > We tested the series and everything was fine. Ack to the series. Acked-by: Chad Dupuis