]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Revert "accel/ivpu: Use cached buffers for FW loading"
authorStanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Tue, 17 Oct 2023 12:13:53 +0000 (14:13 +0200)
committerStanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Thu, 19 Oct 2023 04:51:51 +0000 (06:51 +0200)
commit610b5d219d1ccac8064556310cc0e62e3c202389
tree0d8f1d258df4ed0f8ec92a37a30ed06abe675765
parent828d63042aeca132a93938b98dc7f1a6c97bbc51
Revert "accel/ivpu: Use cached buffers for FW loading"

This reverts commit 645d694559cab36fe6a57c717efcfa27d9321396.

The commit cause issues with memory access from the device side.
Switch back to write-combined memory mappings until the issues
will be properly addressed.

Add extra wmb() needed when boot_params->save_restore_ret_address() is
modified.

Reviewed-by: Karol Wachowski <karol.wachowski@linux.intel.com>
Signed-off-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231017121353.532466-1-stanislaw.gruszka@linux.intel.com
drivers/accel/ivpu/ivpu_fw.c
drivers/accel/ivpu/ivpu_gem.h