On 2/7/24 08:20, del...@kernel.org wrote:
From: Helge Deller<del...@gmx.de>

The Astro/Elroy chip can work in either Hard-Fail or Soft-Fail mode.

Hard fail means the system bus will send an HPMC (=crash) to the
processor, soft fail means the system bus will ignore timeouts of
MMIO-reads or MMIO-writes and return -1ULL.

The HF mode is controlled by a bit in the status register and is usually
programmed by the OS. Return the corresponing values based on the current
value of that bit.

Signed-off-by: Helge Deller<del...@gmx.de>
---
  hw/pci-host/astro.c         | 23 +++++++++++++++++------
  include/hw/pci-host/astro.h |  2 ++
  2 files changed, 19 insertions(+), 6 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to