{"id":810932,"url":"http://patchwork.ozlabs.org/api/covers/810932/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-tegra/cover/cover.1504776489.git.talho@nvidia.com/","project":{"id":21,"url":"http://patchwork.ozlabs.org/api/projects/21/?format=json","name":"Linux Tegra Development","link_name":"linux-tegra","list_id":"linux-tegra.vger.kernel.org","list_email":"linux-tegra@vger.kernel.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<cover.1504776489.git.talho@nvidia.com>","list_archive_url":null,"date":"2017-09-07T09:31:00","name":"[0/4] firmware: tegra: add checks for BPMP error return code","submitter":{"id":72177,"url":"http://patchwork.ozlabs.org/api/people/72177/?format=json","name":"Timo Alho","email":"talho@nvidia.com"},"mbox":"http://patchwork.ozlabs.org/project/linux-tegra/cover/cover.1504776489.git.talho@nvidia.com/mbox/","series":[{"id":1959,"url":"http://patchwork.ozlabs.org/api/series/1959/?format=json","web_url":"http://patchwork.ozlabs.org/project/linux-tegra/list/?series=1959","date":"2017-09-07T09:31:00","name":"firmware: tegra: add checks for BPMP error return code","version":1,"mbox":"http://patchwork.ozlabs.org/series/1959/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/covers/810932/comments/","headers":{"Return-Path":"<linux-tegra-owner@vger.kernel.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-tegra-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xnwG60MrDz9sNV\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu,  7 Sep 2017 19:32:14 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1754350AbdIGJcM (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tThu, 7 Sep 2017 05:32:12 -0400","from hqemgate16.nvidia.com ([216.228.121.65]:12964 \"EHLO\n\thqemgate16.nvidia.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1754068AbdIGJcM (ORCPT\n\t<rfc822; linux-tegra@vger.kernel.org>); Thu, 7 Sep 2017 05:32:12 -0400","from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by\n\thqemgate16.nvidia.com\n\tid <B59b111fc0000>; Thu, 07 Sep 2017 02:31:42 -0700","from HQMAIL106.nvidia.com ([172.20.161.6])\n\tby hqpgpgate101.nvidia.com (PGP Universal service);\n\tThu, 07 Sep 2017 02:31:43 -0700","from HQMAIL112.nvidia.com (172.18.146.18) by HQMAIL106.nvidia.com\n\t(172.18.146.12) with Microsoft SMTP Server (TLS) id 15.0.1293.2;\n\tThu, 7 Sep 2017 09:31:19 +0000","from HQMAIL107.nvidia.com (172.20.187.13) by HQMAIL112.nvidia.com\n\t(172.18.146.18) with Microsoft SMTP Server (TLS) id 15.0.1293.2;\n\tThu, 7 Sep 2017 09:31:19 +0000","from hqnvemgw02.nvidia.com (172.16.227.111) by HQMAIL107.nvidia.com\n\t(172.20.187.13) with Microsoft SMTP Server id 15.0.1293.2 via\n\tFrontend Transport; Thu, 7 Sep 2017 09:31:19 +0000","from talho-ln2.nvidia.com (Not Verified[10.21.24.139]) by\n\thqnvemgw02.nvidia.com with Trustwave SEG (v7, 5, 5, 8150)\n\tid <B59b111e60000>; Thu, 07 Sep 2017 02:31:18 -0700"],"X-PGP-Universal":"processed;\n\tby hqpgpgate101.nvidia.com on Thu, 07 Sep 2017 02:31:43 -0700","From":"Timo Alho <talho@nvidia.com>","To":"<thierry.reding@gmail.com>","CC":"<linux-tegra@vger.kernel.org>, <linux-kernel@vger.kernel.org>,\n\tTimo Alho <talho@nvidia.com>","Subject":"[PATCH 0/4] firmware: tegra: add checks for BPMP error return code","Date":"Thu, 7 Sep 2017 12:31:00 +0300","Message-ID":"<cover.1504776489.git.talho@nvidia.com>","X-Mailer":"git-send-email 2.7.4","X-NVConfidentiality":"public","MIME-Version":"1.0","Content-Type":"text/plain","Sender":"linux-tegra-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<linux-tegra.vger.kernel.org>","X-Mailing-List":"linux-tegra@vger.kernel.org"},"content":"Hi Thierry,\n\nThere is a bug in the BPMP driver as error code in response message is\nnot being checked.\n\nPatch 1 adds the error code as part of tegra_bpmp_message struct and\npropagates that code to callers\n\nPatches 2 through 4 add code to client drivers to check the error code\nappropriately\n\nBR,\nTimo\n\nTimo Alho (4):\n  firmware: tegra: propagate error code to caller\n  clk: tegra: check BPMP response return code\n  reset: tegra: check BPMP response return code\n  soc/tegra: bpmp: check BPMP response return code\n\n drivers/clk/tegra/clk-bpmp.c       | 15 ++++++++++-----\n drivers/firmware/tegra/bpmp.c      | 22 ++++++++++++++++------\n drivers/reset/tegra/reset-bpmp.c   |  9 ++++++++-\n drivers/soc/tegra/powergate-bpmp.c | 15 +++++++++++++--\n include/soc/tegra/bpmp.h           |  1 +\n 5 files changed, 48 insertions(+), 14 deletions(-)"}