Skip to content

x86: minor PAT adaptations

Andreas Herrmann lkml 1 version Applied

Status from this message: applied to tip/x86/pat, thanks Andreas. (i presume you'll send a

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 12 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5x86: unconditionally enable PAT for AMD CPUsarch/x86/kernel/cpu/addon_cpuid_features.c+1 -41 reply
2/5x86: PAT: fix ambiguous paranoia check in pat_init()arch/x86/kernel/cpu/addon_cpuid_features.c arch/x86/mm/pat.c+10 -810 replies
3/5x86: PAT: fixed checkpatch errors (and whitespaces)arch/x86/kernel/cpu/addon_cpuid_features.c arch/x86/mm/pat.c include/asm-x86/pat.h+17 -220 replies
4/5x86: rename pat_wc_enabled to pat_enabledarch/x86/mm/ioremap.c arch/x86/mm/pageattr.c arch/x86/mm/pat.c +2 more+15 -150 replies
5/5x86: PAT: make pat_x_mtrr_type() more readablearch/x86/mm/pat.c+21 -96 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchHugh Dickins
1/5
2/5
3/5
4/5
5/5A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] x86: minor PAT adaptations

Following some patches to slightly adapt the PAT code.

patch 1 - enable PAT for all AMD CPUs that have the PAT feature flag set patch 2 - fix up paranoia check in pat_init and fix the logic to
enable/disable PAT (IMHO the current code enables PAT on all Transmeta and Centaur CPUs even if no PAT feature flag is set) (I admit I should have changed the sequence of patches 1 and 2.)
patch 3 - fix some checkpatch errors
patch 4 - variable renaming
patch 5 - slightly changing the code that is doing the intersection of
pat_type and mtrr_type to be more readable (from my point of view)

Patches are against x86/pat (as of version v2.6.26-rc3-6-g46dd98a).

Please apply (at least patches 1 and 2).
Patches 3-5 are more a cleanup kind of thing.

Thanks.

Andreas