Skip to content

x86, CPA: Introduce new APIs set_pages_array[uc|wb]

[email protected] lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86, CPA: Add a flag parameter to cpa set_clrarch/x86/mm/pageattr.c+5 -51 reply
2/3x86, PAT: Add support for struct page pointer array in cpa set_clrarch/x86/mm/pageattr.c+50 -291 reply
3/3x86, CPA: Add set_pages_arrayuc and set_pages_array_wbarch/x86/include/asm/cacheflush.h arch/x86/mm/pageattr.c+66 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [patch 0/3] x86, CPA: Introduce new APIs set_pages_array[uc|wb]

AGP is moving over to using struct page pointer array in place of virtual address array. So, it needs a equivalent of set_memory_array_[uc|wb] which will operate on struct page pointer array instead.

The patch series adds two new interfaces in x86 CPA code, set_pages_array_uc
set_pages_array_wb

which will change the memory type of a set of pages referred to by struct page pointers, which need not be contiguous.