<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/drivers/uio, branch v3.2.64</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.2.64</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v3.2.64'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2013-11-28T14:02:05Z</updated>
<entry>
<title>Fix a few incorrectly checked [io_]remap_pfn_range() calls</title>
<updated>2013-11-28T14:02:05Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2013-10-29T17:21:34Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=0bfd575845a118c5861ada86aba6211a5c1fc366'/>
<id>urn:sha1:0bfd575845a118c5861ada86aba6211a5c1fc366</id>
<content type='text'>
commit 7314e613d5ff9f0934f7a0f74ed7973b903315d1 upstream.

Nico Golde reports a few straggling uses of [io_]remap_pfn_range() that
really should use the vm_iomap_memory() helper.  This trivially converts
two of them to the helper, and comments about why the third one really
needs to continue to use remap_pfn_range(), and adds the missing size
check.

Reported-by: Nico Golde &lt;nico@ngolde.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org.
[bwh: Backported to 3.2:
 - Adjust context
 - Also remove redundant vm_flags changes, removed separately upstream]
Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
</content>
</entry>
<entry>
<title>uio: Add module.h to implicit drivers/uio users</title>
<updated>2011-10-31T23:32:10Z</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2011-07-17T20:38:40Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=2949ead4582963232bdc37a1bb9d22bc38363a39'/>
<id>urn:sha1:2949ead4582963232bdc37a1bb9d22bc38363a39</id>
<content type='text'>
We are cleaning up the omnipresent module.h stuff, so people
who really use it need to call it out explicitly.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>uio: Support physical addresses &gt;32 bits on 32-bit systems</title>
<updated>2011-10-18T18:18:57Z</updated>
<author>
<name>Kai Jiang</name>
<email>Kai.Jiang@freescale.com</email>
</author>
<published>2011-10-17T18:50:20Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=27a90700a4275c5178b883b65927affdafa5185c'/>
<id>urn:sha1:27a90700a4275c5178b883b65927affdafa5185c</id>
<content type='text'>
To support &gt;32-bit physical addresses for UIO_MEM_PHYS type we need to
extend the width of 'addr' in struct uio_mem.  Numerous platforms like
embedded PPC, ARM, and X86 have support for systems with larger physical
address than logical.

Since 'addr' may contain a physical, logical, or virtual address the
easiest solution is to just change the type to 'phys_addr_t' which
should always be greater than or equal to the sizeof(void *) such that
it can properly hold any of the address types.

For physical address we can support up to a 44-bit physical address on a
typical 32-bit system as we utilize remap_pfn_range() for the mapping of
the memory region and pfn's are represnted by shifting the address by
the page size (typically 4k).

Signed-off-by: Kai Jiang &lt;Kai.Jiang@freescale.com&gt;
Signed-off-by: Minghuan Lian &lt;Minghuan.Lian@freescale.com&gt;
Signed-off-by: Kumar Gala &lt;galak@kernel.crashing.org&gt;
Signed-off-by: Hans J. Koch &lt;hjk@hansjkoch.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>drivers:uio:fix section mismatch in uio_pdrv_genirq.c</title>
<updated>2011-08-23T00:52:01Z</updated>
<author>
<name>Wanlong Gao</name>
<email>gaowanlong@cn.fujitsu.com</email>
</author>
<published>2011-08-20T04:12:07Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=9245acd20d58d5a9a3ed5ebf8c486e0609027817'/>
<id>urn:sha1:9245acd20d58d5a9a3ed5ebf8c486e0609027817</id>
<content type='text'>
Remove the __devinitconst to fix the section mismatch.

WARNING: drivers/uio/built-in.o(.data+0x2e8): Section mismatch in
reference from the variable uio_pdrv_genirq to the variable
.devinit.rodata:uio_of_genirq_match
The variable uio_pdrv_genirq references
the variable __devinitconst uio_of_genirq_match
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the
variable:
*driver, *_template, *_timer, *_sht, *_ops, *_probe, *_probe_one,
*_console

Signed-off-by: Wanlong Gao &lt;gaowanlong@cn.fujitsu.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>drivers:uio:change the goto label to consistent with others</title>
<updated>2011-08-23T00:52:00Z</updated>
<author>
<name>Wanlong Gao</name>
<email>gaowanlong@cn.fujitsu.com</email>
</author>
<published>2011-08-20T04:12:08Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d80df1cea036ce8b6064b3b08dd58ad3eb55a6e9'/>
<id>urn:sha1:d80df1cea036ce8b6064b3b08dd58ad3eb55a6e9</id>
<content type='text'>
Remove one *goto* label in uio.c.

Signed-off-by: Wanlong Gao &lt;gaowanlong@cn.fujitsu.com&gt;
Signed-off-by: "Hans J. Koch" &lt;hjk@hansjkoch.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>uio: uio_pci_generic: Remove useless spin_lock</title>
<updated>2011-08-23T00:52:00Z</updated>
<author>
<name>Hans J. Koch</name>
<email>hjk@hansjkoch.de</email>
</author>
<published>2011-08-09T18:53:41Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=4e0b72fd7444e07e2870d193ce8fb6b0b00f5a89'/>
<id>urn:sha1:4e0b72fd7444e07e2870d193ce8fb6b0b00f5a89</id>
<content type='text'>
The spin_lock in uio_pci_generic.c is only used in the interrupt
handler, which cannot be executed twice at the same time.
That makes the lock rather pointless. This patch removes it.

Cc: "Michael S. Tsirkin" &lt;mst@redhat.com&gt;
Cc: Chris Wright &lt;chrisw@redhat.com&gt;
Cc: Jesse Barnes &lt;jbarnes@virtuousgeek.org&gt;
Cc: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Cc: Anthony Foiani &lt;anthony.foiani@gmail.com&gt;
Reported-by: Anthony Foiani &lt;anthony.foiani@gmail.com&gt;
Reported-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Hans J. Koch &lt;hjk@hansjkoch.de&gt;
Acked-by: Michael S. Tsirkin &lt;mst@redhat.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6</title>
<updated>2011-07-26T06:06:24Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2011-07-26T06:06:24Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=f0deb97ab13ad1f89cd0993f7339655d59788405'/>
<id>urn:sha1:f0deb97ab13ad1f89cd0993f7339655d59788405</id>
<content type='text'>
* 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6:
  updated Documentation/ja_JP/SubmittingPatches
  debugfs: add documentation for debugfs_create_x64
  uio: uio_pdrv_genirq: Add OF support
  firmware: gsmi: remove sysfs entries when unload the module
  Documentation/zh_CN: Fix messy code file email-clients.txt
  driver core: add more help description for "path to uevent helper"
  driver-core: modify FIRMWARE_IN_KERNEL help message
  driver-core: Kconfig grammar corrections in firmware configuration
  DOCUMENTATION: Replace create_device() with device_create().
  DOCUMENTATION: Update overview.txt in Doc/driver-model.
  pti: pti_tty_install documentation mispelling.
</content>
</entry>
<entry>
<title>uio: uio_pdrv_genirq: Add OF support</title>
<updated>2011-07-08T22:01:17Z</updated>
<author>
<name>Hans J. Koch</name>
<email>hjk@hansjkoch.de</email>
</author>
<published>2011-07-07T21:11:38Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=27760f868663310ff9e701f47aec33da3b906f34'/>
<id>urn:sha1:27760f868663310ff9e701f47aec33da3b906f34</id>
<content type='text'>
Adding OF binding to genirq.
Version string is setup to the "devicetree".

Compatible string is not setup for now but you can add your
custom compatible string to uio_of_genirq_match structure.

For example with "vendor,device" compatible string:
static const struct of_device_id __devinitconst uio_of_genirq_match[] = {
	{ .compatible = "vendor,device", },
	{ /* empty for now */ },
};

Signed-off-by: Michal Simek &lt;monstr@monstr.eu&gt;
Signed-off-by: Hans J. Koch &lt;hjk@hansjkoch.de&gt;
Reviewed-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
CC: Hans J. Koch &lt;hjk@hansjkoch.de&gt;
CC: Arnd Bergmann &lt;arnd@arndb.de&gt;
CC: John Williams &lt;john.williams@petalogix.com&gt;
CC: Grant Likely &lt;grant.likely@secretlab.ca&gt;
CC: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>treewide: Convert uses of struct resource to resource_size(ptr)</title>
<updated>2011-06-10T12:55:36Z</updated>
<author>
<name>Joe Perches</name>
<email>joe@perches.com</email>
</author>
<published>2011-06-09T16:13:32Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=28f65c11f2ffb3957259dece647a24f8ad2e241b'/>
<id>urn:sha1:28f65c11f2ffb3957259dece647a24f8ad2e241b</id>
<content type='text'>
Several fixes as well where the +1 was missing.

Done via coccinelle scripts like:

@@
struct resource *ptr;
@@

- ptr-&gt;end - ptr-&gt;start + 1
+ resource_size(ptr)

and some grep and typing.

Mostly uncompiled, no cross-compilers.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
</content>
</entry>
<entry>
<title>uio: clean uioinfo when uninstall uio driver</title>
<updated>2011-04-19T23:59:57Z</updated>
<author>
<name>Jie Zhou</name>
<email>b30303@freescale.com</email>
</author>
<published>2011-04-06T06:42:40Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=47296b1962ead8301488f0dbe8424c7db7eac635'/>
<id>urn:sha1:47296b1962ead8301488f0dbe8424c7db7eac635</id>
<content type='text'>
The uioinfo should be cleaned up when uninstall, otherwise re-install
failure of uio_pdrv_genirq.ko will happen.

Signed-off-by: Jie Zhou &lt;b30303@freescale.com&gt;
Signed-off-by: Aisheng Dong &lt;b29396@freescale.com&gt;
Signed-off-by: Hans J. Koch &lt;hjk@hansjkoch.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
</feed>
