]> 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)
commit29985b09613ba106a1ed0496988636d288600515
treed4c18eeb6a811b70c82f4b6787ede55acc83a906
parent8945c08e2b148be926b5f1aa653b2021a127e905
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