Re: [PATCH 1/9] target/riscv: debug: Determine the trigger type from tdata1.type

2022-06-14 Thread Bin Meng
On Fri, Jun 10, 2022 at 1:20 PM wrote: > > From: Frank Chang > > Current RISC-V debug assumes that only type 2 trigger is supported. > To allow more types of triggers to be supported in the future > (e.g. type 6 trigger, which is similar to type 2 trigger with additional > functionality), we

Re: [PATCH 1/9] target/riscv: debug: Determine the trigger type from tdata1.type

2022-06-14 Thread Bin Meng
On Fri, Jun 10, 2022 at 1:20 PM wrote: > > From: Frank Chang > > Current RISC-V debug assumes that only type 2 trigger is supported. > To allow more types of triggers to be supported in the future > (e.g. type 6 trigger, which is similar to type 2 trigger with additional > functionality), we

[PATCH 1/9] target/riscv: debug: Determine the trigger type from tdata1.type

2022-06-09 Thread frank . chang
From: Frank Chang Current RISC-V debug assumes that only type 2 trigger is supported. To allow more types of triggers to be supported in the future (e.g. type 6 trigger, which is similar to type 2 trigger with additional functionality), we should determine the trigger type from tdata1.type.