From patchwork Tue Jun 4 17:28:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13685711 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 390F7C27C52 for ; Tue, 4 Jun 2024 17:29:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=+8VfRdnSYLgyuiq8t9/0XEAy6dhVE237x6+YY4yC2Lc=; b=lzE82iKS25MCDH hCL8MSuv3J+OlZ0Gbg09yzp8oTfFCSNNCFmVE+azgxNnbib9WpRFCaVqfXOB4bJbCXQArYRp+tV1x CQgMNBjNu14UNLpG4fuB5HiZTyH4Gu4vL+8VGSe5sVX39aek124ALgHCW1LqsRR30XRPp4i6AWtmK FuUPigApXD4U6dNjuQ1O569ZpIwKjjRrqLsv7BAEp3espbLECGKynao2bdavlT/VVG7r6anemy/6S Sw47QLnX36Jp++GPQ9PIImGLi7XgSm5lWybshgpfRoIuVtKe3vsMeLUEi1vDZ2WEPhzeFB7H1+GCr 8l8d3if2T8Vui0J4pVTg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sEXye-00000003Ilm-0zwl; Tue, 04 Jun 2024 17:29:40 +0000 Received: from mout.gmx.net ([212.227.17.22]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sEXyS-00000003IeG-1T1D for linux-arm-kernel@lists.infradead.org; Tue, 04 Jun 2024 17:29:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1717522162; x=1718126962; i=wahrenst@gmx.net; bh=WK6o1roi+j4phLsR6Cuk/MEj42xb9O0r/JecCLyJMrA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:Message-Id: MIME-Version:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=sOSvAsb07/4/qKMvu5cqT7uGq8szBsZcJUUucz9TM909Dbs2Bye186sLHN1ES2nc IxXLvVTyohNiNRUDLbVSK6lNz7BJCYPdc7DHaL80tRB7XvHurnxPTTV5qEsUKpbTg VBtbEs7XnCSn5L+32wQejG6RABylTDoboR3pNP2s77a7l/uUsXYRCaSrdbctqgTak d99YaD2WDk25Jfsolnq5w2UZVmWOMmKgA1AU6d8Q6wwtJyOJx1rSOzUmJ43dNhS85 LVKEvPjFftmhFJB3FZqqoLJhNzE/wS/5POSTHGKcJeYoAqijBDrjlqk2xILErJ8aq AYwsDwE2BQO/mGfvGQ== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from stefanw-SCHENKER ([37.4.248.43]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MEm6F-1sFxnt2Oj5-00Erzy; Tue, 04 Jun 2024 19:29:22 +0200 From: Stefan Wahren To: Greg Kroah-Hartman , Florian Fainelli Cc: Umang Jain , Laurent Pinchart , linux-staging@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Stefan Wahren Subject: [PATCH 00/11] staging: vc04_services: Random cleanups Date: Tue, 4 Jun 2024 19:28:53 +0200 Message-Id: <20240604172904.61613-1-wahrenst@gmx.net> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:ltucmVgk6BMfdFvWC6PRAMmK5wDyJfDyn62e9FrYhSs7gKd98Sm 5d/ssULjBrZGcgJLmzzgQa28CmX/1KdMxZ1VyHneY7GPWmpHlpka/trDt4gzN5U685/IswK cRJb/i5vgUiw3LLTaKPi+9Iekqfx1zUG/dwD8YWW8wGcE23m8QprzaJVduUPT0g9cp4fZxw kkrxcukW0E4CvTKSiJ/gw== UI-OutboundReport: notjunk:1;M01:P0:fYbIsuH8r8w=;aCo6+BTy4A38TBaFDlsXGHmrN/x 5H+sxdmn7OLaOEP9iJYP4mW9h2FmEaAsYa7VkQyO+rA2ig9ED/suvzGIbCpI4iNvMixUjVSX5 R/iNTcHu9/9bF7kf7wq2QJDWfF/pdaDWUDtLCUYMV8yuIb3IzOEhzpE8LLlqn7so9z7d3hoo8 iSqE6d+phhHnljVQFbPJ+8flAl5Ta8m7lpYSbnruL/j3YZtGHklxetQtyjPEDsjvBl5UfWVyS EXM2ETcaU16QltEDVN7IWsypyiXzMHZiP1eEUzr182JwgvehjU4Y0qyTNlG7Lfa4OPQQMyVgL rgBZuv13TFcECgm+tMRutFIZqqvucQjSvsnJz2Pn7ONDc4OXJrQNbVNAiatCeWySja2HRDVLL +p6HOIdV0HoovEpFxt8KI7oabWZGghdmLUYP/NoiSm6H/sz85iEl0Oklbmz/MpCxrmN/LSLn8 1n4boDWIB1go6Y49zzu0vJeOn4PZz2brdx4oqQ0XQGdAzOp/BX/rvAbgsknkdCW3y6aOi/Qos XdsUkeoMvR9uzOCL/AjK9snTXfb3y+D0roZsmQldJ/tIebgNrDxeH8K0Tfsu8Qz03/XMGpbvo +CZtkYV1ufTK0YUeVZYq8DdNBTltdmL0jLWb1EutZBVd/GD0G9M2I+D8tPufym/xpuEiBm/vE FPehdXlg1MJTzB9Upqkyupxn7VkZoc1A0suRVUGKKcLQGbxOfAfvyjLcWTbM4+hPS25078zma 2tBu/JT0vAf1fVXKJkO8diwklYg49qTrHBWd2x6FBWuW0qKsfwkHBgiKczqFPs7svYaWsxZms 5fP4RUjDNsCdbt1fRIfK5vhHbO4wg/x1ZzKFJToF6fXvA= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240604_102928_743771_51975EA9 X-CRM114-Status: UNSURE ( 9.70 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series contains a wild mix of cleanups. Most of them remove unused parts. But there are also improvements to better understand the code. Finally the testing instructions are updated. The series has been tested with a Raspberry Pi 3 B Plus. Phil Elwell (1): staging: vchiq_core: Add comments to mutex/spinlocks Stefan Wahren (10): staging: vchiq_arm: Replace variable ret with status staging: vchiq_arm: Drop obsolete comment staging: vchiq_core: Drop non-functional struct members staging: vchiq_arm: Drop unnecessary declarations staging: vchiq_arm: Get the rid off struct vchiq_2835_state staging: vchiq_arm: Drop vchiq_arm_init_state staging: vchiq_arm: Reduce indentation of service_callback staging: vchiq: Move struct vchiq_config to vchiq.h staging: vchiq_core: Add hex prefix to debugfs output staging: vc04_services: Update testing instructions .../include/linux/raspberrypi/vchiq.h | 12 ++ .../staging/vc04_services/interface/TESTING | 45 ++++- .../interface/vchiq_arm/vchiq_arm.c | 168 ++++++++---------- .../interface/vchiq_arm/vchiq_arm.h | 3 - .../interface/vchiq_arm/vchiq_core.c | 10 +- .../interface/vchiq_arm/vchiq_core.h | 28 +-- 6 files changed, 143 insertions(+), 123 deletions(-) --- 2.34.1