apply page shift to PFN instead of VA in pfn_to_virt
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 13 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | asm-generic/page.h: apply page shift to PFN instead of VA in pfn_to_virtinclude/ | +1 | 3 replies | |
| 2/4 | csky: apply page shift to PFN instead of VA in pfn_to_virtarch/ | +1 | 1 reply | |
| 3/4 | Hexagon: apply page shift to PFN instead of VA in pfn_to_virtarch/ | +1 | 0 replies | |
| 4/4 | openrisc: apply page shift to PFN instead of VA in pfn_to_virtarch/ | +1 | 0 replies |
Reviews trailers per patch
2 of 4 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Linus Walleij | Guo Ren |
|---|---|---|
| Series | R-b | |
| 1/4 | R-b | R-b |
| 2/4 | R-b | |
| 3/4 | ||
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/4] apply page shift to PFN instead of VA in pfn_to_virt
This is a tiny fix to pfn_to_virt() for some platforms.
The original implementaion of pfn_to_virt() takes PFN instead of PA as the input to macro __va, with PAGE_SHIFT applying to the converted VA, which is not right under most conditions, especially when there's an offset in __va.
Yan Zhao (4):
asm-generic/page.h: apply page shift to PFN instead of VA in
pfn_to_virt
csky: apply page shift to PFN instead of VA in pfn_to_virt
Hexagon: apply page shift to PFN instead of VA in pfn_to_virt
openrisc: apply page shift to PFN instead of VA in pfn_to_virt
arch/csky/include/asm/page.h | 2 +- arch/hexagon/include/asm/page.h | 2 +- arch/openrisc/include/asm/page.h | 2 +- include/asm-generic/page.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
base-commit: 41bccc98fb7931d63d03f326a746ac4d429c1dd3
Signature · 1 line
2.17.1