Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1040183ybx; Wed, 30 Oct 2019 08:58:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqzk+GOVyuZtImTsBsbW7wRusyZFOaDJ9TWqXipeYWuV5ScLnS8RkU0a3fw+xLGSMAf0G6LO X-Received: by 2002:a17:906:bcfb:: with SMTP id op27mr213925ejb.59.1572451103508; Wed, 30 Oct 2019 08:58:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572451103; cv=none; d=google.com; s=arc-20160816; b=rsULuUgj1aYtJlH8DL4rPNtfizk3W6X7jVV+KXmIIJmzCYypLaWLnJ1WFVRDmiv2jU kE6e5Ro7ReDfLom/OCA3ZH65H/yg2Lz3mS+e5JmYkgCwQi18062UqRmPzoIOYk30/o/3 rIz792/WedD8Xsjlt2wC3lo291qSogE/5v1HxOGMCoaq7LTFUJKF0BkFvaVWR56Bv2OP R3/EZ9W8f51cWgci96PuKqEDOwXeNSQCap3d8zKK1UZn8ScgOYK/nqf15hUN8m/m7K4a 7L+zCkGiHAetJxBczAUDUmHHzrBfS3R7oZljyr9wEFnP00HoObLena1KQInBz4CB3Ol6 lziQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=jWEhqZt9LYIejbeeXyBHqZ/6ZK3DUBswkTDyOQjmctk=; b=oG66tQYQzXo3gQFqntNt5rsfXgiEb3nC6NqS870MsxjgJyan5Wbjik61XrmNxwmz+p Wi8JvJqJ+l+owpnJwo8mIRbfD8C99Mqji4Fw96TxXPaFRPJqA7TtHliZhQFypt5HCDTS 1kaMt17ro7dnWTcio2GWCIBTtsR9SCiW2E8uAeqrSGgOm7I0imy5i7rAXXurdinYNqyk oI9RYh2npIM4W0ZJsSmQ4r4kB8/ChmE8mPPqP0u1DyLh9eeAVcf+xEMdhIzRSGEpDrxi Tw6SZMn5uQnDD+9W/TsosYuwGMicDskjdOE87cSp6SbaZ9IOubimycyLZ0R8jYNtv+nr 3EJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=abWxQJxD; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b17si1463301ejp.326.2019.10.30.08.57.59; Wed, 30 Oct 2019 08:58:23 -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=pass header.i=@broadcom.com header.s=google header.b=abWxQJxD; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728317AbfJ3PyS (ORCPT + 99 others); Wed, 30 Oct 2019 11:54:18 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:37410 "EHLO mail-wr1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727770AbfJ3PyQ (ORCPT ); Wed, 30 Oct 2019 11:54:16 -0400 Received: by mail-wr1-f53.google.com with SMTP id e11so2910264wrv.4 for ; Wed, 30 Oct 2019 08:54:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id; bh=jWEhqZt9LYIejbeeXyBHqZ/6ZK3DUBswkTDyOQjmctk=; b=abWxQJxDUyMyhxtnDwX/xcTYhyZukDsV1EvX7XvsJb7GQh9wf6fAvZ3Pt97GdFNXbB FTMZva7WScVv1ytasMJr8yJU8Z7nbgjGk64Nem1HDXosAYyh+Tsoc1kIeYt1W662a+cM Oyruksj7yy1kTtRrQT4sC+j3Cg3kM6MQTYz/A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=jWEhqZt9LYIejbeeXyBHqZ/6ZK3DUBswkTDyOQjmctk=; b=nqZ1okBaEQnTByg769D32RsfifLKvYoa76Dyat+aLEh6yMpCJv/aqkGywQugoFDyhE FSBSBu2SbqFE8ueRWZ3vEJ5sfBm9J/tFgIV9F+WyoRJUrc/F3T7wXLNsGaChpaFrLVd4 /5K+WEpLAs9W2Z821Yz/RDLNcCyTZ/VGi7HRTixLC4ecJsAY4Pj3v3Nu9JYXZ25JDRGz mai9eIvTT9ONig8h5X3+3n35hAfI/1daX3vmps+vFT8B4DN+A1GY/uYCT2/PBQOMpKhQ M4uUXNOXQiZ5puVk1j0fsM6SqqzwA+0Y5dzMdcSREAUZ1HrA/HC8AgjNwVSaqYZGeDeA rZQA== X-Gm-Message-State: APjAAAUauqCbA2hApbtc39xrFmkSKTJXIf17e3DdmUBhz1IiIvKnIcK5 4dxRkLAtMriet7+/jwIVnt6PFA== X-Received: by 2002:a05:6000:118f:: with SMTP id g15mr518021wrx.242.1572450854008; Wed, 30 Oct 2019 08:54:14 -0700 (PDT) Received: from shitalt.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id g184sm499931wma.8.2019.10.30.08.54.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 30 Oct 2019 08:54:13 -0700 (PDT) From: Sheetal Tigadoli To: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Greg Kroah-Hartman , Michal Simek , Rajan Vaja , Scott Branden , Ray Jui , Vikram Prakash , Jens Wiklander , Michael Chan , "David S. Miller" , Vikas Gupta , Vasundhara Volam Cc: Linux Kernel Mailing List , tee-dev@lists.linaro.org, bcm-kernel-feedback-list@broadcom.com, netdev@vger.kernel.org, Sheetal Tigadoli Subject: [PATCH net-next V4 0/3] Add OP-TEE based bnxt f/w manager Date: Wed, 30 Oct 2019 21:24:21 +0530 Message-Id: <1572450864-16761-1-git-send-email-sheetal.tigadoli@broadcom.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series adds support for TEE based BNXT firmware management module and the driver changes to invoke OP-TEE APIs to fastboot firmware and to collect crash dump. changes from v3: - address review comments from sumit - fix SZ_4M undeclared error reported by kbuild test robot Vasundhara Volam (2): bnxt_en: Add support to invoke OP-TEE API to reset firmware bnxt_en: Add support to collect crash dump via ethtool Vikas Gupta (1): firmware: broadcom: add OP-TEE based BNXT f/w manager drivers/firmware/broadcom/Kconfig | 8 + drivers/firmware/broadcom/Makefile | 1 + drivers/firmware/broadcom/tee_bnxt_fw.c | 279 ++++++++++++++++++ drivers/net/ethernet/broadcom/bnxt/bnxt.c | 13 +- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 6 + .../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 37 ++- .../net/ethernet/broadcom/bnxt/bnxt_ethtool.h | 2 + include/linux/firmware/broadcom/tee_bnxt_fw.h | 14 + 8 files changed, 356 insertions(+), 4 deletions(-) create mode 100644 drivers/firmware/broadcom/tee_bnxt_fw.c create mode 100644 include/linux/firmware/broadcom/tee_bnxt_fw.h base-commit: 749234419aeeb275900c2706e1fa078fd7394743 -- 2.17.1