diff for duplicates of <4E69D6ED.4080409@ti.com> diff --git a/a/2.hdr b/a/2.hdr deleted file mode 100644 index 75adfa2..0000000 --- a/a/2.hdr +++ /dev/null @@ -1,6 +0,0 @@ -Content-Type: text/x-patch; - name="0001-irq-Add-IRQCHIP_SKIP_SET_WAKE-flag-to-avoid-need-of-.patch" -Content-Transfer-Encoding: 7bit -Content-Disposition: attachment; - filename*0="0001-irq-Add-IRQCHIP_SKIP_SET_WAKE-flag-to-avoid-need-of-.pa"; - filename*1="tch" diff --git a/a/2.txt b/a/2.txt deleted file mode 100644 index 24adb84..0000000 --- a/a/2.txt +++ /dev/null @@ -1,55 +0,0 @@ ->From d63d4347dc8fb144b19f4d4e7c0621397cccea94 Mon Sep 17 00:00:00 2001 -From: Santosh Shilimkar <santosh.shilimkar@ti.com> -Date: Fri, 9 Sep 2011 13:59:35 +0530 -Subject: [PATCH] irq: Add IRQCHIP_SKIP_SET_WAKE flag to avoid need of dummy set_wake() handler. - -Certain IRQCHIP's may not need to install the irq_set_wake() handler if -the IRQCHIP_MASK_ON_SUSPEND flag is set. But but if it's not implemented, -enable_irq_wake() will return an error. That needs the IRQCHIP to install -an empty set_wake handler. - -Add an 'IRQCHIP_SKIP_SET_WAKE' flag so that IRQCHIP can inform the core -irq code that irq_set_wake() handler is not necessary. - -Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com> -Cc: Thomas Gleixner <tglx@linutronix.de> ---- - include/linux/irq.h | 2 ++ - kernel/irq/manage.c | 3 +++ - 2 files changed, 5 insertions(+), 0 deletions(-) - -diff --git a/include/linux/irq.h b/include/linux/irq.h -index 5951730..4b0d842 100644 ---- a/include/linux/irq.h -+++ b/include/linux/irq.h -@@ -336,12 +336,14 @@ struct irq_chip { - * IRQCHIP_MASK_ON_SUSPEND: Mask non wake irqs in the suspend path - * IRQCHIP_ONOFFLINE_ENABLED: Only call irq_on/off_line callbacks - * when irq enabled -+ * IRQCHIP_SKIP_SET_WAKE: Skip chip.irq_set_wake(), for this IRQCHIP - */ - enum { - IRQCHIP_SET_TYPE_MASKED = (1 << 0), - IRQCHIP_EOI_IF_HANDLED = (1 << 1), - IRQCHIP_MASK_ON_SUSPEND = (1 << 2), - IRQCHIP_ONOFFLINE_ENABLED = (1 << 3), -+ IRQCHIP_SKIP_SET_WAKE = (1 << 4), - }; - - /* This include will go away once we isolated irq_desc usage to core code */ -diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c -index 9b956fa..7e1a3ed 100644 ---- a/kernel/irq/manage.c -+++ b/kernel/irq/manage.c -@@ -467,6 +467,9 @@ static int set_irq_wake_real(unsigned int irq, unsigned int on) - struct irq_desc *desc = irq_to_desc(irq); - int ret = -ENXIO; - -+ if (irq_desc_get_chip(desc)->flags & IRQCHIP_SKIP_SET_WAKE) -+ return 0; -+ - if (desc->irq_data.chip->irq_set_wake) - ret = desc->irq_data.chip->irq_set_wake(&desc->irq_data, on); - --- -1.7.4.1 diff --git a/a/content_digest b/N1/content_digest index 00a76c8..950f110 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -5,16 +5,11 @@ "ref\0alpine.LFD.2.02.1109090912130.2723@ionos\0" "ref\04E69C957.5070708@ti.com\0" "ref\0alpine.LFD.2.02.1109091017300.2723@ionos\0" - "From\0Santosh <santosh.shilimkar@ti.com>\0" - "Subject\0Re: [PATCH 13/25] OMAP4: PM: Add WakeupGen module as OMAP gic_arch_extn\0" + "From\0santosh.shilimkar@ti.com (Santosh)\0" + "Subject\0[PATCH 13/25] OMAP4: PM: Add WakeupGen module as OMAP gic_arch_extn\0" "Date\0Fri, 09 Sep 2011 14:35:49 +0530\0" - "To\0Thomas Gleixner <tglx@linutronix.de>\0" - "Cc\0Kevin Hilman <khilman@ti.com>" - linux-omap@vger.kernel.org - linux-arm-kernel@lists.infradead.org - linux@arm.linux.org.uk - " rnayak@ti.com\0" - "\01:1\0" + "To\0linux-arm-kernel@lists.infradead.org\0" + "\00:1\0" "b\0" "On Friday 09 September 2011 01:48 PM, Thomas Gleixner wrote:\n" "> On Fri, 9 Sep 2011, Santosh wrote:\n" @@ -108,63 +103,5 @@ "\n" "-- \n" 1.7.4.1 - "\01:2\0" - "fn\00001-irq-Add-IRQCHIP_SKIP_SET_WAKE-flag-to-avoid-need-of-.patch\0" - "b\0" - ">From d63d4347dc8fb144b19f4d4e7c0621397cccea94 Mon Sep 17 00:00:00 2001\n" - "From: Santosh Shilimkar <santosh.shilimkar@ti.com>\n" - "Date: Fri, 9 Sep 2011 13:59:35 +0530\n" - "Subject: [PATCH] irq: Add IRQCHIP_SKIP_SET_WAKE flag to avoid need of dummy set_wake() handler.\n" - "\n" - "Certain IRQCHIP's may not need to install the irq_set_wake() handler if\n" - "the IRQCHIP_MASK_ON_SUSPEND flag is set. But but if it's not implemented,\n" - "enable_irq_wake() will return an error. That needs the IRQCHIP to install\n" - "an empty set_wake handler.\n" - "\n" - "Add an 'IRQCHIP_SKIP_SET_WAKE' flag so that IRQCHIP can inform the core\n" - "irq code that irq_set_wake() handler is not necessary.\n" - "\n" - "Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>\n" - "Cc: Thomas Gleixner <tglx@linutronix.de>\n" - "---\n" - " include/linux/irq.h | 2 ++\n" - " kernel/irq/manage.c | 3 +++\n" - " 2 files changed, 5 insertions(+), 0 deletions(-)\n" - "\n" - "diff --git a/include/linux/irq.h b/include/linux/irq.h\n" - "index 5951730..4b0d842 100644\n" - "--- a/include/linux/irq.h\n" - "+++ b/include/linux/irq.h\n" - "@@ -336,12 +336,14 @@ struct irq_chip {\n" - " * IRQCHIP_MASK_ON_SUSPEND:\tMask non wake irqs in the suspend path\n" - " * IRQCHIP_ONOFFLINE_ENABLED:\tOnly call irq_on/off_line callbacks\n" - " *\t\t\t\twhen irq enabled\n" - "+ * IRQCHIP_SKIP_SET_WAKE:\tSkip chip.irq_set_wake(), for this IRQCHIP\n" - " */\n" - " enum {\n" - " \tIRQCHIP_SET_TYPE_MASKED\t\t= (1 << 0),\n" - " \tIRQCHIP_EOI_IF_HANDLED\t\t= (1 << 1),\n" - " \tIRQCHIP_MASK_ON_SUSPEND\t\t= (1 << 2),\n" - " \tIRQCHIP_ONOFFLINE_ENABLED\t= (1 << 3),\n" - "+\tIRQCHIP_SKIP_SET_WAKE\t\t= (1 << 4),\n" - " };\n" - " \n" - " /* This include will go away once we isolated irq_desc usage to core code */\n" - "diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c\n" - "index 9b956fa..7e1a3ed 100644\n" - "--- a/kernel/irq/manage.c\n" - "+++ b/kernel/irq/manage.c\n" - "@@ -467,6 +467,9 @@ static int set_irq_wake_real(unsigned int irq, unsigned int on)\n" - " \tstruct irq_desc *desc = irq_to_desc(irq);\n" - " \tint ret = -ENXIO;\n" - " \n" - "+\tif (irq_desc_get_chip(desc)->flags & IRQCHIP_SKIP_SET_WAKE)\n" - "+\t\treturn 0;\n" - "+\n" - " \tif (desc->irq_data.chip->irq_set_wake)\n" - " \t\tret = desc->irq_data.chip->irq_set_wake(&desc->irq_data, on);\n" - " \n" - "-- \n" - 1.7.4.1 -4c35d3c112f1c03cf95c3783c806c44250ffc562cf281435746b2ffc5927489e +4416186c3d3cb290be1c96d3af21a934829f211d82b7ff9669101dff2fe768af
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.