From patchwork Mon Nov 13 14:07:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 13454035 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 F2331C4332F for ; Mon, 13 Nov 2023 14:08:39 +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:References:In-Reply-To: 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: List-Owner; bh=BExVo6F9c/Qh+wZSALaYAEy4CtSQahRt9P2e53HsS6A=; b=Ila/kn3Oifl8Nr FSOYvbzS5u2TSNsbwetVQllgrcKqakalAwZ4MtcmU+skFBLRNlNfIqpguqTaEkVqsG0KyZomDMML1 rBelZtDZp9nHg/ePmIKuyArVVeVMmhF24MFWXIIQmWiLcqkf3omaWlHaZ1qaHfCg1gWMG//wm9r+e gMIJPDoWzI0rnLc3wvKTrYjNUHW3UPzjibIMvYG+LT72lYecnR/fp0GtB3SnmsqcaeZacLOgsijQd Vz71R93cK5KIcOnkP3FwCwrmnCeDQh1VBqgdG90mV/d+macCu0Sh+/AsrR7lByZhuczyWkx+hgPMP YIvLcpYUcT6s9iEbAetw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r2Xbo-00E6mv-09; Mon, 13 Nov 2023 14:08:12 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r2Xbl-00E6mX-1O; Mon, 13 Nov 2023 14:08:10 +0000 Received: from umang.jain (unknown [103.86.18.179]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 615B429A; Mon, 13 Nov 2023 15:07:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1699884462; bh=0lpguXFbz+BKP5/xOg3wKVbLHMvejhbyqPq3tWfOpfo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vw8320/h6jsPmLMJaAydytdZvVXuYaR/TGM5BFP5aAcaHF2GVxAPsBNFBwSk65OoD H2c6K3n7ZzcJ9HgTa30mR4JrkQB9cCHtl+HGCLtVMSdLosVIBXglhXXHlXM6ZkQz7c E8um6fIzYKEZNvgfksMTt8Wxl6LNxiVkBZalm7/g= From: Umang Jain To: linux-media@vger.kernel.org, kernel-list@raspberrypi.com, linux-kernel@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-staging@lists.linux.dev Cc: Dave Stevenson , Laurent Pinchart , "Ricardo B . Marliere" , Dan Carpenter , Stefan Wahren , Umang Jain Subject: [PATCH] fixup! staging: vc04_services: bcm2835-isp: Add a more complex ISP processing component Date: Mon, 13 Nov 2023 09:07:55 -0500 Message-ID: <20231113140755.425365-1-umang.jain@ideasonboard.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231109210309.638594-11-umang.jain@ideasonboard.com> References: <20231109210309.638594-11-umang.jain@ideasonboard.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231113_060809_607332_4069C442 X-CRM114-Status: UNSURE ( 7.92 ) 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 Setup DMA Mask --- I realised while (re)creating the test branches (sent in reply to the cover letter), I missed to squash this hunk in "staging: vc04_services: bcm2835-isp: Add a more complex ISP processing component" before sending out the series. Sending it as a fixup! for now. --- .../staging/vc04_services/bcm2835-isp/bcm2835-v4l2-isp.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/staging/vc04_services/bcm2835-isp/bcm2835-v4l2-isp.c b/drivers/staging/vc04_services/bcm2835-isp/bcm2835-v4l2-isp.c index 316d35d5f19d..4a23f9feb6e4 100644 --- a/drivers/staging/vc04_services/bcm2835-isp/bcm2835-v4l2-isp.c +++ b/drivers/staging/vc04_services/bcm2835-isp/bcm2835-v4l2-isp.c @@ -1774,6 +1774,12 @@ static int bcm2835_isp_probe(struct vchiq_device *device) unsigned int i; int ret; + ret = dma_set_mask_and_coherent(&device->dev, DMA_BIT_MASK(32)); + if (ret) { + dev_err(&device->dev, "dma_set_mask_and_coherent failed: %d\n", ret); + return ret; + } + bcm2835_isp_instances = devm_kzalloc(&device->dev, sizeof(bcm2835_isp_instances) * BCM2835_ISP_NUM_INSTANCES,