From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CD9E1C35242 for ; Fri, 24 Jan 2020 14:47:07 +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 A559920838 for ; Fri, 24 Jan 2020 14:47:07 +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 A559920838 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+infradead-linux-arm-kernel=archiver.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 1iv0Eg-0007z6-VE; Fri, 24 Jan 2020 14:47:03 +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-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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.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(-) -- 2.25.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel