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: 164494 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp1224674vqg; Mon, 13 Nov 2023 06:08:19 -0800 (PST) X-Google-Smtp-Source: AGHT+IH74CRwUKCzQcaUGPTqG9s3UQoslQognLZ5Fd5UG2BcGZIflVSFYvs7deINtNN/dOpVzF0g X-Received: by 2002:a54:4398:0:b0:3b6:a1f4:8066 with SMTP id u24-20020a544398000000b003b6a1f48066mr5721114oiv.37.1699884499168; Mon, 13 Nov 2023 06:08:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699884499; cv=none; d=google.com; s=arc-20160816; b=l5d97ZeQNuMpXcN3Vd2ypYsyWJJ5GhN4no0Rxvz1ZjzlpkKXd/kJ+KrZqQNOtifiT1 VzSHsVxSmn+cvdEE6VoBwHiH2UFq8zx2KMviWrgL0uxaOFM25GzmEbvBZ/G5Z55tn/Nh NC+NluOzEYJKA6MIcUkrAwq5C+zSGWYV4lNep1WzVZ0uVNmn8GTuJvDeQfk+5GGREcqI yOuTECUILWCSTMX6Eo1yKG5j49MLH5XoMXw2rcaRvLinYI968JEw3CfOYNyQEeWcR78O TfuvMmeS5E7ycARSsIkidcfqTUrbD8cJlPbM3INeNG+wynWz0si3euRtwIgXl5WGRUUB QOWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=UDpJlo9zR4/e1vMFlK9FEMElAWzy7pJHbiaYle69hC0=; fh=3Ue5XLy54JpeWNUfo2ucxb2Ed+AbEgu2P3XIKBkHqAo=; b=cCSbIFF8MocmMvhqmYsvV+QoYY5hIidycDcEN4/bwp0qWiKOmWFabYxNXe6xcz4JGf 78Jmi8oK4gTjOeLtCh+PDR5sQtJS/jt+o9nJebKOBffLaa1eD3/59lUQMl4ETKT/CQ7w XSx2zaWww1Nv2SFoyokSXgwO4Fbjx5eRMs8yk7AfHVpdokTaqBw6/j2XZprbMFWvIk9z elWZP8rKIdKqDr3g+8+UPU1aYf9op2SSR8jvX8jPzu//6xDonS5xtLUTAkxSyXOH+pOD CD0plDoM4eutsLYKJYigsPXXOU1wgTTsJtk3xK3HE2LBjsUKm17mpqWUeJqJAzAeGqGm /WAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b="vw8320/h"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id k13-20020a0568080e8d00b003b6d55e69e3si1949870oil.80.2023.11.13.06.08.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 06:08:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b="vw8320/h"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 3344C802D536; Mon, 13 Nov 2023 06:08:16 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229847AbjKMOIO (ORCPT + 29 others); Mon, 13 Nov 2023 09:08:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229549AbjKMOIM (ORCPT ); Mon, 13 Nov 2023 09:08:12 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 704B1D59; Mon, 13 Nov 2023 06:08:09 -0800 (PST) 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-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 13 Nov 2023 06:08:16 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782458088882569147 X-GMAIL-MSGID: 1782458088882569147 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,