diff options
| author | Karthik Poosa <karthik.poosa@intel.com> | 2026-10-15 12:44:21 +0530 |
|---|---|---|
| committer | Dave Airlie <airlied@redhat.com> | 2026-11-09 19:17:55 +1000 |
| commit | d37dcdaa99b18995d74c2381b103e308f21e2565 (patch) | |
| tree | 5291de59ed5cbe2a18196d678da56d36693be80e /rust/kernel/alloc/kvec/errors.rs | |
| parent | c9d8ef7f6835ddfca8259c322804038799be5641 (diff) | |
drm/xe/hwmon: Fix thermal sensor data handling
Read all required thermal groups in get_mc_temp() and store them in a
dword-aligned buffer, avoiding unaligned pcode accesses and ensuring
correct memory controller temperature reporting.
Store the pcode thermal data and thermal limit words as little-endian,
so their per-byte views match the hardware layout on big-endian hosts.
Fixes: 3a0cb885e111 ("drm/xe/hwmon: Expose memory controller temperature")
Fixes: c332fba805d6 ("drm/xe/hwmon: Expose temperature limits")
Signed-off-by: Karthik Poosa <karthik.poosa@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patch.msgid.link/20261015071434.1063785-4-karthik.poosa@intel.com
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
(cherry picked from commit ca6e33701de8676118f1d039e0c00839d7de13c6)
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'rust/kernel/alloc/kvec/errors.rs')
0 files changed, 0 insertions, 0 deletions
