diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2009-03-04 07:05:37 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2009-03-26 13:50:09 -0400 |
commit | 9d1964f25c3c43dab5a5f4761477bcfc8402250e (patch) | |
tree | e1e7ce8cdb6ac24c72f578955f8f0220ae2e4504 /arch | |
parent | 84b8857a038c060535dafdc8732a1ed60d0e98fc (diff) |
ia64/pv_ops/pvchecker: support mov = ar.itc paravirtualization
add suport for mov = ar.itc to pvchecker.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/ia64/include/asm/native/pvchk_inst.h | 5 | ||||
-rw-r--r-- | arch/ia64/scripts/pvcheck.sed | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/native/pvchk_inst.h b/arch/ia64/include/asm/native/pvchk_inst.h index b8e6eb1090d7..13b289ea6173 100644 --- a/arch/ia64/include/asm/native/pvchk_inst.h +++ b/arch/ia64/include/asm/native/pvchk_inst.h | |||
@@ -180,6 +180,11 @@ | |||
180 | IS_PRED_IN(pred) \ | 180 | IS_PRED_IN(pred) \ |
181 | IS_RREG_OUT(reg) \ | 181 | IS_RREG_OUT(reg) \ |
182 | IS_RREG_CLOB(clob) | 182 | IS_RREG_CLOB(clob) |
183 | #define MOV_FROM_ITC(pred, pred_clob, reg, clob) \ | ||
184 | IS_PRED_IN(pred) \ | ||
185 | IS_PRED_CLOB(pred_clob) \ | ||
186 | IS_RREG_OUT(reg) \ | ||
187 | IS_RREG_CLOB(clob) | ||
183 | #define MOV_TO_IFA(reg, clob) \ | 188 | #define MOV_TO_IFA(reg, clob) \ |
184 | IS_RREG_IN(reg) \ | 189 | IS_RREG_IN(reg) \ |
185 | IS_RREG_CLOB(clob) | 190 | IS_RREG_CLOB(clob) |
diff --git a/arch/ia64/scripts/pvcheck.sed b/arch/ia64/scripts/pvcheck.sed index ba66ac2e4c60..e59809a3fc01 100644 --- a/arch/ia64/scripts/pvcheck.sed +++ b/arch/ia64/scripts/pvcheck.sed | |||
@@ -17,6 +17,7 @@ s/mov.*=.*cr\.iip/.warning \"cr.iip should not used directly\"/g | |||
17 | s/mov.*=.*cr\.ivr/.warning \"cr.ivr should not used directly\"/g | 17 | s/mov.*=.*cr\.ivr/.warning \"cr.ivr should not used directly\"/g |
18 | s/mov.*=[^\.]*psr/.warning \"psr should not used directly\"/g # avoid ar.fpsr | 18 | s/mov.*=[^\.]*psr/.warning \"psr should not used directly\"/g # avoid ar.fpsr |
19 | s/mov.*=.*ar\.eflags/.warning \"ar.eflags should not used directly\"/g | 19 | s/mov.*=.*ar\.eflags/.warning \"ar.eflags should not used directly\"/g |
20 | s/mov.*=.*ar\.itc.*/.warning \"ar.itc should not used directly\"/g | ||
20 | s/mov.*cr\.ifa.*=.*/.warning \"cr.ifa should not used directly\"/g | 21 | s/mov.*cr\.ifa.*=.*/.warning \"cr.ifa should not used directly\"/g |
21 | s/mov.*cr\.itir.*=.*/.warning \"cr.itir should not used directly\"/g | 22 | s/mov.*cr\.itir.*=.*/.warning \"cr.itir should not used directly\"/g |
22 | s/mov.*cr\.iha.*=.*/.warning \"cr.iha should not used directly\"/g | 23 | s/mov.*cr\.iha.*=.*/.warning \"cr.iha should not used directly\"/g |