mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 12:44:11 +08:00
genirq: Fix various typos in comments
Go over the IRQ subsystem source code (including irqchip drivers) and fix common typos in comments. No change in functionality intended. Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: linux-kernel@vger.kernel.org
This commit is contained in:
parent
989a4222c1
commit
c5f48c0a7a
@ -105,7 +105,7 @@ static int __init dw_apb_ictl_init(struct device_node *np,
|
|||||||
* DW IP can be configured to allow 2-64 irqs. We can determine
|
* DW IP can be configured to allow 2-64 irqs. We can determine
|
||||||
* the number of irqs supported by writing into enable register
|
* the number of irqs supported by writing into enable register
|
||||||
* and look for bits not set, as corresponding flip-flops will
|
* and look for bits not set, as corresponding flip-flops will
|
||||||
* have been removed by sythesis tool.
|
* have been removed by synthesis tool.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* mask and enable all interrupts */
|
/* mask and enable all interrupts */
|
||||||
|
@ -604,8 +604,8 @@ void gic_dist_save(struct gic_chip_data *gic)
|
|||||||
/*
|
/*
|
||||||
* Restores the GIC distributor registers during resume or when coming out of
|
* Restores the GIC distributor registers during resume or when coming out of
|
||||||
* idle. Must be called before enabling interrupts. If a level interrupt
|
* idle. Must be called before enabling interrupts. If a level interrupt
|
||||||
* that occured while the GIC was suspended is still present, it will be
|
* that occurred while the GIC was suspended is still present, it will be
|
||||||
* handled normally, but any edge interrupts that occured will not be seen by
|
* handled normally, but any edge interrupts that occurred will not be seen by
|
||||||
* the GIC and need to be handled by the platform-specific wakeup source.
|
* the GIC and need to be handled by the platform-specific wakeup source.
|
||||||
*/
|
*/
|
||||||
void gic_dist_restore(struct gic_chip_data *gic)
|
void gic_dist_restore(struct gic_chip_data *gic)
|
||||||
@ -899,7 +899,7 @@ void gic_migrate_target(unsigned int new_cpu_id)
|
|||||||
gic_cpu_map[cpu] = 1 << new_cpu_id;
|
gic_cpu_map[cpu] = 1 << new_cpu_id;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Find all the peripheral interrupts targetting the current
|
* Find all the peripheral interrupts targeting the current
|
||||||
* CPU interface and migrate them to the new CPU interface.
|
* CPU interface and migrate them to the new CPU interface.
|
||||||
* We skip DIST_TARGET 0 to 7 as they are read-only.
|
* We skip DIST_TARGET 0 to 7 as they are read-only.
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0
|
// SPDX-License-Identifier: GPL-2.0
|
||||||
/*
|
/*
|
||||||
* H8S interrupt contoller driver
|
* H8S interrupt controller driver
|
||||||
*
|
*
|
||||||
* Copyright 2015 Yoshinori Sato <ysato@users.sourceforge.jp>
|
* Copyright 2015 Yoshinori Sato <ysato@users.sourceforge.jp>
|
||||||
*/
|
*/
|
||||||
|
@ -58,7 +58,7 @@ struct s3c_irq_data {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Sructure holding the controller data
|
* Structure holding the controller data
|
||||||
* @reg_pending register holding pending irqs
|
* @reg_pending register holding pending irqs
|
||||||
* @reg_intpnd special register intpnd in main intc
|
* @reg_intpnd special register intpnd in main intc
|
||||||
* @reg_mask mask register
|
* @reg_mask mask register
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
* the association between their DT compatible string and their
|
* the association between their DT compatible string and their
|
||||||
* initialization function.
|
* initialization function.
|
||||||
*
|
*
|
||||||
* @name: name that must be unique accross all IRQCHIP_DECLARE of the
|
* @name: name that must be unique across all IRQCHIP_DECLARE of the
|
||||||
* same file.
|
* same file.
|
||||||
* @compstr: compatible string of the irqchip driver
|
* @compstr: compatible string of the irqchip driver
|
||||||
* @fn: initialization function
|
* @fn: initialization function
|
||||||
@ -30,7 +30,7 @@
|
|||||||
* This macro must be used by the different irqchip drivers to declare
|
* This macro must be used by the different irqchip drivers to declare
|
||||||
* the association between their version and their initialization function.
|
* the association between their version and their initialization function.
|
||||||
*
|
*
|
||||||
* @name: name that must be unique accross all IRQCHIP_ACPI_DECLARE of the
|
* @name: name that must be unique across all IRQCHIP_ACPI_DECLARE of the
|
||||||
* same file.
|
* same file.
|
||||||
* @subtable: Subtable to be identified in MADT
|
* @subtable: Subtable to be identified in MADT
|
||||||
* @validate: Function to be called on that subtable to check its validity.
|
* @validate: Function to be called on that subtable to check its validity.
|
||||||
|
@ -929,7 +929,7 @@ __irq_do_set_handler(struct irq_desc *desc, irq_flow_handler_t handle,
|
|||||||
break;
|
break;
|
||||||
/*
|
/*
|
||||||
* Bail out if the outer chip is not set up
|
* Bail out if the outer chip is not set up
|
||||||
* and the interrrupt supposed to be started
|
* and the interrupt supposed to be started
|
||||||
* right away.
|
* right away.
|
||||||
*/
|
*/
|
||||||
if (WARN_ON(is_chained))
|
if (WARN_ON(is_chained))
|
||||||
|
@ -56,7 +56,7 @@ int irq_reserve_ipi(struct irq_domain *domain,
|
|||||||
unsigned int next;
|
unsigned int next;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The IPI requires a seperate HW irq on each CPU. We require
|
* The IPI requires a separate HW irq on each CPU. We require
|
||||||
* that the destination mask is consecutive. If an
|
* that the destination mask is consecutive. If an
|
||||||
* implementation needs to support holes, it can reserve
|
* implementation needs to support holes, it can reserve
|
||||||
* several IPI ranges.
|
* several IPI ranges.
|
||||||
@ -172,7 +172,7 @@ irq_hw_number_t ipi_get_hwirq(unsigned int irq, unsigned int cpu)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Get the real hardware irq number if the underlying implementation
|
* Get the real hardware irq number if the underlying implementation
|
||||||
* uses a seperate irq per cpu. If the underlying implementation uses
|
* uses a separate irq per cpu. If the underlying implementation uses
|
||||||
* a single hardware irq for all cpus then the IPI send mechanism
|
* a single hardware irq for all cpus then the IPI send mechanism
|
||||||
* needs to take care of the cpu destinations.
|
* needs to take care of the cpu destinations.
|
||||||
*/
|
*/
|
||||||
|
@ -915,7 +915,7 @@ irq_thread_check_affinity(struct irq_desc *desc, struct irqaction *action) { }
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Interrupts which are not explicitely requested as threaded
|
* Interrupts which are not explicitly requested as threaded
|
||||||
* interrupts rely on the implicit bh/preempt disable of the hard irq
|
* interrupts rely on the implicit bh/preempt disable of the hard irq
|
||||||
* context. So we need to disable bh here to avoid deadlocks and other
|
* context. So we need to disable bh here to avoid deadlocks and other
|
||||||
* side effects.
|
* side effects.
|
||||||
|
@ -66,7 +66,7 @@ static int try_one_irq(struct irq_desc *desc, bool force)
|
|||||||
raw_spin_lock(&desc->lock);
|
raw_spin_lock(&desc->lock);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* PER_CPU, nested thread interrupts and interrupts explicitely
|
* PER_CPU, nested thread interrupts and interrupts explicitly
|
||||||
* marked polled are excluded from polling.
|
* marked polled are excluded from polling.
|
||||||
*/
|
*/
|
||||||
if (irq_settings_is_per_cpu(desc) ||
|
if (irq_settings_is_per_cpu(desc) ||
|
||||||
@ -76,7 +76,7 @@ static int try_one_irq(struct irq_desc *desc, bool force)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Do not poll disabled interrupts unless the spurious
|
* Do not poll disabled interrupts unless the spurious
|
||||||
* disabled poller asks explicitely.
|
* disabled poller asks explicitly.
|
||||||
*/
|
*/
|
||||||
if (irqd_irq_disabled(&desc->irq_data) && !force)
|
if (irqd_irq_disabled(&desc->irq_data) && !force)
|
||||||
goto out;
|
goto out;
|
||||||
@ -292,7 +292,7 @@ void note_interrupt(struct irq_desc *desc, irqreturn_t action_ret)
|
|||||||
* So in case a thread is woken, we just note the fact and
|
* So in case a thread is woken, we just note the fact and
|
||||||
* defer the analysis to the next hardware interrupt.
|
* defer the analysis to the next hardware interrupt.
|
||||||
*
|
*
|
||||||
* The threaded handlers store whether they sucessfully
|
* The threaded handlers store whether they successfully
|
||||||
* handled an interrupt and we check whether that number
|
* handled an interrupt and we check whether that number
|
||||||
* changed versus the last invocation.
|
* changed versus the last invocation.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user