Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 07642fbc authored by Zhen Kong's avatar Zhen Kong
Browse files

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: default avatarZhen Kong <zkong@codeaurora.org>
parent 4bb26321
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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:
+1 −1
Original line number Diff line number Diff line
@@ -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))