[PATCH][CFT] x86 setup 2.2 backport

Dave Jones (davej@suse.de)
Tue, 4 Dec 2001 18:49:25 +0000


I recently backported a lot of stuff from 2.4's setup.c and friends
back to 2.2.20. Some of this stuff hasn't been updated since ~2.3.99
or so, which was just before hpa's big cleanup in that area.

The feedback I got from the first version of this patch was pretty
good, the only really missing bit being the cache-sizing looked odd
on P4's. Unless someone shouts too loudly, I'll push this to Alan
at some point soon.

regards,
Dave.

Patch is against 2.2.20, and is available for download from
http://www.codemonkey.org.uk/patches/2.2/x86resync-2.diff

Summary of changes:
x86resync-2.diff
- Extra AMD K5 support.
- Backport improved Intel cache sizing (Should work better for P4).
- Small amd_init() improvements to match 2.4.

x86resync-1.diff
- updated bluesmoke.c
- MSR number typo bugfix
- extra non-Intel architecture support.
- setup.c
- P4 right justified name string fixup
- Fix up c->x86_cache_size on machines with 0K L2 cache
- Fix up cache size on Cyrix MediaGx
- Enable MMX extensions on MII (Alan)
- Fix up misplaced brace in Cyrix setup path.
- Add recognition of RiSE CPUs.
- Update cpuid_level when disabling serial number (Hugh Dickins)
- Initialise Centaur CPUs from the same codepath as the other vendors
instead of in print_cpu_info()
- Recognise all types of Celerons/Mobile PII's
- boottime 'serialnumber' option to leave serial # enabled.
- Improved Centaur Winchip handling.
- Recognise 386/486 in c->x86_model_id (Cesar Barros)
- Several bug workarounds moved from bugs.h to setup.c
- Other small cleanups.
- Overall source cleaning to bring in line with 2.4

- drivers/char/random.c drivers/char/mem.c
arch/i386/mtrr.c, msr.c, time.c, microcode.c
- uses test/clear/set bit macros

The 2.4 stuff is still cleaner than 2.2's, but this at least
gets things a lot closer to each other making any future resyncs easier.

-- 
| Dave Jones.                    http://www.codemonkey.org.uk
| SuSE Labs .
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/