x86: refactor psr: CDP: implement get hw info flow.
authorYi Sun <yi.y.sun@linux.intel.com>
Tue, 1 Aug 2017 09:04:00 +0000 (11:04 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 3 Aug 2017 10:36:04 +0000 (12:36 +0200)
commitb64596e9cbb6c4a867269f8f6704db3faffefae1
tree26200b12ba0d4ca866e8c19a4684231b63612498
parenta955c1ecdf85f07174fb92941beb2587e0cb9af2
x86: refactor psr: CDP: implement get hw info flow.

This patch implements get HW info flow for CDP including L3 CDP callback
function. The flow is almost same as L3 CAT.

With this patch, 'psr-hwinfo' can work for L3 CDP.

Signed-off-by: Yi Sun <yi.y.sun@linux.intel.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/psr.c