crypto: msm: Add support for LPAE in crypto drivers for APQ8084
change physical address type to support LPAE for crypro drivers on APQ8084 Change-Id: I2a85c5db9d131c3be469a5f6b322bc3c4a317400 Signed-off-by: Zhen Kong <zkong@codeaurora.org>
This commit is contained in:
parent
4bb26321d6
commit
07642fbca1
|
@ -2551,9 +2551,9 @@ static int qce_sps_init_ep_conn(struct qce_device *pce_dev,
|
|||
sps_event->xfer_done = NULL;
|
||||
sps_event->user = (void *)pce_dev;
|
||||
|
||||
pr_debug("success, %s : pipe_handle=0x%x, desc fifo base (phy) = 0x%x\n",
|
||||
pr_debug("success, %s : pipe_handle=0x%x, desc fifo base (phy) = 0x%pa\n",
|
||||
is_producer ? "PRODUCER(RX/OUT)" : "CONSUMER(TX/IN)",
|
||||
(u32)sps_pipe_info, sps_connect_info->desc.phys_base);
|
||||
(u32)sps_pipe_info, &sps_connect_info->desc.phys_base);
|
||||
goto out;
|
||||
|
||||
sps_connect_err:
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#define GET_VIRT_ADDR(x) \
|
||||
((uint32_t)pce_dev->coh_vmem + \
|
||||
((uint32_t)x - pce_dev->coh_pmem))
|
||||
((uint32_t)x - (uint32_t)pce_dev->coh_pmem))
|
||||
#define GET_PHYS_ADDR(x) \
|
||||
(pce_dev->coh_pmem + (x - (uint32_t)pce_dev->coh_vmem))
|
||||
|
||||
|
|
Loading…
Reference in New Issue