Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp401913lqh; Thu, 28 Mar 2024 05:49:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWi/VEs4255be+H6vtvCaBKuoLNagWu1+DFFHd54TQJ2XzGAGxXE+ylOWKHy2LFHk78j5/BEBrK2mfcrhJUyF/6WZAGg8w16VQrYi8HrQ== X-Google-Smtp-Source: AGHT+IG0WoC8uuSi1bISy1nQh0Npv6C7E9GCt2GAaGW1osym/VrrOyWe+rVYcIjTywN5ca9vRsGt X-Received: by 2002:a05:6a20:9f8a:b0:1a5:6f21:f8a8 with SMTP id mm10-20020a056a209f8a00b001a56f21f8a8mr1609464pzb.15.1711630194934; Thu, 28 Mar 2024 05:49:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711630194; cv=pass; d=google.com; s=arc-20160816; b=cc1W70uLaLv8+eu3+SDBawJXzNjQmn2hC9GUb2+EeOCF0RwCVJhIoUYJvwMs/0qo0H voPs1kMh2vgkM7G4fJsOsu6qI71/QBPBEQ8c7WtYGDHTk4XWgwSqpMs/BbY4tCTnnmnS XGiNoGYzS+SXANzWvKWOhUxB3W9AUur3v9hGPeeWUee37aA8+TZs8vlH3v7I7v//OdPf GVo0pvR4BAkabmHZJM6L654rGVKAMCEhleDYI1BZToUG6MlK2lPQx8wFly+nLN+yLkW/ HUuvS6SaykTf5nsgZLAGvsb36CozYe4lBzaQXXloRNy1+Xi7GX1E2KO8rG9c808WrUMZ YVVQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:cc:to:from:subject:message-id:dkim-signature; bh=AgaT+pY93qnOUFTULTCBIx5BPdYnscxfg11Ywj5dIco=; fh=8e6wcnVF1Sl3A2LEeyzlbSoAKBQ2NuA6TgZYBOt2eeY=; b=Frh5DonSP5KnYTpDICHemcJ/tTPB2lXmk4H/Caum3SCCqFh1VOuXJ5JFx+uFRrfNAV BUG+XIPz/1Kwg2u4gtz8yIew4LctpGtq+ZvjAz2gNTvf44KnQNRzqmu/9lF8p6ZP+3q5 JUIR1BtLe+J9OD+qvrYWWBvynM5Wx0v83qWkhn2FA5RpLYHZoyRA03i0aMPBfK9+lW7r P8JggJeeeDOwSBvfMOeU4nV6BdcOd+qP8UzGLszaQ5lwwuQKwJoT0yIzhqQO173b7MkM c+OO1glTGZkMe/MVhwUSODEquhANZuW5d81lpZvH0BJkRcFbDggzxLivxecPOMSM7ylx T1Cg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=e33gRX4r; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-122922-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122922-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 202-20020a6300d3000000b005dcbbacc92esi1356827pga.872.2024.03.28.05.49.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 05:49:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-122922-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=e33gRX4r; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-122922-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-122922-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id AEA17294300 for ; Thu, 28 Mar 2024 12:49:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9092C8060C; Thu, 28 Mar 2024 12:48:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="e33gRX4r" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A779E1DDF6 for ; Thu, 28 Mar 2024 12:48:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711630132; cv=none; b=rh8cYjXo+F2SGx/oxhlY7Gx7e/UI9i6pskb0PHc+0qES6nr27sXr7g73QETmMHkPr5aGJ4CZDLwPKt9K9eZ8lpIZCtGjrOJZR4F97Vhg2N3n6p98Z42hjF3hLXeAGt5Cpa6o3Lr/OWDatkPEYQapkxgc7+yiuO8NdP8meUZ4n44= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711630132; c=relaxed/simple; bh=Ihr7L8SWFId0wHZDJNAhIySLvqt1dNUVwx+q54NFASE=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=Yqccp0CdBMoCqK04HF1Zb0jmc2dttjSAIXzwGCR2oIXUDCwAzwfMRSr1xwAI7kMg6Km+DFof8IPtzWHXO1hiXqn5P0UKf48IzeVRC+rxBWdFIvmoSvMpZWyL48G5Uu3binw1axEvrgnLYPeYXMwgfiJn1U0VD69Wg9RqjTvjcB8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=e33gRX4r; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711630128; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=AgaT+pY93qnOUFTULTCBIx5BPdYnscxfg11Ywj5dIco=; b=e33gRX4r+52CSNllithyfSHPlvu5OSMg02jEld6cynawHIOUG/YdczUxx1iaXrqcGhMrzy q51qksMf5pkKhJ176xgZREJxFAJrxj/XGjAYeTyU8r+35UQPsrYyZQ6QBOml6YSqmRAaT9 0GueL/DpkKXJq7wS0y7lqvyLxuzQhnk= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-145-9vzhBFvJNO27D4bR-eRsaA-1; Thu, 28 Mar 2024 08:48:47 -0400 X-MC-Unique: 9vzhBFvJNO27D4bR-eRsaA-1 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-341c449d7beso201020f8f.1 for ; Thu, 28 Mar 2024 05:48:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711630126; x=1712234926; h=mime-version:user-agent:content-transfer-encoding:autocrypt :references:in-reply-to:date:cc:to:from:subject:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=AgaT+pY93qnOUFTULTCBIx5BPdYnscxfg11Ywj5dIco=; b=jBZiIShdFjzqWfrDSphfjoV5miPTnI2pfTCvU3ZlBCJ8m32qz3WKxpHpr813h9NZ3J bcq5EuWGCouZotZAP6UDHAHmCfIW9AzFQKFeUPUz1Eg10yTUO+7M+19q1XrgVXcC3EC7 xadnz0UrbZcufOQdndJy9WOYfhyJ6nogR9EbyHqgWYto6zKP4rXyHqaASjWbLUhIFSP4 C+qM6wofCpXuXDDmnhPp5fSPgtM8yOlA40R36KPcOhj0r4HbCbF4rREUeG2AxkZdmydo nNZnayBT8rRb5tA17A846krCWfKZQSA0cG3Q9vx73MyEl2GbarAcsh8CKXdUqx7grvKo XF2w== X-Forwarded-Encrypted: i=1; AJvYcCVPdhl8jJES1j0W+8lSAeUpzX0MntVD+r4X+SgqDsFryWazTyRdx0Sd+/cpG/9890QcZBCYyWzKNgg1nHKP1Z7pHTm4Yi+qo+ZT9R4g X-Gm-Message-State: AOJu0YxMDgrR6oHKFyQi4TEI2GtVfPPkTB6rAJK3d+4AsDVa96kNFrmG J+c5AdLkFFf/dyZd+I92SwMrhHijHKvvtpBtqPOm6LRD1lqZ7sahJa1ASeIp4FzFhdsLmLsVxc4 TCwm9DH7WLW5Ke7+96JNwzmzR9zE9IxCFXbgEsh1AkeGv3yyy4oo9td1suwBsjg== X-Received: by 2002:a05:600c:1d1c:b0:415:4334:7f55 with SMTP id l28-20020a05600c1d1c00b0041543347f55mr1493914wms.3.1711630126141; Thu, 28 Mar 2024 05:48:46 -0700 (PDT) X-Received: by 2002:a05:600c:1d1c:b0:415:4334:7f55 with SMTP id l28-20020a05600c1d1c00b0041543347f55mr1493893wms.3.1711630125734; Thu, 28 Mar 2024 05:48:45 -0700 (PDT) Received: from gerbillo.redhat.com (146-241-249-47.dyn.eolo.it. [146.241.249.47]) by smtp.gmail.com with ESMTPSA id di6-20020a0560000ac600b00341c9956dc9sm1680130wrb.68.2024.03.28.05.48.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 05:48:45 -0700 (PDT) Message-ID: <69cf3037390c7d82365ab0f5f92d55bd88a2400a.camel@redhat.com> Subject: Re: [PATCH net v1] mlxbf_gige: stop interface during shutdown From: Paolo Abeni To: David Thompson , davem@davemloft.net, edumazet@google.com, kuba@kernel.org, u.kleine-koenig@pengutronix.de, leon@kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Date: Thu, 28 Mar 2024 13:48:43 +0100 In-Reply-To: <20240325210929.25362-1-davthompson@nvidia.com> References: <20240325210929.25362-1-davthompson@nvidia.com> Autocrypt: addr=pabeni@redhat.com; prefer-encrypt=mutual; keydata=mQINBGISiDUBEAC5uMdJicjm3ZlWQJG4u2EU1EhWUSx8IZLUTmEE8zmjPJFSYDcjtfGcbzLPb63BvX7FADmTOkO7gwtDgm501XnQaZgBUnCOUT8qv5MkKsFH20h1XJyqjPeGM55YFAXc+a4WD0YyO5M0+KhDeRLoildeRna1ey944VlZ6Inf67zMYw9vfE5XozBtytFIrRyGEWkQwkjaYhr1cGM8ia24QQVQid3P7SPkR78kJmrT32sGk+TdR4YnZzBvVaojX4AroZrrAQVdOLQWR+w4w1mONfJvahNdjq73tKv51nIpu4SAC1Zmnm3x4u9r22mbMDr0uWqDqwhsvkanYmn4umDKc1ZkBnDIbbumd40x9CKgG6ogVlLYeJa9WyfVMOHDF6f0wRjFjxVoPO6p/ZDkuEa67KCpJnXNYipLJ3MYhdKWBZw0xc3LKiKc+nMfQlo76T/qHMDfRMaMhk+L8gWc3ZlRQFG0/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sqHoKZ5WdpeOcH9iVlUQhRgemQSkhfNaP9LqR1XKujlTuUTpoyT3xwAzkmSxN1nABoutHEO/N87fpIbpbZaIdinF7b9srwUvDOKsywfs5HMiUZhLKoZzCcU/AEFjQsPTATACGsWf3JYPnWxL9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Mon, 2024-03-25 at 17:09 -0400, David Thompson wrote: > The mlxbf_gige driver intermittantly encounters a NULL pointer > exception while the system is shutting down via "reboot" command. > The mlxbf_driver will experience an exception right after executing > its shutdown() method. One example of this exception is: >=20 > Unable to handle kernel NULL pointer dereference at virtual address 00000= 00000000070 > Mem abort info: > ESR =3D 0x0000000096000004 > EC =3D 0x25: DABT (current EL), IL =3D 32 bits > SET =3D 0, FnV =3D 0 > EA =3D 0, S1PTW =3D 0 > FSC =3D 0x04: level 0 translation fault > Data abort info: > ISV =3D 0, ISS =3D 0x00000004 > CM =3D 0, WnR =3D 0 > user pgtable: 4k pages, 48-bit VAs, pgdp=3D000000011d373000 > [0000000000000070] pgd=3D0000000000000000, p4d=3D0000000000000000 > Internal error: Oops: 96000004 [#1] SMP > CPU: 0 PID: 13 Comm: ksoftirqd/0 Tainted: G S OE 5.15.0-bf.6.= gef6992a #1 > Hardware name: https://www.mellanox.com BlueField SoC/BlueField SoC, BIOS= 4.0.2.12669 Apr 21 2023 > pstate: 20400009 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=3D--) > pc : mlxbf_gige_handle_tx_complete+0xc8/0x170 [mlxbf_gige] > lr : mlxbf_gige_poll+0x54/0x160 [mlxbf_gige] > sp : ffff8000080d3c10 > x29: ffff8000080d3c10 x28: ffffcce72cbb7000 x27: ffff8000080d3d58 > x26: ffff0000814e7340 x25: ffff331cd1a05000 x24: ffffcce72c4ea008 > x23: ffff0000814e4b40 x22: ffff0000814e4d10 x21: ffff0000814e4128 > x20: 0000000000000000 x19: ffff0000814e4a80 x18: ffffffffffffffff > x17: 000000000000001c x16: ffffcce72b4553f4 x15: ffff80008805b8a7 > x14: 0000000000000000 x13: 0000000000000030 x12: 0101010101010101 > x11: 7f7f7f7f7f7f7f7f x10: c2ac898b17576267 x9 : ffffcce720fa5404 > x8 : ffff000080812138 x7 : 0000000000002e9a x6 : 0000000000000080 > x5 : ffff00008de3b000 x4 : 0000000000000000 x3 : 0000000000000001 > x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000 > Call trace: > mlxbf_gige_handle_tx_complete+0xc8/0x170 [mlxbf_gige] > mlxbf_gige_poll+0x54/0x160 [mlxbf_gige] > __napi_poll+0x40/0x1c8 > net_rx_action+0x314/0x3a0 > __do_softirq+0x128/0x334 > run_ksoftirqd+0x54/0x6c > smpboot_thread_fn+0x14c/0x190 > kthread+0x10c/0x110 > ret_from_fork+0x10/0x20 > Code: 8b070000 f9000ea0 f95056c0 f86178a1 (b9407002) > ---[ end trace 7cc3941aa0d8e6a4 ]--- > Kernel panic - not syncing: Oops: Fatal exception in interrupt > Kernel Offset: 0x4ce722520000 from 0xffff800008000000 > PHYS_OFFSET: 0x80000000 > CPU features: 0x000005c1,a3330e5a > Memory Limit: none > ---[ end Kernel panic - not syncing: Oops: Fatal exception in interrupt ]= --- >=20 > During system shutdown, the mlxbf_gige driver's shutdown() is always exec= uted. > However, the driver's stop() method will only execute if networking inter= face > configuration logic within the Linux distribution has been setup to do so= . >=20 > If shutdown() executes but stop() does not execute, NAPI remains enabled > and this can lead to an exception if NAPI is scheduled while the hardware > interface has only been partially deinitialized. >=20 > The networking interface managed by the mlxbf_gige driver must be properl= y > stopped during system shutdown so that IFF_UP is cleared, the hardware > interface is put into a clean state, and NAPI is fully deinitialized. >=20 > Fixes: f92e1869d74e ("Add Mellanox BlueField Gigabit Ethernet driver") > Signed-off-by: David Thompson LGTM, but it would be nice if someone else at nvidia could have a look. Thanks! Paolo