Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp3432608rwo; Mon, 24 Jul 2023 10:54:38 -0700 (PDT) X-Google-Smtp-Source: APBJJlEONQtRrw316PP2BZ7Fr4xtnkIrhxETEV7VxNk+dD17PoIogQ6bl5eJvkOUqLLG1RIFZCFE X-Received: by 2002:a9d:7c8d:0:b0:6b7:57aa:45cc with SMTP id q13-20020a9d7c8d000000b006b757aa45ccmr8552066otn.15.1690221278220; Mon, 24 Jul 2023 10:54:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690221278; cv=none; d=google.com; s=arc-20160816; b=ICqZpHvjLwBw6fVENUZaGjJbpmKrWE87GANiTZobLqJY6n2sLEOEkYKyt0saO8SX2P d6FB5skPx3wQUJdJFGmXYs6NCxWMGs1weVmqC2gibzZObqpt27LyYwGloYtI+9VGjfYC lLmaX5fT04BJo31E4admJWXdGGodk4jr3W/dh0MWZYScaiDxJgkZKjJZF4VtKwWFn8uJ tyzPXN+8CfiLpXIOzoY95R92Y1ciu+tRrEVfoW85KO+BFrqB7tcsVTn2OSFSRgO37AXe KLxZfct8NsBDFcxyBVfFjVYrNXoDyI/8X5ZeYwYFoiwa+IuTlwNaoIZ38eYicsREB6Ng +VfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Hj6jkVdsQF2M/f4/hlW2OmMGpUOchKu7iVlTA7WC/+0=; fh=4DWdvS/HJdfmDM1YHbqXpxdhQQQiYx+yNrVolrLN1O4=; b=x7HLO523tU4t0B6lTxH0Wsk0p2hJNLOW2erG+79TE+YfoyZYq/MLJldDIVeIzf8Pl7 EYyTKdF1BBo/bbNL+MR5fCCo8T+b3qQAuQM/XR5VoNhPOv6hpxbpuCRhrhCkAqEX+1hQ S9jvGm/B2ecu1Ify15war1IYcSPvxL2MH0ja84rNf3qG45tsVcu1fPxaGN/y6EAvqsqX uSKBJnimL0NsOw1kBstrXTLoAt8m3iZWfqfo7buVTzhjsRJYUDUM4h6hI+uBcvTXCW/u 6gobK2IorYNkUoD6+nif+7d2rMLlRiyo5Jbccz3XNOgA8f0HRYtskZ4XZptNe2DZzH3T Ip3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=DgKJbJR4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v24-20020a63f218000000b0055b1327cd9asi9555823pgh.175.2023.07.24.10.54.25; Mon, 24 Jul 2023 10:54:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=DgKJbJR4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231216AbjGXRn2 (ORCPT + 99 others); Mon, 24 Jul 2023 13:43:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229461AbjGXRn1 (ORCPT ); Mon, 24 Jul 2023 13:43:27 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A88AE8; Mon, 24 Jul 2023 10:43:26 -0700 (PDT) Received: from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi [213.243.189.158]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id AECCD735; Mon, 24 Jul 2023 19:42:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1690220546; bh=kwfmp/sqlsVQsVO7dpAssDpc5Dx/dhRaxzilZclgzQg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DgKJbJR4Zc39ihfoN4qeql+P/kgW41LZKuBQI5eTfMWwJXGBls/u80OgF8DzjLURI DPYoFUBdJIiBTVgu0+6HvejMFx5gCQ0HsQduF+1BlxRhNm3LmZaz2Wt1tnSZwTWGgG rNRMVtEUy+Bs47cKJ3ZhxOI3UTv4eujiqdT56R4A= Date: Mon, 24 Jul 2023 20:43:31 +0300 From: Laurent Pinchart To: John Paul Adrian Glaubitz Cc: Petr Tesarik , Yoshinori Sato , Rich Felker , Andy Shevchenko , Arnd Bergmann , Linus Walleij , Jacopo Mondi , Hans Verkuil , Mauro Carvalho Chehab , "open list:SUPERH" , open list , Roberto Sassu , petr@tesarici.cz, Geert Uytterhoeven Subject: Re: [PATCH v1] sh: boards: fix CEU buffer size passed to dma_declare_coherent_memory() Message-ID: <20230724174331.GD11977@pendragon.ideasonboard.com> References: <20230724120742.2187-1-petrtesarik@huaweicloud.com> <20230724171229.GC11977@pendragon.ideasonboard.com> <31ad16fe8f1435805185ba8e889512ec181a867e.camel@physik.fu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <31ad16fe8f1435805185ba8e889512ec181a867e.camel@physik.fu-berlin.de> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 On Mon, Jul 24, 2023 at 07:29:27PM +0200, John Paul Adrian Glaubitz wrote: > On Mon, 2023-07-24 at 20:12 +0300, Laurent Pinchart wrote: > > On Mon, Jul 24, 2023 at 02:07:42PM +0200, Petr Tesarik wrote: > > > From: Petr Tesarik > > > > > > In all these cases, the last argument to dma_declare_coherent_memory() is > > > the buffer end address, but the expected value should be the size of the > > > reserved region. > > > > > > Fixes: 39fb993038e1 ("media: arch: sh: ap325rxa: Use new renesas-ceu camera driver") > > > Fixes: c2f9b05fd5c1 ("media: arch: sh: ecovec: Use new renesas-ceu camera driver") > > > Fixes: f3590dc32974 ("media: arch: sh: kfr2r09: Use new renesas-ceu camera driver") > > > Fixes: 186c446f4b84 ("media: arch: sh: migor: Use new renesas-ceu camera driver") > > > Fixes: 1a3c230b4151 ("media: arch: sh: ms7724se: Use new renesas-ceu camera driver") > > > Signed-off-by: Petr Tesarik > > > > Reviewed-by: Laurent Pinchart > > > > But given that nobody noticed for 5 years, maybe we should drop > > renesas-ceu support from those boards ? Or drop the boards completely ? > > arch/sh is being maintained again, so it's save to keep these boards. At some point, we're > going to convert the architecture to using Device Trees which should reduce the maintenance > burden anyways. Keeping the architecture is fine for newer systems, but is anyone really maintaining the Renesas SH board ? -- Regards, Laurent Pinchart