<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-stable.git/drivers/ide/icside.c, branch linux-5.4.y</title>
<subtitle>Linux kernel stable tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/'/>
<entry>
<title>treewide: Add SPDX license identifier for more missed files</title>
<updated>2019-05-21T08:50:45+00:00</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2019-05-19T12:08:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=09c434b8a0047c69e48499de0107de312901e798'/>
<id>09c434b8a0047c69e48499de0107de312901e798</id>
<content type='text'>
Add SPDX license identifiers to all files which:

 - Have no license information of any form

 - Have MODULE_LICENCE("GPL*") inside which was used in the initial
   scan/conversion to ignore the file

These files fall under the project license, GPL v2 only. The resulting SPDX
license identifier is:

  GPL-2.0-only

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add SPDX license identifiers to all files which:

 - Have no license information of any form

 - Have MODULE_LICENCE("GPL*") inside which was used in the initial
   scan/conversion to ignore the file

These files fall under the project license, GPL v2 only. The resulting SPDX
license identifier is:

  GPL-2.0-only

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: icside: remove incorrect initconst annotation</title>
<updated>2016-03-20T20:59:27+00:00</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2016-02-08T14:31:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=eccf432f6542d9895d6c50edb5634c6147918ed2'/>
<id>eccf432f6542d9895d6c50edb5634c6147918ed2</id>
<content type='text'>
The icside_probe function can be called for hotplugged devices, so
its reference to the __initconst icside_v6_port_info variable
may be invalid, as Kbuild points out:

WARNING: drivers/ide/icside.o(.text+0x338): Section mismatch in reference from the function icside_probe()
 to the (unknown reference) .init.rodata:(unknown)

Interestingly, this problem only shows up with clang but not
with gcc, which optimizes out the __initconst variable.

This removes the incorrect annotation.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The icside_probe function can be called for hotplugged devices, so
its reference to the __initconst icside_v6_port_info variable
may be invalid, as Kbuild points out:

WARNING: drivers/ide/icside.o(.text+0x338): Section mismatch in reference from the function icside_probe()
 to the (unknown reference) .init.rodata:(unknown)

Interestingly, this problem only shows up with clang but not
with gcc, which optimizes out the __initconst variable.

This removes the incorrect annotation.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Drivers: ide: remove __dev* attributes.</title>
<updated>2013-01-03T23:57:03+00:00</updated>
<author>
<name>Greg Kroah-Hartman</name>
<email>gregkh@linuxfoundation.org</email>
</author>
<published>2012-12-21T21:21:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=fe31edc8a3b6081f3580c9ae4c5c61103f3412a5'/>
<id>fe31edc8a3b6081f3580c9ae4c5c61103f3412a5</id>
<content type='text'>
CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
markings need to be removed.

This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.

Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.

Cc: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
markings need to be removed.

This change removes the use of __devinit, __devexit_p, __devinitdata,
__devinitconst, and __devexit from these drivers.

Based on patches originally written by Bill Pemberton, but redone by me
in order to handle some of the coding style issues better, by hand.

Cc: Bill Pemberton &lt;wfp5p@virginia.edu&gt;
Cc: "David S. Miller" &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>sections: fix section conflicts in drivers/ide</title>
<updated>2012-10-05T18:04:41+00:00</updated>
<author>
<name>Andi Kleen</name>
<email>ak@linux.intel.com</email>
</author>
<published>2012-10-05T00:11:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=e6b53703b9966a3636be2bd4b7b8e0bfeb1b3f8d'/>
<id>e6b53703b9966a3636be2bd4b7b8e0bfeb1b3f8d</id>
<content type='text'>
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Cc: David Miller &lt;davem@davemloft.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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Andi Kleen &lt;ak@linux.intel.com&gt;
Cc: David Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: icside.c: fix printk format string compile warning</title>
<updated>2012-06-06T17:36:47+00:00</updated>
<author>
<name>Christian Dietrich</name>
<email>christian.dietrich@informatik.uni-erlangen.de</email>
</author>
<published>2012-06-05T02:28:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=027253c138a12b075e724f94b6cc43fd7071c14f'/>
<id>027253c138a12b075e724f94b6cc43fd7071c14f</id>
<content type='text'>
Use correct format string parameter for the peak datarate, and prevent
uninitialized use of cycle_time.

Signed-off-by: Christian Dietrich &lt;christian.dietrich@informatik.uni-erlangen.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use correct format string parameter for the peak datarate, and prevent
uninitialized use of cycle_time.

Signed-off-by: Christian Dietrich &lt;christian.dietrich@informatik.uni-erlangen.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: icside.c: Fix compile with CONFIG_BLK_DEV_IDEDMA_ICS=n</title>
<updated>2012-06-06T17:36:47+00:00</updated>
<author>
<name>Christian Dietrich</name>
<email>christian.dietrich@informatik.uni-erlangen.de</email>
</author>
<published>2012-06-05T02:23:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=32a527add871a51b3c06177849d18bf71e33b320'/>
<id>32a527add871a51b3c06177849d18bf71e33b320</id>
<content type='text'>
The icside driver can be configured without DMA support, but it
doesn't compile then, because DMA operations are referenced.

drivers/ide/icside.c:523: error: 'icside_v6_port_ops' undeclared
drivers/ide/icside.c:522: error: 'icside_dma_init' undeclared

Signed-off-by: Christian Dietrich&lt;christian.dietrich@informatik.uni-erlangen.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The icside driver can be configured without DMA support, but it
doesn't compile then, because DMA operations are referenced.

drivers/ide/icside.c:523: error: 'icside_v6_port_ops' undeclared
drivers/ide/icside.c:522: error: 'icside_dma_init' undeclared

Signed-off-by: Christian Dietrich&lt;christian.dietrich@informatik.uni-erlangen.de&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>icside: DMA support fix</title>
<updated>2011-10-13T21:04:50+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2011-10-12T04:45:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=acc8dbe7f44f1bab6fcf21f2d5efb32ea92e19fd'/>
<id>acc8dbe7f44f1bab6fcf21f2d5efb32ea92e19fd</id>
<content type='text'>
Fix problem introduced by commit 5e37bdc ("ide: add struct
ide_dma_ops (take 3)"): d.dma_ops shouldn't be cleared if
we are going to use DMA.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix problem introduced by commit 5e37bdc ("ide: add struct
ide_dma_ops (take 3)"): d.dma_ops shouldn't be cleared if
we are going to use DMA.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ide-2.6</title>
<updated>2010-03-03T07:57:59+00:00</updated>
<author>
<name>David S. Miller</name>
<email>davem@davemloft.net</email>
</author>
<published>2010-03-03T07:57:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=950f564b707ca1b1c5bb94cd1e7d2a0702bfcadc'/>
<id>950f564b707ca1b1c5bb94cd1e7d2a0702bfcadc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ide: change -&gt;set_dma_mode method parameters</title>
<updated>2010-01-19T09:45:29+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2010-01-19T09:45:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=8776168ca2151850164af1de5565d01f7b8b2c53'/>
<id>8776168ca2151850164af1de5565d01f7b8b2c53</id>
<content type='text'>
Change -&gt;set_dma_mode method parameters to match -&gt;set_dmamode method
used in struct ata_port_operations.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change -&gt;set_dma_mode method parameters to match -&gt;set_dmamode method
used in struct ata_port_operations.

Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>icside: bring back -&gt;maskproc method</title>
<updated>2010-01-12T09:49:23+00:00</updated>
<author>
<name>Bartlomiej Zolnierkiewicz</name>
<email>bzolnier@gmail.com</email>
</author>
<published>2010-01-05T07:07:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux-stable.git/commit/?id=f75d4a238770d83d3a0475ce7f34e3fa37de161e'/>
<id>f75d4a238770d83d3a0475ce7f34e3fa37de161e</id>
<content type='text'>
Bring back -&gt;maskproc method since it is still needed for proper operation,
as noticed by Russell King:

&gt; This change is bogus.
&gt;
&gt;         writeb(0, base + ICS_ARCIN_V6_INTROFFSET_1);
&gt;         readb(base + ICS_ARCIN_V6_INTROFFSET_2);
&gt;
&gt;         writeb(0, base + ICS_ARCIN_V6_INTROFFSET_2);
&gt;         readb(base + ICS_ARCIN_V6_INTROFFSET_1);
&gt;
&gt; This sequence of code does:
&gt;
&gt; 1. enable interrupt 1
&gt; 2. disable interrupt 2
&gt; 3. enable interrupt 2
&gt; 4. disable interrupt 1
&gt;
&gt; which results in the interrupt for the second channel being enabled -
&gt; leaving channel 1 blocked.
&gt;
&gt; Firstly, icside shares its two IDE channels with one DMA engine - so it's
&gt; a simplex interface.  IDE supports those (or did when the code was written)
&gt; serializing requests between the two interfaces.  libata does not.
&gt;
&gt; Secondly, the interrupt lines on icside float when there's no drive connected
&gt; or when the drive has its NIEN bit set, which means that you get spurious
&gt; screaming interrupts which can kill off all expansion card interrupts on
&gt; the machine unless you disable the channel interrupt on the card.
&gt;
&gt; Since libata can not serialize the operation of the two channels like IDE
&gt; can, the libata version of the icside driver does not contain the interrupt
&gt; stearing logic.  Instead, it looks at the status after reset, and if
&gt; nothing was found on that channel, it masks the interrupt from that
&gt; channel.

This patch reverts changes done in commit dff8817 (I became confused due to
non-standard &amp; undocumented -&gt;maskproc method, anyway sorry about that).

Noticed-by: Russell King &lt;rmk@arm.linux.org.uk&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bring back -&gt;maskproc method since it is still needed for proper operation,
as noticed by Russell King:

&gt; This change is bogus.
&gt;
&gt;         writeb(0, base + ICS_ARCIN_V6_INTROFFSET_1);
&gt;         readb(base + ICS_ARCIN_V6_INTROFFSET_2);
&gt;
&gt;         writeb(0, base + ICS_ARCIN_V6_INTROFFSET_2);
&gt;         readb(base + ICS_ARCIN_V6_INTROFFSET_1);
&gt;
&gt; This sequence of code does:
&gt;
&gt; 1. enable interrupt 1
&gt; 2. disable interrupt 2
&gt; 3. enable interrupt 2
&gt; 4. disable interrupt 1
&gt;
&gt; which results in the interrupt for the second channel being enabled -
&gt; leaving channel 1 blocked.
&gt;
&gt; Firstly, icside shares its two IDE channels with one DMA engine - so it's
&gt; a simplex interface.  IDE supports those (or did when the code was written)
&gt; serializing requests between the two interfaces.  libata does not.
&gt;
&gt; Secondly, the interrupt lines on icside float when there's no drive connected
&gt; or when the drive has its NIEN bit set, which means that you get spurious
&gt; screaming interrupts which can kill off all expansion card interrupts on
&gt; the machine unless you disable the channel interrupt on the card.
&gt;
&gt; Since libata can not serialize the operation of the two channels like IDE
&gt; can, the libata version of the icside driver does not contain the interrupt
&gt; stearing logic.  Instead, it looks at the status after reset, and if
&gt; nothing was found on that channel, it masks the interrupt from that
&gt; channel.

This patch reverts changes done in commit dff8817 (I became confused due to
non-standard &amp; undocumented -&gt;maskproc method, anyway sorry about that).

Noticed-by: Russell King &lt;rmk@arm.linux.org.uk&gt;
Signed-off-by: Bartlomiej Zolnierkiewicz &lt;bzolnier@gmail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</pre>
</div>
</content>
</entry>
</feed>
