Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

clk: qcom: ipq5424: remove apss_dbg clock

The gcc_apss_dbg clk is access protected by trust zone, and accessing
it results in a kernel crash. Therefore remove the gcc_apss_dbg_clk
from the gcc driver.

Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
Link: https://lore.kernel.org/r/20241217113909.3522305-2-quic_mmanikan@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Manikanta Mylavarapu and committed by
Bjorn Andersson
5051b61d bf6aa2d6

-19
-19
drivers/clk/qcom/gcc-ipq5424.c
··· 1097 1097 }, 1098 1098 }; 1099 1099 1100 - static struct clk_branch gcc_apss_dbg_clk = { 1101 - .halt_reg = 0x2402c, 1102 - .halt_check = BRANCH_HALT_VOTED, 1103 - .clkr = { 1104 - .enable_reg = 0x2402c, 1105 - .enable_mask = BIT(0), 1106 - .hw.init = &(const struct clk_init_data) { 1107 - .name = "gcc_apss_dbg_clk", 1108 - .parent_hws = (const struct clk_hw*[]) { 1109 - &gcc_qdss_dap_sync_clk_src.hw 1110 - }, 1111 - .num_parents = 1, 1112 - .flags = CLK_SET_RATE_PARENT, 1113 - .ops = &clk_branch2_ops, 1114 - }, 1115 - }, 1116 - }; 1117 - 1118 1100 static struct clk_branch gcc_cnoc_pcie0_1lane_s_clk = { 1119 1101 .halt_reg = 0x31088, 1120 1102 .halt_check = BRANCH_HALT, ··· 2767 2785 static struct clk_regmap *gcc_ipq5424_clocks[] = { 2768 2786 [GCC_ADSS_PWM_CLK] = &gcc_adss_pwm_clk.clkr, 2769 2787 [GCC_ADSS_PWM_CLK_SRC] = &gcc_adss_pwm_clk_src.clkr, 2770 - [GCC_APSS_DBG_CLK] = &gcc_apss_dbg_clk.clkr, 2771 2788 [GCC_CNOC_PCIE0_1LANE_S_CLK] = &gcc_cnoc_pcie0_1lane_s_clk.clkr, 2772 2789 [GCC_CNOC_PCIE1_1LANE_S_CLK] = &gcc_cnoc_pcie1_1lane_s_clk.clkr, 2773 2790 [GCC_CNOC_PCIE2_2LANE_S_CLK] = &gcc_cnoc_pcie2_2lane_s_clk.clkr,