All of lore.kernel.org
 help / color / mirror / Atom feed
diff for duplicates of <20161019183310.GL4329@intel.com>

diff --git a/a/1.txt b/N1/1.txt
index 2297661..ebbaf8f 100644
--- a/a/1.txt
+++ b/N1/1.txt
@@ -1,52 +1,37 @@
 On Wed, Oct 19, 2016 at 07:16:39PM +0100, Chris Wilson wrote:
-> On Wed, Oct 19, 2016 at 09:02:04PM +0300, ville.syrjala@linux.intel.com w=
-rote:
-> > From: Ville Syrj=C3=A4l=C3=A4 <ville.syrjala@linux.intel.com>
-> >=20
+> On Wed, Oct 19, 2016 at 09:02:04PM +0300, ville.syrjala-VuQAYsv1563Yd54FQh9/CA@public.gmane.org wrote:
+> > From: Ville Syrjälä <ville.syrjala-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
+> > 
 > > Using spin_lock_irq()/spin_unlock_irq() from within the interrupt
 > > handler is a no-no. Let's save/restore the flags to avoid turning on
 > > interrupts prematurely.
-> >=20
+> > 
 > > We hit this in a bunch of our CI systems, but for whatever reason I
 > > wasn't able to reproduce on my own machine, so this fix is just
 > > based on the backtrace.
-> >=20
-> > [  202.634918] WARNING: CPU: 0 PID: 0 at kernel/locking/lockdep.c:2729 =
-trace_hardirqs_on_caller+0x113/0x1b0
+> > 
+> > [  202.634918] WARNING: CPU: 0 PID: 0 at kernel/locking/lockdep.c:2729 trace_hardirqs_on_caller+0x113/0x1b0
 > > [  202.634919] DEBUG_LOCKS_WARN_ON(current->hardirq_context)
-> > [  202.634929] Modules linked in: snd_hda_intel i915 x86_pkg_temp_therm=
-al intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_in=
-tel lpc_ich snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi =
-snd_hda_codec snd_hwdep i2c_designware_platform i2c_designware_core snd_hda=
-_core mei_me mei snd_pcm r8169 mii sdhci_acpi sdhci mmc_core i2c_hid [last =
-unloaded: i915]
-> > [  202.634930] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G     U          =
-4.9.0-rc1-CI-CI_DRM_1734+ #1
-> > [  202.634931] Hardware name: GIGABYTE M4HM87P-00/M4HM87P-00, BIOS F6 1=
-2/10/2014
-> > [  202.634933]  ffff88011ea03d68 ffffffff8142dce5 ffff88011ea03db8 0000=
-000000000000
-> > [  202.634934]  ffff88011ea03da8 ffffffff8107e496 00000aa900000002 ffff=
-ffff81e249a0
-> > [  202.634935]  ffffffff81815637 ffffffff82e7c280 0000000000000000 0000=
-000000000004
+> > [  202.634929] Modules linked in: snd_hda_intel i915 x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel lpc_ich snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_codec snd_hwdep i2c_designware_platform i2c_designware_core snd_hda_core mei_me mei snd_pcm r8169 mii sdhci_acpi sdhci mmc_core i2c_hid [last unloaded: i915]
+> > [  202.634930] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G     U          4.9.0-rc1-CI-CI_DRM_1734+ #1
+> > [  202.634931] Hardware name: GIGABYTE M4HM87P-00/M4HM87P-00, BIOS F6 12/10/2014
+> > [  202.634933]  ffff88011ea03d68 ffffffff8142dce5 ffff88011ea03db8 0000000000000000
+> > [  202.634934]  ffff88011ea03da8 ffffffff8107e496 00000aa900000002 ffffffff81e249a0
+> > [  202.634935]  ffffffff81815637 ffffffff82e7c280 0000000000000000 0000000000000004
 > > [  202.634936] Call Trace:
 > > [  202.634939]  <IRQ>
 > > [  202.634939]  [<ffffffff8142dce5>] dump_stack+0x67/0x92
 > > [  202.634941]  [<ffffffff8107e496>] __warn+0xc6/0xe0
 > > [  202.634944]  [<ffffffff81815637>] ? _raw_spin_unlock_irq+0x27/0x50
 > > [  202.634945]  [<ffffffff8107e4fa>] warn_slowpath_fmt+0x4a/0x50
-> > [  202.634946]  [<ffffffff810d6d83>] trace_hardirqs_on_caller+0x113/0x1=
-b0
+> > [  202.634946]  [<ffffffff810d6d83>] trace_hardirqs_on_caller+0x113/0x1b0
 > > [  202.634948]  [<ffffffff810d6e2d>] trace_hardirqs_on+0xd/0x10
 > > [  202.634949]  [<ffffffff81815637>] _raw_spin_unlock_irq+0x27/0x50
 > > [  202.634951]  [<ffffffff81672042>] rtc_handler+0x32/0xa0
-> > [  202.634954]  [<ffffffff814c08a3>] acpi_ev_fixed_event_detect+0xd4/0x=
-fb
+> > [  202.634954]  [<ffffffff814c08a3>] acpi_ev_fixed_event_detect+0xd4/0xfb
 > > [  202.634956]  [<ffffffff814c2ccb>] acpi_ev_sci_xrupt_handler+0xf/0x2d
 > > [  202.634957]  [<ffffffff814ab3ee>] acpi_irq+0x11/0x2c
-> > [  202.634960]  [<ffffffff810e5288>] __handle_irq_event_percpu+0x58/0x3=
-70
+> > [  202.634960]  [<ffffffff810e5288>] __handle_irq_event_percpu+0x58/0x370
 > > [  202.634961]  [<ffffffff810e55be>] handle_irq_event_percpu+0x1e/0x50
 > > [  202.634962]  [<ffffffff810e5624>] handle_irq_event+0x34/0x60
 > > [  202.634963]  [<ffffffff810e8906>] handle_fasteoi_irq+0xa6/0x170
@@ -61,60 +46,57 @@ fb
 > > [  202.634974]  [<ffffffff810cbf6c>] cpu_startup_entry+0x17c/0x1f0
 > > [  202.634976]  [<ffffffff8180ca87>] rest_init+0x127/0x130
 > > [  202.634978]  [<ffffffff81f77f08>] start_kernel+0x3f6/0x403
-> > [  202.634980]  [<ffffffff81f7728f>] x86_64_start_reservations+0x2a/0x2=
-c
+> > [  202.634980]  [<ffffffff81f7728f>] x86_64_start_reservations+0x2a/0x2c
 > > [  202.634981]  [<ffffffff81f77404>] x86_64_start_kernel+0x173/0x186
 > > [  202.634982] ---[ end trace 293c99618fa08d34 ]---
-> >=20
-> > Cc: Gabriele Mazzotta <gabriele.mzt@gmail.com>
-> > Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
+> > 
+> > Cc: Gabriele Mazzotta <gabriele.mzt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
+> > Cc: Alexandre Belloni <alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
 > > Fixes: 983bf1256edb ("rtc: cmos: Clear ACPI-driven alarms upon resume")
-> > Signed-off-by: Ville Syrj=C3=A4l=C3=A4 <ville.syrjala@linux.intel.com>
+> > Signed-off-by: Ville Syrjälä <ville.syrjala-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>
 > > ---
 > >  drivers/rtc/rtc-cmos.c | 5 +++--
 > >  1 file changed, 3 insertions(+), 2 deletions(-)
-> >=20
+> > 
 > > diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c
 > > index dd3d59806ffa..19cd49ad92dc 100644
 > > --- a/drivers/rtc/rtc-cmos.c
 > > +++ b/drivers/rtc/rtc-cmos.c
 > > @@ -996,8 +996,9 @@ static u32 rtc_handler(void *context)
-> >  	struct cmos_rtc *cmos =3D dev_get_drvdata(dev);
-> >  	unsigned char rtc_control =3D 0;
+> >  	struct cmos_rtc *cmos = dev_get_drvdata(dev);
+> >  	unsigned char rtc_control = 0;
 > >  	unsigned char rtc_intr;
 > > +	unsigned long flags;
-> > =20
+> >  
 > > -	spin_lock_irq(&rtc_lock);
 > > +	spin_lock_irqsave(&rtc_lock, flags);
->=20
+> 
 > My reading of the acpi fixed event handlers suggests that this can only
 > be called from interrupt context.
 
 Ah, could be. I didn't bother digging quite that deep.
 
->=20
+> 
 > Anyway using irqsave is correct (just may be optimised away to a plain
 > spin_lock() if the condition that this is only called in irq context is
 > satisfied).
->=20
-> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
+> 
+> Reviewed-by: Chris Wilson <chris-Y6uKTt2uX1cEflXRtASbqLVCufUGDwFn@public.gmane.org>
 > -Chris
->=20
-> --=20
+> 
+> -- 
 > Chris Wilson, Intel Open Source Technology Centre
 
---=20
-Ville Syrj=C3=A4l=C3=A4
+-- 
+Ville Syrjälä
 Intel OTC
 
---=20
+-- 
 You received this message because you are subscribed to "rtc-linux".
 Membership options at http://groups.google.com/group/rtc-linux .
 Please read http://groups.google.com/group/rtc-linux/web/checklist
 before submitting a driver.
----=20
-You received this message because you are subscribed to the Google Groups "=
-rtc-linux" group.
-To unsubscribe from this group and stop receiving emails from it, send an e=
-mail to rtc-linux+unsubscribe@googlegroups.com.
+--- 
+You received this message because you are subscribed to the Google Groups "rtc-linux" group.
+To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
 For more options, visit https://groups.google.com/d/optout.
diff --git a/a/content_digest b/N1/content_digest
index e8ac6ee..522920a 100644
--- a/a/content_digest
+++ b/N1/content_digest
@@ -1,65 +1,51 @@
  "ref\01476900124-14405-1-git-send-email-ville.syrjala@linux.intel.com\0"
  "ref\020161019181639.GB10824@nuc-i3427.alporthouse.com\0"
- "From\0Ville Syrj\303\244l\303\244 <ville.syrjala@linux.intel.com>\0"
- "Subject\0[rtc-linux] Re: [Intel-gfx] [PATCH] rtc: cmos: Don't enable interrupts in the middle of the interrupt handler\0"
+ "ref\020161019181639.GB10824-aII6DKEyn0pWYbfKqPwjAkR8Iwp7RQ6xAL8bYrjMMd8@public.gmane.org\0"
+ "From\0Ville Syrj\303\244l\303\244 <ville.syrjala-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>\0"
+ "Subject\0Re: [Intel-gfx] [PATCH] rtc: cmos: Don't enable interrupts in the middle of the interrupt handler\0"
  "Date\0Wed, 19 Oct 2016 21:33:10 +0300\0"
- "To\0Chris Wilson <chris@chris-wilson.co.uk>"
-  rtc-linux@googlegroups.com
-  intel-gfx@lists.freedesktop.org
-  Gabriele Mazzotta <gabriele.mzt@gmail.com>
-  Alexandre Belloni <alexandre.belloni@free-electrons.com>
- " linux-kernel@vger.kernel.org\0"
+ "To\0Chris Wilson <chris-Y6uKTt2uX1cEflXRtASbqLVCufUGDwFn@public.gmane.org>"
+  rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
+  intel-gfx-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
+  Gabriele Mazzotta <gabriele.mzt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
+  Alexandre Belloni <alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
+ " linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org\0"
  "\00:1\0"
  "b\0"
  "On Wed, Oct 19, 2016 at 07:16:39PM +0100, Chris Wilson wrote:\n"
- "> On Wed, Oct 19, 2016 at 09:02:04PM +0300, ville.syrjala@linux.intel.com w=\n"
- "rote:\n"
- "> > From: Ville Syrj=C3=A4l=C3=A4 <ville.syrjala@linux.intel.com>\n"
- "> >=20\n"
+ "> On Wed, Oct 19, 2016 at 09:02:04PM +0300, ville.syrjala-VuQAYsv1563Yd54FQh9/CA@public.gmane.org wrote:\n"
+ "> > From: Ville Syrj\303\244l\303\244 <ville.syrjala-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>\n"
+ "> > \n"
  "> > Using spin_lock_irq()/spin_unlock_irq() from within the interrupt\n"
  "> > handler is a no-no. Let's save/restore the flags to avoid turning on\n"
  "> > interrupts prematurely.\n"
- "> >=20\n"
+ "> > \n"
  "> > We hit this in a bunch of our CI systems, but for whatever reason I\n"
  "> > wasn't able to reproduce on my own machine, so this fix is just\n"
  "> > based on the backtrace.\n"
- "> >=20\n"
- "> > [  202.634918] WARNING: CPU: 0 PID: 0 at kernel/locking/lockdep.c:2729 =\n"
- "trace_hardirqs_on_caller+0x113/0x1b0\n"
+ "> > \n"
+ "> > [  202.634918] WARNING: CPU: 0 PID: 0 at kernel/locking/lockdep.c:2729 trace_hardirqs_on_caller+0x113/0x1b0\n"
  "> > [  202.634919] DEBUG_LOCKS_WARN_ON(current->hardirq_context)\n"
- "> > [  202.634929] Modules linked in: snd_hda_intel i915 x86_pkg_temp_therm=\n"
- "al intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_in=\n"
- "tel lpc_ich snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi =\n"
- "snd_hda_codec snd_hwdep i2c_designware_platform i2c_designware_core snd_hda=\n"
- "_core mei_me mei snd_pcm r8169 mii sdhci_acpi sdhci mmc_core i2c_hid [last =\n"
- "unloaded: i915]\n"
- "> > [  202.634930] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G     U          =\n"
- "4.9.0-rc1-CI-CI_DRM_1734+ #1\n"
- "> > [  202.634931] Hardware name: GIGABYTE M4HM87P-00/M4HM87P-00, BIOS F6 1=\n"
- "2/10/2014\n"
- "> > [  202.634933]  ffff88011ea03d68 ffffffff8142dce5 ffff88011ea03db8 0000=\n"
- "000000000000\n"
- "> > [  202.634934]  ffff88011ea03da8 ffffffff8107e496 00000aa900000002 ffff=\n"
- "ffff81e249a0\n"
- "> > [  202.634935]  ffffffff81815637 ffffffff82e7c280 0000000000000000 0000=\n"
- "000000000004\n"
+ "> > [  202.634929] Modules linked in: snd_hda_intel i915 x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel lpc_ich snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_codec snd_hwdep i2c_designware_platform i2c_designware_core snd_hda_core mei_me mei snd_pcm r8169 mii sdhci_acpi sdhci mmc_core i2c_hid [last unloaded: i915]\n"
+ "> > [  202.634930] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G     U          4.9.0-rc1-CI-CI_DRM_1734+ #1\n"
+ "> > [  202.634931] Hardware name: GIGABYTE M4HM87P-00/M4HM87P-00, BIOS F6 12/10/2014\n"
+ "> > [  202.634933]  ffff88011ea03d68 ffffffff8142dce5 ffff88011ea03db8 0000000000000000\n"
+ "> > [  202.634934]  ffff88011ea03da8 ffffffff8107e496 00000aa900000002 ffffffff81e249a0\n"
+ "> > [  202.634935]  ffffffff81815637 ffffffff82e7c280 0000000000000000 0000000000000004\n"
  "> > [  202.634936] Call Trace:\n"
  "> > [  202.634939]  <IRQ>\n"
  "> > [  202.634939]  [<ffffffff8142dce5>] dump_stack+0x67/0x92\n"
  "> > [  202.634941]  [<ffffffff8107e496>] __warn+0xc6/0xe0\n"
  "> > [  202.634944]  [<ffffffff81815637>] ? _raw_spin_unlock_irq+0x27/0x50\n"
  "> > [  202.634945]  [<ffffffff8107e4fa>] warn_slowpath_fmt+0x4a/0x50\n"
- "> > [  202.634946]  [<ffffffff810d6d83>] trace_hardirqs_on_caller+0x113/0x1=\n"
- "b0\n"
+ "> > [  202.634946]  [<ffffffff810d6d83>] trace_hardirqs_on_caller+0x113/0x1b0\n"
  "> > [  202.634948]  [<ffffffff810d6e2d>] trace_hardirqs_on+0xd/0x10\n"
  "> > [  202.634949]  [<ffffffff81815637>] _raw_spin_unlock_irq+0x27/0x50\n"
  "> > [  202.634951]  [<ffffffff81672042>] rtc_handler+0x32/0xa0\n"
- "> > [  202.634954]  [<ffffffff814c08a3>] acpi_ev_fixed_event_detect+0xd4/0x=\n"
- "fb\n"
+ "> > [  202.634954]  [<ffffffff814c08a3>] acpi_ev_fixed_event_detect+0xd4/0xfb\n"
  "> > [  202.634956]  [<ffffffff814c2ccb>] acpi_ev_sci_xrupt_handler+0xf/0x2d\n"
  "> > [  202.634957]  [<ffffffff814ab3ee>] acpi_irq+0x11/0x2c\n"
- "> > [  202.634960]  [<ffffffff810e5288>] __handle_irq_event_percpu+0x58/0x3=\n"
- "70\n"
+ "> > [  202.634960]  [<ffffffff810e5288>] __handle_irq_event_percpu+0x58/0x370\n"
  "> > [  202.634961]  [<ffffffff810e55be>] handle_irq_event_percpu+0x1e/0x50\n"
  "> > [  202.634962]  [<ffffffff810e5624>] handle_irq_event+0x34/0x60\n"
  "> > [  202.634963]  [<ffffffff810e8906>] handle_fasteoi_irq+0xa6/0x170\n"
@@ -74,62 +60,59 @@
  "> > [  202.634974]  [<ffffffff810cbf6c>] cpu_startup_entry+0x17c/0x1f0\n"
  "> > [  202.634976]  [<ffffffff8180ca87>] rest_init+0x127/0x130\n"
  "> > [  202.634978]  [<ffffffff81f77f08>] start_kernel+0x3f6/0x403\n"
- "> > [  202.634980]  [<ffffffff81f7728f>] x86_64_start_reservations+0x2a/0x2=\n"
- "c\n"
+ "> > [  202.634980]  [<ffffffff81f7728f>] x86_64_start_reservations+0x2a/0x2c\n"
  "> > [  202.634981]  [<ffffffff81f77404>] x86_64_start_kernel+0x173/0x186\n"
  "> > [  202.634982] ---[ end trace 293c99618fa08d34 ]---\n"
- "> >=20\n"
- "> > Cc: Gabriele Mazzotta <gabriele.mzt@gmail.com>\n"
- "> > Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>\n"
+ "> > \n"
+ "> > Cc: Gabriele Mazzotta <gabriele.mzt-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>\n"
+ "> > Cc: Alexandre Belloni <alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>\n"
  "> > Fixes: 983bf1256edb (\"rtc: cmos: Clear ACPI-driven alarms upon resume\")\n"
- "> > Signed-off-by: Ville Syrj=C3=A4l=C3=A4 <ville.syrjala@linux.intel.com>\n"
+ "> > Signed-off-by: Ville Syrj\303\244l\303\244 <ville.syrjala-VuQAYsv1563Yd54FQh9/CA@public.gmane.org>\n"
  "> > ---\n"
  "> >  drivers/rtc/rtc-cmos.c | 5 +++--\n"
  "> >  1 file changed, 3 insertions(+), 2 deletions(-)\n"
- "> >=20\n"
+ "> > \n"
  "> > diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c\n"
  "> > index dd3d59806ffa..19cd49ad92dc 100644\n"
  "> > --- a/drivers/rtc/rtc-cmos.c\n"
  "> > +++ b/drivers/rtc/rtc-cmos.c\n"
  "> > @@ -996,8 +996,9 @@ static u32 rtc_handler(void *context)\n"
- "> >  \tstruct cmos_rtc *cmos =3D dev_get_drvdata(dev);\n"
- "> >  \tunsigned char rtc_control =3D 0;\n"
+ "> >  \tstruct cmos_rtc *cmos = dev_get_drvdata(dev);\n"
+ "> >  \tunsigned char rtc_control = 0;\n"
  "> >  \tunsigned char rtc_intr;\n"
  "> > +\tunsigned long flags;\n"
- "> > =20\n"
+ "> >  \n"
  "> > -\tspin_lock_irq(&rtc_lock);\n"
  "> > +\tspin_lock_irqsave(&rtc_lock, flags);\n"
- ">=20\n"
+ "> \n"
  "> My reading of the acpi fixed event handlers suggests that this can only\n"
  "> be called from interrupt context.\n"
  "\n"
  "Ah, could be. I didn't bother digging quite that deep.\n"
  "\n"
- ">=20\n"
+ "> \n"
  "> Anyway using irqsave is correct (just may be optimised away to a plain\n"
  "> spin_lock() if the condition that this is only called in irq context is\n"
  "> satisfied).\n"
- ">=20\n"
- "> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>\n"
+ "> \n"
+ "> Reviewed-by: Chris Wilson <chris-Y6uKTt2uX1cEflXRtASbqLVCufUGDwFn@public.gmane.org>\n"
  "> -Chris\n"
- ">=20\n"
- "> --=20\n"
+ "> \n"
+ "> -- \n"
  "> Chris Wilson, Intel Open Source Technology Centre\n"
  "\n"
- "--=20\n"
- "Ville Syrj=C3=A4l=C3=A4\n"
+ "-- \n"
+ "Ville Syrj\303\244l\303\244\n"
  "Intel OTC\n"
  "\n"
- "--=20\n"
+ "-- \n"
  "You received this message because you are subscribed to \"rtc-linux\".\n"
  "Membership options at http://groups.google.com/group/rtc-linux .\n"
  "Please read http://groups.google.com/group/rtc-linux/web/checklist\n"
  "before submitting a driver.\n"
- "---=20\n"
- "You received this message because you are subscribed to the Google Groups \"=\n"
- "rtc-linux\" group.\n"
- "To unsubscribe from this group and stop receiving emails from it, send an e=\n"
- "mail to rtc-linux+unsubscribe@googlegroups.com.\n"
+ "--- \n"
+ "You received this message because you are subscribed to the Google Groups \"rtc-linux\" group.\n"
+ "To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org\n"
  For more options, visit https://groups.google.com/d/optout.
 
-b8cb3e29561f591145971b79dd385121b8ce09c74f65f0d720051e66ac7a2f96
+6cbf70fe741c6d18ea4811b87b92ede172f9cdf6a3bc676e6b444f5cecd7c009

diff --git a/a/1.txt b/N2/1.txt
index 2297661..cbb5b5c 100644
--- a/a/1.txt
+++ b/N2/1.txt
@@ -1,52 +1,37 @@
 On Wed, Oct 19, 2016 at 07:16:39PM +0100, Chris Wilson wrote:
-> On Wed, Oct 19, 2016 at 09:02:04PM +0300, ville.syrjala@linux.intel.com w=
-rote:
-> > From: Ville Syrj=C3=A4l=C3=A4 <ville.syrjala@linux.intel.com>
-> >=20
+> On Wed, Oct 19, 2016 at 09:02:04PM +0300, ville.syrjala@linux.intel.com wrote:
+> > From: Ville Syrjälä <ville.syrjala@linux.intel.com>
+> > 
 > > Using spin_lock_irq()/spin_unlock_irq() from within the interrupt
 > > handler is a no-no. Let's save/restore the flags to avoid turning on
 > > interrupts prematurely.
-> >=20
+> > 
 > > We hit this in a bunch of our CI systems, but for whatever reason I
 > > wasn't able to reproduce on my own machine, so this fix is just
 > > based on the backtrace.
-> >=20
-> > [  202.634918] WARNING: CPU: 0 PID: 0 at kernel/locking/lockdep.c:2729 =
-trace_hardirqs_on_caller+0x113/0x1b0
+> > 
+> > [  202.634918] WARNING: CPU: 0 PID: 0 at kernel/locking/lockdep.c:2729 trace_hardirqs_on_caller+0x113/0x1b0
 > > [  202.634919] DEBUG_LOCKS_WARN_ON(current->hardirq_context)
-> > [  202.634929] Modules linked in: snd_hda_intel i915 x86_pkg_temp_therm=
-al intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_in=
-tel lpc_ich snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi =
-snd_hda_codec snd_hwdep i2c_designware_platform i2c_designware_core snd_hda=
-_core mei_me mei snd_pcm r8169 mii sdhci_acpi sdhci mmc_core i2c_hid [last =
-unloaded: i915]
-> > [  202.634930] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G     U          =
-4.9.0-rc1-CI-CI_DRM_1734+ #1
-> > [  202.634931] Hardware name: GIGABYTE M4HM87P-00/M4HM87P-00, BIOS F6 1=
-2/10/2014
-> > [  202.634933]  ffff88011ea03d68 ffffffff8142dce5 ffff88011ea03db8 0000=
-000000000000
-> > [  202.634934]  ffff88011ea03da8 ffffffff8107e496 00000aa900000002 ffff=
-ffff81e249a0
-> > [  202.634935]  ffffffff81815637 ffffffff82e7c280 0000000000000000 0000=
-000000000004
+> > [  202.634929] Modules linked in: snd_hda_intel i915 x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel lpc_ich snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_codec snd_hwdep i2c_designware_platform i2c_designware_core snd_hda_core mei_me mei snd_pcm r8169 mii sdhci_acpi sdhci mmc_core i2c_hid [last unloaded: i915]
+> > [  202.634930] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G     U          4.9.0-rc1-CI-CI_DRM_1734+ #1
+> > [  202.634931] Hardware name: GIGABYTE M4HM87P-00/M4HM87P-00, BIOS F6 12/10/2014
+> > [  202.634933]  ffff88011ea03d68 ffffffff8142dce5 ffff88011ea03db8 0000000000000000
+> > [  202.634934]  ffff88011ea03da8 ffffffff8107e496 00000aa900000002 ffffffff81e249a0
+> > [  202.634935]  ffffffff81815637 ffffffff82e7c280 0000000000000000 0000000000000004
 > > [  202.634936] Call Trace:
 > > [  202.634939]  <IRQ>
 > > [  202.634939]  [<ffffffff8142dce5>] dump_stack+0x67/0x92
 > > [  202.634941]  [<ffffffff8107e496>] __warn+0xc6/0xe0
 > > [  202.634944]  [<ffffffff81815637>] ? _raw_spin_unlock_irq+0x27/0x50
 > > [  202.634945]  [<ffffffff8107e4fa>] warn_slowpath_fmt+0x4a/0x50
-> > [  202.634946]  [<ffffffff810d6d83>] trace_hardirqs_on_caller+0x113/0x1=
-b0
+> > [  202.634946]  [<ffffffff810d6d83>] trace_hardirqs_on_caller+0x113/0x1b0
 > > [  202.634948]  [<ffffffff810d6e2d>] trace_hardirqs_on+0xd/0x10
 > > [  202.634949]  [<ffffffff81815637>] _raw_spin_unlock_irq+0x27/0x50
 > > [  202.634951]  [<ffffffff81672042>] rtc_handler+0x32/0xa0
-> > [  202.634954]  [<ffffffff814c08a3>] acpi_ev_fixed_event_detect+0xd4/0x=
-fb
+> > [  202.634954]  [<ffffffff814c08a3>] acpi_ev_fixed_event_detect+0xd4/0xfb
 > > [  202.634956]  [<ffffffff814c2ccb>] acpi_ev_sci_xrupt_handler+0xf/0x2d
 > > [  202.634957]  [<ffffffff814ab3ee>] acpi_irq+0x11/0x2c
-> > [  202.634960]  [<ffffffff810e5288>] __handle_irq_event_percpu+0x58/0x3=
-70
+> > [  202.634960]  [<ffffffff810e5288>] __handle_irq_event_percpu+0x58/0x370
 > > [  202.634961]  [<ffffffff810e55be>] handle_irq_event_percpu+0x1e/0x50
 > > [  202.634962]  [<ffffffff810e5624>] handle_irq_event+0x34/0x60
 > > [  202.634963]  [<ffffffff810e8906>] handle_fasteoi_irq+0xa6/0x170
@@ -61,60 +46,47 @@ fb
 > > [  202.634974]  [<ffffffff810cbf6c>] cpu_startup_entry+0x17c/0x1f0
 > > [  202.634976]  [<ffffffff8180ca87>] rest_init+0x127/0x130
 > > [  202.634978]  [<ffffffff81f77f08>] start_kernel+0x3f6/0x403
-> > [  202.634980]  [<ffffffff81f7728f>] x86_64_start_reservations+0x2a/0x2=
-c
+> > [  202.634980]  [<ffffffff81f7728f>] x86_64_start_reservations+0x2a/0x2c
 > > [  202.634981]  [<ffffffff81f77404>] x86_64_start_kernel+0x173/0x186
 > > [  202.634982] ---[ end trace 293c99618fa08d34 ]---
-> >=20
+> > 
 > > Cc: Gabriele Mazzotta <gabriele.mzt@gmail.com>
 > > Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
 > > Fixes: 983bf1256edb ("rtc: cmos: Clear ACPI-driven alarms upon resume")
-> > Signed-off-by: Ville Syrj=C3=A4l=C3=A4 <ville.syrjala@linux.intel.com>
+> > Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
 > > ---
 > >  drivers/rtc/rtc-cmos.c | 5 +++--
 > >  1 file changed, 3 insertions(+), 2 deletions(-)
-> >=20
+> > 
 > > diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c
 > > index dd3d59806ffa..19cd49ad92dc 100644
 > > --- a/drivers/rtc/rtc-cmos.c
 > > +++ b/drivers/rtc/rtc-cmos.c
 > > @@ -996,8 +996,9 @@ static u32 rtc_handler(void *context)
-> >  	struct cmos_rtc *cmos =3D dev_get_drvdata(dev);
-> >  	unsigned char rtc_control =3D 0;
+> >  	struct cmos_rtc *cmos = dev_get_drvdata(dev);
+> >  	unsigned char rtc_control = 0;
 > >  	unsigned char rtc_intr;
 > > +	unsigned long flags;
-> > =20
+> >  
 > > -	spin_lock_irq(&rtc_lock);
 > > +	spin_lock_irqsave(&rtc_lock, flags);
->=20
+> 
 > My reading of the acpi fixed event handlers suggests that this can only
 > be called from interrupt context.
 
 Ah, could be. I didn't bother digging quite that deep.
 
->=20
+> 
 > Anyway using irqsave is correct (just may be optimised away to a plain
 > spin_lock() if the condition that this is only called in irq context is
 > satisfied).
->=20
+> 
 > Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
 > -Chris
->=20
-> --=20
+> 
+> -- 
 > Chris Wilson, Intel Open Source Technology Centre
 
---=20
-Ville Syrj=C3=A4l=C3=A4
+-- 
+Ville Syrjälä
 Intel OTC
-
---=20
-You received this message because you are subscribed to "rtc-linux".
-Membership options at http://groups.google.com/group/rtc-linux .
-Please read http://groups.google.com/group/rtc-linux/web/checklist
-before submitting a driver.
----=20
-You received this message because you are subscribed to the Google Groups "=
-rtc-linux" group.
-To unsubscribe from this group and stop receiving emails from it, send an e=
-mail to rtc-linux+unsubscribe@googlegroups.com.
-For more options, visit https://groups.google.com/d/optout.
diff --git a/a/content_digest b/N2/content_digest
index e8ac6ee..2ad64a8 100644
--- a/a/content_digest
+++ b/N2/content_digest
@@ -1,7 +1,7 @@
  "ref\01476900124-14405-1-git-send-email-ville.syrjala@linux.intel.com\0"
  "ref\020161019181639.GB10824@nuc-i3427.alporthouse.com\0"
  "From\0Ville Syrj\303\244l\303\244 <ville.syrjala@linux.intel.com>\0"
- "Subject\0[rtc-linux] Re: [Intel-gfx] [PATCH] rtc: cmos: Don't enable interrupts in the middle of the interrupt handler\0"
+ "Subject\0Re: [Intel-gfx] [PATCH] rtc: cmos: Don't enable interrupts in the middle of the interrupt handler\0"
  "Date\0Wed, 19 Oct 2016 21:33:10 +0300\0"
  "To\0Chris Wilson <chris@chris-wilson.co.uk>"
   rtc-linux@googlegroups.com
@@ -12,54 +12,39 @@
  "\00:1\0"
  "b\0"
  "On Wed, Oct 19, 2016 at 07:16:39PM +0100, Chris Wilson wrote:\n"
- "> On Wed, Oct 19, 2016 at 09:02:04PM +0300, ville.syrjala@linux.intel.com w=\n"
- "rote:\n"
- "> > From: Ville Syrj=C3=A4l=C3=A4 <ville.syrjala@linux.intel.com>\n"
- "> >=20\n"
+ "> On Wed, Oct 19, 2016 at 09:02:04PM +0300, ville.syrjala@linux.intel.com wrote:\n"
+ "> > From: Ville Syrj\303\244l\303\244 <ville.syrjala@linux.intel.com>\n"
+ "> > \n"
  "> > Using spin_lock_irq()/spin_unlock_irq() from within the interrupt\n"
  "> > handler is a no-no. Let's save/restore the flags to avoid turning on\n"
  "> > interrupts prematurely.\n"
- "> >=20\n"
+ "> > \n"
  "> > We hit this in a bunch of our CI systems, but for whatever reason I\n"
  "> > wasn't able to reproduce on my own machine, so this fix is just\n"
  "> > based on the backtrace.\n"
- "> >=20\n"
- "> > [  202.634918] WARNING: CPU: 0 PID: 0 at kernel/locking/lockdep.c:2729 =\n"
- "trace_hardirqs_on_caller+0x113/0x1b0\n"
+ "> > \n"
+ "> > [  202.634918] WARNING: CPU: 0 PID: 0 at kernel/locking/lockdep.c:2729 trace_hardirqs_on_caller+0x113/0x1b0\n"
  "> > [  202.634919] DEBUG_LOCKS_WARN_ON(current->hardirq_context)\n"
- "> > [  202.634929] Modules linked in: snd_hda_intel i915 x86_pkg_temp_therm=\n"
- "al intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_in=\n"
- "tel lpc_ich snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi =\n"
- "snd_hda_codec snd_hwdep i2c_designware_platform i2c_designware_core snd_hda=\n"
- "_core mei_me mei snd_pcm r8169 mii sdhci_acpi sdhci mmc_core i2c_hid [last =\n"
- "unloaded: i915]\n"
- "> > [  202.634930] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G     U          =\n"
- "4.9.0-rc1-CI-CI_DRM_1734+ #1\n"
- "> > [  202.634931] Hardware name: GIGABYTE M4HM87P-00/M4HM87P-00, BIOS F6 1=\n"
- "2/10/2014\n"
- "> > [  202.634933]  ffff88011ea03d68 ffffffff8142dce5 ffff88011ea03db8 0000=\n"
- "000000000000\n"
- "> > [  202.634934]  ffff88011ea03da8 ffffffff8107e496 00000aa900000002 ffff=\n"
- "ffff81e249a0\n"
- "> > [  202.634935]  ffffffff81815637 ffffffff82e7c280 0000000000000000 0000=\n"
- "000000000004\n"
+ "> > [  202.634929] Modules linked in: snd_hda_intel i915 x86_pkg_temp_thermal intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel lpc_ich snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_codec snd_hwdep i2c_designware_platform i2c_designware_core snd_hda_core mei_me mei snd_pcm r8169 mii sdhci_acpi sdhci mmc_core i2c_hid [last unloaded: i915]\n"
+ "> > [  202.634930] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G     U          4.9.0-rc1-CI-CI_DRM_1734+ #1\n"
+ "> > [  202.634931] Hardware name: GIGABYTE M4HM87P-00/M4HM87P-00, BIOS F6 12/10/2014\n"
+ "> > [  202.634933]  ffff88011ea03d68 ffffffff8142dce5 ffff88011ea03db8 0000000000000000\n"
+ "> > [  202.634934]  ffff88011ea03da8 ffffffff8107e496 00000aa900000002 ffffffff81e249a0\n"
+ "> > [  202.634935]  ffffffff81815637 ffffffff82e7c280 0000000000000000 0000000000000004\n"
  "> > [  202.634936] Call Trace:\n"
  "> > [  202.634939]  <IRQ>\n"
  "> > [  202.634939]  [<ffffffff8142dce5>] dump_stack+0x67/0x92\n"
  "> > [  202.634941]  [<ffffffff8107e496>] __warn+0xc6/0xe0\n"
  "> > [  202.634944]  [<ffffffff81815637>] ? _raw_spin_unlock_irq+0x27/0x50\n"
  "> > [  202.634945]  [<ffffffff8107e4fa>] warn_slowpath_fmt+0x4a/0x50\n"
- "> > [  202.634946]  [<ffffffff810d6d83>] trace_hardirqs_on_caller+0x113/0x1=\n"
- "b0\n"
+ "> > [  202.634946]  [<ffffffff810d6d83>] trace_hardirqs_on_caller+0x113/0x1b0\n"
  "> > [  202.634948]  [<ffffffff810d6e2d>] trace_hardirqs_on+0xd/0x10\n"
  "> > [  202.634949]  [<ffffffff81815637>] _raw_spin_unlock_irq+0x27/0x50\n"
  "> > [  202.634951]  [<ffffffff81672042>] rtc_handler+0x32/0xa0\n"
- "> > [  202.634954]  [<ffffffff814c08a3>] acpi_ev_fixed_event_detect+0xd4/0x=\n"
- "fb\n"
+ "> > [  202.634954]  [<ffffffff814c08a3>] acpi_ev_fixed_event_detect+0xd4/0xfb\n"
  "> > [  202.634956]  [<ffffffff814c2ccb>] acpi_ev_sci_xrupt_handler+0xf/0x2d\n"
  "> > [  202.634957]  [<ffffffff814ab3ee>] acpi_irq+0x11/0x2c\n"
- "> > [  202.634960]  [<ffffffff810e5288>] __handle_irq_event_percpu+0x58/0x3=\n"
- "70\n"
+ "> > [  202.634960]  [<ffffffff810e5288>] __handle_irq_event_percpu+0x58/0x370\n"
  "> > [  202.634961]  [<ffffffff810e55be>] handle_irq_event_percpu+0x1e/0x50\n"
  "> > [  202.634962]  [<ffffffff810e5624>] handle_irq_event+0x34/0x60\n"
  "> > [  202.634963]  [<ffffffff810e8906>] handle_fasteoi_irq+0xa6/0x170\n"
@@ -74,62 +59,49 @@
  "> > [  202.634974]  [<ffffffff810cbf6c>] cpu_startup_entry+0x17c/0x1f0\n"
  "> > [  202.634976]  [<ffffffff8180ca87>] rest_init+0x127/0x130\n"
  "> > [  202.634978]  [<ffffffff81f77f08>] start_kernel+0x3f6/0x403\n"
- "> > [  202.634980]  [<ffffffff81f7728f>] x86_64_start_reservations+0x2a/0x2=\n"
- "c\n"
+ "> > [  202.634980]  [<ffffffff81f7728f>] x86_64_start_reservations+0x2a/0x2c\n"
  "> > [  202.634981]  [<ffffffff81f77404>] x86_64_start_kernel+0x173/0x186\n"
  "> > [  202.634982] ---[ end trace 293c99618fa08d34 ]---\n"
- "> >=20\n"
+ "> > \n"
  "> > Cc: Gabriele Mazzotta <gabriele.mzt@gmail.com>\n"
  "> > Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>\n"
  "> > Fixes: 983bf1256edb (\"rtc: cmos: Clear ACPI-driven alarms upon resume\")\n"
- "> > Signed-off-by: Ville Syrj=C3=A4l=C3=A4 <ville.syrjala@linux.intel.com>\n"
+ "> > Signed-off-by: Ville Syrj\303\244l\303\244 <ville.syrjala@linux.intel.com>\n"
  "> > ---\n"
  "> >  drivers/rtc/rtc-cmos.c | 5 +++--\n"
  "> >  1 file changed, 3 insertions(+), 2 deletions(-)\n"
- "> >=20\n"
+ "> > \n"
  "> > diff --git a/drivers/rtc/rtc-cmos.c b/drivers/rtc/rtc-cmos.c\n"
  "> > index dd3d59806ffa..19cd49ad92dc 100644\n"
  "> > --- a/drivers/rtc/rtc-cmos.c\n"
  "> > +++ b/drivers/rtc/rtc-cmos.c\n"
  "> > @@ -996,8 +996,9 @@ static u32 rtc_handler(void *context)\n"
- "> >  \tstruct cmos_rtc *cmos =3D dev_get_drvdata(dev);\n"
- "> >  \tunsigned char rtc_control =3D 0;\n"
+ "> >  \tstruct cmos_rtc *cmos = dev_get_drvdata(dev);\n"
+ "> >  \tunsigned char rtc_control = 0;\n"
  "> >  \tunsigned char rtc_intr;\n"
  "> > +\tunsigned long flags;\n"
- "> > =20\n"
+ "> >  \n"
  "> > -\tspin_lock_irq(&rtc_lock);\n"
  "> > +\tspin_lock_irqsave(&rtc_lock, flags);\n"
- ">=20\n"
+ "> \n"
  "> My reading of the acpi fixed event handlers suggests that this can only\n"
  "> be called from interrupt context.\n"
  "\n"
  "Ah, could be. I didn't bother digging quite that deep.\n"
  "\n"
- ">=20\n"
+ "> \n"
  "> Anyway using irqsave is correct (just may be optimised away to a plain\n"
  "> spin_lock() if the condition that this is only called in irq context is\n"
  "> satisfied).\n"
- ">=20\n"
+ "> \n"
  "> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>\n"
  "> -Chris\n"
- ">=20\n"
- "> --=20\n"
+ "> \n"
+ "> -- \n"
  "> Chris Wilson, Intel Open Source Technology Centre\n"
  "\n"
- "--=20\n"
- "Ville Syrj=C3=A4l=C3=A4\n"
- "Intel OTC\n"
- "\n"
- "--=20\n"
- "You received this message because you are subscribed to \"rtc-linux\".\n"
- "Membership options at http://groups.google.com/group/rtc-linux .\n"
- "Please read http://groups.google.com/group/rtc-linux/web/checklist\n"
- "before submitting a driver.\n"
- "---=20\n"
- "You received this message because you are subscribed to the Google Groups \"=\n"
- "rtc-linux\" group.\n"
- "To unsubscribe from this group and stop receiving emails from it, send an e=\n"
- "mail to rtc-linux+unsubscribe@googlegroups.com.\n"
- For more options, visit https://groups.google.com/d/optout.
+ "-- \n"
+ "Ville Syrj\303\244l\303\244\n"
+ Intel OTC
 
-b8cb3e29561f591145971b79dd385121b8ce09c74f65f0d720051e66ac7a2f96
+1df35426f9df4d522c0923b59a3d1a8fd3aa96aa14a8e08413230cabc58f9518

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.