Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp370811pxb; Thu, 9 Sep 2021 02:56:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwoIWagFebtuhGrGc7t8fHC2MbGFB+BiYVkE4V1xIaNM6eVra4lCW+bRHhUKsM7N6KVEEnM X-Received: by 2002:a5d:8715:: with SMTP id u21mr1977201iom.1.1631181360181; Thu, 09 Sep 2021 02:56:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631181360; cv=none; d=google.com; s=arc-20160816; b=iTGtc1qFTGzBOLAG8yQVk5lQE9KrLE+4vcupemmG5wP0ukmrU9sBE8mvWEyMoN78kE 5fhcQFBEguYiCkdn6clIcuEJ4geWhrEI77Gbh8MVlo+Qu0PvGI71S6uUQOkRTTfhF+El hFlAagN69vU1yBBNCa+kye0dTF0clL+sJGGBdtNpDzO68phAyI7fmmG3duhCK/xuYpq+ fqWyuU8BK+2cJv0hgHeuFK6GD2gPCxhv2/Xr3HMt/8/rz7SX4DkP3CjRWJFTAxUB3LkZ MZiPxus/ITbWwq+57C+P1U14o2xj4CJysaZs/FF9pvTGquEVlQU0u6hiwmPDtptduX2S 8G4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=iAMRA7J7B75qAx18nV5A5l4I0o/uKALUFm0ZoKS/HHg=; b=pPLQOVXrVpLn01Xe9hoGAa/zdN7Uo5kt+DbicPCGznuSH+8plTu+gjbe5P5s6Ckw2Z DxcbcfvXYAsEqnIf6VnwNlTF24W/GEoNd7aiosjrSZnd6OHs0KNHXAuGkatdRDeApvTt Zg7sM10tno1eJOTuh+1uzYjdIH8mea5Y7iLFeEzOgLdhWOuX5QjevpayqFac+a5nHQtx hUkEw/nOmtlbjX/v5d6OAmQprG7Aw/XVCrKbjYrEUrcyUZgvRMWOLdAkZtHAyXt3t6kd F4cmCZUSOB0mxueOGcUVp3kRzvGxY4qN6zYsvR1zCJyVWGa3OrkiF8bCqr1WAf88Grj2 CiqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=cXAyqhcJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i3si1125360iom.99.2021.09.09.02.55.49; Thu, 09 Sep 2021 02:56:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=cXAyqhcJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233690AbhIIJzR (ORCPT + 99 others); Thu, 9 Sep 2021 05:55:17 -0400 Received: from mout.gmx.net ([212.227.17.22]:53389 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233436AbhIIJzI (ORCPT ); Thu, 9 Sep 2021 05:55:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1631181226; bh=iAMRA7J7B75qAx18nV5A5l4I0o/uKALUFm0ZoKS/HHg=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=cXAyqhcJyiqOIZsACbKqoinbmnr/7VmWILgGOkAg/JcAMRhT9LrLWIxdVzEDbBi6U pAt/tTzHtbO1tzX/Erk71p15XOaia5BG/eRmhPBvIH/yL+2oicH+d66eHZv1HeBWhW K5+8GlQ+N0af7tVTbrE4A9+rMfx9QOPutBVcIWiU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from Venus.fritz.box ([46.223.119.124]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MVvPJ-1mXrXb1RCP-00RoLG; Thu, 09 Sep 2021 11:53:46 +0200 From: Lino Sanfilippo To: olteanv@gmail.com Cc: p.rosenberger@kunbus.com, woojung.huh@microchip.com, UNGLinuxDriver@microchip.com, andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Lino Sanfilippo Subject: [PATCH 3/3] net: dsa: microchip: tear down DSA tree at system shutdown Date: Thu, 9 Sep 2021 11:53:24 +0200 Message-Id: <20210909095324.12978-4-LinoSanfilippo@gmx.de> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210909095324.12978-1-LinoSanfilippo@gmx.de> References: <20210909095324.12978-1-LinoSanfilippo@gmx.de> MIME-Version: 1.0 Content-Transfer-Encoding: base64 X-Provags-ID: V03:K1:UbZPGZWtRgdxY+0Xbb+EY2aJRkm0/k/LthL4CtHbi2KZq/rfe0g Fw6SC7V+pEtF72erFJ9lBzjd4I4d6qlrM6r5T7OozRS0MmwIxLBXKd6hLP2ybcG8l/hghZk 9X0KZrHSOTQENyoXrNKalfn10SG+IfAb5tANNhuU/WhkuvZWbtAgwQNFwCZ1Inkx20NmKee ai9frIHEigrqU+9cb3l1w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:2B41uqs+kGA=:axrewgqKY8dNNzqw4KXZrU TOfdgrq5sJ5MmsARhKW7OYPoVrF/zBrdqQx3bPrI9/mpr/+uWMxU4Bh151t2Jb+TmkOJd62lu uo3hWF+mhABAVcRhwPtdt1Q/OZ5MgTB3WfcZYtKMx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