From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BD0B9C433B4 for ; Mon, 3 May 2021 13:44:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 896E961026 for ; Mon, 3 May 2021 13:44:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234399AbhECNpe (ORCPT ); Mon, 3 May 2021 09:45:34 -0400 Received: from mga11.intel.com ([192.55.52.93]:40533 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233159AbhECNpb (ORCPT ); Mon, 3 May 2021 09:45:31 -0400 IronPort-SDR: KW/lmZeDThbqGT/G8ohXE0RrQjA6ZOZ8kzZuRxLRs/AemjjcuGDR/ku5SFg7FApF0G182jpiCC rz+WnG7hOQtw== X-IronPort-AV: E=McAfee;i="6200,9189,9973"; a="194599329" X-IronPort-AV: E=Sophos;i="5.82,270,1613462400"; d="scan'208";a="194599329" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 May 2021 06:44:37 -0700 IronPort-SDR: GURVkr9B8GzRJo4MUYh1yQbB4MCXVa+9RP88dFlCc/C528SG8waOt26o8RJEQcu4tlJ8JwQihT C3OUyGYlfWbg== X-IronPort-AV: E=Sophos;i="5.82,270,1613462400"; d="scan'208";a="462542361" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga002-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 May 2021 06:44:29 -0700 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1ldYs4-009HF3-7p; Mon, 03 May 2021 16:44:24 +0300 Date: Mon, 3 May 2021 16:44:24 +0300 From: Andy Shevchenko To: Frieder Schrempf Cc: Marc Kleine-Budde , linux-can@vger.kernel.org, Wolfgang Grandegger , "David S. Miller" , Jakub Kicinski , Liam Girdwood , Mark Brown , Vincent Mailhol , Oliver Hartkopp , Timo =?iso-8859-1?B?U2NobPzfbGVy?= , Tim Harvey , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: Null pointer dereference in mcp251x driver when resuming from sleep Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, May 03, 2021 at 03:11:40PM +0200, Frieder Schrempf wrote: > Hi, > > with kernel 5.10.x and 5.12.x I'm getting a null pointer dereference > exception from the mcp251x driver when I resume from sleep (see trace > below). > > As far as I can tell this was working fine with 5.4. As I currently don't > have the time to do further debugging/bisecting, for now I want to at least > report this here. > > Maybe there is someone around who could already give a wild guess for what > might cause this just by looking at the trace/code!? Does revert of c7299fea6769 ("spi: Fix spi device unregister flow") help? -- With Best Regards, Andy Shevchenko