<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/w1/w1_int.c, branch linux-3.2.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.2.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2011-11-07T03:44:47Z</updated>
<entry>
<title>Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux</title>
<updated>2011-11-07T03:44:47Z</updated>
<author>
<name>Linus Torvalds</name>
</author>
<published>2011-11-07T03:44:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=32aaeffbd4a7457bf2f7448b33b5946ff2a960eb'/>
<id>urn:sha1:32aaeffbd4a7457bf2f7448b33b5946ff2a960eb</id>
<content type='text'>
* 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux: (230 commits)
  Revert "tracing: Include module.h in define_trace.h"
  irq: don't put module.h into irq.h for tracking irqgen modules.
  bluetooth: macroize two small inlines to avoid module.h
  ip_vs.h: fix implicit use of module_get/module_put from module.h
  nf_conntrack.h: fix up fallout from implicit moduleparam.h presence
  include: replace linux/module.h with "struct module" wherever possible
  include: convert various register fcns to macros to avoid include chaining
  crypto.h: remove unused crypto_tfm_alg_modname() inline
  uwb.h: fix implicit use of asm/page.h for PAGE_SIZE
  pm_runtime.h: explicitly requires notifier.h
  linux/dmaengine.h: fix implicit use of bitmap.h and asm/page.h
  miscdevice.h: fix up implicit use of lists and types
  stop_machine.h: fix implicit use of smp.h for smp_processor_id
  of: fix implicit use of errno.h in include/linux/of.h
  of_platform.h: delete needless include &lt;linux/module.h&gt;
  acpi: remove module.h include from platform/aclinux.h
  miscdevice.h: delete unnecessary inclusion of module.h
  device_cgroup.h: delete needless include &lt;linux/module.h&gt;
  net: sch_generic remove redundant use of &lt;linux/module.h&gt;
  net: inet_timewait_sock doesnt need &lt;linux/module.h&gt;
  ...

Fix up trivial conflicts (other header files, and  removal of the ab3550 mfd driver) in
 - drivers/media/dvb/frontends/dibx000_common.c
 - drivers/media/video/{mt9m111.c,ov6650.c}
 - drivers/mfd/ab3550-core.c
 - include/linux/dmaengine.h
</content>
</entry>
<entry>
<title>drivers/w1/w1_int.c: multiple masters used same init_name</title>
<updated>2011-11-02T23:07:03Z</updated>
<author>
<name>Florian Faber</name>
</author>
<published>2011-11-02T20:39:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=68a436aec345c2bcd05dbdafae1f5f608ff8f61f'/>
<id>urn:sha1:68a436aec345c2bcd05dbdafae1f5f608ff8f61f</id>
<content type='text'>
When using multiple masters, w1_int.c would use the .init_name from w1.c
for all entities, which will fail when creating a corresponding sysfs
entry.  This patch uses the unique name previously generated.

  WARNING: at fs/sysfs/dir.c:451 sysfs_add_one+0x48/0x64()
  sysfs: cannot create duplicate filename '/devices/w1 bus master'
  Modules linked in:
  Call trace:
   [&lt;9001a604&gt;] warn_slowpath_common+0x34/0x44
   [&lt;9001a64c&gt;] warn_slowpath_fmt+0x14/0x18
   [&lt;90078020&gt;] sysfs_add_one+0x48/0x64
   [&lt;900784ec&gt;] create_dir+0x40/0x68
   [&lt;9007857a&gt;] sysfs_create_dir+0x66/0x78
   [&lt;900c1a8a&gt;] kobject_add_internal+0x6e/0x104
   [&lt;900c1bc0&gt;] kobject_add_varg+0x20/0x2c
   [&lt;900c1c1c&gt;] kobject_add+0x30/0x3c
   [&lt;900dbd66&gt;] device_add+0x6a/0x378
   [&lt;900dbb4a&gt;] device_initialize+0x12/0x48
   [&lt;900dc080&gt;] device_register+0xc/0x10
   [&lt;900f99be&gt;] w1_add_master_device+0x162/0x274
   [&lt;90008e7a&gt;] w1_gpio_probe+0x66/0xb4
   [&lt;9000030c&gt;] kernel_init+0x0/0xe8
   [&lt;900dde54&gt;] platform_drv_probe+0xc/0xe
   [&lt;9000030c&gt;] kernel_init+0x0/0xe8
   [&lt;900dd4f8&gt;] driver_probe_device+0x6c/0xdc
   [&lt;900dd5fc&gt;] __driver_attach+0x34/0x48
   [&lt;900dcce8&gt;] bus_for_each_dev+0x2c/0x48
   [&lt;900dd5c8&gt;] __driver_attach+0x0/0x48
   [&lt;900dd38c&gt;] driver_attach+0x10/0x14
   [&lt;900dd16a&gt;] bus_add_driver+0x6a/0x18c
   [&lt;900dd768&gt;] driver_register+0x60/0xb8
   [&lt;90011594&gt;] __initcall_w1_therm_init6+0x0/0x4
   [&lt;90008e00&gt;] w1_gpio_init+0x0/0x14
   [&lt;9000030c&gt;] kernel_init+0x0/0xe8
   [&lt;900ddf48&gt;] platform_driver_register+0x30/0x38
   [&lt;90011594&gt;] __initcall_w1_therm_init6+0x0/0x4
   [&lt;90008e00&gt;] w1_gpio_init+0x0/0x14
   [&lt;9000030c&gt;] kernel_init+0x0/0xe8
   [&lt;900ddf5e&gt;] platform_driver_probe+0xe/0x3c
   [&lt;90008e0c&gt;] w1_gpio_init+0xc/0x14
   [&lt;90011594&gt;] __initcall_w1_therm_init6+0x0/0x4
   [&lt;90008e00&gt;] w1_gpio_init+0x0/0x14
   [&lt;900126d4&gt;] do_one_initcall+0x34/0x130
   [&lt;90000372&gt;] kernel_init+0x66/0xe8
   [&lt;90011594&gt;] __initcall_w1_therm_init6+0x0/0x4
   [&lt;9001ca3e&gt;] do_exit+0x0/0x3a6
   [&lt;9000030c&gt;] kernel_init+0x0/0xe8
   [&lt;9001ca3e&gt;] do_exit+0x0/0x3a6

  ---[ end trace 5a9233884fead918 ]---
  kobject_add_internal failed for w1 bus master with -EEXIST, don't try to register things with the same name in the same directory.

Signed-off-by: Florian Faber &lt;faber@faberman.de&gt;
Cc: Evgeniy Polyakov &lt;zbr@ioremap.net&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>drivers/w1: Add moduleparam.h to drivers/w1/w1_int.c</title>
<updated>2011-10-31T23:32:00Z</updated>
<author>
<name>Paul Gortmaker</name>
</author>
<published>2011-09-16T03:09:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4d184129b2f91e41d357e920a25a83317d79dfe2'/>
<id>urn:sha1:4d184129b2f91e41d357e920a25a83317d79dfe2</id>
<content type='text'>
It doesn't need the full module.h but it was getting moduleparam.h
from the fact that module.h was everywhere.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>drivers/w1: Add export.h for EXPORT_SYMBOL/THIS_MODULE</title>
<updated>2011-10-31T23:32:00Z</updated>
<author>
<name>Paul Gortmaker</name>
</author>
<published>2011-07-10T17:21:52Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9623932cd5815e280cef5ebb54b5ee92bec382ad'/>
<id>urn:sha1:9623932cd5815e280cef5ebb54b5ee92bec382ad</id>
<content type='text'>
Give these files export.h so that they can reliably get the EXPORT_SYMBOL
and THIS_MODULE macros in the future, once module.h isn't implicitly
everywhere.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>MAINTAINERS: Evgeniy has moved</title>
<updated>2011-08-25T23:25:33Z</updated>
<author>
<name>Evgeniy Polyakov</name>
</author>
<published>2011-08-25T22:59:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a801876638c5ce650223476c4eb8f37cea32dc1c'/>
<id>urn:sha1:a801876638c5ce650223476c4eb8f37cea32dc1c</id>
<content type='text'>
Signed-off-by: Evgeniy Polyakov &lt;zbr@ioremap.net&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>include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h</title>
<updated>2010-03-30T13:02:32Z</updated>
<author>
<name>Tejun Heo</name>
</author>
<published>2010-03-24T08:04:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5a0e3ad6af8660be21ca98a971cd00f331318c05'/>
<id>urn:sha1:5a0e3ad6af8660be21ca98a971cd00f331318c05</id>
<content type='text'>
percpu.h is included by sched.h and module.h and thus ends up being
included when building most .c files.  percpu.h includes slab.h which
in turn includes gfp.h making everything defined by the two files
universally available and complicating inclusion dependencies.

percpu.h -&gt; slab.h dependency is about to be removed.  Prepare for
this change by updating users of gfp and slab facilities include those
headers directly instead of assuming availability.  As this conversion
needs to touch large number of source files, the following script is
used as the basis of conversion.

  http://userweb.kernel.org/~tj/misc/slabh-sweep.py

The script does the followings.

* Scan files for gfp and slab usages and update includes such that
  only the necessary includes are there.  ie. if only gfp is used,
  gfp.h, if slab is used, slab.h.

* When the script inserts a new include, it looks at the include
  blocks and try to put the new include such that its order conforms
  to its surrounding.  It's put in the include block which contains
  core kernel includes, in the same order that the rest are ordered -
  alphabetical, Christmas tree, rev-Xmas-tree or at the end if there
  doesn't seem to be any matching order.

* If the script can't find a place to put a new include (mostly
  because the file doesn't have fitting include block), it prints out
  an error message indicating which .h file needs to be added to the
  file.

The conversion was done in the following steps.

1. The initial automatic conversion of all .c files updated slightly
   over 4000 files, deleting around 700 includes and adding ~480 gfp.h
   and ~3000 slab.h inclusions.  The script emitted errors for ~400
   files.

2. Each error was manually checked.  Some didn't need the inclusion,
   some needed manual addition while adding it to implementation .h or
   embedding .c file was more appropriate for others.  This step added
   inclusions to around 150 files.

3. The script was run again and the output was compared to the edits
   from #2 to make sure no file was left behind.

4. Several build tests were done and a couple of problems were fixed.
   e.g. lib/decompress_*.c used malloc/free() wrappers around slab
   APIs requiring slab.h to be added manually.

5. The script was run on all .h files but without automatically
   editing them as sprinkling gfp.h and slab.h inclusions around .h
   files could easily lead to inclusion dependency hell.  Most gfp.h
   inclusion directives were ignored as stuff from gfp.h was usually
   wildly available and often used in preprocessor macros.  Each
   slab.h inclusion directive was examined and added manually as
   necessary.

6. percpu.h was updated not to include slab.h.

7. Build test were done on the following configurations and failures
   were fixed.  CONFIG_GCOV_KERNEL was turned off for all tests (as my
   distributed build env didn't work with gcov compiles) and a few
   more options had to be turned off depending on archs to make things
   build (like ipr on powerpc/64 which failed due to missing writeq).

   * x86 and x86_64 UP and SMP allmodconfig and a custom test config.
   * powerpc and powerpc64 SMP allmodconfig
   * sparc and sparc64 SMP allmodconfig
   * ia64 SMP allmodconfig
   * s390 SMP allmodconfig
   * alpha SMP allmodconfig
   * um on x86_64 SMP allmodconfig

8. percpu.h modifications were reverted so that it could be applied as
   a separate patch and serve as bisection point.

Given the fact that I had only a couple of failures from tests on step
6, I'm fairly confident about the coverage of this conversion patch.
If there is a breakage, it's likely to be something in one of the arch
headers which should be easily discoverable easily on most builds of
the specific arch.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Guess-its-ok-by: Christoph Lameter &lt;cl@linux-foundation.org&gt;
Cc: Ingo Molnar &lt;mingo@redhat.com&gt;
Cc: Lee Schermerhorn &lt;Lee.Schermerhorn@hp.com&gt;
</content>
</entry>
<entry>
<title>w1: struct device - replace bus_id with dev_name(), dev_set_name()</title>
<updated>2009-01-06T18:44:34Z</updated>
<author>
<name>Kay Sievers</name>
</author>
<published>2009-01-06T18:44:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=40f91de6a1d65a2d0ce8bc296ed0a2d53d63c845'/>
<id>urn:sha1:40f91de6a1d65a2d0ce8bc296ed0a2d53d63c845</id>
<content type='text'>
CC: Evgeniy Polyakov &lt;johnpol@2ka.mipt.ru&gt;
Signed-off-by: Kay Sievers &lt;kay.sievers@vrfy.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>W1: w1_int.c use first available master number</title>
<updated>2008-10-16T18:21:50Z</updated>
<author>
<name>David Fries</name>
</author>
<published>2008-10-16T05:04:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=af00a2d5a047455b35d1e7dc4c7d9993c2bcfb93'/>
<id>urn:sha1:af00a2d5a047455b35d1e7dc4c7d9993c2bcfb93</id>
<content type='text'>
Follow the example of other devices (like the joystick device).  Pick the
first available id for each detected device.  Currently for USB devices,
suspending and resuming would cause the number to increment.

Signed-off-by: David Fries &lt;david@fries.net&gt;
Signed-off-by: Evgeniy Polyakov &lt;johnpol@2ka.mipt.ru&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>W1: new module parameter search_count</title>
<updated>2008-10-16T18:21:49Z</updated>
<author>
<name>David Fries</name>
</author>
<published>2008-10-16T05:04:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9141f57c7edd40a48a41b7e31427c4b2831a36af'/>
<id>urn:sha1:9141f57c7edd40a48a41b7e31427c4b2831a36af</id>
<content type='text'>
Added a new module parameter search_count which allows overriding the
default search count.  -1 continual, 0 disabled, N that many times.

Signed-off-by: David Fries &lt;david@fries.net&gt;
Signed-off-by: Evgeniy Polyakov &lt;johnpol@2ka.mipt.ru&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>W1: feature, enable hardware strong pullup</title>
<updated>2008-10-16T18:21:49Z</updated>
<author>
<name>David Fries</name>
</author>
<published>2008-10-16T05:04:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6a158c0de791a81eb761ccf26ead1bd0834abac2'/>
<id>urn:sha1:6a158c0de791a81eb761ccf26ead1bd0834abac2</id>
<content type='text'>
Add a strong pullup option to the w1 system.  This supplies extra power
for parasite powered devices.  There is a w1_master_pullup sysfs entry and
enable_pullup module parameter to enable or disable the strong pullup.

The one wire bus requires at a minimum one wire and ground.  The common
wire is used for sending and receiving data as well as supplying power to
devices that are parasite powered of which temperature sensors can be one
example.  The bus must be idle and left high while a temperature
conversion is in progress, in addition the normal pullup resister on
larger networks or even higher temperatures might not supply enough power.
 The pullup resister can't provide too much pullup current, because
devices need to pull the bus down to write a value.  This enables the
strong pullup for supported hardware, which can supply more current when
requested.  Unsupported hardware will just delay with the bus high.

The hardware USB 2490 one wire bus master has a bit on some commands which
will enable the strong pullup as soon as the command finishes executing.
To use strong pullup, call the new w1_next_pullup function to register the
duration.  The next write command will call set_pullup before sending the
data, and reset the duration to zero once it returns.

Switched from simple_strtol to strict_strtol.

Signed-off-by: David Fries &lt;david@fries.net&gt;
Cc: Evgeniy Polyakov &lt;johnpol@2ka.mipt.ru&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>
</feed>
