Loading drivers/rpmsg/rpm-smd.c +10 −1 Original line number Diff line number Diff line Loading @@ -72,6 +72,15 @@ k = get_next_kvp(k)) #ifdef CONFIG_ARM #define readq_relaxed(a) ({ \ u64 val = readl_relaxed((a) + 4); \ val <<= 32; \ val |= readl_relaxed((a)); \ val; \ }) #endif /* Debug Definitions */ enum { MSM_RPM_LOG_REQUEST_PRETTY = BIT(0), Loading Loading @@ -1560,7 +1569,7 @@ static int qcom_smd_rpm_probe(struct rpmsg_device *rpdev) int ret = 0; int irq; void __iomem *reg_base; uint32_t version = V0_PROTOCOL_VERSION; /* set to default v0 format */ uint64_t version = V0_PROTOCOL_VERSION; /* set to default v0 format */ p = of_find_compatible_node(NULL, NULL, "qcom,rpm-smd"); if (!p) { Loading drivers/soc/qcom/rpm_master_stat.c +9 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,15 @@ #define GET_FIELD(a) ((strnstr(#a, ".", 80) + 1)) #ifdef CONFIG_ARM #define readq_relaxed(a) ({ \ u64 val = readl_relaxed((a) + 4); \ val <<= 32; \ val |= readl_relaxed((a)); \ val; \ }) #endif struct msm_rpm_master_stats_platform_data { phys_addr_t phys_addr_base; u32 phys_size; Loading Loading
drivers/rpmsg/rpm-smd.c +10 −1 Original line number Diff line number Diff line Loading @@ -72,6 +72,15 @@ k = get_next_kvp(k)) #ifdef CONFIG_ARM #define readq_relaxed(a) ({ \ u64 val = readl_relaxed((a) + 4); \ val <<= 32; \ val |= readl_relaxed((a)); \ val; \ }) #endif /* Debug Definitions */ enum { MSM_RPM_LOG_REQUEST_PRETTY = BIT(0), Loading Loading @@ -1560,7 +1569,7 @@ static int qcom_smd_rpm_probe(struct rpmsg_device *rpdev) int ret = 0; int irq; void __iomem *reg_base; uint32_t version = V0_PROTOCOL_VERSION; /* set to default v0 format */ uint64_t version = V0_PROTOCOL_VERSION; /* set to default v0 format */ p = of_find_compatible_node(NULL, NULL, "qcom,rpm-smd"); if (!p) { Loading
drivers/soc/qcom/rpm_master_stat.c +9 −0 Original line number Diff line number Diff line Loading @@ -37,6 +37,15 @@ #define GET_FIELD(a) ((strnstr(#a, ".", 80) + 1)) #ifdef CONFIG_ARM #define readq_relaxed(a) ({ \ u64 val = readl_relaxed((a) + 4); \ val <<= 32; \ val |= readl_relaxed((a)); \ val; \ }) #endif struct msm_rpm_master_stats_platform_data { phys_addr_t phys_addr_base; u32 phys_size; Loading