common.c (3c19d5ada1bec8b97119215298df7669d3ffb3db) | common.c (b866cc2199d6a6cdcefe4acfe4cfca3ac3c6d38e) |
---|---|
1/* 2 * Copyright 2016,2017 IBM Corporation. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 7 * 2 of the License, or (at your option) any later version. 8 */ --- 820 unchanged lines hidden (view full) --- 829 return; 830 irq_set_handler_data(virq, NULL); 831 xive_cleanup_irq_data(xd); 832 kfree(xd); 833} 834 835#ifdef CONFIG_SMP 836 | 1/* 2 * Copyright 2016,2017 IBM Corporation. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation; either version 7 * 2 of the License, or (at your option) any later version. 8 */ --- 820 unchanged lines hidden (view full) --- 829 return; 830 irq_set_handler_data(virq, NULL); 831 xive_cleanup_irq_data(xd); 832 kfree(xd); 833} 834 835#ifdef CONFIG_SMP 836 |
837static void xive_cause_ipi(int cpu, unsigned long msg) | 837static void xive_cause_ipi(int cpu) |
838{ 839 struct xive_cpu *xc; 840 struct xive_irq_data *xd; 841 842 xc = per_cpu(xive_cpu, cpu); 843 | 838{ 839 struct xive_cpu *xc; 840 struct xive_irq_data *xd; 841 842 xc = per_cpu(xive_cpu, cpu); 843 |
844 DBG_VERBOSE("IPI msg#%ld CPU %d -> %d (HW IRQ 0x%x)\n", 845 msg, smp_processor_id(), cpu, xc->hw_ipi); | 844 DBG_VERBOSE("IPI CPU %d -> %d (HW IRQ 0x%x)\n", 845 smp_processor_id(), cpu, xc->hw_ipi); |
846 847 xd = &xc->ipi_data; 848 if (WARN_ON(!xd->trig_mmio)) 849 return; 850 out_be64(xd->trig_mmio, 0); 851} 852 853static irqreturn_t xive_muxed_ipi_action(int irq, void *dev_id) --- 449 unchanged lines hidden --- | 846 847 xd = &xc->ipi_data; 848 if (WARN_ON(!xd->trig_mmio)) 849 return; 850 out_be64(xd->trig_mmio, 0); 851} 852 853static irqreturn_t xive_muxed_ipi_action(int irq, void *dev_id) --- 449 unchanged lines hidden --- |