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: <fba0b9ec-744b-4b8f-acdb-becb7d14ee93@sirena.org.uk>
Date: Tue, 4 Jun 2024 12:50:11 +0100
From: Mark Brown <broonie@...nel.org>
To: Andy Shevchenko <andy.shevchenko@...il.com>
Cc: Jim Wylder <jwylder@...gle.com>,
	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	"Rafael J. Wysocki" <rafael@...nel.org>, kernel-team@...roid.com,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] regmap-i2c: Subtract reg size from max_write

On Tue, Jun 04, 2024 at 12:15:33PM +0300, Andy Shevchenko wrote:

> The only difference AFAICS is the case 2.
> Do we need to patch regmap SPI for that?

> I think SPI just works since we don't really have devices that use
> less than 8 bits per register, and hence we never enter into such a

It's not a practical issue as far as I'm aware, I don't think anyone
actually uses weird padding like that but in principal I think so.

> case (while I2C is naturally using 7-bit addresses).

Realistically not, the 8th bit is a read/write bit.

Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ