[PATCH v4 0/2] Query the RSU SPT table offset to determine RSU page size

From: kah . jing . lee
Date: Wed Jul 26 2023 - 00:59:29 EST


From: Kah Jing Lee <kah.jing.lee@xxxxxxxxx>

Hi,
This patchset is to add the generic mailbox command in the svc driver
to enable the rsu driver to query spt address.
SPT0 address - lower range & SPT1 address - upper range address will be
queried in order to determine the page size of RSU, whether it is
32kB or 64kB that is supported.

Thanks,
KJ

changelog v2:
- Update the comment on svc COMMAND_MBOX_SEND_CMD
- Update the rsu mailbox cmd ret_val to use already defined ret

changelog v3:
- Check for IS_ERR on stratix10_svc_allocate_memory return

changelog v4:
- Fix checkpatch alignment issue

Radu Bacrau (1):
firmware: stratix10-rsu: query spt addresses

Teh Wen Ping (1):
firmware: stratix10-svc: Generic Mailbox Command

drivers/firmware/stratix10-rsu.c | 102 +++++++++++++++++-
drivers/firmware/stratix10-svc.c | 18 ++++
include/linux/firmware/intel/stratix10-smc.h | 25 +++++
.../firmware/intel/stratix10-svc-client.h | 5 +
4 files changed, 148 insertions(+), 2 deletions(-)


base-commit: 0b5547c51827e053cc754db47d3ec3e6c2c451d2
--
2.25.1