<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/drivers/edac/i5000_edac.c, branch linux-4.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-12-06T09:23:41Z</updated>
<entry>
<title>EDAC: Remove DEFINE_PCI_DEVICE_TABLE macro</title>
<updated>2013-12-06T09:23:41Z</updated>
<author>
<name>Jingoo Han</name>
</author>
<published>2013-12-06T09:23:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ba935f40979b32924824759111ed95d35469c5fa'/>
<id>urn:sha1:ba935f40979b32924824759111ed95d35469c5fa</id>
<content type='text'>
Currently, there is no other bus that has something like this macro for
their device ids. Thus, DEFINE_PCI_DEVICE_TABLE macro should be removed.

Signed-off-by: Jingoo Han &lt;jg1.han@samsung.com&gt;
Link: http://lkml.kernel.org/r/001c01ceefb3$5724d860$056e8920$%han@samsung.com
[ Boris: swap commit message with better one. ]
Signed-off-by: Borislav Petkov &lt;bp@suse.de&gt;
</content>
</entry>
<entry>
<title>Drivers: edac: remove __dev* attributes.</title>
<updated>2013-01-03T23:57:03Z</updated>
<author>
<name>Greg Kroah-Hartman</name>
</author>
<published>2012-12-21T21:23:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9b3c6e85c2cfa731cf67d5a8c49f7d8c60ec0b04'/>
<id>urn:sha1:9b3c6e85c2cfa731cf67d5a8c49f7d8c60ec0b04</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, 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: Doug Thompson &lt;dougthompson@xmission.com&gt;
Cc: Borislav Petkov &lt;bp@alien8.de&gt;
Cc: Mark Gross &lt;mark.gross@intel.com&gt;
Cc: Jason Uhlenkott &lt;juhlenko@akamai.com&gt;
Cc: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
Cc: Tim Small &lt;tim@buttersideup.com&gt;
Cc: Ranganathan Desikan &lt;ravi@jetztechnologies.com&gt;
Cc: "Arvind R." &lt;arvino55@gmail.com&gt;
Cc: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Cc: David Daney &lt;david.daney@cavium.com&gt;
Cc: Egor Martovetsky &lt;egor@pasemi.com&gt;
Cc: Olof Johansson &lt;olof@lixom.net&gt;
Cc: Chris Metcalf &lt;cmetcalf@tilera.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>i5000: Fix the memory size calculation with 2R memories</title>
<updated>2012-09-25T10:38:19Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2012-09-10T16:25:50Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b70f833377fc80d7446218b36206e2e299fc6bfd'/>
<id>urn:sha1:b70f833377fc80d7446218b36206e2e299fc6bfd</id>
<content type='text'>
When 2R memories are found, the memory size should be multiplied
by two, otherwise, it will report half of the memory size:

       +-----------------------------------------------+
       |                      mc0                      |
       |        branch0        |        branch1        |
       | channel0  | channel1  | channel0  | channel1  |
-------+-----------------------------------------------+
slot3: |     0 MB  |     0 MB  |     0 MB  |     0 MB  |
slot2: |     0 MB  |     0 MB  |     0 MB  |     0 MB  |
-------+-----------------------------------------------+
slot1: |     0 MB  |     0 MB  |     0 MB  |     0 MB  |
slot0: |  1024 MB  |  1024 MB  |  1024 MB  |  1024 MB  |
-------+-----------------------------------------------+

(the above machine have 4 x 2GB 2R memories)

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>edac i5000, i5400: fix pointer math in i5000_get_mc_regs()</title>
<updated>2012-06-27T12:08:40Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2012-06-27T09:07:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f58d0dee07fe6328f775669eb6aa3a123efad6c2'/>
<id>urn:sha1:f58d0dee07fe6328f775669eb6aa3a123efad6c2</id>
<content type='text'>
"pvt-&gt;ambase" is a u64 datatype.  The intent here is to fill the first
half in the first call to pci_read_config_dword() and the other half in
the second.  Unfortunately the pointer math is wrong so we set the wrong
data.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>edac: edac_mc_handle_error(): add an error_count parameter</title>
<updated>2012-06-12T15:15:47Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2012-06-04T16:27:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9eb07a7fb8a90ee39fa9d5489afc0330cfcfbea7'/>
<id>urn:sha1:9eb07a7fb8a90ee39fa9d5489afc0330cfcfbea7</id>
<content type='text'>
In order to avoid loosing error events, it is desirable to group
error events together and generate a single trace for several identical
errors.

The trace API already allows reporting multiple errors. Change the
handle_error function to also allow that.

The changes at the drivers were made by this small script:

	$file .=$_ while (&lt;&gt;);
	$file =~ s/(edac_mc_handle_error)\s*\(([^\,]+)\,([^\,]+)\,/$1($2,$3, 1,/g;
	print $file;

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>edac: remove arch-specific parameter for the error handler</title>
<updated>2012-06-11T16:23:52Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2012-06-04T14:29:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=03f7eae80f4b913929be84e0c883ee98196fd6ff'/>
<id>urn:sha1:03f7eae80f4b913929be84e0c883ee98196fd6ff</id>
<content type='text'>
Remove the arch-dependent parameter, as it were not used,
as the MCE tracepoint weren't implemented. It probably doesn't
make sense to have an MCE-specific tracepoint, as this will
cost more bytes at the tracepoint, and tracepoint is not free.

The changes at the EDAC drivers were done by this small perl script:

	$file .=$_ while (&lt;&gt;);
	$file =~ s/(edac_mc_handle_error)\s*\(([^\;]+)\,([^\,\)]+)\s*\)/$1($2)/g;
	print $file;

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>edac: Convert debugfX to edac_dbg(X,</title>
<updated>2012-06-11T16:23:49Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2012-04-29T20:08:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=956b9ba156dbfdb9cede2b2927ddf8be2233b3a7'/>
<id>urn:sha1:956b9ba156dbfdb9cede2b2927ddf8be2233b3a7</id>
<content type='text'>
Use a more common debugging style.

Remove __FILE__ uses, add missing newlines,
coalesce formats and align arguments.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>edac: Use more normal debugging macro style</title>
<updated>2012-06-11T16:23:48Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2012-04-28T19:41:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7e881856eee8b889b76cd1d8e04ce2fc79b72099'/>
<id>urn:sha1:7e881856eee8b889b76cd1d8e04ce2fc79b72099</id>
<content type='text'>
Convert macros to a simpler style and enforce appropriate
format checking when not CONFIG_EDAC_DEBUG.

Use fmt and __VA_ARGS__, neaten macros.

Move some string arrays to the debugfx uses and remove the
now unnecessary CONFIG_EDAC_DEBUG variable block definitions.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>edac: Don't add __func__ or __FILE__ for debugf[0-9] msgs</title>
<updated>2012-06-11T16:23:47Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2012-04-29T14:59:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=dd23cd6eb1f59ba722a6e6aa228adff7c01404de'/>
<id>urn:sha1:dd23cd6eb1f59ba722a6e6aa228adff7c01404de</id>
<content type='text'>
The debug macro already adds that. Most of the work here was
made by this small script:

$f .=$_ while (&lt;&gt;);

$f =~ s/(debugf[0-9]\s*\(\s*)__FILE__\s*": /\1"/g;
$f =~ s/(debugf[0-9]\s*\(\s*)__FILE__\s*/\1/g;
$f =~ s/(debugf[0-9]\s*\(\s*)__FILE__\s*"MC: /\1"/g;

$f =~ s/(debugf[0-9]\s*\(\")\%s[\:\,\(\)]*\s*([^\"]*\s*[^\)]+)__func__\s*\,\s*/\1\2/g;
$f =~ s/(debugf[0-9]\s*\(\")\%s[\:\,\(\)]*\s*([^\"]*\s*[^\)]+),\s*__func__\s*\)/\1\2)/g;
$f =~ s/(debugf[0-9]\s*\(\"MC\:\s*)\%s[\:\,\(\)]*\s*([^\"]*\s*[^\)]+)__func__\s*\,\s*/\1\2/g;
$f =~ s/(debugf[0-9]\s*\(\"MC\:\s*)\%s[\:\,\(\)]*\s*([^\"]*\s*[^\)]+),\s*__func__\s*\)/\1\2)/g;

$f =~ s/\"MC\: \\n\"/"MC:\\n"/g;

print $f;

After running the script, manual cleanups were done to fix it the remaining
places.

While here, removed the __LINE__ on most places, as it doesn't actually give
useful info on most places.

Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
<entry>
<title>edac: Get rid of the old kobj's from the edac mc code</title>
<updated>2012-06-11T16:23:41Z</updated>
<author>
<name>Mauro Carvalho Chehab</name>
</author>
<published>2012-03-21T19:55:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d90c008963ef638cb7ab7d5eb76362b3c2d379bc'/>
<id>urn:sha1:d90c008963ef638cb7ab7d5eb76362b3c2d379bc</id>
<content type='text'>
Now that al users for the old kobj raw access are gone,
we can get rid of the legacy kobj-based structures and
data.

Reviewed-by: Aristeu Rozanski &lt;arozansk@redhat.com&gt;
Cc: Doug Thompson &lt;norsk5@yahoo.com&gt;
Cc: Michal Marek &lt;mmarek@suse.cz&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab@redhat.com&gt;
</content>
</entry>
</feed>
