[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC PATCH v3 11/11] tests: add plugin asserting correctness of disc
From: |
Julian Ganz |
Subject: |
Re: [RFC PATCH v3 11/11] tests: add plugin asserting correctness of discon event's to_pc |
Date: |
Sat, 07 Dec 2024 13:41:12 +0000 |
Hi Richard,
December 6, 2024 at 8:42 PM, "Richard Henderson" wrote:
> On 12/6/24 13:02, Pierrick Bouvier wrote:
> > On 12/6/24 00:42, Julian Ganz wrote:
> > > IIUC qemu will schedule interrupts "opportunistically" between tb
> > > executions. If that's the case we'll observe interrupts exclusively
> > > after the last instruction in a tb. That strikes me as a serious
> > > limitation.
> > >
> > To reuse fancy vocabulary, maybe we should have a distinction between
> > inferable > interruptions (interrupt instruction) and uninferable
> > interrupts, triggered by an external > event.
> > In the latter, it *might* be acceptable to not provide a from_pc (let's
> > say a value 0), > because there is no useful information in itself, except
> > creating random edges in the > control flow graph, which we don't want to
> > do.
> > What do you think of it?
> >
> I think you both are over-complicating things.
>
> Always, env->pc (or whatever) within cc->cpu_exec_interrupt *is* where the
> interrupt is recognized, and *is* where the discontinuity occurs. Report that.
Glad to hear. This means what I naïvely did for most targets should be
correct at least in this regard.
Regards,
Julian
- Re: [RFC PATCH v3 11/11] tests: add plugin asserting correctness of discon event's to_pc, (continued)
- Re: [RFC PATCH v3 11/11] tests: add plugin asserting correctness of discon event's to_pc, Julian Ganz, 2024/12/05
- Re: [RFC PATCH v3 11/11] tests: add plugin asserting correctness of discon event's to_pc, Pierrick Bouvier, 2024/12/05
- Re: [RFC PATCH v3 11/11] tests: add plugin asserting correctness of discon event's to_pc, Julian Ganz, 2024/12/05
- Re: [RFC PATCH v3 11/11] tests: add plugin asserting correctness of discon event's to_pc, Pierrick Bouvier, 2024/12/05
- Re: [RFC PATCH v3 11/11] tests: add plugin asserting correctness of discon event's to_pc, Julian Ganz, 2024/12/06
- Re: [RFC PATCH v3 11/11] tests: add plugin asserting correctness of discon event's to_pc, Pierrick Bouvier, 2024/12/06
- Re: [RFC PATCH v3 11/11] tests: add plugin asserting correctness of discon event's to_pc, Richard Henderson, 2024/12/06
- Re: [RFC PATCH v3 11/11] tests: add plugin asserting correctness of discon event's to_pc, Pierrick Bouvier, 2024/12/06
- Re: [RFC PATCH v3 11/11] tests: add plugin asserting correctness of discon event's to_pc, Richard Henderson, 2024/12/06
- Re: [RFC PATCH v3 11/11] tests: add plugin asserting correctness of discon event's to_pc, Julian Ganz, 2024/12/07
- Re: [RFC PATCH v3 11/11] tests: add plugin asserting correctness of discon event's to_pc,
Julian Ganz <=
- Re: [RFC PATCH v3 11/11] tests: add plugin asserting correctness of discon event's to_pc, Julian Ganz, 2024/12/20
- Re: [RFC PATCH v3 11/11] tests: add plugin asserting correctness of discon event's to_pc, Pierrick Bouvier, 2024/12/20
- Re: [RFC PATCH v3 11/11] tests: add plugin asserting correctness of discon event's to_pc, Pierrick Bouvier, 2024/12/20
Re: [RFC PATCH v3 00/11] tcg-plugins: add hooks for discontinuities, Julian Ganz, 2024/12/03