Loading drivers/bus/mhi/controllers/mhi_qcom.c +4 −0 Original line number Diff line number Diff line Loading @@ -770,6 +770,10 @@ static struct mhi_controller *mhi_register_controller(struct pci_dev *pci_dev) mhi_cntrl->iova_start = memblock_start_of_DRAM(); mhi_cntrl->iova_stop = memblock_end_of_DRAM(); /* setup host support for SFR retreival */ if (of_property_read_bool(of_node, "mhi,sfr-support")) mhi_cntrl->sfr_len = MHI_MAX_SFR_LEN; of_node = of_parse_phandle(mhi_cntrl->of_node, "qcom,iommu-group", 0); if (of_node) { use_s1 = true; Loading drivers/bus/mhi/controllers/mhi_qcom.h +2 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,8 @@ #define REMOTE_TIME_REMAINDER_US(x) (REMOTE_TICKS_TO_US((x)) % \ (REMOTE_TICKS_TO_SEC((x)) * 1000000ULL)) #define MHI_MAX_SFR_LEN (256) extern const char * const mhi_ee_str[MHI_EE_MAX]; #define TO_MHI_EXEC_STR(ee) (ee >= MHI_EE_MAX ? "INVALID_EE" : mhi_ee_str[ee]) Loading Loading
drivers/bus/mhi/controllers/mhi_qcom.c +4 −0 Original line number Diff line number Diff line Loading @@ -770,6 +770,10 @@ static struct mhi_controller *mhi_register_controller(struct pci_dev *pci_dev) mhi_cntrl->iova_start = memblock_start_of_DRAM(); mhi_cntrl->iova_stop = memblock_end_of_DRAM(); /* setup host support for SFR retreival */ if (of_property_read_bool(of_node, "mhi,sfr-support")) mhi_cntrl->sfr_len = MHI_MAX_SFR_LEN; of_node = of_parse_phandle(mhi_cntrl->of_node, "qcom,iommu-group", 0); if (of_node) { use_s1 = true; Loading
drivers/bus/mhi/controllers/mhi_qcom.h +2 −0 Original line number Diff line number Diff line Loading @@ -30,6 +30,8 @@ #define REMOTE_TIME_REMAINDER_US(x) (REMOTE_TICKS_TO_US((x)) % \ (REMOTE_TICKS_TO_SEC((x)) * 1000000ULL)) #define MHI_MAX_SFR_LEN (256) extern const char * const mhi_ee_str[MHI_EE_MAX]; #define TO_MHI_EXEC_STR(ee) (ee >= MHI_EE_MAX ? "INVALID_EE" : mhi_ee_str[ee]) Loading