Commit a0e45d4
committed
s390/crash_dump: fix virtual vs physical address handling
Signal processor STORE STATUS requires a physical address where register
contents are supposed to be written to, however the kernel must read the
data via the corresponding virtual address.
Also the allocated save_area, where register contents are copied to,
resides in virtual address space.
Fix this by using proper __pa() conversion, or correct memblock_alloc()
invocation.
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>1 parent 39d0282 commit a0e45d4
2 files changed
Lines changed: 8 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
658 | 658 | | |
659 | 659 | | |
660 | 660 | | |
661 | | - | |
| 661 | + | |
662 | 662 | | |
663 | | - | |
664 | | - | |
665 | 663 | | |
666 | 664 | | |
667 | 665 | | |
668 | | - | |
| 666 | + | |
669 | 667 | | |
670 | 668 | | |
671 | 669 | | |
672 | 670 | | |
673 | | - | |
| 671 | + | |
674 | 672 | | |
675 | | - | |
676 | | - | |
677 | 673 | | |
678 | 674 | | |
679 | 675 | | |
680 | | - | |
| 676 | + | |
681 | 677 | | |
682 | 678 | | |
683 | 679 | | |
684 | 680 | | |
685 | 681 | | |
686 | 682 | | |
687 | 683 | | |
688 | | - | |
689 | 684 | | |
| 685 | + | |
690 | 686 | | |
691 | 687 | | |
692 | 688 | | |
693 | 689 | | |
694 | 690 | | |
695 | | - | |
| 691 | + | |
696 | 692 | | |
697 | 693 | | |
698 | 694 | | |
| |||
723 | 719 | | |
724 | 720 | | |
725 | 721 | | |
726 | | - | |
| 722 | + | |
727 | 723 | | |
728 | 724 | | |
729 | 725 | | |
| |||
0 commit comments