<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/misc, branch v3.10.10</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/misc?h=v3.10.10</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/misc?h=v3.10.10'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-08-29T16:47:40Z</updated>
<entry>
<title>mei: me: fix waiting for hw ready</title>
<updated>2013-08-29T16:47:40Z</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2013-07-17T12:13:17Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=644f5d570740c90439fdf69e8b47647584c6dc2f'/>
<id>urn:sha1:644f5d570740c90439fdf69e8b47647584c6dc2f</id>
<content type='text'>
commit dab9bf41b23fe700c4a74133e41eb6a21706031e upstream.

1. MEI_INTEROP_TIMEOUT is in seconds not in jiffies
so we use mei_secs_to_jiffies macro
While cold boot is fast this is relevant in resume
2. wait_event_interruptible_timeout can return with
-ERESTARTSYS so do not override it with -ETIMEDOUT
3.Adjust error message

Tested-by: Shuah Khan &lt;shuah.kh@samsung.com&gt;
Signed-off-by: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>mei: don't have to clean the state on power up</title>
<updated>2013-08-29T16:47:40Z</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2013-07-17T12:13:16Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=47e1cf336bc708bb59ebfcc01540dffecd16862e'/>
<id>urn:sha1:47e1cf336bc708bb59ebfcc01540dffecd16862e</id>
<content type='text'>
commit 99f22c4ef24cf87b0dae6aabe6b5e620b62961d9 upstream.

When powering up, we don't have to clean up the device state
nothing is connected.

Tested-by: Shuah Khan &lt;shuah.kh@samsung.com&gt;
Signed-off-by: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>mei: me: fix reset state machine</title>
<updated>2013-08-29T16:47:40Z</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2013-07-17T12:13:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7dae89cb15ebdc7e286b884cd79f3a4b94fcdff4'/>
<id>urn:sha1:7dae89cb15ebdc7e286b884cd79f3a4b94fcdff4</id>
<content type='text'>
commit 315a383ad7dbd484fafb93ef08038e3dbafbb7a8 upstream.

ME HW ready bit is down after hw reset was asserted or on error.
Only on error we need to enter the reset flow, additional reset
need to be prevented when reset was triggered during
initialization , power up/down or a reset is already in progress

Tested-by: Shuah Khan &lt;shuah.kh@samsung.com&gt;
Signed-off-by: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>Merge tag 'char-misc-3.10-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc</title>
<updated>2013-06-15T05:15:36Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2013-06-15T05:15:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=9bb92855e3491e3f84a1477f14810f7c59fdbc73'/>
<id>urn:sha1:9bb92855e3491e3f84a1477f14810f7c59fdbc73</id>
<content type='text'>
Pull char / misc fixes from Greg Kroah-Hartman:
 "Here are some small mei driver fixes for 3.10-rc6 that fix some
  reported problems"

* tag 'char-misc-3.10-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
  mei: me: clear interrupts on the resume path
  mei: nfc: fix nfc device freeing
  mei: init: Flush scheduled work before resetting the device
</content>
</entry>
<entry>
<title>mei: me: clear interrupts on the resume path</title>
<updated>2013-06-14T05:31:07Z</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2013-06-05T07:51:13Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=42f132febff3b7b42c6c9dbfc151f29233be3132'/>
<id>urn:sha1:42f132febff3b7b42c6c9dbfc151f29233be3132</id>
<content type='text'>
We need to clear pending interrupts on the resume
path. This brings the device into defined state
before starting the reset flow

This should solve suspend/resume issues:

mei_me : wait hw ready failed. status = 0x0
mei_me : version message write failed

Signed-off-by: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>mei: nfc: fix nfc device freeing</title>
<updated>2013-06-14T05:31:06Z</updated>
<author>
<name>Tomas Winkler</name>
<email>tomas.winkler@intel.com</email>
</author>
<published>2013-06-10T07:10:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=2753ff53d4158dbb394b3a2064001283fa9a8701'/>
<id>urn:sha1:2753ff53d4158dbb394b3a2064001283fa9a8701</id>
<content type='text'>
The nfc_dev is a static variable and is not cleaned properly upon reset
mainly ndev-&gt;cl and ndev-&gt;cl_info are not set to NULL after freeing which

mei_stop:198: mei_me 0000:00:16.0: stopping the device.
[  404.253427] general protection fault: 0000 [#2] SMP
[  404.253437] Modules linked in: mei_me(-) binfmt_misc snd_pcm_oss snd_mixer_oss snd_seq snd_seq_device edd af_packet cpufreq_conservative cpufreq_userspace cpufreq_powersave fuse loop dm_mod hid_generic usbhid hid coretemp acpi_cpufreq mperf kvm_intel kvm crc32c_intel ghash_clmulni_intel aesni_intel ablk_helper cryptd lrw gf128mul snd_hda_codec_hdmi glue_helper aes_x86_64 e1000e snd_hda_intel snd_hda_codec ehci_pci iTCO_wdt iTCO_vendor_support ehci_hcd snd_hwdep xhci_hcd snd_pcm usbcore ptp mei sg microcode snd_timer pps_core i2c_i801 snd pcspkr battery rtc_cmos lpc_ich mfd_core soundcore usb_common snd_page_alloc ac ext3 jbd mbcache drm_kms_helper drm intel_agp i2c_algo_bit intel_gtt i2c_core sd_mod crc_t10dif thermal fan video button processor thermal_sys hwmon ahci libahci libata scsi_mod [last unloaded: mei_me]
[  404.253591] CPU: 0 PID: 5551 Comm: modprobe Tainted: G      D W    3.10.0-rc3 #1
[  404.253611] task: ffff880143cd8300 ti: ffff880144a2a000 task.ti: ffff880144a2a000
[  404.253619] RIP: 0010:[&lt;ffffffff81334e5d&gt;]  [&lt;ffffffff81334e5d&gt;] device_del+0x1d/0x1d0
[  404.253638] RSP: 0018:ffff880144a2bcf8  EFLAGS: 00010206
[  404.253645] RAX: 2020302e30202030 RBX: ffff880144fdb000 RCX: 0000000000000086
[  404.253652] RDX: 0000000000000001 RSI: 0000000000000086 RDI: ffff880144fdb000
[  404.253659] RBP: ffff880144a2bd18 R08: 0000000000000651 R09: 0000000000000006
[  404.253666] R10: 0000000000000651 R11: 0000000000000006 R12: ffff880144fdb000
[  404.253673] R13: ffff880149371098 R14: ffff880144482c00 R15: ffffffffa04710e0
[  404.253681] FS:  00007f251c59a700(0000) GS:ffff88014e200000(0000) knlGS:0000000000000000
[  404.253689] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  404.253696] CR2: ffffffffff600400 CR3: 0000000145319000 CR4: 00000000001407f0
[  404.253703] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  404.253710] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  404.253716] Stack:
[  404.253720]  ffff880144fdb000 ffff880143ffe000 ffff880149371098 ffffffffa0471000
[  404.253732]  ffff880144a2bd38 ffffffff8133502d ffff88014e20cf48 ffff880143ffe1d8
[  404.253744]  ffff880144a2bd48 ffffffffa02a4749 ffff880144a2bd58 ffffffffa02a4ba1
[  404.253755] Call Trace:
[  404.253766]  [&lt;ffffffff8133502d&gt;] device_unregister+0x1d/0x60
[  404.253787]  [&lt;ffffffffa02a4749&gt;] mei_cl_remove_device+0x9/0x10 [mei]
[  404.253804]  [&lt;ffffffffa02a4ba1&gt;] mei_nfc_host_exit+0x21/0x30 [mei]
[  404.253819]  [&lt;ffffffffa029c2dd&gt;] mei_stop+0x3d/0x90 [mei]
[  404.253830]  [&lt;ffffffffa046e220&gt;] mei_me_remove+0x60/0xe0 [mei_me]
[  404.253843]  [&lt;ffffffff81278f37&gt;] pci_device_remove+0x37/0xb0
[  404.253855]  [&lt;ffffffff81337c68&gt;] __device_release_driver+0x98/0x100
[  404.253865]  [&lt;ffffffff81337d80&gt;] driver_detach+0xb0/0xc0
[  404.253876]  [&lt;ffffffff81336b4f&gt;] bus_remove_driver+0x8f/0x120
[  404.253891]  [&lt;ffffffff81075990&gt;] ? try_to_wake_up+0x2b0/0x2b0
[  404.253903]  [&lt;ffffffff81338a48&gt;] driver_unregister+0x58/0x90
[  404.253913]  [&lt;ffffffff8127906b&gt;] pci_unregister_driver+0x2b/0xb0
[  404.253924]  [&lt;ffffffffa046f244&gt;] mei_me_driver_exit+0x10/0xdcc [mei_me]
[  404.253936]  [&lt;ffffffff810a50d8&gt;] SyS_delete_module+0x198/0x2b0
[  404.253949]  [&lt;ffffffff814850d9&gt;] ? do_page_fault+0x9/0x10
[  404.253961]  [&lt;ffffffff81489692&gt;] system_call_fastpath+0x16/0x1b
[  404.253967] Code: 41 5c 41 5d 41 5e 41 5f c9 c3 0f 1f 40 00 55 48 89 e5 41 56 41 55 41 54 49 89 fc 53 48 8b 87 88 00 00 00 4c 8b 37 48 85 c0 74 18 &lt;48&gt; 8b 78 78 4c 89 e2 be 02 00 00 00 48 81 c7 f8 00 00 00 e8 3b
[  404.254048] RIP  [&lt;ffffffff81334e5d&gt;] device_del+0x1d/0x1d0

Cc: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Signed-off-by: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>mei: init: Flush scheduled work before resetting the device</title>
<updated>2013-06-14T05:31:05Z</updated>
<author>
<name>Samuel Ortiz</name>
<email>sameo@linux.intel.com</email>
</author>
<published>2013-06-10T07:10:25Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5e85b364481af75e84228cd8704bd490493818a2'/>
<id>urn:sha1:5e85b364481af75e84228cd8704bd490493818a2</id>
<content type='text'>
Flushing pending work items before resetting the device makes more
sense than doing so afterwards. Some of them, like e.g. the NFC
initialization one, find themselves with client IDs changed after
the reset, eventually leading to trigger a client.c:mei_me_cl_by_id()
warning after a few modprobe/rmmod cycles.

Signed-off-by: Samuel Ortiz &lt;sameo@linux.intel.com&gt;
Signed-off-by: Tomas Winkler &lt;tomas.winkler@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/misc/sgi-gru/grufile.c: fix info leak in gru_get_config_info()</title>
<updated>2013-06-12T23:29:46Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2013-06-12T21:05:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=282c4c0ecce9b9ac1b69acae32a4239441601405'/>
<id>urn:sha1:282c4c0ecce9b9ac1b69acae32a4239441601405</id>
<content type='text'>
The "info.fill" array isn't initialized so it can leak uninitialized stack
information to user space.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Acked-by: Robin Holt &lt;holt@sgi.com&gt;
Acked-by: Dimitri Sivanich &lt;sivanich@sgi.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Merge tag 'char-misc-3.10-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc</title>
<updated>2013-05-23T16:26:32Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2013-05-23T16:26:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5cc0c03823ca18c490f8223f85ed40f2a9d936c4'/>
<id>urn:sha1:5cc0c03823ca18c490f8223f85ed40f2a9d936c4</id>
<content type='text'>
Pull char/misc driver fixes from Greg Kroah-Hartman:
 "Here are some small char/misc driver fixes for 3.10-rc2.

  Nothing major here, just a number of fixes for things that people have
  reported, and a MAINTAINERS update for the recent changes for the
  hyperv files that went into 3.10-rc1."

* tag 'char-misc-3.10-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
  ttyprintk: Fix NULL pointer deref by setting tty_port ops after initializing port
  uio: UIO_DMEM_GENIRQ should depend on HAS_DMA
  MAINTAINERS: update Hyper-V file list
  mei: bus: Reset event_cb when disabling a device
  Drivers: hv: Fix a bug in get_vp_index()
  mei: fix out of array access to me clients array
  Char: lp, protect LPGETSTATUS with port_mutex
  dummy-irq: require the user to specify an IRQ number
</content>
</entry>
<entry>
<title>Merge tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux</title>
<updated>2013-05-22T14:16:49Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2013-05-22T14:16:49Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=94f1be9798c88b030256bdeb533008c3d55ec2c6'/>
<id>urn:sha1:94f1be9798c88b030256bdeb533008c3d55ec2c6</id>
<content type='text'>
Pull virtio fixes from Rusty Russell:
 "A build fix and a uapi exposure fix.  The build fix is later than I
  liked, but my first version broke linux-next due to overzealous header
  clean."

* tag 'fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux:
  virtio_console: fix uapi header
  Hoist memcpy_fromiovec/memcpy_toiovec into lib/
</content>
</entry>
</feed>
