From patchwork Thu Sep 19 14:21:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 13807787 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 BF689CF3943 for ; Thu, 19 Sep 2024 14:23:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=X1L4uFqhrY+aOS1ezawTdMAlb9PbH6sIV7hNoABflqk=; b=LT/0qs1RpX8QQFZG4q9JIcAAcw KNoT2+ICrb0bWD6zNIv57CcqEFcjIxnB9NOBo0F9PfwQBRytAGwp+oJePXhyRe+WMC70UmNrUtWZL GwK4d9bWM8mOvwatWFXyU/81RGLYKb23Z1wRlUSlGSOpXmcm3xanUt/uWF8OivLtOMidKrQh/5ddS wyXT4u1I5/cDcQLon2MQ39wuenO5e3S5qr4iup3PAbo5VTlTHivQ65n8yrzzPiPE9n/r9xz0ZDoVu fNgBuwkZnbZjwrQcMVNmaV+EAAIUs6DV9xzJJzQGlmTIu0y4yEHersmioQR9mD7rVlc1hyUoR33TO BcXX+VNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1srI3c-0000000ARR1-27Lc; Thu, 19 Sep 2024 14:22:56 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1srI2U-0000000AR9u-2pWf; Thu, 19 Sep 2024 14:21:48 +0000 Received: from umang.jain (unknown [IPv6:2405:201:2015:f873:55d7:c02e:b2eb:ee3f]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id C8424220; Thu, 19 Sep 2024 16:20:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1726755620; bh=B/XcRagZj3rNQkkOOHw9npSb84lhCdxcCogl6Bp/SBo=; h=From:To:Cc:Subject:Date:From; b=ch2d5Ar1Utu+/HCXDq+iKrdW27+invce5Ry9B3CF95TkSeHSWY6t/40+ankA5YEEP /WqQkdThWvHPDfl5IF5r5JC7N/hrxGuYrhANVbUu09Jnc5B4/72MX27s4O88VDb6dX JIQbf1jzNAqCdyFOaDI+K9tm3T8aWRYxL0A4fb20= From: Umang Jain To: Greg Kroah-Hartman , Broadcom internal kernel review list Cc: linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Kieran Bingham , Stefan Wahren , Umang Jain Subject: [PATCH 0/3] staging: vchiq_core: Consolidate bulk xfer helper Date: Thu, 19 Sep 2024 19:51:27 +0530 Message-ID: <20240919142130.1331495-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240919_072146_873696_D03BA5AD X-CRM114-Status: UNSURE ( 7.36 ) 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 Few functions were identified were their declaration, definition and usage were spread (incorrectly) across vchiq_core and vchiq_arm. These are being consolidated into vchiq_core in this series. Please look at individual patches for details. 2/3 is in particular a big one. The code is just a move, but seems big - as it was diffcult to split it into smaller, compilable hunks of individual patches. Umang Jain (3): staging: vchiq_core: Move remote_event_signal() vchiq_core staging: vchiq_core: Move bulk data functions in vchiq_core staging: vchiq_core: Drop vchiq_pagelist.h .../interface/vchiq_arm/vchiq_arm.c | 356 ------------------ .../interface/vchiq_arm/vchiq_core.c | 350 +++++++++++++++++ .../interface/vchiq_arm/vchiq_core.h | 30 +- .../interface/vchiq_arm/vchiq_pagelist.h | 21 -- 4 files changed, 373 insertions(+), 384 deletions(-) delete mode 100644 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_pagelist.h Reviewed-by: Dan Carpenter