<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/ide/ide.c, branch linux-2.6.20.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.20.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.20.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-04-06T10:43:11Z</updated>
<entry>
<title>ide: clear bmdma status in ide_intr() for ICHx controllers (revised #4)</title>
<updated>2007-04-06T10:43:11Z</updated>
<author>
<name>Albert Lee</name>
</author>
<published>2007-03-21T20:08:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9757c1a00e0494b5bb19383c9cba2906b471464e'/>
<id>urn:sha1:9757c1a00e0494b5bb19383c9cba2906b471464e</id>
<content type='text'>
ide: clear bmdma status in ide_intr() for ICHx controllers (revised #4)

patch 1/2 (revised):
- Fix drive-&gt;waiting_for_dma to work with CDB-intr devices.
- Do the dma status clearing in ide_intr() and add a new
  hwif-&gt;ide_dma_clear_irq for Intel ICHx controllers.

Revised per Alan, Sergei and Bart's advice.

Patch against 2.6.20-rc6. Tested ok on my ICH4 and pdc20275 adapters.
Please review/apply, thanks.

Signed-off-by: Albert Lee &lt;albertcc@tw.ibm.com&gt;
Cc: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Cc: Adam Hawks &lt;awhawks@us.ibm.com&gt;
Cc: Chuck Ebbert &lt;cebbert@redhat.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>[PATCH] ide section fixes</title>
<updated>2007-02-02T00:17:06Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2007-02-01T13:52:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=eb7972271720bfc64dc8bacc5b15f874c0bcc859'/>
<id>urn:sha1:eb7972271720bfc64dc8bacc5b15f874c0bcc859</id>
<content type='text'>
a) cleanup_module() should be __exit
b) externs should match reality

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>ide: unregister idepnp driver on unload</title>
<updated>2007-01-27T12:47:02Z</updated>
<author>
<name>Tejun Heo</name>
</author>
<published>2007-01-27T12:47:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=6855036aa035913bc2bfb31c41576a49f42ecd5f'/>
<id>urn:sha1:6855036aa035913bc2bfb31c41576a49f42ecd5f</id>
<content type='text'>
idepnp driver is registered as a pnp driver on ide init but doesn't
get unregistered on ide unload causing driver list corruption and
eventually oops.  Fix it.

Signed-off-by: Tejun Heo &lt;htejun@gmail.com&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
</entry>
<entry>
<title>[PATCH] lockdep: fix ide/proc interaction</title>
<updated>2006-12-07T16:39:32Z</updated>
<author>
<name>Peter Zijlstra</name>
</author>
<published>2006-12-07T04:36:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9a2239b1174bdf0952a21ed328cd74240d2dd173'/>
<id>urn:sha1:9a2239b1174bdf0952a21ed328cd74240d2dd173</id>
<content type='text'>
  rmmod/3080 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire:
   (proc_subdir_lock){--..}, at: [&lt;c04a33b0&gt;] remove_proc_entry+0x40/0x191

  and this task is already holding:
   (ide_lock){++..}, at: [&lt;c05651a2&gt;] ide_unregister_subdriver+0x39/0xc8
  which would create a new lock dependency:
   (ide_lock){++..} -&gt; (proc_subdir_lock){--..}

  but this new dependency connects a hard-irq-safe lock:
   (ide_lock){++..}
  ... which became hard-irq-safe at:
    [&lt;c043c458&gt;] lock_acquire+0x4b/0x6b
    [&lt;c06129d7&gt;] _spin_lock_irqsave+0x22/0x32
    [&lt;c0567870&gt;] ide_intr+0x17/0x1a9
    [&lt;c044eb31&gt;] handle_IRQ_event+0x20/0x4d
    [&lt;c044ebf2&gt;] __do_IRQ+0x94/0xef
    [&lt;c0406771&gt;] do_IRQ+0x9e/0xbd

  to a hard-irq-unsafe lock:
   (proc_subdir_lock){--..}
  ... which became hard-irq-unsafe at:
  ...  [&lt;c043c458&gt;] lock_acquire+0x4b/0x6b
    [&lt;c06126ab&gt;] _spin_lock+0x19/0x28
    [&lt;c04a32f2&gt;] xlate_proc_name+0x1b/0x99
    [&lt;c04a3547&gt;] proc_create+0x46/0xdf
    [&lt;c04a3642&gt;] create_proc_entry+0x62/0xa5
    [&lt;c07c1972&gt;] proc_misc_init+0x1c/0x1d2
    [&lt;c07c1844&gt;] proc_root_init+0x4c/0xe9
    [&lt;c07ad703&gt;] start_kernel+0x294/0x3b3

Move ide_remove_proc_entries() out from under ide_lock; there is nothing
that indicates that this is needed.

In specific, the call to ide_add_proc_entries() is unprotected, and there
is nothing else in the file using the respective -&gt;proc fields. Also the
lock order around destroy_proc_ide_interface() suggests this.

Alan sayeth:

  proc_ide_write_settings walks the setting list under ide_setting_sem, read
  ditto.  remove_proc_entry is doing proc side housekeeping.

  Looks fine to me, although that old code is such a mess anything could be
  going on.

Signed-off-by: Peter Zijlstra &lt;a.p.zijlstra@chello.nl&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] ide: Fix crash on repeated reset</title>
<updated>2006-10-03T15:04:08Z</updated>
<author>
<name>Alan Cox</name>
</author>
<published>2006-10-03T08:14:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=913759ac90a727b86da72efcfb70931f497d1cb7'/>
<id>urn:sha1:913759ac90a727b86da72efcfb70931f497d1cb7</id>
<content type='text'>
Michal Miroslaw reported a problem (bugzilla #7023) where a user initiated
reset while the IDE layer was already resetting the channel caused a crash,
and provided a rough fix.

This is a slightly cleaner version of the fix which tracks the reset state
and blocks further reset requests while a reset is in progress.

Note this is not a security issue - random end users can't access the
ioctl in question anyway.

Signed-off-by: Alan Cox &lt;alan@redhat.com&gt;
Cc: Michal Miroslaw &lt;mirq-linux@rere.qmqm.pl&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] IDE core: driver layer error checking</title>
<updated>2006-10-03T15:04:08Z</updated>
<author>
<name>Randy Dunlap</name>
</author>
<published>2006-10-03T08:14:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=349ae23fe7379a42973bcb1c85f7d43ec583c17d'/>
<id>urn:sha1:349ae23fe7379a42973bcb1c85f7d43ec583c17d</id>
<content type='text'>
Check driver layer return values in IDE core.

Signed-off-by: Randy Dunlap &lt;rdunlap@xenotime.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] IDE: claim extra DMA ports regardless of channel</title>
<updated>2006-10-03T15:04:07Z</updated>
<author>
<name>Sergei Shtylylov</name>
</author>
<published>2006-10-03T08:14:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=020e322de3ff75d32daa58e431aad07071da27c6'/>
<id>urn:sha1:020e322de3ff75d32daa58e431aad07071da27c6</id>
<content type='text'>
- Claim extra DMA I/O ports regardless of what IDE channels are
  present/enabled.

- Remove extra ports handling from ide_mapped_mmio_dma() since it's not
  applicable to the custom-mapping IDE drivers.

Signed-off-by: Sergei Shtylyov &lt;sshtylyov@ru.mvista.com&gt;
Cc: Bartlomiej Zolnierkiewicz &lt;B.Zolnierkiewicz@elka.pw.edu.pl&gt;
Cc: Alan Cox &lt;alan@lxorguk.ukuu.org.uk&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] Remove -&gt;waiting member from struct request</title>
<updated>2006-09-30T18:29:12Z</updated>
<author>
<name>Jens Axboe</name>
</author>
<published>2006-09-30T18:29:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c00895ab2f08df7044e58ee01c38bf0a661ea0eb'/>
<id>urn:sha1:c00895ab2f08df7044e58ee01c38bf0a661ea0eb</id>
<content type='text'>
As the comments indicates in blkdev.h, we can fold it into -&gt;end_io_data
usage as that is really what -&gt;waiting is. Fixup the users of
blk_end_sync_rq().

Signed-off-by: Jens Axboe &lt;axboe@kernel.dk&gt;
</content>
</entry>
<entry>
<title>[PATCH] Split struct request -&gt;flags into two parts</title>
<updated>2006-09-30T18:23:37Z</updated>
<author>
<name>Jens Axboe</name>
</author>
<published>2006-08-10T06:44:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4aff5e2333c9a1609662f2091f55c3f6fffdad36'/>
<id>urn:sha1:4aff5e2333c9a1609662f2091f55c3f6fffdad36</id>
<content type='text'>
Right now -&gt;flags is a bit of a mess: some are request types, and
others are just modifiers. Clean this up by splitting it into
-&gt;cmd_type and -&gt;cmd_flags. This allows introduction of generic
Linux block message types, useful for sending generic Linux commands
to block devices.

Signed-off-by: Jens Axboe &lt;axboe@suse.de&gt;
</content>
</entry>
<entry>
<title>PM: PCI and IDE handle PM_EVENT_PRETHAW</title>
<updated>2006-09-26T04:08:37Z</updated>
<author>
<name>David Brownell</name>
</author>
<published>2006-08-15T06:11:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b887d2e63c8857149ef59eb6e05adfaa018b8ebf'/>
<id>urn:sha1:b887d2e63c8857149ef59eb6e05adfaa018b8ebf</id>
<content type='text'>
Convert some framework code to handle the new PRETHAW message.

  - IDE just treats it like a FREEZE.

  - The pci_choose_state() thingie still doesn't use PCI_D0 when it gets a
    FREEZE (and now PRETHAW) event, which seems rather buglike but wasn't
    something to change with this patch.

Signed-off-by: David Brownell &lt;dbrownell@users.sourceforge.net&gt;
Cc: "Rafael J. Wysocki" &lt;rjw@sisk.pl&gt;
Cc: Pavel Machek &lt;pavel@ucw.cz&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
</feed>
