Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp882093ybg; Fri, 18 Oct 2019 08:44:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqwjLl1cgiLyaS4d0o8MBn66bMyVQmpPq9tasGdYeUCrhvus4t59gkl9DfBqpxWMDyllbrPY X-Received: by 2002:a05:6402:1686:: with SMTP id a6mr10338389edv.174.1571413482599; Fri, 18 Oct 2019 08:44:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571413482; cv=none; d=google.com; s=arc-20160816; b=KGuAAYDjUmgSiKeU/GbbO1f5tEC96QfvtdWvQSTkZ/2fglj1i725jOQNWHREUsWU3v Q7wOlskEQzq7tu7VYgoSgmEbRoU46KN/FlDuACryXW/sUHi/4PGNUnrAaT6xiNKJGLng QINyVILMbJDGxWI0QwJawcz3u8pZVpDAhetxaekYGKjo+5HNsg4JjMDwM0O/7fvpBB3I k+7Bt6KTZRDq6RUWpev81XOTdx4XgvBgANVYqCmehPSK7rnkAPcmpxI+qsvjiCuM7vvI MFh2d3VgeyE356dsUmkKbBebpwyDoYv8ZVY8FrxanvunRrJQxjqzk4ZDjm/2uEHsfoZ6 /RdA== 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=UhIjdnJA4mnEEt+xQIkQ0Tr2n7K/2I0yNi1RGNSXShU=; b=j9WsS7DfemikzgimuR8WbZxROPig6+k/GbRzwF0/uGupoEt40r/ngbZdPgyL2CLVZp NQlMZ6dCjBoVhnlwf5+bSXUsgReXE/AFwkoi6gVCOZBsgUnw99iCsnaIQkpkpXkkvfNl XarECMFGGjMVEUWxGsZUaVUh1RD4EqBKjiGSiFwB3kUIB5XThz1dQwGXPWGpbglSO+Ch amFFJDV0M828kTTNAyMB5n0kNpQYVsAwCEnWSihYDkJg36rPAqomxtbEVi4rP8G9RHJN oysOPMBa2j5nIHCIrl9khK8h/3zJ34yERd7mLySgmyuNjgif8+1SaDqrYKXPmiHkpVxr QmSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=RCvcwH+R; 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 t26si3489132eju.238.2019.10.18.08.44.19; Fri, 18 Oct 2019 08:44:42 -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=RCvcwH+R; 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 S2502209AbfJQMBZ (ORCPT + 99 others); Thu, 17 Oct 2019 08:01:25 -0400 Received: from mail-wr1-f46.google.com ([209.85.221.46]:39653 "EHLO mail-wr1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2502168AbfJQMBY (ORCPT ); Thu, 17 Oct 2019 08:01:24 -0400 Received: by mail-wr1-f46.google.com with SMTP id r3so2038879wrj.6 for ; Thu, 17 Oct 2019 05:01:21 -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=UhIjdnJA4mnEEt+xQIkQ0Tr2n7K/2I0yNi1RGNSXShU=; b=RCvcwH+RWWeqYJ0AukgFXgl1KeliZm6zTij50PVlMUfvMnH1rbMjTOwSdnybokBGkW rRZNX3MH2zaeNXpkt6VTksc9mwjpJhP4WaSfEG9g8QwZtDlYFJ0YKnOuue39dHDebCwb QIC1SI/YYMTwRETapwXGxIdXWe86JnBVuixzw= 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=UhIjdnJA4mnEEt+xQIkQ0Tr2n7K/2I0yNi1RGNSXShU=; b=h5vg0uGuWc4WvrnLtus1Ig68dt4NX342TcfAzl3h8OKBn/nEMki1qozpnOfp148iwH 43xeXFw0cHPphHbCQMXeP5sHY3RV+adbipsTXoM8yM7HxQecJDny9b8iTvRGVymEj4Xn ZMo24cIyrOvveN3+bb105jw72W7o8FVZseREAB3fwVJk6XZeXTyApgEs/WEvaPs2yFsS IxWFNVAPZ11Hr2PHzAzeQZWipg2E/gNxTZcFZm4f/IH7GcEmbK/80zy93TFpzSLDsv5b KCi5fdv8+KP9qM1jJJP235mka2p9VJbnoyLBvQ/iv0pc4RPDgHDK41gVZRPMwmykGr0Y ypOg== X-Gm-Message-State: APjAAAUk0rT82JNXpai1BsTaxkMVD9rikhjFCm6stTU5VlSS0WWDVccL 464wLHSx4dZKWiTyZ7yDYNFcTA== X-Received: by 2002:a5d:6a02:: with SMTP id m2mr2758808wru.120.1571313680326; Thu, 17 Oct 2019 05:01:20 -0700 (PDT) Received: from shitalt.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id y1sm2317949wrw.6.2019.10.17.05.01.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 17 Oct 2019 05:01:16 -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 V2 0/3] Add OP-TEE based bnxt f/w manager Date: Thu, 17 Oct 2019 17:31:19 +0530 Message-Id: <1571313682-28900-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 v1: - address review comemnt from scott, - update error msg and introduce HANDLE_ERROR Macro - address review comment from Greg, - use KBUILD_MODNAME, indent comment, build with COMPILE_TEST 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 | 283 ++++++++++++++++++++++ drivers/net/ethernet/broadcom/bnxt/bnxt.c | 13 +- drivers/net/ethernet/broadcom/bnxt/bnxt.h | 6 + drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 36 ++- drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.h | 2 + include/linux/firmware/broadcom/tee_bnxt_fw.h | 14 ++ 8 files changed, 359 insertions(+), 4 deletions(-) create mode 100644 drivers/firmware/broadcom/tee_bnxt_fw.c create mode 100644 include/linux/firmware/broadcom/tee_bnxt_fw.h -- 1.9.1