RISC-V: Initial support versioning of debug specification
v3 cover RISC-V: Initial support versioning of debug specification
This series try to support versioning of debug specification. The early debug implementation supports debug specification v0.13, and later new trigger types were added which are defined in debug specification v1.0 version. To support both v0.13 and v1.0, we add 'debug-1.0' as CPU property to let user choose debug specification v1.0 by specifying "debug-1.0=true". The default version is still v0.13 if 'debug-1.0' is not provided and set.
For example, to enable debug specification v1.0 on max CPU:
* -cpu max,debug-1.0=true
Changes since v2:
* Improve commit message and fix typo
* Apply "Reviewed-by" tags
Changes since v1:
* Apply suggestions from Daniel. Using boolean property instead of string.
Alvin Chang (2):
target/riscv: Add "debug-1.0" to specify debug specification v1.0 target/riscv: Simpily support versioning of debug trigger module
target/riscv/cpu.c | 1 + target/riscv/cpu_cfg_fields.h.inc | 1 + target/riscv/debug.c | 56 +++++++++++++++++++++++++++++-- target/riscv/debug.h | 1 + 4 files changed, 56 insertions(+), 3 deletions(-)
Signature · 1 line
2.43.0
PATCH v3 1/2 target/riscv: Add "debug-1.0" to specify debug specification v1.0
Currently RISC-V CPU has a property "debug" which is equivalent to old debug specification v0.13 version. Now we have ratified debug specification v1.0 version. To support both versions, we add "debug-1.0" as one of RISC-V CPU property to let user specify that debug v0.13 or debug v1.0 is enabled. When debug-1.0=false CPU fallbacks to default v0.13 version.
Note that "debug-1.0" depends on "debug" property ("debug" is default true). Take "max" for example, the possible settings are:
* -cpu max --> debug v0.13 is default enabled
* -cpu max,debug=false --> debug is disabled
* -cpu max,debug-1.0=true --> debug is enabled and the version is v1.0
--- target/riscv/cpu.c | 1 + target/riscv/cpu_cfg_fields.h.inc | 1 + 2 files changed, 2 insertions(+)
target/riscv/cpu.c +1 -0
@@ -2637,6 +2637,7 @@ RISCVCPUImpliedExtsRule *riscv_multi_ext_implied_rules[] = {static const Property riscv_cpu_properties[] = {DEFINE_PROP_BOOL ("debug" ,RISCVCPU , cfg.debug, true), +DEFINE_PROP_BOOL ("debug-1.0" ,RISCVCPU , cfg.debug_1_00, false), {.name ="pmu-mask" , .info = &prop_pmu_mask}, {.name ="pmu-num" , .info = &prop_pmu_num},/* Deprecated */
target/riscv/cpu_cfg_fields.h.inc +1 -0
@@ -151,6 +151,7 @@ BOOL_FIELD(ext_XVentanaCondOps) BOOL_FIELD(mmu) BOOL_FIELD(pmp) BOOL_FIELD(debug) +BOOL_FIELD(debug_1_00) BOOL_FIELD(misa_w) BOOL_FIELD(short_isa_string)
Signature · 1 line
2.43.0
PATCH v3 2/2 target/riscv: Simpily support versioning of debug trigger module
In reply to Alvin Chang viaTo support multiple versions of debug specification, we have added "debug-1.0" CPU property. Now the debug trigger module inspects this property to determine the supported trigger types by the CPU. In this commit we validate written trigger type with CPU debug version. For example, the debug specification v0.13 does not support mcontrol6, and the intended tdata_csr_write() on tdata1 with type=mcontrol6 will be ignored.
If debug v1.0 is selected, the default trigger type is mcontrol6 instead of legacy mcontrol.
--- target/riscv/debug.c | 56 +++++++++++++++++++++++++++++++++++++++++--- target/riscv/debug.h | 1 + 2 files changed, 54 insertions(+), 3 deletions(-)
target/riscv/debug.c +53 -3
@@ -64,6 +64,26 @@ static tdata_avail tdata_mapping[TRIGGER_TYPE_NUM] = { [TRIGGER_TYPE_UNAVAIL ] = { true, true, true } }; +/* Valid trigger types supported by debug specification v0.13 */ +static bool valid_trigger_type_v013[TRIGGER_TYPE_NUM ] = { + [TRIGGER_TYPE_AD_MATCH ] = true, + [TRIGGER_TYPE_INST_CNT ] = true, + [TRIGGER_TYPE_INT ] = true, + [TRIGGER_TYPE_EXCP ] = true, + [TRIGGER_TYPE_UNAVAIL ] = true +}; + +/* Valid trigger types supported by debug specification v1.0 */ +static bool valid_trigger_type_v100[TRIGGER_TYPE_NUM ] = { + [TRIGGER_TYPE_AD_MATCH ] = true, + [TRIGGER_TYPE_INST_CNT ] = true, + [TRIGGER_TYPE_INT ] = true, + [TRIGGER_TYPE_EXCP ] = true, + [TRIGGER_TYPE_AD_MATCH6 ] = true, + [TRIGGER_TYPE_EXT_SRC ] = true, + [TRIGGER_TYPE_DISABLED ] = true +}; +/* only breakpoint size 1/2/4/8 supported */ static int access_size[SIZE_NUM ] = { [SIZE_ANY ] =0 ,
@@ -95,6 +115,20 @@ static inline target_ulong get_trigger_type(CPURISCVState *env,return extract_trigger_type (env, env->tdata1[trigger_index]); } +static inline bool validate_trigger_type (CPURISCVState *env, +target_ulong trigger_type) +{ +if (trigger_type >=TRIGGER_TYPE_NUM ) { +return false; + } + +if (riscv_cpu_cfg (env)->debug_1_00) { +return valid_trigger_type_v100[trigger_type]; + } + +return valid_trigger_type_v013[trigger_type]; +} +static trigger_action_t get_trigger_action (CPURISCVState *env,target_ulong trigger_index) {
@@ -889,6 +923,13 @@ void tdata_csr_write(CPURISCVState *env, int tdata_index, target_ulong val) trigger_type =get_trigger_type (env, env->trigger_cur); } +if (!validate_trigger_type (env, trigger_type)) { +/* Since the tdada1.type is WARL, we simpily ignore write here. */ +qemu_log_mask (LOG_UNIMP ,"trigger type: %d is not supported\n" , + trigger_type); +return ; + } +switch (trigger_type) {case TRIGGER_TYPE_AD_MATCH :type2_reg_write (env, env->trigger_cur, tdata_index, val);
@@ -918,8 +959,11 @@ void tdata_csr_write(CPURISCVState *env, int tdata_index, target_ulong val)target_ulong tinfo_csr_read (CPURISCVState *env) {/* assume all triggers support the same types of triggers */ -return BIT (TRIGGER_TYPE_AD_MATCH ) | -BIT (TRIGGER_TYPE_AD_MATCH6 ); +if (riscv_cpu_cfg (env)->debug_1_00) { +return BIT (TRIGGER_TYPE_AD_MATCH ) |BIT (TRIGGER_TYPE_AD_MATCH6 ); + } + +return BIT (TRIGGER_TYPE_AD_MATCH ); }void riscv_cpu_debug_excp_handler (CPUState *cs)
@@ -1056,9 +1100,15 @@ void riscv_trigger_realize(CPURISCVState *env)void riscv_trigger_reset_hold (CPURISCVState *env) { -target_ulong tdata1 =build_tdata1 (env,TRIGGER_TYPE_AD_MATCH ,0 ,0 ); +target_ulong tdata1;int i; +if (riscv_cpu_cfg (env)->debug_1_00) { + tdata1 =build_tdata1 (env,TRIGGER_TYPE_AD_MATCH6 ,0 ,0 ); + }else { + tdata1 =build_tdata1 (env,TRIGGER_TYPE_AD_MATCH ,0 ,0 ); + } +/* init to type 2 triggers */ for (i =0 ; i <RV_MAX_TRIGGERS ; i++) {/*
target/riscv/debug.h +1 -0
@@ -43,6 +43,7 @@ typedef enum {TRIGGER_TYPE_AD_MATCH6 =6 ,/* new address/data match trigger */ TRIGGER_TYPE_EXT_SRC =7 ,/* external source trigger */ TRIGGER_TYPE_UNAVAIL =15 ,/* trigger exists, but unavailable */ +TRIGGER_TYPE_DISABLED =15 ,/* trigger exists, but disabled */ TRIGGER_TYPE_NUM } trigger_type_t;
Signature · 1 line
2.43.0
Quoted 10 lines · Alvin Chang via
This series try to support versioning of debug specification. The early debug implementation supports debug specification v0.13, and later new trigger types were added which are defined in debug specification v1.0 version. To support both v0.13 and v1.0, we add 'debug-1.0' as CPU property to let user choose debug specification v1.0 by specifying "debug-1.0=true". The default version is still v0.13 if 'debug-1.0' is not provided and set.
For example, to enable debug specification v1.0 on max CPU:
* -cpu max,debug-1.0=true
Quoted 6 lines
Changes since v2:
* Improve commit message and fix typo
* Apply "Reviewed-by" tagsChanges since v1:
* Apply suggestions from Daniel. Using boolean property instead of string.
This is great work! Thanks to Alvin Chang for refining the sdext. It seems we are one step closer to merging rvsp-ref into the mainline.
What are your thoughts on this, Daniel?
Thanks,
Chao
Hi Chao,
Quoted 30 lines
-----Original Message-----
From: Chao Liu <[email protected]>
Sent: Friday, December 19, 2025 4:09 PM
To: [email protected]
Cc: [email protected]; Alvin Che-Chia Chang(張哲嘉) <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH v3 0/2] RISC-V: Initial support versioning of debug specification[EXTERNAL MAIL]
Quoted 6 lines · Alvin Chang via
This series try to support versioning of debug specification. The early debug implementation supports debug specification v0.13, and later new trigger types were added which are defined in debug specification v1.0 version. To support both v0.13 and v1.0, we add 'debug-1.0' as CPU property to let user choose debug specification v1.0 by specifying "debug-1.0=true". The default version is still v0.13 if
'debug-1.0' is not provided and set.
Quoted 8 lines
For example, to enable debug specification v1.0 on max CPU:
* -cpu max,debug-1.0=trueChanges since v2:
* Improve commit message and fix typo
* Apply "Reviewed-by" tags
Quoted 5 lines
Quoted 2 lines
Changes since v1:
* Apply suggestions from Daniel. Using boolean property instead of string.This is great work! Thanks to Alvin Chang for refining the sdext. It seems we are one step closer to merging rvsp-ref into the mainline.
Thank you, Chao.
Please note that this series doesn't implement Sdext infrastructure.
We have some patches for Sdtrig based on Debug spec v1.0 and we want to upstream those patches.
We ever submitted the patches, but unfortunately the patches were blocked.
The maintainer told me that QEMU should support both v0.13 and v1.0 for backward compatibility, rather than eliminating v0.13. That why I submitted this series, trying to resolve the version issue.
Sincerely,
Alvin Chang
Quoted 5 lines
What are your thoughts on this, Daniel?
Thanks,
Chao
CONFIDENTIALITY NOTICE:
This e-mail (and its attachments) may contain confidential and legally privileged information or information protected from disclosure. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein is strictly prohibited. In this case, please immediately notify the sender by return e-mail, delete the message (and any accompanying documents) and destroy all printed hard copies. Thank you for your cooperation.
Copyright ANDES TECHNOLOGY CORPORATION - All Rights Reserved.
Quoted 46 lines · Alvin Che-Chia Chang(張哲嘉)
Hi Chao,
Quoted 30 lines
-----Original Message-----
From: Chao Liu <[email protected]>
Sent: Friday, December 19, 2025 4:09 PM
To: [email protected]
Cc: [email protected]; Alvin Che-Chia Chang(張哲嘉) <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH v3 0/2] RISC-V: Initial support versioning of debug specification[EXTERNAL MAIL]
Quoted 6 lines · Alvin Chang via
This series try to support versioning of debug specification. The early debug implementation supports debug specification v0.13, and later new trigger types were added which are defined in debug specification v1.0 version. To support both v0.13 and v1.0, we add 'debug-1.0' as CPU property to let user choose debug specification v1.0 by specifying "debug-1.0=true". The default version is still v0.13 if
'debug-1.0' is not provided and set.
Quoted 8 lines
For example, to enable debug specification v1.0 on max CPU:
* -cpu max,debug-1.0=trueChanges since v2:
* Improve commit message and fix typo
* Apply "Reviewed-by" tagsQuoted 5 lines
Quoted 2 lines
Changes since v1:
* Apply suggestions from Daniel. Using boolean property instead of string.This is great work! Thanks to Alvin Chang for refining the sdext. It seems we are one step closer to merging rvsp-ref into the mainline.
Thank you, Chao.
Please note that this series doesn't implement Sdext infrastructure.
We have some patches for Sdtrig based on Debug spec v1.0 and we want to upstream those patches.
We ever submitted the patches, but unfortunately the patches were blocked.
The maintainer told me that QEMU should support both v0.13 and v1.0 for backward compatibility, rather than eliminating v0.13. That why I submitted this series, trying to resolve the version issue.
Quoted 4 lines
Sincerely,
Alvin Chang
Oh, thank you for your clarification. I also noticed this when reviewing the main patch series — it was my misunderstanding. Still, thank you for your contribution!
I have done some development work on Sdext before, but I noticed that implementations of the DM module vary among different vendors. In addition, how to achieve compatibility with gdbstub is also a challenge. I will send out the RFC patches at an appropriate time in the future.
Thanks,
Chao
Quoted 70 lines
-----Original Message-----
From: Chao Liu <[email protected]>
Sent: Friday, December 19, 2025 5:24 PM
To: Alvin Che-Chia Chang(張哲嘉) <[email protected]>; [email protected]
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH v3 0/2] RISC-V: Initial support versioning of debug specification[EXTERNAL MAIL]
Quoted 36 lines · Alvin Che-Chia Chang(張哲嘉)
Hi Chao,
Quoted 34 lines
-----Original Message-----
From: Chao Liu <[email protected]>
Sent: Friday, December 19, 2025 4:09 PM
To: [email protected]
Cc: [email protected]; Alvin Che-Chia Chang(張哲嘉) <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH v3 0/2] RISC-V: Initial support versioning of debug specification[EXTERNAL MAIL]
Quoted 7 lines · Alvin Chang via
This series try to support versioning of debug specification. The early debug implementation supports debug specification v0.13, and later new trigger types were added which are defined in debug specification v1.0 version. To support both v0.13 and v1.0, we add 'debug-1.0' as CPU property to let user choose debug specification v1.0 by specifying "debug-1.0=true". The default version is still v0.13 if
'debug-1.0' is not provided and set.
Quoted 10 lines
For example, to enable debug specification v1.0 on max CPU:
* -cpu max,debug-1.0=trueChanges since v2:
* Improve commit message and fix typo
* Apply "Reviewed-by" tagsChanges since v1:
* Apply suggestions from Daniel. Using boolean property instead of string.Quoted 6 lines
Quoted 2 lines
This is great work! Thanks to Alvin Chang for refining the sdext. It seems we are one step closer to merging rvsp-ref into the mainline.
Thank you, Chao.
Please note that this series doesn't implement Sdext infrastructure. We have some patches for Sdtrig based on Debug spec v1.0 and we want toupstream those patches.
Quoted 2 lines
We ever submitted the patches, but unfortunately the patches were blocked. The maintainer told me that QEMU should support both v0.13 and v1.0 for
backward compatibility, rather than eliminating v0.13.
Quoted 7 lines
That why I submitted this series, trying to resolve the version issue.
Sincerely,
Alvin Chang
Quoted 8 lines
Oh, thank you for your clarification. I also noticed this when reviewing the main patch series — it was my misunderstanding. Still, thank you for your contribution!
I have done some development work on Sdext before, but I noticed that implementations of the DM module vary among different vendors. In addition, how to achieve compatibility with gdbstub is also a challenge. I will send out the RFC patches at an appropriate time in the future.
Nice work! I remember that Spike has DM module, so I think vendor compatibility is not a critical issue. It's better than nothing. Looking forward to your patches for DM module.
Sincerely,
Alvin
Quoted 3 lines
Thanks,
Chao
CONFIDENTIALITY NOTICE:
This e-mail (and its attachments) may contain confidential and legally privileged information or information protected from disclosure. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein is strictly prohibited. In this case, please immediately notify the sender by return e-mail, delete the message (and any accompanying documents) and destroy all printed hard copies. Thank you for your cooperation.
Copyright ANDES TECHNOLOGY CORPORATION - All Rights Reserved.
Quoted 74 lines · Alvin Che-Chia Chang(張哲嘉)
Quoted 74 lines
-----Original Message-----
From: Chao Liu <[email protected]>
Sent: Friday, December 19, 2025 5:24 PM
To: Alvin Che-Chia Chang(張哲嘉) <[email protected]>; [email protected]
Cc: [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH v3 0/2] RISC-V: Initial support versioning of debug specification[EXTERNAL MAIL]
Quoted 36 lines · Alvin Che-Chia Chang(張哲嘉)
Hi Chao,
Quoted 34 lines
-----Original Message-----
From: Chao Liu <[email protected]>
Sent: Friday, December 19, 2025 4:09 PM
To: [email protected]
Cc: [email protected]; Alvin Che-Chia Chang(張哲嘉) <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH v3 0/2] RISC-V: Initial support versioning of debug specification[EXTERNAL MAIL]
Quoted 7 lines · Alvin Chang via
This series try to support versioning of debug specification. The early debug implementation supports debug specification v0.13, and later new trigger types were added which are defined in debug specification v1.0 version. To support both v0.13 and v1.0, we add 'debug-1.0' as CPU property to let user choose debug specification v1.0 by specifying "debug-1.0=true". The default version is still v0.13 if
'debug-1.0' is not provided and set.
Quoted 10 lines
For example, to enable debug specification v1.0 on max CPU:
* -cpu max,debug-1.0=trueChanges since v2:
* Improve commit message and fix typo
* Apply "Reviewed-by" tagsChanges since v1:
* Apply suggestions from Daniel. Using boolean property instead of string.Quoted 6 lines
Quoted 2 lines
This is great work! Thanks to Alvin Chang for refining the sdext. It seems we are one step closer to merging rvsp-ref into the mainline.
Thank you, Chao.
Please note that this series doesn't implement Sdext infrastructure. We have some patches for Sdtrig based on Debug spec v1.0 and we want toupstream those patches.
Quoted 2 lines
We ever submitted the patches, but unfortunately the patches were blocked. The maintainer told me that QEMU should support both v0.13 and v1.0 for
backward compatibility, rather than eliminating v0.13.
Quoted 7 lines
That why I submitted this series, trying to resolve the version issue.
Sincerely,
Alvin ChangOh, thank you for your clarification. I also noticed this when reviewing the main patch series — it was my misunderstanding. Still, thank you for your contribution!
Quoted 8 lines
Quoted 4 lines
I have done some development work on Sdext before, but I noticed that implementations of the DM module vary among different vendors. In addition, how to achieve compatibility with gdbstub is also a challenge. I will send out the RFC patches at an appropriate time in the future.
Nice work! I remember that Spike has DM module, so I think vendor compatibility is not a critical issue. It's better than nothing. Looking forward to your patches for DM module.
That's great news! Haha, referring to the implementation of the DM module in Spike is a good choice. Thanks again! :)
Thanks,
Chao
Quoted 53 lines · Chao Liu
Quoted 46 lines · Alvin Che-Chia Chang(張哲嘉)
Hi Chao,
Quoted 30 lines
-----Original Message-----
From: Chao Liu <[email protected]>
Sent: Friday, December 19, 2025 4:09 PM
To: [email protected]
Cc: [email protected]; Alvin Che-Chia Chang(張哲嘉) <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH v3 0/2] RISC-V: Initial support versioning of debug specification[EXTERNAL MAIL]
Quoted 6 lines · Alvin Chang via
This series try to support versioning of debug specification. The early debug implementation supports debug specification v0.13, and later new trigger types were added which are defined in debug specification v1.0 version. To support both v0.13 and v1.0, we add 'debug-1.0' as CPU property to let user choose debug specification v1.0 by specifying "debug-1.0=true". The default version is still v0.13 if
'debug-1.0' is not provided and set.
Quoted 8 lines
For example, to enable debug specification v1.0 on max CPU:
* -cpu max,debug-1.0=trueChanges since v2:
* Improve commit message and fix typo
* Apply "Reviewed-by" tagsQuoted 5 lines
Quoted 2 lines
Changes since v1:
* Apply suggestions from Daniel. Using boolean property instead of string.This is great work! Thanks to Alvin Chang for refining the sdext. It seems we are one step closer to merging rvsp-ref into the mainline.
Thank you, Chao.
Please note that this series doesn't implement Sdext infrastructure.
We have some patches for Sdtrig based on Debug spec v1.0 and we want to upstream those patches.
We ever submitted the patches, but unfortunately the patches were blocked.
The maintainer told me that QEMU should support both v0.13 and v1.0 for backward compatibility, rather than eliminating v0.13. That why I submitted this series, trying to resolve the version issue.Quoted 4 lines
Sincerely,
Alvin Chang
Quoted 8 lines
Oh, thank you for your clarification. I also noticed this when reviewing the main patch series — it was my misunderstanding. Still, thank you for your contribution!
I have done some development work on Sdext before, but I noticed that implementations of the DM module vary among different vendors. In addition, how to achieve compatibility with gdbstub is also a challenge. I will send out the RFC patches at an appropriate time in the future.
Hi Chao,
If I understood correctly you might have some code that implements sdext
in QEMU. Is that the case?
If affirmative, feel free to send it at you earliest convenience, even if it's rough on the edges (you can tag it as RFC). We would like to get the Server Platform Reference Board merged, preferably for this release, and we need sdext to be compliant with that spec.
Cheers,
Daniel
Quoted 3 lines
Thanks,
Chao
Quoted 69 lines · Daniel Henrique Barboza
Quoted 55 lines · Chao Liu
Quoted 48 lines · Alvin Che-Chia Chang(張哲嘉)
Hi Chao,
Quoted 30 lines
-----Original Message-----
From: Chao Liu <[email protected]>
Sent: Friday, December 19, 2025 4:09 PM
To: [email protected]
Cc: [email protected]; Alvin Che-Chia Chang(張哲嘉) <[email protected]>; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]; [email protected]
Subject: Re: [PATCH v3 0/2] RISC-V: Initial support versioning of debug specification[EXTERNAL MAIL]
Quoted 6 lines · Alvin Chang via
This series try to support versioning of debug specification. The early debug implementation supports debug specification v0.13, and later new trigger types were added which are defined in debug specification v1.0 version. To support both v0.13 and v1.0, we add 'debug-1.0' as CPU property to let user choose debug specification v1.0 by specifying "debug-1.0=true". The default version is still v0.13 if
'debug-1.0' is not provided and set.
Quoted 8 lines
For example, to enable debug specification v1.0 on max CPU:
* -cpu max,debug-1.0=trueChanges since v2:
* Improve commit message and fix typo
* Apply "Reviewed-by" tagsQuoted 5 lines
Quoted 2 lines
Changes since v1:
* Apply suggestions from Daniel. Using boolean property instead of string.This is great work! Thanks to Alvin Chang for refining the sdext. It seems we are one step closer to merging rvsp-ref into the mainline.
Thank you, Chao.
Please note that this series doesn't implement Sdext infrastructure. We have some patches for Sdtrig based on Debug spec v1.0 and we want to upstream those patches.
We ever submitted the patches, but unfortunately the patches were blocked. The maintainer told me that QEMU should support both v0.13 and v1.0 for backward compatibility, rather than eliminating v0.13.
That why I submitted this series, trying to resolve the version issue.Quoted 4 lines
Sincerely,
Alvin ChangQuoted 8 lines
Oh, thank you for your clarification. I also noticed this when reviewing the main patch series — it was my misunderstanding. Still, thank you for your contribution!
I have done some development work on Sdext before, but I noticed that implementations of the DM module vary among different vendors. In addition, how to achieve compatibility with gdbstub is also a challenge. I will send out the RFC patches at an appropriate time in the future.
Hi Chao,
Quoted 9 lines
If I understood correctly you might have some code that implements sdext in QEMU. Is that the case?
If affirmative, feel free to send it at you earliest convenience, even if it's rough on the edges (you can tag it as RFC). We would like to get the Server Platform Reference Board merged, preferably for this release, and we need sdext to be compliant with that spec.
Okay, I will send the RFC patch to the upstream for discussion in the next couple of days. :)
Thanks,
Chao
Quoted 10 lines
Cheers,
Daniel
Quoted 3 lines
Thanks,
Chao