s390x/tcg: io instructions don't need potential_page_fault()
As we handle the retaddr in all cases properly now, we can drop it. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20171130162744.25442-10-david@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
This commit is contained in:
parent
820613b1c1
commit
0ef2849776
|
@ -4008,7 +4008,6 @@ static ExitStatus op_spx(DisasContext *s, DisasOps *o)
|
|||
static ExitStatus op_xsch(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
check_privileged(s);
|
||||
potential_page_fault(s);
|
||||
gen_helper_xsch(cpu_env, regs[1]);
|
||||
set_cc_static(s);
|
||||
return NO_EXIT;
|
||||
|
@ -4017,7 +4016,6 @@ static ExitStatus op_xsch(DisasContext *s, DisasOps *o)
|
|||
static ExitStatus op_csch(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
check_privileged(s);
|
||||
potential_page_fault(s);
|
||||
gen_helper_csch(cpu_env, regs[1]);
|
||||
set_cc_static(s);
|
||||
return NO_EXIT;
|
||||
|
@ -4026,7 +4024,6 @@ static ExitStatus op_csch(DisasContext *s, DisasOps *o)
|
|||
static ExitStatus op_hsch(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
check_privileged(s);
|
||||
potential_page_fault(s);
|
||||
gen_helper_hsch(cpu_env, regs[1]);
|
||||
set_cc_static(s);
|
||||
return NO_EXIT;
|
||||
|
@ -4035,7 +4032,6 @@ static ExitStatus op_hsch(DisasContext *s, DisasOps *o)
|
|||
static ExitStatus op_msch(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
check_privileged(s);
|
||||
potential_page_fault(s);
|
||||
gen_helper_msch(cpu_env, regs[1], o->in2);
|
||||
set_cc_static(s);
|
||||
return NO_EXIT;
|
||||
|
@ -4044,7 +4040,6 @@ static ExitStatus op_msch(DisasContext *s, DisasOps *o)
|
|||
static ExitStatus op_rchp(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
check_privileged(s);
|
||||
potential_page_fault(s);
|
||||
gen_helper_rchp(cpu_env, regs[1]);
|
||||
set_cc_static(s);
|
||||
return NO_EXIT;
|
||||
|
@ -4053,7 +4048,6 @@ static ExitStatus op_rchp(DisasContext *s, DisasOps *o)
|
|||
static ExitStatus op_rsch(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
check_privileged(s);
|
||||
potential_page_fault(s);
|
||||
gen_helper_rsch(cpu_env, regs[1]);
|
||||
set_cc_static(s);
|
||||
return NO_EXIT;
|
||||
|
@ -4062,7 +4056,6 @@ static ExitStatus op_rsch(DisasContext *s, DisasOps *o)
|
|||
static ExitStatus op_ssch(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
check_privileged(s);
|
||||
potential_page_fault(s);
|
||||
gen_helper_ssch(cpu_env, regs[1], o->in2);
|
||||
set_cc_static(s);
|
||||
return NO_EXIT;
|
||||
|
@ -4071,7 +4064,6 @@ static ExitStatus op_ssch(DisasContext *s, DisasOps *o)
|
|||
static ExitStatus op_stsch(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
check_privileged(s);
|
||||
potential_page_fault(s);
|
||||
gen_helper_stsch(cpu_env, regs[1], o->in2);
|
||||
set_cc_static(s);
|
||||
return NO_EXIT;
|
||||
|
@ -4080,7 +4072,6 @@ static ExitStatus op_stsch(DisasContext *s, DisasOps *o)
|
|||
static ExitStatus op_tsch(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
check_privileged(s);
|
||||
potential_page_fault(s);
|
||||
gen_helper_tsch(cpu_env, regs[1], o->in2);
|
||||
set_cc_static(s);
|
||||
return NO_EXIT;
|
||||
|
@ -4089,7 +4080,6 @@ static ExitStatus op_tsch(DisasContext *s, DisasOps *o)
|
|||
static ExitStatus op_chsc(DisasContext *s, DisasOps *o)
|
||||
{
|
||||
check_privileged(s);
|
||||
potential_page_fault(s);
|
||||
gen_helper_chsc(cpu_env, o->in2);
|
||||
set_cc_static(s);
|
||||
return NO_EXIT;
|
||||
|
|
Loading…
Reference in a new issue