From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next v3 00/11] devlink: Add support for region access Date: Thu, 12 Jul 2018 17:37:32 -0700 (PDT) Message-ID: <20180712.173732.1019798134999587246.davem@davemloft.net> References: <1531397598-11207-1-git-send-email-valex@mellanox.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, jiri@mellanox.com, dsahern@gmail.com, andrew@lunn.ch, rahul.lakkireddy@chelsio.com, jakub.kicinski@netronome.com To: valex@mellanox.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:45878 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387798AbeGMAtg (ORCPT ); Thu, 12 Jul 2018 20:49:36 -0400 In-Reply-To: <1531397598-11207-1-git-send-email-valex@mellanox.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Alex Vesker Date: Thu, 12 Jul 2018 15:13:07 +0300 > This is a proposal which will allow access to driver defined address > regions using devlink. Each device can create its supported address > regions and register them. A device which exposes a region will allow > access to it using devlink. > > The suggested implementation will allow exposing regions to the user, > reading and dumping snapshots taken from different regions. > A snapshot represents a memory image of a region taken by the driver. > > If a device collects a snapshot of an address region it can be later > exposed using devlink region read or dump commands. > This functionality allows for future analyses on the snapshots to be > done. > > The major benefit of this support is not only to provide access to > internal address regions which were inaccessible to the user but also > to provide an additional way to debug complex error states using the > region snapshots. ... Series applied, thanks!