<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/parport/share.c, branch linux-3.16.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.16.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.16.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-03-01T00:22:42Z</updated>
<entry>
<title>parport: fix interruptible_sleep_on race</title>
<updated>2014-03-01T00:22:42Z</updated>
<author>
<name>Arnd Bergmann</name>
</author>
<published>2014-02-26T11:01:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=76ae0536ddc0aa576f2aac11f0f82d0fd60b522c'/>
<id>urn:sha1:76ae0536ddc0aa576f2aac11f0f82d0fd60b522c</id>
<content type='text'>
The interruptible_sleep_on function is can still lead to the
deadlock mentioned in the comment above the caller, and we want
to remove it soon, so replace it now with the race-free
wait_event_interruptible.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Cc: Andrew Morton &lt;akpm@osdl.org&gt;
Cc: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>drivers/parport/share.c: use kzalloc</title>
<updated>2013-07-03T23:08:06Z</updated>
<author>
<name>Alexandru Gheorghiu</name>
</author>
<published>2013-07-03T22:09:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c32df4e182e5bf40edde45da247318986d3cbf91'/>
<id>urn:sha1:c32df4e182e5bf40edde45da247318986d3cbf91</id>
<content type='text'>
Replaced calls to kmalloc and memset with kzalloc.
Patch found using coccinelle.

Signed-off-by: Alexandru Gheorghiu &lt;gheorghiuandru@gmail.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>parport: make lockdep happy with waitlist_lock</title>
<updated>2011-01-26T00:49:59Z</updated>
<author>
<name>Alexander Gordeev</name>
</author>
<published>2011-01-25T23:07:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cbeb4b7ad5346516d2ee726395eb5722b25a0a01'/>
<id>urn:sha1:cbeb4b7ad5346516d2ee726395eb5722b25a0a01</id>
<content type='text'>
parport_unregister_device() should never be used when interrupts are
enabled in hardware and irq handler is registered so there is no need to
disable interrupts when using waitlist_lock.  But there is no way to
explain this subtle semantics to lockdep analyzer.

So disable interrupts here too to simplify things.  The price is
negligible.

Signed-off-by: Alexander Gordeev &lt;lasaine@lvk.cs.msu.su&gt;
Cc: Ingo Molnar &lt;mingo@elte.hu&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>parport: Semaphore cleanup</title>
<updated>2010-10-12T15:36:10Z</updated>
<author>
<name>Thomas Gleixner</name>
</author>
<published>2010-09-07T14:32:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a529f1505b6facfd0078dcb18a444976c1985962'/>
<id>urn:sha1:a529f1505b6facfd0078dcb18a444976c1985962</id>
<content type='text'>
Get rid of init_MUTEX[_LOCKED]() and use sema_init() instead.

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Cc: Christoph Hellwig &lt;hch@infradead.org&gt;
LKML-Reference: &lt;20100907125055.743613774@linutronix.de&gt;

</content>
</entry>
<entry>
<title>parport: quickfix the proc registration bug</title>
<updated>2009-06-02T16:53:22Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2009-06-02T15:58:10Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=05ad709d04799125ed85dd816fdb558258102172'/>
<id>urn:sha1:05ad709d04799125ed85dd816fdb558258102172</id>
<content type='text'>
Ideally we should have a directory of drivers and a link to the 'active'
driver. For now just show the first device which is effectively the existing
semantics without a warning.

This is an update on the original buggy patch that I then forgot to
resubmit. Confusingly it was proposed by Red Hat, written by Etched Pixels
fixed and submitted by Intel ...

Resolves-Bug: http://bugzilla.kernel.org/show_bug.cgi?id=9749
Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>parport: remove CVS keywords</title>
<updated>2008-10-16T18:21:49Z</updated>
<author>
<name>Adrian Bunk</name>
</author>
<published>2008-10-16T05:04:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=612de10db06c0704a66bbe7fd13990cb1c2cb958'/>
<id>urn:sha1:612de10db06c0704a66bbe7fd13990cb1c2cb958</id>
<content type='text'>
Remove CVS keywords that weren't updated for a long time from comments.

Signed-off-by: Adrian Bunk &lt;bunk@kernel.org&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>[PARPORT] Remove unused 'irq' argument from parport irq functions</title>
<updated>2007-10-23T23:53:16Z</updated>
<author>
<name>Jeff Garzik</name>
</author>
<published>2007-10-19T06:54:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5712cb3d81566893c3b14e24075cf48ec5c35d00'/>
<id>urn:sha1:5712cb3d81566893c3b14e24075cf48ec5c35d00</id>
<content type='text'>
None of the drivers with a struct pardevice's -&gt;irq_func() hook ever
used the 'irq' argument passed to it, so remove it.

Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
<entry>
<title>[PARPORT] Kill useful 'irq' arg from parport_{generic_irq,ieee1284_interrupt}</title>
<updated>2007-10-23T23:53:15Z</updated>
<author>
<name>Jeff Garzik</name>
</author>
<published>2007-10-19T05:56:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f230d1010ad0dcd71d9ca8ea6864afac49c5aa9b'/>
<id>urn:sha1:f230d1010ad0dcd71d9ca8ea6864afac49c5aa9b</id>
<content type='text'>
parport_ieee1284_interrupt() was not using its first arg at all.
Delete.

parport_generic_irq()'s second arg makes its first arg completely
redundant.  Delete, and use port-&gt;irq in the one place where we actually
need it.

Also, s/__inline__/inline/ to make the code look nicer.

Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
<entry>
<title>[PARPORT] Consolidate code copies into a single generic irq handler</title>
<updated>2007-10-23T23:53:15Z</updated>
<author>
<name>Jeff Garzik</name>
</author>
<published>2007-10-19T05:42:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3f2e40df0e1d7694224c3083b0bebd129039a40a'/>
<id>urn:sha1:3f2e40df0e1d7694224c3083b0bebd129039a40a</id>
<content type='text'>
Several arches used the exact same code for their parport irq handling.
Make that code generic, in parport_irq_handler().

Also, s/__inline__/inline/ in include/linux/parport.h.

Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
</content>
</entry>
<entry>
<title>parport-&gt;dev driver model support</title>
<updated>2007-05-08T18:15:05Z</updated>
<author>
<name>David Brownell</name>
</author>
<published>2007-05-08T07:27:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c15a3837d2aa30e3ea41aed49d80abed355ab6bd'/>
<id>urn:sha1:c15a3837d2aa30e3ea41aed49d80abed355ab6bd</id>
<content type='text'>
Currently a parport_driver can't get a handle on the device node for the
underlying parport (PNPACPI, PCI, etc).  That prevents correct placement of
sysfs child nodes, which can affect things like power management.

This patch adds a field to "struct parport" pointing to that device node, and
updates non-legacy port drivers to initialize that device pointer.  That field
replaces the analagous PCI-only support in parport_pc.

[akpm@linux-foundation.org: fix powerpc build]
Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Cc: Paul Mackerras &lt;paulus@samba.org&gt;
Cc: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&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>
