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=-7.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 29406C433DF for ; Fri, 9 Oct 2020 00:53:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9389722256 for ; Fri, 9 Oct 2020 00:53:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602204825; bh=pp6eYGaaCTBGwDZxZMDMgBqK0y/UiwZtwBUxmkvKcO8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=aM/GbCMRYlFyAex4EgFEH/ZCcy2FS446FoJkA+2KsrswpWqOr3m4TMJjTiAz9/jkL j6mOddQ87F+qFNXLzUg3yS5VHeSBER0WXXVY7OvwxbLQ6CPF91y4VyrdkBX5HtOYeT bx73RPZFmchhNG5VxaJIdHLugi4DFTqCnpvFaU40= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730074AbgJIAxo (ORCPT ); Thu, 8 Oct 2020 20:53:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:40276 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725979AbgJIAxo (ORCPT ); Thu, 8 Oct 2020 20:53:44 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (unknown [163.114.132.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 73FB422254; Fri, 9 Oct 2020 00:53:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602204823; bh=pp6eYGaaCTBGwDZxZMDMgBqK0y/UiwZtwBUxmkvKcO8=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=sdDgiZvn47GKGauKPmCuJPeKBZpTwCqTA381UDDQSjCKo6iJsnVVp/iVCB1hgzZMd +ub2mjciTUWu4BCzT+T3jqCy+vsKB4oRr9Pp6Fe/35IW/nPx+jFSxS7qPdHTE6W4bm icYsbk1sOKR7BGuxbSEbBEQe6R8bX4TvVrFLXu+8= Date: Thu, 8 Oct 2020 17:53:42 -0700 From: Jakub Kicinski To: Vladimir Oltean Cc: davem@davemloft.net, alexandre.belloni@bootlin.com, netdev@vger.kernel.org, UNGLinuxDriver@microchip.com, Divya Koppera Subject: Re: [PATCH net-next] net: mscc: ocelot: add missing VCAP ES0 and IS1 regmaps for VSC7514 Message-ID: <20201008175342.01ea014d@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <20201006150248.1911469-1-vladimir.oltean@nxp.com> References: <20201006150248.1911469-1-vladimir.oltean@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, 6 Oct 2020 18:02:48 +0300 Vladimir Oltean wrote: > Without these definitions, the driver will crash in: > mscc_ocelot_probe > -> ocelot_init > -> ocelot_vcap_init > -> __ocelot_target_read_ix > > I missed this because I did not have the VSC7514 hardware to test, only > the VSC9959 and VSC9953, and the probing part is different. > > Fixes: e3aea296d86f ("net: mscc: ocelot: add definitions for VCAP ES0 keys, actions and target") > Fixes: a61e365d7c18 ("net: mscc: ocelot: add definitions for VCAP IS1 keys, actions and target") > Reported-by: Divya Koppera > Signed-off-by: Vladimir Oltean Applied, thanks!