Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4275952ybi; Mon, 3 Jun 2019 08:18:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqx7M6keFZA9PeYncwwU4+o2103IEQkhn8i+88aihNzg589B7qfbwTV3+tY/fkFP+A2c6fxh X-Received: by 2002:a62:7a8a:: with SMTP id v132mr9217025pfc.103.1559575087257; Mon, 03 Jun 2019 08:18:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559575087; cv=none; d=google.com; s=arc-20160816; b=AOgWhquw3E5zF8Rr1TAKTmt0IfsOpoZWErkRRq0JKuA3GqPf6OCDmONjLBRZMssBgd kE71je5mzyrrC9elloriUh0GQv5lno+UtRBHY+o05n/Y5j7MKdzgVpJSQiIzuD42S18S cz0oFXnHZrmRVtrerfMoTQl5wm/Mz1Zlg+i1C7tTXo8iEc349+o6IPUz1WZeAyfzYWZV lkAS9sxmFl1tnkXnvcxJfx42aAUhjqxVNhezlctNXLAoXKXzgUBYo43zoFqgq5RM+RJ+ i06hcRD+uDz4ciE8VmfScv6Wvem8EBiDCGL3X9pD2oSupTVcTWeqA8mdwCqQ1JWB0kQr FQ6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=fPn2jgXxehD/h+yYF5fK2Ud2Xt3zX9OgX9H3wnmo/ig=; b=NI7AvY2vTejjU27Zj3yAJa+C6LCiWLi/Rnn++ZnTO3bbYN8HFqKe6YvkaYUwFj/sKU rdAdRk7AI/lmA63zqwnjOn16uZrpWpy5a+OF5Q8i7ElaY6deB4WxkVJLZNtEfSFuuYjP +Axy8+4NBAW2rw097rkDwxO09woRe+RIqfL/kfyLunc/q+2QdJAny8rPCfcFuusio6Fg 8UAcz/jAauRoBjrEThQSPbJo2NCqY865hX0ua6Qx7f/NHRADHADQzo1b4ixFJUBZgF/h tkPDKT6rQOU5zSr19Rfneq8a70MOK/fioIiP6pjBULn1oSwn49ABR8rd43mCFtLm68y4 fVAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=F2ra5yoD; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e3si15611660pfa.248.2019.06.03.08.17.48; Mon, 03 Jun 2019 08:18:07 -0700 (PDT) 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=fail header.i=@lunn.ch header.s=20171124 header.b=F2ra5yoD; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729374AbfFCPQL (ORCPT + 99 others); Mon, 3 Jun 2019 11:16:11 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:50778 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729171AbfFCPQL (ORCPT ); Mon, 3 Jun 2019 11:16:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=fPn2jgXxehD/h+yYF5fK2Ud2Xt3zX9OgX9H3wnmo/ig=; b=F2ra5yoDEWJ3UCbYraOBznnZ+y p6/BIq4obLb1xi0ctNuB/oTN8LyGtJnX/9uVf4jHufC7+3kNYD4SY9rVV41WgP+zH4nzOQy2i+Z5Y ugPk07bYwdqaS2lKz2zD+dFOtPb+z8FgFqH93oyYzcKOG7iZG08kcON8fqISMSxeoU/s=; Received: from andrew by vps0.lunn.ch with local (Exim 4.89) (envelope-from ) id 1hXogw-00064L-4s; Mon, 03 Jun 2019 17:16:06 +0200 Date: Mon, 3 Jun 2019 17:16:06 +0200 From: Andrew Lunn To: Rasmus Villemoes Cc: Vivien Didelot , Florian Fainelli , "David S. Miller" , Rasmus Villemoes , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH net-next v3 08/10] net: dsa: mv88e6xxx: add support for mv88e6250 Message-ID: <20190603151606.GG19627@lunn.ch> References: <20190603144112.27713-1-rasmus.villemoes@prevas.dk> <20190603144112.27713-9-rasmus.villemoes@prevas.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190603144112.27713-9-rasmus.villemoes@prevas.dk> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > The chip has four per port 16-bits statistics registers, two of which > correspond to the existing "sw_in_filtered" and "sw_out_filtered" (but > at offsets 0x13 and 0x10 rather than 0x12 and 0x13, because why should > this be easy...). This is Marvell. Nothing is easy, they keep making subtle changes like this. > Wiring up those four statistics seems to require > introducing a STATS_TYPE_PORT_6250 bit or similar, which seems a tad > ugly, so for now this just allows access to the STATS_TYPE_BANK0 ones. I don't think it will be too ugly. We have the abstraction in place to support it. So feel free to add a follow up patch adding these statistics if you want. > The chip does have ptp support, and the existing > mv88e6352_{gpio,avb,ptp}_ops at first glance seem like they would work > out-of-the-box, but for simplicity (and lack of testing) I'm eliding > this. Fine, you can add this later, if you do get a test system. Reviewed-by: Andrew Lunn Andrew