diff options
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/realtek/patches-5.10/319-irqchip-irq-realtek-rtl-fix-VPE-affinity.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/realtek/patches-5.10/319-irqchip-irq-realtek-rtl-fix-VPE-affinity.patch b/target/linux/realtek/patches-5.10/319-irqchip-irq-realtek-rtl-fix-VPE-affinity.patch index 0f4ab38d4d..0ecff843fb 100644 --- a/target/linux/realtek/patches-5.10/319-irqchip-irq-realtek-rtl-fix-VPE-affinity.patch +++ b/target/linux/realtek/patches-5.10/319-irqchip-irq-realtek-rtl-fix-VPE-affinity.patch @@ -42,7 +42,7 @@ #define IRR_OFFSET(idx) (4 * (3 - (idx * 4) / 32)) #define IRR_SHIFT(idx) ((idx * 4) % 32) -@@ -65,19 +84,33 @@ static inline void write_irr(void __iomem *irr0, int idx, u32 value) +@@ -65,19 +84,33 @@ static inline void write_irr(void __iome writel(irr, irr0 + offset); } @@ -82,7 +82,7 @@ raw_spin_unlock_irqrestore(&irq_lock, flags); } -@@ -85,16 +118,12 @@ static void realtek_ictl_unmask_irq(struct irq_data *i) +@@ -85,16 +118,12 @@ static void realtek_ictl_unmask_irq(stru static void realtek_ictl_mask_irq(struct irq_data *i) { unsigned long flags; @@ -101,7 +101,7 @@ raw_spin_unlock_irqrestore(&irq_lock, flags); } -@@ -116,11 +145,17 @@ static int __maybe_unused realtek_ictl_irq_affinity(struct irq_data *i, +@@ -116,11 +145,17 @@ static int __maybe_unused realtek_ictl_i cpumask_and(&cpu_enable, &cpu_configure, dest); cpumask_andnot(&cpu_disable, &cpu_configure, dest); @@ -121,7 +121,7 @@ irq_data_update_effective_affinity(i, &cpu_enable); -@@ -149,6 +184,7 @@ static int intc_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw) +@@ -149,6 +184,7 @@ static int intc_map(struct irq_domain *d output->child_mask |= BIT(hw); write_irr(REG(RTL_ICTL_IRR0, 0), hw, output->output_index + 1); @@ -129,7 +129,7 @@ raw_spin_unlock_irqrestore(&irq_lock, flags); -@@ -279,9 +315,11 @@ static int __init realtek_rtl_of_init(struct device_node *node, struct device_no +@@ -279,9 +315,11 @@ static int __init realtek_rtl_of_init(st cpumask_set_cpu(cpu, &realtek_ictl_cpu_configurable); /* Disable all cascaded interrupts and clear routing */ |