diff options
| author | Thomas Weißschuh <linux@weissschuh.net> | 2026-04-08 20:45:50 +0200 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-04-10 08:33:08 -0700 |
| commit | 3023c050af3600bf451153335dea5e073c9a3088 (patch) | |
| tree | 2b62105eefc88013d8fe3338bc89476827d1e78d /tools/lib/python/kdoc/python_version.py | |
| parent | a7c0aaa50e40ffd8fd703d006d5a04b540b9ca92 (diff) | |
hwmon: (powerz) Avoid cacheline sharing for DMA buffer
Depending on the architecture the transfer buffer may share a cacheline
with the following mutex. As the buffer may be used for DMA, that is
problematic.
Use the high-level DMA helpers to make sure that cacheline sharing can
not happen.
Also drop the comment, as the helpers are documentation enough.
https://sashiko.dev/#/message/20260408175814.934BFC19421%40smtp.kernel.org
Fixes: 4381a36abdf1c ("hwmon: add POWER-Z driver")
Cc: stable@vger.kernel.org # ca085faabb42: dma-mapping: add __dma_from_device_group_begin()/end()
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Link: https://lore.kernel.org/r/20260408-powerz-cacheline-alias-v1-1-1254891be0dd@weissschuh.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
