public inbox for patches@lists.linux.dev
 help / color / mirror / Atom feed
* [PATCH 0/2] regmap: Redo fixes for raw I/O length restrictions
@ 2023-07-12 11:16 Mark Brown
  2023-07-12 11:16 ` [PATCH 1/2] regmap: Drop initial version of maximum transfer length fixes Mark Brown
  2023-07-12 11:16 ` [PATCH 2/2] regmap: Account for register length in SMBus I/O limits Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Mark Brown @ 2023-07-12 11:16 UTC (permalink / raw)
  To: Ansuel Smith, Jim Wylder, Xu Yilun, matthew.gerlach, Mark Brown; +Cc: stable

During the v6.4 release there was an attempt to address the fact that
the specification of maximum I/O sizes for raw buses in the core does
not take account of the register or pad bits in the maxium length.
After this was merged it was realised that there are number of custom
bus implementations in drivers which were relying on the prior behavior
in various ways.

This should be factored out into the core but that will require
coordination with all the buses involved so let's fall back to the
original interface and add the accounting to the I2C bus where the
omission was originally observed.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
Mark Brown (2):
      regmap: Drop initial version of maximum transfer length fixes
      regmap: Account for register length in SMBus I/O limits

 drivers/base/regmap/regmap-i2c.c      | 8 ++++----
 drivers/base/regmap/regmap-spi-avmm.c | 2 +-
 drivers/base/regmap/regmap.c          | 6 ++----
 3 files changed, 7 insertions(+), 9 deletions(-)
---
base-commit: 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
change-id: 20230708-regmap-max-transfer-dadeb827143f

Best regards,
-- 
Mark Brown <broonie@kernel.org>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-07-15 11:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-12 11:16 [PATCH 0/2] regmap: Redo fixes for raw I/O length restrictions Mark Brown
2023-07-12 11:16 ` [PATCH 1/2] regmap: Drop initial version of maximum transfer length fixes Mark Brown
2023-07-12 11:16 ` [PATCH 2/2] regmap: Account for register length in SMBus I/O limits Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox