kernel: bump 5.10 to 5.10.144
[openwrt/staging/hauke.git] / target / linux / realtek / patches-5.10 / 319-irqchip-irq-realtek-rtl-fix-VPE-affinity.patch
index 0f4ab38d4dc96818d9587555be12f0684c43fcb3..0ecff843fbb05eff791a75c5ca6694bf93082131 100644 (file)
@@ -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;
  
        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);
  
  
        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);
  
        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 */