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-next>] [day] [month] [year] [list]
Message-ID: <20250212100012.33001-1-angelogioacchino.delregno@collabora.com>
Date: Wed, 12 Feb 2025 11:00:04 +0100
From: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
To: matthias.bgg@...il.com
Cc: angelogioacchino.delregno@...labora.com,
	shawn.sung@...iatek.com,
	fparent@...libre.com,
	linux-kernel@...r.kernel.org,
	linux-arm-kernel@...ts.infradead.org,
	linux-mediatek@...ts.infradead.org,
	pablo.sun@...iatek.com,
	kernel@...labora.com
Subject: [PATCH v1 0/8] MediaTek mmsys/mutex fixes and improvements

This series adds the missing DPI1 SOF/EOF to the MT8188 mutex tables,
required to support output through DPI1->HDMI Transmitter, and also
adds a few fixes and improvements to the mtk-mmsys driver and tables
for all SoCs.
For MT8188, in MMSYS, this adds the DSC path for the display
controller, and fixes the current DPI1 one to actually do something
meaningful... and speaking of mmsys....

In particular, since I've found multiple basic mistakes in the mmsys
tables for more than one SoC, I've identified a strong need to do
something to prevent that from happening again in the future.

That was done by adding a macro that performs a compile time check
to make sure that the in/out selection bits do actually fit in the
register mask, and converting all of the current mmsys drivers to
use it (because pre-existing code is usually taken as reference to
write new one... hopefully!!!!!).

Of course, the fixes that I performed to the MT8167/MT8365 are
relative to issues found while converting their mmsys tables to
the new macro... :-)

AngeloGioacchino Del Regno (8):
  soc: mediatek: mtk-mutex: Add DPI1 SOF/EOF to MT8188 mutex tables
  soc: mediatek: mtk-mmsys: Fix MT8188 VDO1 DPI1 output selection
  soc: mediatek: mtk-mmsys: Add compile time check for mmsys routes
  soc: mediatek: mt8188-mmsys: Migrate to MMSYS_ROUTE() macro
  soc: mediatek: mt8167-mmsys: Fix missing regval in all entries
  soc: mediatek: mt8365-mmsys: Fix routing table masks and values
  soc: mediatek: mmsys: Migrate all tables to MMSYS_ROUTE() macro
  soc: mediatek: mt8188-mmsys: Add support for DSC on VDO0

 drivers/soc/mediatek/mt8167-mmsys.h |  31 +-
 drivers/soc/mediatek/mt8173-mmsys.h |  99 ++---
 drivers/soc/mediatek/mt8183-mmsys.h |  50 +--
 drivers/soc/mediatek/mt8186-mmsys.h |  88 ++--
 drivers/soc/mediatek/mt8188-mmsys.h | 266 +++++-------
 drivers/soc/mediatek/mt8192-mmsys.h |  71 ++--
 drivers/soc/mediatek/mt8195-mmsys.h | 632 ++++++++++++----------------
 drivers/soc/mediatek/mt8365-mmsys.h |  84 ++--
 drivers/soc/mediatek/mtk-mmsys.h    |  14 +
 drivers/soc/mediatek/mtk-mutex.c    |   6 +
 10 files changed, 581 insertions(+), 760 deletions(-)

-- 
2.48.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ