From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 92F89A0A02; Fri, 26 Mar 2021 14:48:53 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 11DF640685; Fri, 26 Mar 2021 14:48:53 +0100 (CET) Received: from mail-il1-f178.google.com (mail-il1-f178.google.com [209.85.166.178]) by mails.dpdk.org (Postfix) with ESMTP id 5A6F14067B for ; Fri, 26 Mar 2021 14:48:52 +0100 (CET) Received: by mail-il1-f178.google.com with SMTP id j11so5027186ilu.13 for ; Fri, 26 Mar 2021 06:48:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8OPjrtFjELElzvqnEk5mUvwPB7dFK+VVwHd0+upHC3M=; b=qBJIdGnvDmC0yP9WukbH7V+70WTN2Xtk5O8Qu+EHSI5m0uRPAzhABnLFu8HZzIYOpT PnyWcwDAYnFOVlkIc/00CdQDoVYWVck4ukRE98fprpmaWl7v4Fik9aXj7f1rJaDD7dAj Whq0ACLhgSnEQQZDNk62nJHz5LTuCdpk0jSLgxjBdQRa0kBQG7Gh/7jma+SgZOSWm/c8 A/XBxHdalsubZgq8RGDv5feIBMRU9gLwVOS4e9cIA6/u2gagz0atcSE4wIOO8BV+WKe4 9jewmDHbpB+nqVgvgB9IHEF6u5GO0Kz5fWLRo/O6qMXh/9SkGo08trfHtv7sEeSYlnkH 5q2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8OPjrtFjELElzvqnEk5mUvwPB7dFK+VVwHd0+upHC3M=; b=ks6O89rdftbttDHMpa/CxZAn2AK6EouA9RAZYDw5sM06NAYa8zVnV1iruCSsSnpbSL yethM88+qrSZvEVf2KYKjT+CcDt8tMh7Cg3SmoKAXedxzG4UXTL4Byi5acw1o4JevnpY 3krK22+gHdejk0ixmDCKIovSD/JVlVtqVqL8muA/ks9q9feYXALoPRPzGNRQMxHS643T 2rgji6WPv6MirbXNIZa/XQj5SrxkAVhSDbAPGPYad5GI7Z0Rd37pPgTAO7AaNyuzEGUB BgN27OskoCKfbAfvIoGgsyfYjAha2Z6GsY5JpvvMfBu0KDzb6+6UpbiQB3cQTpNqol31 iLvQ== X-Gm-Message-State: AOAM531fnca7mkKR3aGwokHRcvXD5x40lBaaf5WyYRGKrBHbcKa6NNR3 7e1gUKoIDQmYHSDgqLjrxSPzsGLpfk/N/vrS5S0= X-Google-Smtp-Source: ABdhPJwFMWkkkxt9mDhmeAYxA9ykjcweZ9JTO2o85cfZ2HbG6GCbL4nOQOWVbQD77GsiqkGYLl4SrH0PfQjSL8V1PHE= X-Received: by 2002:a05:6e02:1a09:: with SMTP id s9mr9387698ild.60.1616766531760; Fri, 26 Mar 2021 06:48:51 -0700 (PDT) MIME-Version: 1.0 References: <20210305133918.8005-1-ndabilpuram@marvell.com> <20210305133918.8005-4-ndabilpuram@marvell.com> In-Reply-To: <20210305133918.8005-4-ndabilpuram@marvell.com> From: Jerin Jacob Date: Fri, 26 Mar 2021 19:18:35 +0530 Message-ID: To: Nithin Dabilpuram Cc: dpdk-dev , Jerin Jacob , Sunil Kumar Kori , Satha Koteswara Rao Kottidi , Pavan Nikhilesh , Kiran Kumar K , Satheesh Paul , Ashwin Sekhar Thalakalath Kottilveetil Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH 03/52] common/cnxk: add model init and IO handling API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Mar 5, 2021 at 7:10 PM Nithin Dabilpuram wrote: > > From: Jerin Jacob > > Add routines for SoC model identification and HW IO handling > routines specific to CN9K and CN10K Marvell SoC's. > These are based on arm64 ISA and behaviour specific to > Marvell SoC's. > > Signed-off-by: Jerin Jacob > --- > drivers/common/cnxk/meson.build | 4 +- > drivers/common/cnxk/roc_api.h | 13 +++ > drivers/common/cnxk/roc_io.h | 187 +++++++++++++++++++++++++++++++++++ > drivers/common/cnxk/roc_io_generic.h | 122 +++++++++++++++++++++++ > drivers/common/cnxk/roc_model.c | 148 +++++++++++++++++++++++++++ > drivers/common/cnxk/roc_model.h | 103 +++++++++++++++++++ > drivers/common/cnxk/roc_platform.c | 21 ++++ > drivers/common/cnxk/roc_platform.h | 10 ++ > drivers/common/cnxk/roc_priv.h | 11 +++ > drivers/common/cnxk/roc_util_priv.h | 14 +++ > drivers/common/cnxk/roc_utils.c | 35 +++++++ > drivers/common/cnxk/roc_utils.h | 13 +++ > drivers/common/cnxk/version.map | 5 + > 13 files changed, 685 insertions(+), 1 deletion(-) > + > +#endif /* _ROC_UTIL_PRIV_H_ */ > diff --git a/drivers/common/cnxk/roc_utils.c b/drivers/common/cnxk/roc_utils.c > new file mode 100644 > index 0000000..bcba7b2 > --- /dev/null > +++ b/drivers/common/cnxk/roc_utils.c > @@ -0,0 +1,35 @@ > +/* SPDX-License-Identifier: BSD-3-Clause > + * Copyright(C) 2020 Marvell. Please update the year to 2021 in all the files. > +#endif /* _ROC_UTILS_H_ */ > diff --git a/drivers/common/cnxk/version.map b/drivers/common/cnxk/version.map > index dc012a1..227f2ce 100644 > --- a/drivers/common/cnxk/version.map > +++ b/drivers/common/cnxk/version.map > @@ -1,4 +1,9 @@ > INTERNAL { > + global: > + > + plt_init; plt_init() is internal one. We dont need to expose that. > + roc_error_msg_get; > + roc_model; > > local: *; > }; > -- > 2.8.4 >