Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2941020lqp; Mon, 25 Mar 2024 13:53:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXzSn+NDq9jsbs09NqP9EmnqCrzfLVQd6ReaMbAlVWrubOEBQTODmsG3lZsOTlWAGtiiO1athW2Tgjp0tzlp3h0f+0V0c23PnLcD0g+Tw== X-Google-Smtp-Source: AGHT+IFtzFR95QtE8r/TJxaL8SB49ODCQejI9/SQ8aXarYwuCmUpSVM4OC0xpk2T6NneuV//Y8jn X-Received: by 2002:a05:6a20:2d21:b0:1a3:6a71:8282 with SMTP id g33-20020a056a202d2100b001a36a718282mr9042693pzl.0.1711400030659; Mon, 25 Mar 2024 13:53:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711400030; cv=pass; d=google.com; s=arc-20160816; b=coULtV1Oi+B1QGlk+yw8J94sW2h2hXmmflhiUyVxtgH96EsMQcHiv0O5H6jVZeSmI7 CQpL51LySZMeFbYtBDOhOZoDctEYO1kO7YBKI5hBPgkBB7l4IP26L+sGDME4uV3S4aJ+ xiusobWIkshN2ME8/Ty7LhoLQQR3G0tK27D3LsESMal14/AruUU5yE7hT1dHh6Mydmuw gJkCvXgWF+FCf8g3SExIU7tmjUrXx9gV/VnGjPqQgGo+u2w6KuDnO/M3TcNS2jYKuy4m Gya+PZdcWAHKLRuE8fNsvctfsZgFiN0GaHfJNHWP9MiGvdkNw2MSP4z/p8PCIZXZe7dB 9r/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=erRVuc2UevjwNBZs8DDF6UyMc6BUhSOTAdL1i9VC4Ss=; fh=WtL5fQT7ZUc/CxFY5ivX7o+R0egHbl7+G/zS94M/DC4=; b=jS/pAK4rU1g859Ym6pXiQGc7/8XKVC8QVgCS/Y7Kql6/QctxxwKVcS32AXL3Ge4XSu fLCipn9RRCLh6FMzLRfwQ7QLoWe2L6jXneEvWdKNnFzquqxqUua5FQ5/sKpg36DEFqu+ WPASNXWy1yrPi0WBWaHrWbv+ezOZOVoYkKsH0zwtOlUAa9lLqwTl4Gk1MxJw/ZlOddAR R8AXpfgBENnlJzOZUIT7D4jBDC+o6x6YDfCTfQdJUwVdG/H3Nr9NR38HI0xMxOWSwRD/ qT1L4V4stv72RYWEMQIMWWq8b3ix268MjnFG38h3xRy4cRxSvQJ7U95v7Nfp2TF1aFDs 4W1A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-117981-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117981-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id p2-20020a17090a868200b0029c5fbb256asi12319527pjn.83.2024.03.25.13.53.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 13:53:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-117981-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-117981-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-117981-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8A48332250E for ; Mon, 25 Mar 2024 20:50:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0D1B06FE28; Mon, 25 Mar 2024 20:46:45 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D1CE59B70 for ; Mon, 25 Mar 2024 20:46:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711399604; cv=none; b=VJuhlUJ2heoIdplg0v5d8SMXdwdaeIVSjOkhWnq3nr/+vog1K9XrHYnWPhrzV4MHXagEUR+Jv0NgfgyI0t6qyz+G2iuL6YqHoGxnESDLU5XIYgWKeSnykUHJcOew+8j5KMtqfqRLdkmREwPzFunMFH6b4nO5hLwgESOP2UtjwaI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711399604; c=relaxed/simple; bh=PI/uzcbG6TLOI2MpOsyBNq+VgpXQTVuXHTCEuJ6Ptic=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GGC98J4vrPSjZILnc6AgrtZSR5ouUBoMN8xdfkqqZVuSGvz+FdGSvmZqUfbkCHGwxuKK9gELRkVG+fwJ+zrLfHmcBpmGPbHz7nJFhgT+v3zluChn3Fq8dWiwpPqf8XH47IF4mLPHQHq/UQoA1ysDUBL5i/WNX76swhPFmArd/bk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 504FA2F4; Mon, 25 Mar 2024 13:47:14 -0700 (PDT) Received: from pluto.fritz.box (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 027F43F64C; Mon, 25 Mar 2024 13:46:39 -0700 (PDT) From: Cristian Marussi To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: sudeep.holla@arm.com, Cristian Marussi Subject: [PATCH v2 0/5] SCMI misc small-updates Date: Mon, 25 Mar 2024 20:46:15 +0000 Message-ID: <20240325204620.1437237-1-cristian.marussi@arm.com> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi, a bunch of small SCMI updates based on v6.9-rc1. Mainly adding traces for weird SCMI messages like late timed-out replies, out of order unexpected messages and malformed messages due to spurious mbox IRQs. Thanks, Cristian V2: - rebased on v6.9-rc1 - added a common trace helper for weird messages - added traces for spurious MBOX IRQs Cristian Marussi (5): include: trace: Widen the tag buffer in trace_scmi_dump_msg firmware: arm_scmi: Add helper to trace bad messages firmware: arm_scmi: Add message dump traces for bad and unexpected replies firmware: arm_scmi: Simplify scmi_devm_notifier_unregister firmware: arm_scmi: Use dev_err_probe to bail out drivers/firmware/arm_scmi/common.h | 11 ++++ drivers/firmware/arm_scmi/driver.c | 83 ++++++++++++++++++++++++++--- drivers/firmware/arm_scmi/mailbox.c | 4 +- drivers/firmware/arm_scmi/notify.c | 30 ++--------- include/linux/scmi_protocol.h | 2 - include/trace/events/scmi.h | 6 ++- 6 files changed, 97 insertions(+), 39 deletions(-) -- 2.44.0