* [PATCH v3 0/3] drm/xe/ras: Suppress repeated DB-ECC reports
@ 2026-12-04 14:07 Mallesh Koujalagi
2026-12-04 14:07 ` [PATCH v3 1/3] drm/xe/ras: Add helper to check hard-offlined pages Mallesh Koujalagi
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Mallesh Koujalagi @ 2026-12-04 14:07 UTC (permalink / raw)
To: intel-xe
Cc: rodrigo.vivi, anshuman.gupta, badal.nilawar, riana.tauro,
karthik.poosa, sk.anirban, raag.jadav, himal.prasad.ghimiray,
tejas.upadhyay, aravind.iddamsetty, Mallesh Koujalagi
Firmware can repeatedly report DB-ECC errors for pages that have already
been hard-offlined. These reports are not actionable, but they still
generate logs, events, and CPER records.
The patch series suppresses the duplicate reporting while keeping the
existing page offline handling unchanged.
v2:
- Let the memory handler decide whether to skip the reports and send the
event after the handler. (Rodrigo)
- Remove info log from xe_ras_process_errors(). (Riana)
v3:
- Set quiet flag in handle_page_offline(). (Riana)
- Change xe_info to xe_dbg.
- Handle DRM-RAS event properly. (Sashiko)
Cc: Raag Jadav <raag.jadav@intel.com>
Cc: Riana Tauro <riana.tauro@intel.com>
Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com>
Cc: Tejas Upadhyay <tejas.upadhyay@intel.com>
Aravind Iddamsetty (1):
drm/xe/ras: Add helper to check hard-offlined pages
Mallesh Koujalagi (2):
drm/xe/ras: Downgrade repeated page removal message to debug
drm/xe/ras: Suppress reports for repeated DB-ECC errors
drivers/gpu/drm/xe/xe_ras.c | 79 +++++++++++++++++++++++++------------
1 file changed, 53 insertions(+), 26 deletions(-)
--
2.48.1
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH v3 1/3] drm/xe/ras: Add helper to check hard-offlined pages 2026-12-04 14:07 [PATCH v3 0/3] drm/xe/ras: Suppress repeated DB-ECC reports Mallesh Koujalagi @ 2026-12-04 14:07 ` Mallesh Koujalagi 2026-12-04 14:07 ` [PATCH v3 2/3] drm/xe/ras: Downgrade repeated page removal message to debug Mallesh Koujalagi 2026-12-04 14:07 ` [PATCH v3 3/3] drm/xe/ras: Suppress reports for repeated DB-ECC errors Mallesh Koujalagi 2 siblings, 0 replies; 5+ messages in thread From: Mallesh Koujalagi @ 2026-12-04 14:07 UTC (permalink / raw) To: intel-xe Cc: rodrigo.vivi, anshuman.gupta, badal.nilawar, riana.tauro, karthik.poosa, sk.anirban, raag.jadav, himal.prasad.ghimiray, tejas.upadhyay, aravind.iddamsetty, Mallesh Koujalagi From: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com> Introduce page_is_hard_offlined() to encapsulate the lookup of hard-offlined pages in the offlined_pages xarray. Cc: Raag Jadav <raag.jadav@intel.com> Cc: Riana Tauro <riana.tauro@intel.com> Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> Cc: Tejas Upadhyay <tejas.upadhyay@intel.com> Signed-off-by: Aravind Iddamsetty <aravind.iddamsetty@linux.intel.com> Co-developed-by: Mallesh Koujalagi <mallesh.koujalagi@intel.com> Signed-off-by: Mallesh Koujalagi <mallesh.koujalagi@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> --- drivers/gpu/drm/xe/xe_ras.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/xe/xe_ras.c b/drivers/gpu/drm/xe/xe_ras.c index 9415e4f45b80..9a591b0ca41d 100644 --- a/drivers/gpu/drm/xe/xe_ras.c +++ b/drivers/gpu/drm/xe/xe_ras.c @@ -255,6 +255,11 @@ static inline const char *comp_to_str(u8 component) return xe_ras_components[component]; } +static bool page_is_hard_offlined(struct xe_device *xe, u64 page_address) +{ + return !!xa_load(&xe->ras.state.offlined_pages, page_address >> XE_PTE_SHIFT); +} + static int send_page_offline_cmd(struct xe_device *xe, u64 page_address, enum xe_ras_page_action action) { @@ -312,7 +317,6 @@ static int send_page_offline_cmd(struct xe_device *xe, u64 page_address, static int handle_page_offline(struct xe_device *xe, u64 page_address, bool notify_fw) { - struct xe_ras_state *state = &xe->ras.state; enum xe_ras_page_action action; u64 addr; int ret; @@ -357,7 +361,7 @@ static int handle_page_offline(struct xe_device *xe, u64 page_address, bool noti case -EEXIST: xe_dbg(xe, "[RAS]: Repeated error on already soft-offlined page address 0x%llx\n", page_address); - if (xa_load(&state->offlined_pages, page_address >> XE_PTE_SHIFT)) + if (page_is_hard_offlined(xe, page_address)) action = XE_RAS_PAGE_ACTION_REMOVE; else action = XE_RAS_PAGE_ACTION_OFFLINE; -- 2.48.1 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v3 2/3] drm/xe/ras: Downgrade repeated page removal message to debug 2026-12-04 14:07 [PATCH v3 0/3] drm/xe/ras: Suppress repeated DB-ECC reports Mallesh Koujalagi 2026-12-04 14:07 ` [PATCH v3 1/3] drm/xe/ras: Add helper to check hard-offlined pages Mallesh Koujalagi @ 2026-12-04 14:07 ` Mallesh Koujalagi 2026-12-04 14:07 ` [PATCH v3 3/3] drm/xe/ras: Suppress reports for repeated DB-ECC errors Mallesh Koujalagi 2 siblings, 0 replies; 5+ messages in thread From: Mallesh Koujalagi @ 2026-12-04 14:07 UTC (permalink / raw) To: intel-xe Cc: rodrigo.vivi, anshuman.gupta, badal.nilawar, riana.tauro, karthik.poosa, sk.anirban, raag.jadav, himal.prasad.ghimiray, tejas.upadhyay, aravind.iddamsetty, Mallesh Koujalagi Repeated errors on pages already hard-offlined by firmware only trigger removal from the offline queue. Log these events at debug level to avoid unnecessary dmesg noise. Keep info-level logging for other page removals. Cc: Raag Jadav <raag.jadav@intel.com> Cc: Riana Tauro <riana.tauro@intel.com> Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> Cc: Tejas Upadhyay <tejas.upadhyay@intel.com> Signed-off-by: Mallesh Koujalagi <mallesh.koujalagi@intel.com> Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com> --- drivers/gpu/drm/xe/xe_ras.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/xe/xe_ras.c b/drivers/gpu/drm/xe/xe_ras.c index 9a591b0ca41d..df1e3901b4e0 100644 --- a/drivers/gpu/drm/xe/xe_ras.c +++ b/drivers/gpu/drm/xe/xe_ras.c @@ -308,6 +308,9 @@ static int send_page_offline_cmd(struct xe_device *xe, u64 page_address, if (ret) xe_err(xe, "[RAS]: Failed to store offlined page 0x%llx: %d\n", page_address, ret); + } else if (page_is_hard_offlined(xe, page_address)) { + xe_dbg(xe, "[RAS]: Page address 0x%llx already offlined, removed from queue\n", + page_address); } else { xe_info(xe, "[RAS]: Page address 0x%llx removed from queue\n", page_address); } -- 2.48.1 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH v3 3/3] drm/xe/ras: Suppress reports for repeated DB-ECC errors 2026-12-04 14:07 [PATCH v3 0/3] drm/xe/ras: Suppress repeated DB-ECC reports Mallesh Koujalagi 2026-12-04 14:07 ` [PATCH v3 1/3] drm/xe/ras: Add helper to check hard-offlined pages Mallesh Koujalagi 2026-12-04 14:07 ` [PATCH v3 2/3] drm/xe/ras: Downgrade repeated page removal message to debug Mallesh Koujalagi @ 2026-12-04 14:07 ` Mallesh Koujalagi 2026-12-04 14:57 ` sashiko-bot 2 siblings, 1 reply; 5+ messages in thread From: Mallesh Koujalagi @ 2026-12-04 14:07 UTC (permalink / raw) To: intel-xe Cc: rodrigo.vivi, anshuman.gupta, badal.nilawar, riana.tauro, karthik.poosa, sk.anirban, raag.jadav, himal.prasad.ghimiray, tejas.upadhyay, aravind.iddamsetty, Mallesh Koujalagi Repeated DB-ECC errors can be reported for pages that have already been hard-offlined. Such errors are not actionable, but they still generate log messages, error events, and CPER records. Skip reporting when a repeated error on a hard-offlined page is handled successfully. Continue reporting error handling fails. Cc: Raag Jadav <raag.jadav@intel.com> Cc: Riana Tauro <riana.tauro@intel.com> Cc: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> Cc: Tejas Upadhyay <tejas.upadhyay@intel.com> Suggested-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Mallesh Koujalagi <mallesh.koujalagi@intel.com> --- v2: - Let the memory handler decide whether to skip the reports and send the event after the handler. (Rodrigo) - Remove info log from xe_ras_process_errors(). (Riana) v3: - Set quiet flag in handle_page_offline(). (Riana) - Change xe_info to xe_dbg. - Handle DRM-RAS event properly. (Sashiko) --- drivers/gpu/drm/xe/xe_ras.c | 70 ++++++++++++++++++++++++------------- 1 file changed, 45 insertions(+), 25 deletions(-) diff --git a/drivers/gpu/drm/xe/xe_ras.c b/drivers/gpu/drm/xe/xe_ras.c index df1e3901b4e0..b91ea158879a 100644 --- a/drivers/gpu/drm/xe/xe_ras.c +++ b/drivers/gpu/drm/xe/xe_ras.c @@ -301,7 +301,7 @@ static int send_page_offline_cmd(struct xe_device *xe, u64 page_address, } if (action == XE_RAS_PAGE_ACTION_OFFLINE) { - xe_info(xe, "[RAS]: Page address 0x%llx offlined\n", page_address); + xe_dbg(xe, "[RAS]: Page address 0x%llx offlined\n", page_address); ret = xa_err(xa_store(&state->offlined_pages, page_address >> XE_PTE_SHIFT, XE_RAS_PAGE_OFFLINED, GFP_KERNEL)); @@ -312,13 +312,14 @@ static int send_page_offline_cmd(struct xe_device *xe, u64 page_address, xe_dbg(xe, "[RAS]: Page address 0x%llx already offlined, removed from queue\n", page_address); } else { - xe_info(xe, "[RAS]: Page address 0x%llx removed from queue\n", page_address); + xe_dbg(xe, "[RAS]: Page address 0x%llx removed from queue\n", page_address); } return 0; } -static int handle_page_offline(struct xe_device *xe, u64 page_address, bool notify_fw) +static int handle_page_offline(struct xe_device *xe, u64 page_address, bool notify_fw, + bool *quiet) { enum xe_ras_page_action action; u64 addr; @@ -364,10 +365,12 @@ static int handle_page_offline(struct xe_device *xe, u64 page_address, bool noti case -EEXIST: xe_dbg(xe, "[RAS]: Repeated error on already soft-offlined page address 0x%llx\n", page_address); - if (page_is_hard_offlined(xe, page_address)) + if (page_is_hard_offlined(xe, page_address)) { action = XE_RAS_PAGE_ACTION_REMOVE; - else + *quiet = true; + } else { action = XE_RAS_PAGE_ACTION_OFFLINE; + } break; case -ENOMEM: default: @@ -379,8 +382,10 @@ static int handle_page_offline(struct xe_device *xe, u64 page_address, bool noti notify: if (notify_fw) { ret = send_page_offline_cmd(xe, page_address, action); - if (ret) + if (ret) { + *quiet = false; return ret; + } } return 0; @@ -451,7 +456,9 @@ static void process_offline_pages(struct xe_device *xe, u32 cmd, void *req, size ((struct xe_ras_offline_list_response *)resp)->max_entries; for (i = 0; i < common->pages_returned && i < XE_RAS_NUM_PAGES; i++) { - handle_page_offline(xe, common->page_addresses[i], notify_fw); + bool quiet = false; + + handle_page_offline(xe, common->page_addresses[i], notify_fw, &quiet); /* The pages are already offlined by firmware */ if (!notify_fw) { index = common->page_addresses[i] >> XE_PTE_SHIFT; @@ -569,6 +576,18 @@ static void ras_send_error_event(struct xe_device *xe, u8 severity, u8 component xe_drm_ras_event(xe, drm_component, drm_severity, value); } +static void ras_send_error_event_once(struct xe_device *xe, struct xe_ras_error_class *counter, + u8 *sent) +{ + u8 component = counter->common.component; + + if (*sent & BIT(component)) + return; + + *sent |= BIT(component); + ras_send_error_event(xe, counter->common.severity, component); +} + static inline bool is_local_sw_error(u8 uncorr_type, u8 fault_code) { return uncorr_type == LOCAL_UNCORR_ERROR && @@ -609,7 +628,8 @@ static void punit_error_handler(struct xe_device *xe) xe_wedge_declare(xe, DRM_WEDGE_RECOVERY_COLD_RESET); } -static u8 handle_soc_internal_errors(struct xe_device *xe, struct xe_ras_error_array *arr) +static u8 handle_soc_internal_errors(struct xe_device *xe, struct xe_ras_error_array *arr, + u8 *sent) { struct xe_ras_soc_error *info = (void *)arr->details; struct xe_ras_soc_error_source *source = &info->source; @@ -631,6 +651,7 @@ static u8 handle_soc_internal_errors(struct xe_device *xe, struct xe_ras_error_a if (csc_error->hec_fw_error) { xe_log_comp_fatal(xe, SOC_INTERNAL, &arr->counter, sizeof(arr->counter), "CSC error detected: 0x%08x\n", csc_error->hec_fw_error); + ras_send_error_event_once(xe, &arr->counter, sent); xe_survivability_mode_runtime_enable(xe); return XE_RAS_RECOVERY_ACTION_DISCONNECT; } @@ -641,6 +662,7 @@ static u8 handle_soc_internal_errors(struct xe_device *xe, struct xe_ras_error_a xe_log_comp_fatal(xe, SOC_INTERNAL, &arr->counter, sizeof(arr->counter), "PUNIT error detected: 0x%08x\n", ieh_error->global_error_status); + ras_send_error_event_once(xe, &arr->counter, sent); punit_error_handler(xe); return XE_RAS_RECOVERY_ACTION_DISCONNECT; } @@ -654,7 +676,8 @@ static u8 handle_soc_internal_errors(struct xe_device *xe, struct xe_ras_error_a return XE_RAS_RECOVERY_ACTION_RESET; } -static u8 handle_device_memory_errors(struct xe_device *xe, struct xe_ras_error_array *arr) +static u8 handle_device_memory_errors(struct xe_device *xe, struct xe_ras_error_array *arr, + bool *quiet, u8 *sent) { struct xe_ras_memory_error *info = (void *)arr->details; u8 cper_sev = ras_sev_to_cper_sev(arr->counter.common.severity); @@ -694,16 +717,18 @@ static u8 handle_device_memory_errors(struct xe_device *xe, struct xe_ras_error_ break; } - ret = handle_page_offline(xe, info->sw_address, true); - xe_log_comp(xe, ret ? cper_sev : CPER_SEV_INFORMATIONAL, - DEVICE_MEMORY, &arr->counter, sizeof(arr->counter), - "Double-bit ECC error detected at sw address 0x%llx\n", - info->sw_address); + ret = handle_page_offline(xe, info->sw_address, true, quiet); + if (!*quiet) + xe_log_comp(xe, ret ? cper_sev : CPER_SEV_INFORMATIONAL, + DEVICE_MEMORY, &arr->counter, sizeof(arr->counter), + "Double-bit ECC error detected at sw address 0x%llx\n", + info->sw_address); /* * Wedge the device with a bus reset for errors that require SBR to recover. * TODO: Trigger SBR using pci_reset_bus */ if (ret) { + ras_send_error_event_once(xe, &arr->counter, sent); xe_wedge_declare(xe, DRM_WEDGE_RECOVERY_BUS_RESET); return XE_RAS_RECOVERY_ACTION_RESET; } @@ -892,6 +917,7 @@ enum xe_ras_recovery_action xe_ras_process_errors(struct xe_device *xe) struct xe_ras_error_array *arr = &response.arr[i]; enum xe_ras_recovery_action action; u8 component, severity; + bool quiet = false; component = arr->counter.common.component; severity = arr->counter.common.severity; @@ -899,24 +925,15 @@ enum xe_ras_recovery_action xe_ras_process_errors(struct xe_device *xe) if (!ras_counter_is_valid(xe, &arr->counter)) continue; - xe_info(xe, "[RAS]: %s %s detected\n", comp_to_str(component), - sev_to_str(severity)); - - /* Send event once per component */ - if (!(sent & BIT(component))) { - sent |= BIT(component); - ras_send_error_event(xe, severity, component); - } - switch (component) { case XE_RAS_COMP_CORE_COMPUTE: action = handle_core_compute_errors(xe, arr); break; case XE_RAS_COMP_SOC_INTERNAL: - action = handle_soc_internal_errors(xe, arr); + action = handle_soc_internal_errors(xe, arr, &sent); break; case XE_RAS_COMP_DEVICE_MEMORY: - action = handle_device_memory_errors(xe, arr); + action = handle_device_memory_errors(xe, arr, &quiet, &sent); break; case XE_RAS_COMP_FABRIC: xe_log_comp(xe, ras_sev_to_cper_sev(severity), FABRIC, @@ -929,6 +946,9 @@ enum xe_ras_recovery_action xe_ras_process_errors(struct xe_device *xe) break; } + if (!quiet) + ras_send_error_event_once(xe, &arr->counter, &sent); + /* Process and log all errors and then trigger highest recovery action */ if (action > final_action) final_action = action; -- 2.48.1 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH v3 3/3] drm/xe/ras: Suppress reports for repeated DB-ECC errors 2026-12-04 14:07 ` [PATCH v3 3/3] drm/xe/ras: Suppress reports for repeated DB-ECC errors Mallesh Koujalagi @ 2026-12-04 14:57 ` sashiko-bot 0 siblings, 0 replies; 5+ messages in thread From: sashiko-bot @ 2026-12-04 14:57 UTC (permalink / raw) To: Mallesh Koujalagi, intel-xe Thank you for your contribution! Sashiko AI review found 2 potential issues to consider: - [Medium] drm/xe/ras: removing xe_info() leaves default RAS components unlogged - [Low] drm/xe/ras: undocumented downgrade of non-repeated page offline logs -- commit 7be353faabcdf4bec6c67b2c0acdc814fa08ab8d Author: Mallesh Koujalagi <mallesh.koujalagi@intel.com> drm/xe/ras: Suppress reports for repeated DB-ECC errors This commit suppresses log messages, DRM-RAS error events, and CPER records when a repeated double-bit ECC error on an already hard-offlined page is handled successfully, and also downgrades page offline logs in send_page_offline_cmd() and removes the generic component log in xe_ras_process_errors(). > diff --git a/drivers/gpu/drm/xe/xe_ras.c b/drivers/gpu/drm/xe/xe_ras.c > index df1e3901b4e07..b91ea158879aa 100644 > --- a/drivers/gpu/drm/xe/xe_ras.c > +++ b/drivers/gpu/drm/xe/xe_ras.c > @@ -301,7 +301,7 @@ static int send_page_offline_cmd(struct xe_device *xe, u64 page_address, > } > > if (action == XE_RAS_PAGE_ACTION_OFFLINE) { > - xe_info(xe, "[RAS]: Page address 0x%llx offlined\n", page_address); > + xe_dbg(xe, "[RAS]: Page address 0x%llx offlined\n", page_address); > ret = xa_err(xa_store(&state->offlined_pages, > page_address >> XE_PTE_SHIFT, > XE_RAS_PAGE_OFFLINED, GFP_KERNEL)); > @@ -312,13 +312,14 @@ static int send_page_offline_cmd(struct xe_device *xe, u64 page_address, > xe_dbg(xe, "[RAS]: Page address 0x%llx already offlined, removed from queue\n", > page_address); > } else { > - xe_info(xe, "[RAS]: Page address 0x%llx removed from queue\n", page_address); > + xe_dbg(xe, "[RAS]: Page address 0x%llx removed from queue\n", page_address); > } [Severity: Low] Should these non-repeated page offline logs be downgraded to xe_dbg()? Changing both branches removes default info-level logging for first-time permanent firmware hard-offlining and non-repeated queue removals (including during probe via get_offline_queue(), which does not call xe_log_comp()). It also undoes commit "drm/xe/ras: Downgrade repeated page removal message to debug", which split the else branch to keep non-repeated removals at info level. If these log changes are intentional, the commit message should explain them rather than only mentioning them below the --- separator. [ ... ] > @@ -899,24 +925,15 @@ enum xe_ras_recovery_action xe_ras_process_errors(struct xe_device *xe) > if (!ras_counter_is_valid(xe, &arr->counter)) > continue; > > - xe_info(xe, "[RAS]: %s %s detected\n", comp_to_str(component), > - sev_to_str(severity)); > - > - /* Send event once per component */ > - if (!(sent & BIT(component))) { > - sent |= BIT(component); > - ras_send_error_event(xe, severity, component); > - } > - > switch (component) { > case XE_RAS_COMP_CORE_COMPUTE: > action = handle_core_compute_errors(xe, arr); > break; > case XE_RAS_COMP_SOC_INTERNAL: > - action = handle_soc_internal_errors(xe, arr); > + action = handle_soc_internal_errors(xe, arr, &sent); > break; > case XE_RAS_COMP_DEVICE_MEMORY: > - action = handle_device_memory_errors(xe, arr); > + action = handle_device_memory_errors(xe, arr, &quiet, &sent); > break; > case XE_RAS_COMP_FABRIC: > xe_log_comp(xe, ras_sev_to_cper_sev(severity), FABRIC, [Severity: Medium] Does removing this xe_info() leave valid RAS components handled by the default switch branch completely unlogged? ras_counter_is_valid() accepts XE_RAS_COMP_PCIE and XE_RAS_COMP_RESERVED, both of which fall into the default branch and trigger a full device reset via XE_RAS_RECOVERY_ACTION_RESET -> ras_action_to_pci_result(). Without this log, those resets happen with no dmesg diagnostic (and XE_RAS_COMP_RESERVED also emits no DRM-RAS event). Logging the component and severity in the default branch (with XE_RAS_COMP_FABRIC breaking before it) would preserve reset diagnostics without interfering with repeated DB-ECC suppression. -- Sashiko AI review · https://sashiko.dev/#/patchset/20261204140748.2397546-5-mallesh.koujalagi@intel.com?part=3 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-12-04 14:58 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-12-04 14:07 [PATCH v3 0/3] drm/xe/ras: Suppress repeated DB-ECC reports Mallesh Koujalagi 2026-12-04 14:07 ` [PATCH v3 1/3] drm/xe/ras: Add helper to check hard-offlined pages Mallesh Koujalagi 2026-12-04 14:07 ` [PATCH v3 2/3] drm/xe/ras: Downgrade repeated page removal message to debug Mallesh Koujalagi 2026-12-04 14:07 ` [PATCH v3 3/3] drm/xe/ras: Suppress reports for repeated DB-ECC errors Mallesh Koujalagi 2026-12-04 14:57 ` sashiko-bot
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox