Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6522743imu; Wed, 30 Jan 2019 16:46:34 -0800 (PST) X-Google-Smtp-Source: ALg8bN6dyVGJ7qkhJVdaLZhLzNwXEwPY8eK7UbjBr1YabIJDf7vXX+sAbPeMwMEAdHpsH2OQQsY4 X-Received: by 2002:a17:902:4503:: with SMTP id m3mr33092775pld.23.1548895594891; Wed, 30 Jan 2019 16:46:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548895594; cv=none; d=google.com; s=arc-20160816; b=x4eHMX8QOTvFSaQCZiPNI8QdpfJRO0PMcMM8Dk2OfCFXzh5g/d2AUIr1zTMEGPlOwQ k2a26CwDAqD5SIrSsitKQN3pIy31nC6QIyU10kuZgoRNd/KDCaOq3itxV3kWkjutUpNo KiW7nMVl2X7KghF5WBkFjx3rOsBqoG9GzUzdIz7FK+WkV7IeQpl/f23PoXO5sLYwXUqW DWVUFpjWlxKxNiZsZ4ONOYksEBXQRhmX0xw0869i304BHIyMKp4Mpq/g8nelb23T9ERN PsiCRyxx5AYKdBXmxYKt4aIchfx9QcWh1zQ03GaSphPISrQbdpyxGWZF5UvKHQR519Vn wPFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-disposition:mime-version:references:in-reply-to:subject:cc :to:from:message-id:date:dkim-signature; bh=XcdSi3Ih+roxXYRHFPAfDLi6o9yJrw0mTUThqSLwojQ=; b=uOrXqtXrtnGWYInVIhrGUpMZ3DJUoSjzRSyD/JGauVIfE4EOEKYucaDgL/3ickGTKW 6bO6seoDMMp6Ea7ZhXoM8u/U9hGwmtZsoGYS/roUV7qbzVfXGFXbRxRtu+0heysiP1OI iwjiC45GJvUVfQB5sGboIl3KlThopnQmqt+SHt0J5em4uGI9u1nCVhKKsgL36abAQL/N DX+RYkoSThK0tktJt2EkwJzCHenYQlSh9zrmnyGgYm1o57jys2+w18VsklY1ysWH3qTb y5TWg36fQPsdArWTOLf/Vyqib72TUyMdgBu5tHqXqbFiSDRBnSf8XPss+SrFExYVavow CVJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uZ9ax9hP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 89si2879666pfr.242.2019.01.30.16.46.18; Wed, 30 Jan 2019 16:46:34 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uZ9ax9hP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727531AbfAaAqM (ORCPT + 99 others); Wed, 30 Jan 2019 19:46:12 -0500 Received: from mail-qk1-f193.google.com ([209.85.222.193]:37549 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725768AbfAaAqL (ORCPT ); Wed, 30 Jan 2019 19:46:11 -0500 Received: by mail-qk1-f193.google.com with SMTP id g125so951760qke.4; Wed, 30 Jan 2019 16:46:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:from:to:cc:subject:in-reply-to:references :mime-version:content-disposition:content-transfer-encoding; bh=XcdSi3Ih+roxXYRHFPAfDLi6o9yJrw0mTUThqSLwojQ=; b=uZ9ax9hP8TxvF6Rtz1MBqIp0HV/lx336g0JCnxfX5lI2obe2mZGzoP6UYYNdfLYbG3 0WoIpRNuAk9JtfzPgDcGMpiKbQMttDrzEkbdMKf7Onfs8SKUHYSArp1asPbRpc2YGQT2 i0swOApxgxtzfsYJQkl2dItxVvt1b1kmVN8QFveNVKSNB6hEeM5bArz76E7Tqglh2YQk 8qx/isee40WF2tUnaDRzJF2GmjmpvvEjZpBQr1piLz/nu3Ov9vAJwl8CyBDaQl++nT0N KnajmbfPZscMqmKSna8LEYMtm32avJVrTKiOg3B2bDdHC36v8lYnaWkOSsehJaQNYJ8y DN8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:from:to:cc:subject:in-reply-to :references:mime-version:content-disposition :content-transfer-encoding; bh=XcdSi3Ih+roxXYRHFPAfDLi6o9yJrw0mTUThqSLwojQ=; b=F5VDmr5BNitG2vyE2yMy3A1G4ryZcFpmrSMfLEbwBp6vy31vJ40K2R0Z7K2BoD7gAr MXPqMHtkcXOfFH+RbugwpZ9xZlAtycvi3WtxMvM2BysMpc+yTaRi3DUIMZGYejTIfrqz jFkPYGRq0RM9YkxEsNfH2IB1Qwy5fEODO3S6l6wQ3Yf/bnPPE5QwLvpApluLPzrsPl8h S5l6xJU2Bjimk6yTpNzg7+U2EIsYsnSpGzCTvgqM3gmY20W7oSSoHXDVdacp0QyhHfga 8vXd1BKULtWaRJiPdPrQj/M3AX2ho8GgzMugs8R58BBu5R2S4uJcYdvfU3CnFd6VGzml F+rA== X-Gm-Message-State: AJcUukczzrRN30tZryj/PWcKVeYWqefvLP3Z5vdyBa5/z7Lefi5Zi7Fj 6LTkEgetfjZOGmLB/ExG2Vk= X-Received: by 2002:a37:7d05:: with SMTP id y5mr28154393qkc.310.1548895570441; Wed, 30 Jan 2019 16:46:10 -0800 (PST) Received: from localhost (modemcable249.105-163-184.mc.videotron.ca. [184.163.105.249]) by smtp.gmail.com with ESMTPSA id r1sm2644978qte.28.2019.01.30.16.46.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Jan 2019 16:46:09 -0800 (PST) Date: Wed, 30 Jan 2019 19:46:08 -0500 Message-ID: <20190130194608.GB28098@t480s.localdomain> From: Vivien Didelot To: Miquel Raynal Cc: Andrew Lunn , Florian Fainelli , "David S. Miller" , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Thomas Petazzoni , Gregory Clement , Antoine Tenart , Maxime Chevallier , Nadav Haklai Subject: Re: [PATCH net-next v2 1/2] net: dsa: mv88e6xxx: Save switch rules In-Reply-To: <20190130104606.31639abb@xps13> References: <20190125095507.29334-1-miquel.raynal@bootlin.com> <20190125095507.29334-2-miquel.raynal@bootlin.com> <20190128152456.212ae5ac@xps13> <20190128144417.GG4765@lunn.ch> <20190128165749.6abf2dc4@xps13> <20190128174246.GD28759@lunn.ch> <20190129100117.5ef6774c@xps13> <20190129145157.GK4765@lunn.ch> <20190129104613.GC20920@t480s.localdomain> <20190130104606.31639abb@xps13> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Miquèl, On Wed, 30 Jan 2019 10:46:06 +0100, Miquel Raynal wrote: > > > > Today, there is no S2RAM support for switches. First, I proposed to add > > > > suspend/resume callbacks to the mv88e6xxx driver - just enough to avoid > > > > crashing the kernel. > > > > > > Then i would suggest the mv88e6xxx refuses the suspend. Actually that > > > probably is the first correct step. We don't have suspend support, so > > > stop the suspend happening, so preventing the kernel crash. Actually can you show me the crash that is happening?