lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z9AN_lo5T5VfshT9@kekkonen.localdomain>
Date: Tue, 11 Mar 2025 10:18:38 +0000
From: Sakari Ailus <sakari.ailus@...ux.intel.com>
To: Sebastian LaVine <slavine@...mbedded.com>
Cc: Laurent Pinchart <laurent.pinchart@...asonboard.com>,
	devicetree@...r.kernel.org, imx@...ts.linux.dev,
	linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
	linux-media@...r.kernel.org,
	NĂ­colas F. R. A. Prado <nfraprado@...labora.com>,
	Abel Vesa <abel.vesa@...aro.org>,
	Achath Vaishnav <vaishnav.a@...com>,
	AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>,
	Ard Biesheuvel <ardb@...nel.org>,
	Benjamin Mugnier <benjamin.mugnier@...s.st.com>,
	Biju Das <biju.das.jz@...renesas.com>,
	Bjorn Andersson <quic_bjorande@...cinc.com>,
	Catalin Marinas <catalin.marinas@....com>,
	Conor Dooley <conor+dt@...nel.org>,
	Dmitry Baryshkov <dmitry.baryshkov@...aro.org>,
	Elinor Montmasson <elinor.montmasson@...oirfairelinux.com>,
	Fabio Estevam <festevam@...il.com>,
	Geert Uytterhoeven <geert+renesas@...der.be>,
	Hans Verkuil <hverkuil@...all.nl>,
	Javier Carrasco <javier.carrasco@...fvision.net>,
	Jianzhong Xu <xuj@...com>,
	Julien Massot <julien.massot@...labora.com>,
	Kieran Bingham <kieran.bingham@...asonboard.com>,
	Kory Maincent <kory.maincent@...tlin.com>,
	Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
	Mauro Carvalho Chehab <mchehab@...nel.org>,
	Mikhail Rudenko <mike.rudenko@...il.com>,
	Nishanth Menon <nm@...com>,
	Pengutronix Kernel Team <kernel@...gutronix.de>,
	Rob Herring <robh@...nel.org>,
	Sascha Hauer <s.hauer@...gutronix.de>,
	Shawn Guo <shawnguo@...nel.org>,
	Stuart Burtner <sburtner@...mbedded.com>,
	Tero Kristo <kristo@...nel.org>, Thakkar Devarsh <devarsht@...com>,
	Tomi Valkeinen <tomi.valkeinen@...asonboard.com>,
	Umang Jain <umang.jain@...asonboard.com>,
	Vignesh Raghavendra <vigneshr@...com>,
	Will Deacon <will@...nel.org>, Zhi Mao <zhi.mao@...iatek.com>
Subject: Re: [PATCH 2/4] media: i2c: Add driver for Sony IMX728

Hi Sebastian,

On Mon, Mar 10, 2025 at 03:39:02PM -0400, Sebastian LaVine wrote:
> On Thu Feb 13, 2025 at 5:19 AM EST, Laurent Pinchart wrote:
> >
> > ...
> >
> >> +static const struct cci_reg_sequence imx728_wdr_12bit_3856x2176[] = {
> >
> > This table is way too big, with over 8000 entries. Some are even
> > duplicated, with identical or different values for the same register. It
> > will take more than a second at 400kHz to program this.
> >
> > At the very least I would expect a way to compact the table and make use
> > of I2C register address auto-increment. Default power-up values should
> > also likely be just dropped.
> >
> > I haven't checked in details, but doesn't this table also contain tuning
> > data for your specific camera ?
> >
> 
> In my testing, it takes around two seconds to write this table to the sensor.
> 
> I can investigate how to condense the table further, though the
> registers for this sensor are more complex than just writing values to
> addresses. The meaning of certain address writes depend on previous
> writes -- thus the "duplicated" writes you mentioned.
> 
> I do not believe this table contains tuning information for our camera
> module in particular.

The amount of the data is significantly higher than what sensors mostly
have for configuring the analogue processing and does not look like
executable code either (I've seen that, too).

Any idea what that data is?

-- 
Kind regards,

Sakari Ailus

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ