Re: [PATCH v3 5/6] bus: mhi: pci_generic: Set register access length for MHI driver

From: Hemant Kumar
Date: Wed May 05 2021 - 20:14:36 EST




On 5/5/21 10:08 AM, Bhaumik Bhatt wrote:
MHI driver requires register space length to add range checks and
prevent memory region accesses outside of that for MMIO space.
Set it from the PCI generic controller driver before registering
the MHI controller.

Signed-off-by: Bhaumik Bhatt <bbhatt@xxxxxxxxxxxxxx>

Reviewed-by: Hemant Kumar <hemantk@xxxxxxxxxxxxxx>

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project