From patchwork Fri Jan 24 14:45:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Saenz Julienne X-Patchwork-Id: 11350483 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 381ED1580 for ; Fri, 24 Jan 2020 14:47:05 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 0250D21734 for ; Fri, 24 Jan 2020 14:47:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="tvIzW+wj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0250D21734 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=F9vKb99NvyJ4AB4XLxbU2f6QyS1HL0MkVeSHHUKFGKo=; b=tvIzW+wjKc4+En aVkOIJQRv4bFpYPFjAfHtF3KIylUaQq5ywldpoZWQ0gbJ3bWUgyfZEN5Mlojizi5KXUR+Rn6WGt7M wXTq/oin+nj1ohfKQ9thlMbwrsqesI4qkVJYo7+64sDkfUQax1b60oYR6gfd9XZe4pA+47IKkDZ+s b3LBs7z77jiJUfVpUU92F8sVPS16X24bgKYfr55vkjYaqCihSpii3bu1VN6jDFVoiitit4nQddtpX HCpL5HohYgiXZqrtjLzjDvZa0B9TsbTvHN0SQWu34HxKj3xW4QB0Maekj8EX/AgsrkyW9rZU3bPde kUsJvKvIYhuyQrSZ1ROA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iv0Ef-0007z6-H9; Fri, 24 Jan 2020 14:47:01 +0000 Received: from mx2.suse.de ([195.135.220.15]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iv0EC-0007bZ-A5; Fri, 24 Jan 2020 14:46:33 +0000 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id D7510AFA8; Fri, 24 Jan 2020 14:46:29 +0000 (UTC) From: Nicolas Saenz Julienne To: gregkh@linuxfoundation.org Subject: [PATCH 00/22] staging: vc04_services: suspend/resume cleanup Date: Fri, 24 Jan 2020 15:45:54 +0100 Message-Id: <20200124144617.2213-1-nsaenzjulienne@suse.de> X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200124_064632_491355_C1078A2D X-CRM114-Status: GOOD ( 10.32 ) X-Spam-Score: -2.3 (--) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (-2.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [195.135.220.15 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [195.135.220.15 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Nicolas Saenz Julienne , bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org While in the process of preparing vchiq to support the Raspberry Pi 4, I stumbled upon a bunch of dead code in it. Which this series deletes. Ultimately the idea is to clean up vchiq_bcm2835_arm.c up to a point where it'll be easy to join it with vchiq_arm.c, which IIRC the TODO file states, should be the sole responsible for platform code. With this we'll be able to introduce RPi4's functionality in a cleaner way. Overall it's a 500 line clean up, I tried to keep the patches as small and manageable as possible, but I'd be happy to squash them if you prefer it that way. This was tested on a RPi3-B using the camera and HDMI audio and vchiq_test app. --- Nicolas Saenz Julienne (22): staging: vc04_services: Remove unused variables in struct vchiq_arm_state staging: vc04_services: Get rid of resume_blocked in struct vchiq_arm_state staging: vc04_services: Get rid of resume_blocker completion in struct vchiq_arm_state staging: vc04_services: get rid of blocked_blocker completion in struct vchiq_arm_state staging: vc04_services: Delete blocked_count in struct vchiq_arm_state staging: vc04_services: get rid of vchiq_platform_use_suspend_timer() staging: vc04_services: Get rid of vchiq_platform_paused/resumed() staging: vc04_services: Get rid of vchiq_platform_suspend/resume() staging: vc04_services: Get rid of vchiq_platform_videocore_wanted() staging: vc04_services: Get rid of vchiq_platform_handle_timeout() staging: vc04_services: Get rid of vchiq_on_remote_use_active() staging: vc04_services: Get rid of vchiq_arm_vcsuspend() staging: vc04_services: Get rid of vchiq_check_resume() staging: vc04_services: Delete vc_suspend_complete completion staging: vc04_services: Get rid of unused suspend/resume states staging: vc04_services: Get rid of USE_TYPE_SERVICE_NO_RESUME staging: vc04_services: Delete vchiq_platform_check_suspend() staging: vc04_services: Get of even more suspend/resume states staging: vc04_services: Get rid of vc_suspend_state in struct vchiq_arm_state staging: vc04_services: Get rid of vchiq_arm_vcresume()'s signature staging: vc04_services: Get rid of the rest of suspend/resume state handling staging: vc04_services: vchiq_arm: Get rid of unused defines .../interface/vchiq_arm/vchiq_2835_arm.c | 43 -- .../interface/vchiq_arm/vchiq_arm.c | 496 +----------------- .../interface/vchiq_arm/vchiq_arm.h | 81 +-- .../interface/vchiq_arm/vchiq_core.c | 16 - .../interface/vchiq_arm/vchiq_core.h | 15 - 5 files changed, 11 insertions(+), 640 deletions(-)