68f4f0b069
The ADDRSPACE_VMMIO_CONFIGURE hypercall might be implemented but does not allow the guest to nominate VMMIO regions. The current implementation bails out only if the hypercall is not implemented. If the firmware implements the hypercall but returns an insufficient permission error, it could cause ioremap() to fail on the guest. Fix this by checking against GUNYAH_ERROR_CSPACE_INSUF_RIGHTS error code. Bug: 427643547 Change-Id: I79faf8db580dca12a46d29f870b73a2af5e4cde6 Signed-off-by: Mukesh Pilaniya <quic_mpilaniy@quicinc.com>