Fix ~36 single-word typos in the IRQ, irqchip and irqdomain code comments.
Showing the changes to kernel (7 of 23 files). Show all
Unified · Split
| @@ -808,7 +808,7 @@ void handle_edge_irq(struct irq_desc *desc) · 807 unmodified lines | |||
| 808 | /* | 808 | /* |
| 809 | * When another irq arrived while we were handling | 809 | * When another irq arrived while we were handling |
| 810 | * one, we could have masked the irq. | 810 | * one, we could have masked the irq. |
| 811 | * Renable it, if it was not disabled in meantime. | 811 | * Reenable it, if it was not disabled in meantime. |
| 812 | */ | 812 | */ |
| 813 | if (unlikely(desc->istate & IRQS_PENDING)) { | 813 | if (unlikely(desc->istate & IRQS_PENDING)) { |
| 814 | if (!irqd_irq_disabled(&desc->irq_data) && | 814 | if (!irqd_irq_disabled(&desc->irq_data) && |
| @@ -13,7 +13,7 @@ · 12 unmodified lines | |||
| 13 | 13 | ||
| 14 | /* | 14 | /* |
| 15 | * What should we do if we get a hw irq event on an illegal vector? | 15 | * What should we do if we get a hw irq event on an illegal vector? |
| 16 | * Each architecture has to answer this themself. | 16 | * Each architecture has to answer this themselves. |
| 17 | */ | 17 | */ |
| 18 | static void ack_bad(struct irq_data *data) | 18 | static void ack_bad(struct irq_data *data) |
| 19 | { | 19 | { |
| @@ -31,7 +31,7 @@ static int __init irq_affinity_setup(char *str) · 30 unmodified lines | |||
| 31 | cpulist_parse(str, irq_default_affinity); | 31 | cpulist_parse(str, irq_default_affinity); |
| 32 | /* | 32 | /* |
| 33 | * Set at least the boot cpu. We don't want to end up with | 33 | * Set at least the boot cpu. We don't want to end up with |
| 34 | * bugreports caused by random comandline masks | 34 | * bugreports caused by random commandline masks |
| 35 | */ | 35 | */ |
| 36 | cpumask_set_cpu(smp_processor_id(), irq_default_affinity); | 36 | cpumask_set_cpu(smp_processor_id(), irq_default_affinity); |
| 37 | return 1; | 37 | return 1; |
| @@ -62,7 +62,7 @@ EXPORT_SYMBOL_GPL(irqchip_fwnode_ops); · 61 unmodified lines | |||
| 62 | * @name: Optional user provided domain name | 62 | * @name: Optional user provided domain name |
| 63 | * @pa: Optional user-provided physical address | 63 | * @pa: Optional user-provided physical address |
| 64 | * | 64 | * |
| 65 | * Allocate a struct irqchip_fwid, and return a poiner to the embedded | 65 | * Allocate a struct irqchip_fwid, and return a pointer to the embedded |
| 66 | * fwnode_handle (or NULL on failure). | 66 | * fwnode_handle (or NULL on failure). |
| 67 | * | 67 | * |
| 68 | * Note: The types IRQCHIP_FWNODE_NAMED and IRQCHIP_FWNODE_NAMED_ID are | 68 | * Note: The types IRQCHIP_FWNODE_NAMED and IRQCHIP_FWNODE_NAMED_ID are |
| @@ -665,7 +665,7 @@ unsigned int irq_create_mapping_affinity(struct irq_domain *domain, · 596 unmodified lines | |||
| 665 | 665 | ||
| 666 | pr_debug("irq_create_mapping(0x%p, 0x%lx)\n", domain, hwirq); | 666 | pr_debug("irq_create_mapping(0x%p, 0x%lx)\n", domain, hwirq); |
| 667 | 667 | ||
| 668 | /* Look for default domain if nececssary */ | 668 | /* Look for default domain if necessary */ |
| 669 | if (domain == NULL) | 669 | if (domain == NULL) |
| 670 | domain = irq_default_domain; | 670 | domain = irq_default_domain; |
| 671 | if (domain == NULL) { | 671 | if (domain == NULL) { |
| @@ -906,7 +906,7 @@ unsigned int irq_find_mapping(struct irq_domain *domain, · 234 unmodified lines | |||
| 906 | { | 906 | { |
| 907 | struct irq_data *data; | 907 | struct irq_data *data; |
| 908 | 908 | ||
| 909 | /* Look for default domain if nececssary */ | 909 | /* Look for default domain if necessary */ |
| 910 | if (domain == NULL) | 910 | if (domain == NULL) |
| 911 | domain = irq_default_domain; | 911 | domain = irq_default_domain; |
| 912 | if (domain == NULL) | 912 | if (domain == NULL) |
| @@ -1436,7 +1436,7 @@ int irq_domain_alloc_irqs_hierarchy(struct irq_domain *domain, · 523 unmodified lines | |||
| 1436 | * The whole process to setup an IRQ has been split into two steps. | 1436 | * The whole process to setup an IRQ has been split into two steps. |
| 1437 | * The first step, __irq_domain_alloc_irqs(), is to allocate IRQ | 1437 | * The first step, __irq_domain_alloc_irqs(), is to allocate IRQ |
| 1438 | * descriptor and required hardware resources. The second step, | 1438 | * descriptor and required hardware resources. The second step, |
| 1439 | * irq_domain_activate_irq(), is to program hardwares with preallocated | 1439 | * irq_domain_activate_irq(), is to program the hardware with preallocated |
| 1440 | * resources. In this way, it's easier to rollback when failing to | 1440 | * resources. In this way, it's easier to rollback when failing to |
| 1441 | * allocate resources. | 1441 | * allocate resources. |
| 1442 | */ | 1442 | */ |
| @@ -326,7 +326,7 @@ static bool irq_set_affinity_deactivated(struct irq_data *data, · 325 unmodified lines | |||
| 326 | * If the interrupt is not yet activated, just store the affinity | 326 | * If the interrupt is not yet activated, just store the affinity |
| 327 | * mask and do not call the chip driver at all. On activation the | 327 | * mask and do not call the chip driver at all. On activation the |
| 328 | * driver has to make sure anyway that the interrupt is in a | 328 | * driver has to make sure anyway that the interrupt is in a |
| 329 | * useable state so startup works. | 329 | * usable state so startup works. |
| 330 | */ | 330 | */ |
| 331 | if (!IS_ENABLED(CONFIG_IRQ_DOMAIN_HIERARCHY) || | 331 | if (!IS_ENABLED(CONFIG_IRQ_DOMAIN_HIERARCHY) || |
| 332 | irqd_is_activated(data) || !irqd_affinity_on_activate(data)) | 332 | irqd_is_activated(data) || !irqd_affinity_on_activate(data)) |
| @@ -1054,7 +1054,7 @@ again: · 721 unmodified lines | |||
| 1054 | * to IRQS_INPROGRESS and the irq line is masked forever. | 1054 | * to IRQS_INPROGRESS and the irq line is masked forever. |
| 1055 | * | 1055 | * |
| 1056 | * This also serializes the state of shared oneshot handlers | 1056 | * This also serializes the state of shared oneshot handlers |
| 1057 | * versus "desc->threads_onehsot |= action->thread_mask;" in | 1057 | * versus "desc->threads_oneshot |= action->thread_mask;" in |
| 1058 | * irq_wake_thread(). See the comment there which explains the | 1058 | * irq_wake_thread(). See the comment there which explains the |
| 1059 | * serialization. | 1059 | * serialization. |
| 1060 | */ | 1060 | */ |
| @@ -1909,7 +1909,7 @@ static struct irqaction *__free_irq(struct irq_desc *desc, void *dev_id) · 848 unmodified lines | |||
| 1909 | /* Last action releases resources */ | 1909 | /* Last action releases resources */ |
| 1910 | if (!desc->action) { | 1910 | if (!desc->action) { |
| 1911 | /* | 1911 | /* |
| 1912 | * Reaquire bus lock as irq_release_resources() might | 1912 | * Reacquire bus lock as irq_release_resources() might |
| 1913 | * require it to deallocate resources over the slow bus. | 1913 | * require it to deallocate resources over the slow bus. |
| 1914 | */ | 1914 | */ |
| 1915 | chip_bus_lock(desc); | 1915 | chip_bus_lock(desc); |
| @@ -5,7 +5,7 @@ · 4 unmodified lines | |||
| 5 | * | 5 | * |
| 6 | * This file is licensed under GPLv2. | 6 | * This file is licensed under GPLv2. |
| 7 | * | 7 | * |
| 8 | * This file contains common code to support Message Signalled Interrupt for | 8 | * This file contains common code to support Message Signaled Interrupts for |
| 9 | * PCI compatible and non PCI compatible devices. | 9 | * PCI compatible and non PCI compatible devices. |
| 10 | */ | 10 | */ |
| 11 | #include <linux/types.h> | 11 | #include <linux/types.h> |
| @@ -485,7 +485,7 @@ static inline void irq_timings_store(int irq, struct irqt_stat *irqs, u64 ts) · 484 unmodified lines | |||
| 485 | 485 | ||
| 486 | /* | 486 | /* |
| 487 | * The interrupt triggered more than one second apart, that | 487 | * The interrupt triggered more than one second apart, that |
| 488 | * ends the sequence as predictible for our purpose. In this | 488 | * ends the sequence as predictable for our purpose. In this |
| 489 | * case, assume we have the beginning of a sequence and the | 489 | * case, assume we have the beginning of a sequence and the |
| 490 | * timestamp is the first value. As it is impossible to | 490 | * timestamp is the first value. As it is impossible to |
| 491 | * predict anything at this point, return. | 491 | * predict anything at this point, return. |