From patchwork Mon Jun 10 21:02:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 13692441 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 B9D4BC27C5E for ; Mon, 10 Jun 2024 21:03:35 +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=6d4vo5Yxb24stTuzm/Qrjun6gfL7zr1VfBC5Nf8zTf0=; b=TJ5dvZnvkiFzhl KgFH6gtNUkdkgBlneN+qLFzzCZ+BDzXRbLMCujqkSQuOU0G4hnzEbKzaKVSBOG21zIdzQxdUvp6M/ 8ii83CC3p7gNX3p+N/UEhEPBnonyXuyEdUJM0uidVCWKBAhovjijI1Sl5QX+hRrjGGJ//aW7OLNJz DuVxoysvIa7/pnWuSHTZe7mCzXI/zsh5O3BIOnt2x2+vmUCdslLJNMFyOLCg4Bckh4+KOwSbBxL3s nT1LBuckaKqCZs6Z4wmvj4SVK7IEnP+TVu72rTDujFxD9XyMslzKO543YSZxSa5Xmjg8DKhOGc/zC cDYNdyLEBe2MULp66Kxw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sGmAl-00000006UCQ-0N3i; Mon, 10 Jun 2024 21:03:23 +0000 Received: from mout.gmx.net ([212.227.15.15]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sGmAB-00000006Tlo-1oPx for linux-arm-kernel@lists.infradead.org; Mon, 10 Jun 2024 21:02:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1718053361; x=1718658161; i=wahrenst@gmx.net; bh=1g2OvbxHtxKT0PRHqWij0NUGTLZhjh4r90yi8QuVEqQ=; 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=gmb4hIQuLLXV6QnxYSeuaKcLbgCOjFje8Bs6wh6zww/6bXSCco3UOJ+2KhH4u/cS YAh2ZMAsvJmCUVRjVyq+ujQUocn312JhObLVrYjJbsWzEw3qIvi8xzb/frtMQTlhr yBwOUC86UyvlyIo7x/BHSnqB52PABX0Yh0TEFPLsfuGHC2aVrzg0VCZbaMUKjJtIH AGflLw/PNV3R3pLyb9D3REp9IqHROyNZamnQ0T0rYXD59aB5hzCyfyhk4lzK2+ERY FzCLPGCUdk5uSw9yOgZcSSJjDOTxd/h2yyX4xwonrIcDI9KHTlVIDDrRVTG60JsvJ /KPetRmqJUoRceYSMg== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from stefanw-SCHENKER ([37.4.248.43]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1MK3W0-1rzeil2JCg-00W0r2; Mon, 10 Jun 2024 23:02:41 +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 V2 00/10] staging: vc04_services: Random cleanups Date: Mon, 10 Jun 2024 23:02:10 +0200 Message-Id: <20240610210220.95524-1-wahrenst@gmx.net> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Provags-ID: V03:K1:VCPr0+QjWZnbzqNDtF+ZSmpTyloUhkp/1hUTE2XUsEgq+2SfRGi F4bv8fRFnh+ZR5MtjjInOgy6dEoHhkue1As6GGkEdyPD0NomcFuUIg1RiRTJ8mVnV6yVK7D B8bjAaJJRn8yCYxuZ5s0TF/tBYisJxWf3KJ04jBX4J8gnOGNgao8TH/7pwnQoGioOJKcrRD W88t0gBx+A6S4pdIZZt7Q== UI-OutboundReport: notjunk:1;M01:P0:7+dv/8wohvI=;3tueQo46q+2QwOCOKP79MtjgWCr 67kR+YnLD4AtX+6Nt2lvlXAa4ZM5GmEZC4bU6jWrDI4d/svojNwDO0IpV7qCSPnXp3GCev5mx 8m8puRUPP/XV79JvEtCeL1Z8UC+EJuIZWgaW3/0o4zBiT/E2mlScDXX0owQIF87p3At7pUfFq yOs8hs7HX2BN/AhqKmWyXEhVfDxH9xXlXkTCLVoAsg+U8PRcM+QWgv3/dLCEq1ZTrkowOnwC/ 0vORAClykKys/+9Y3IO3SZBpgMSm5GO2pRD5KOdQG9IMIb+G6L/0TskZnXBvskD4dD10a7hsT JGSGjvXJLerXYtbPRhIHSeS1DYL/XoF7VDLnOv/96yO0MUUMRXsFup0Bo4XUW7nM8aczXrOPc 7/mSkWAreEDZQGXqMIXrujwPF8/mDeAJhVkw9xDVhOaABp/Cq2QE1i1em2/RfiOyatecmrxzU NwaHo1kjPQtALG8/vPsEr2joYmBDCIvJdWkTTH0MIb7UDp4ccYinU++vRQhRKvGW9P0ZqAExU oSjrBPasW7Ybpzpau2oiD6ncWBwZ+2YvxQNqNtjdWGLJrrNK2PhXcKNePbxea2XyQ9z+iDJ4s +6SB3VoHgWTuGWJojEf2CaM2S14rN5tQJsv4JAo1aMEHtmbp6S0VFt+2kS8xWXsNHQuGtzntL s7uHw9CyW/EXtlK2NWqKfQI+njKycUlu+fOONvTgnw2ovnah+2la6A9xvL/GDNLy+i1P0leKB uyj52gX42jjJf7Ckf1nBcDoUG8aBXx/hWxb7lirqD+3eQ5ejds+PrmGmIfsN1GBG4UW9KifzR lffHTyMiiP4VR3S34ug6vgiqgF06ch+h0O3sLiSdBcgjo= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240610_140248_430357_2476B241 X-CRM114-Status: GOOD ( 10.45 ) 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. Changes in V2: - Add Laurent's Reviewed-bys - Drop "staging: vchiq_core: Add comments to mutex/spinlocks" and "staging: vchiq: Move struct vchiq_config to vchiq.h" from the series this will be addressed in a different series - Rework patch #1 to use a common return code variable - Rework patch #7 to avoid goto - Add patch #10 to fix scatter-gather casting Stefan Wahren (10): staging: vchiq_arm: Unify return code variable 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_core: Add hex prefix to debugfs output staging: vchiq_arm: Don't cast scatter-gather elements staging: vc04_services: Update testing instructions .../staging/vc04_services/interface/TESTING | 45 +++- .../interface/vchiq_arm/vchiq_arm.c | 254 ++++++++---------- .../interface/vchiq_arm/vchiq_arm.h | 3 - .../interface/vchiq_arm/vchiq_core.c | 10 +- .../interface/vchiq_arm/vchiq_core.h | 6 - 5 files changed, 167 insertions(+), 151 deletions(-) --- 2.34.1