<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/arch/x86/boot/edd.c, branch linux-rolling-stable</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-rolling-stable</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-rolling-stable'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2019-06-19T15:09:53Z</updated>
<entry>
<title>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 497</title>
<updated>2019-06-19T15:09:53Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2019-06-04T08:11:30Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=97873a3daf611594a7f92cc88bd8c5c8c526e1a3'/>
<id>urn:sha1:97873a3daf611594a7f92cc88bd8c5c8c526e1a3</id>
<content type='text'>
Based on 1 normalized pattern(s):

  this file is part of the linux kernel and is made available under
  the terms of the gnu general public license version 2

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

has been chosen to replace the boilerplate/reference in 28 file(s).

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Enrico Weigelt &lt;info@metux.net&gt;
Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;
Reviewed-by: Kate Stewart &lt;kstewart@linuxfoundation.org&gt;
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190604081206.534229504@linutronix.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>x86: Clean up 'sizeof x' =&gt; 'sizeof(x)'</title>
<updated>2018-10-29T06:13:28Z</updated>
<author>
<name>Jordan Borgner</name>
<email>mail@jordan-borgner.de</email>
</author>
<published>2018-10-28T12:58:28Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=0e96f31ea4249b1e94e266fe4dff908c2983a9b3'/>
<id>urn:sha1:0e96f31ea4249b1e94e266fe4dff908c2983a9b3</id>
<content type='text'>
"sizeof(x)" is the canonical coding style used in arch/x86 most of the time.
Fix the few places that didn't follow the convention.

(Also do some whitespace cleanups in a few places while at it.)

[ mingo: Rewrote the changelog. ]

Signed-off-by: Jordan Borgner &lt;mail@jordan-borgner.de&gt;
Cc: Borislav Petkov &lt;bp@alien8.de&gt;
Cc: H. Peter Anvin &lt;hpa@zytor.com&gt;
Cc: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;
Cc: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Link: http://lkml.kernel.org/r/20181028125828.7rgammkgzep2wpam@JordanDesktop
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</content>
</entry>
<entry>
<title>x86, boot: Create a separate string.h file to provide standard string functions</title>
<updated>2014-03-19T22:43:45Z</updated>
<author>
<name>Vivek Goyal</name>
<email>vgoyal@redhat.com</email>
</author>
<published>2014-03-18T19:26:37Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c041b5ad8640dd89ccf1411cd2636ef7c1cfee92'/>
<id>urn:sha1:c041b5ad8640dd89ccf1411cd2636ef7c1cfee92</id>
<content type='text'>
Create a separate arch/x86/boot/string.h file to provide declaration of
some of the common string functions.

By default memcpy, memset and memcmp functions will default to gcc
builtin functions. If code wants to use an optimized version of any
of these functions, they need to #undef the respective macro and link
against a local file providing definition of undefed function.

For example, arch/x86/boot/* code links against copy.S to get memcpy()
and memcmp() definitions. arch/86/boot/compressed/* links against
compressed/string.c.

There are quite a few places in arch/x86/ where these functions are
used. Idea is to try to consilidate  their declaration and possibly
definitions so that it can be reused.

I am planning to reuse boot/string.h in arch/x86/purgatory/ and use
gcc builtin functions for memcpy, memset and memcmp.

Signed-off-by: Vivek Goyal &lt;vgoyal@redhat.com&gt;
Link: http://lkml.kernel.org/r/1395170800-11059-3-git-send-email-vgoyal@redhat.com
Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>x86, setup: "glove box" BIOS interrupts in the EDD code</title>
<updated>2009-04-09T23:08:11Z</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@linux.intel.com</email>
</author>
<published>2009-04-02T01:17:17Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=3435d3476c5ed955d56a6216ed2d156847b3a575'/>
<id>urn:sha1:3435d3476c5ed955d56a6216ed2d156847b3a575</id>
<content type='text'>
Impact: BIOS proofing

"Glove box" off BIOS interrupts in the EDD code.

LKML-Reference: &lt;49DE7F79.4030106@zytor.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>Revert "x86: fix ghost EDD devices in /sys again"</title>
<updated>2008-10-03T17:22:33Z</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2008-10-03T17:22:33Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=98920dc3d1113b883cbc73e3293446d3525c6042'/>
<id>urn:sha1:98920dc3d1113b883cbc73e3293446d3525c6042</id>
<content type='text'>
This reverts commit 464f04c9e9b3b1c4f5ffb89c51d8ba2a2034c846.
Obsoleted by commit 6cdcdb99cf7c2e1835fc5b471864d21161c3e679.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>x86 setup: fix ghost entries under /sys/firmware/edd take 3</title>
<updated>2008-10-03T17:15:29Z</updated>
<author>
<name>Andrey Borzenkov</name>
<email>arvidjaar@newmail.ru</email>
</author>
<published>2008-10-03T17:08:49Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6cdcdb99cf7c2e1835fc5b471864d21161c3e679'/>
<id>urn:sha1:6cdcdb99cf7c2e1835fc5b471864d21161c3e679</id>
<content type='text'>
Some BIOSes do not indicate error when trying to read from non-
existing device. Zero buffer before reading and check that we
possibly have valid MBR by looking for MBR magic.

This was fixed in different way for edd.S in
http://marc.info/?l=linux-kernel&amp;m=114087765422490&amp;w=2, but lost
again when edd.S was rewritten in C.

Signed-off-by: Andrey Borzenkov &lt; arvidjaar@mail.ru&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>x86: fix ghost EDD devices in /sys again</title>
<updated>2008-09-06T14:30:36Z</updated>
<author>
<name>Andrey Borzenkov</name>
<email>arvidjaar@newmail.ru</email>
</author>
<published>2008-09-06T08:40:21Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=464f04c9e9b3b1c4f5ffb89c51d8ba2a2034c846'/>
<id>urn:sha1:464f04c9e9b3b1c4f5ffb89c51d8ba2a2034c846</id>
<content type='text'>
&gt; This is regression but old enough. Apparently I had for whatever reasons
&gt; EDD turned off till recently. This is 2.6.27-rc5 just in case.
&gt;
&gt; In 2006 I fixed ghost devices due to buggy BIOS:
&gt;
&gt; http://marc.info/?l=linux-kernel&amp;m=114087765422490&amp;w=2
&gt;
&gt; Later edd.S has been rewritten in C, and apparently this patch has been
&gt; lost:
&gt;
&gt; {pts/1}% ls /sys/firmware/edd
&gt; int13_dev80/  int13_dev84/  int13_dev88/  int13_dev8c/
&gt; int13_dev81/  int13_dev85/  int13_dev89/  int13_dev8d/
&gt; int13_dev82/  int13_dev86/  int13_dev8a/  int13_dev8e/
&gt; int13_dev83/  int13_dev87/  int13_dev8b/  int13_dev8f/
&gt;
&gt; But I have just a single disk. This is the same system BTW.

Some BIOSes do not always set CF on error before return from int13.
The patch adds additional check for status being zero (AH == 0).

This was fixed for edd.S in
http://marc.info/?l=linux-kernel&amp;m=114087765422490&amp;w=2, but lost
again when edd.S was rewritten in C.

Signed-off-by: Andrey Borzenkov &lt;arvidjaar@mail.ru&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
<entry>
<title>x86: check function status in EDD boot code</title>
<updated>2008-07-18T21:33:17Z</updated>
<author>
<name>Jan Beulich</name>
<email>jbeulich@novell.com</email>
</author>
<published>2008-07-18T12:35:37Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f2ba93929fdb91fd806be20e959a50f7db82790e'/>
<id>urn:sha1:f2ba93929fdb91fd806be20e959a50f7db82790e</id>
<content type='text'>
Without checking the return value of get_edd_info() and adding the
entry only in the success case, 6 devices show up under
/sys/firmware/edd/, no matter how many devices are actually present.

Signed-off-by: Jan Beulich &lt;jbeulich@novell.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>edd: add default mode CONFIG_EDD_OFF=n, override with edd={on,off}</title>
<updated>2008-04-29T15:06:23Z</updated>
<author>
<name>Tim Gardner</name>
<email>tim.gardner@canonical.com</email>
</author>
<published>2008-04-29T08:02:45Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=8c4dd6068221cd1d0d90490ace80eb4344914a8c'/>
<id>urn:sha1:8c4dd6068221cd1d0d90490ace80eb4344914a8c</id>
<content type='text'>
Add a kernel parameter option to 'edd' to enable/disable BIOS Enhanced Disk
Drive Services.  CONFIG_EDD_OFF disables EDD while still compiling EDD into
the kernel.  Default behavior can be forced using 'edd=on' or 'edd=off' as
a kernel parameter.

[akpm@linux-foundation.org: fix kernel-parameters.txt]
Signed-off-by: Tim Gardner &lt;tim.gardner@canonical.com&gt;
Signed-off-by: Matt Domsch &lt;Matt_Domsch@dell.com&gt;
Cc: "H. Peter Anvin" &lt;hpa@zytor.com&gt;
Cc: "Randy.Dunlap" &lt;rdunlap@xenotime.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>x86: remove pointless comments</title>
<updated>2008-04-19T17:19:54Z</updated>
<author>
<name>WANG Cong</name>
<email>xiyou.wangcong@gmail.com</email>
</author>
<published>2008-03-08T10:15:06Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=cf9b111c170733dde39139e8989b676ec8b81573'/>
<id>urn:sha1:cf9b111c170733dde39139e8989b676ec8b81573</id>
<content type='text'>
Remove old comments that include the old arch/i386 directory.

Signed-off-by: WANG Cong &lt;xiyou.wangcong@gmail.com&gt;
Acked-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
</content>
</entry>
</feed>
