]> git.baikalelectronics.ru Git - kernel.git/commit
xen,kdump: handle pv domain in paddr_vmcoreinfo_note()
authorJuergen Gross <jgross@suse.com>
Tue, 11 Apr 2017 16:14:26 +0000 (18:14 +0200)
committerJuergen Gross <jgross@suse.com>
Tue, 2 May 2017 09:13:17 +0000 (11:13 +0200)
commit7f74f37f3f4e6a781c0dd22351feb12c68391fef
treed4c18eeb6a811b70c82f4b6787ede55acc83a906
parent7d9f1f7222240b433f71e65de0442ad4cb81bf69
xen,kdump: handle pv domain in paddr_vmcoreinfo_note()

For kdump to work correctly it needs the physical address of
vmcoreinfo_note. When running as dom0 this means the virtual address
has to be translated to the related machine address.

paddr_vmcoreinfo_note() is meant to do the translation via
__pa_symbol() only, but being attributed "weak" it can be replaced
easily in Xen case.

Signed-off-by: Juergen Gross <jgross@suse.com>
Tested-by: Petr Tesarik <ptesarik@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
arch/x86/xen/mmu_pv.c