Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754937AbdIGJcN (ORCPT ); Thu, 7 Sep 2017 05:32:13 -0400 Received: from hqemgate16.nvidia.com ([216.228.121.65]:12964 "EHLO hqemgate16.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754068AbdIGJcM (ORCPT ); Thu, 7 Sep 2017 05:32:12 -0400 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Thu, 07 Sep 2017 02:31:43 -0700 From: Timo Alho To: CC: , , Timo Alho Subject: [PATCH 0/4] firmware: tegra: add checks for BPMP error return code Date: Thu, 7 Sep 2017 12:31:00 +0300 Message-ID: X-Mailer: git-send-email 2.7.4 X-NVConfidentiality: public MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 848 Lines: 29 Hi Thierry, There is a bug in the BPMP driver as error code in response message is not being checked. Patch 1 adds the error code as part of tegra_bpmp_message struct and propagates that code to callers Patches 2 through 4 add code to client drivers to check the error code appropriately BR, Timo Timo Alho (4): firmware: tegra: propagate error code to caller clk: tegra: check BPMP response return code reset: tegra: check BPMP response return code soc/tegra: bpmp: check BPMP response return code drivers/clk/tegra/clk-bpmp.c | 15 ++++++++++----- drivers/firmware/tegra/bpmp.c | 22 ++++++++++++++++------ drivers/reset/tegra/reset-bpmp.c | 9 ++++++++- drivers/soc/tegra/powergate-bpmp.c | 15 +++++++++++++-- include/soc/tegra/bpmp.h | 1 + 5 files changed, 48 insertions(+), 14 deletions(-) -- 2.7.4