Revert recent ARGO changes

This reverts commit 3c4e804607.
This reverts commit 957f0f0b73.
This reverts commit 2bc9bc1978.
This reverts commit 03ebee6ed8.
This reverts commit a9720605b6.

These were committed without a maintainer ack, and therefore in contravention
of policy.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
This commit is contained in:
Andrew Cooper committed 2026-06-08 23:03:22 +01:00
1 parent 37df17d2f9
commit ccd8c65794
2 files changed
+12 -16

No files matched your search

-6
View File
@@ -491,12 +491,6 @@ config ARGO
If unsure, say N.
config ARGO_DEBUG
bool "Argo: enable debug traces (UNSUPPORTED)"
depends on ARGO
help
Enables extra debug traces for Argo debugging.
source "common/sched/Kconfig"
config CRYPTO
+12 -10
View File
@@ -318,10 +318,11 @@ static DEFINE_RWLOCK(L1_global_argo_rwlock); /* L1 */
((LOCKING_Read_L1 && spin_is_locked(&(d)->argo->send_L2_lock)) || \
LOCKING_Write_L1)
#define ARGO_DEBUG 0
#define argo_dprintk(fmt, args...) \
do { \
if ( IS_ENABLED(CONFIG_ARGO_DEBUG) ) \
gprintk(XENLOG_DEBUG, "argo: " fmt, ##args);\
if ( ARGO_DEBUG ) \
printk(XENLOG_DEBUG "argo: " fmt, ##args); \
} while ( 0 )
/*
@@ -473,7 +474,7 @@ ring_unmap(const struct domain *d, struct argo_ring_info *ring_info)
continue;
ASSERT(!mfn_eq(ring_info->mfns[i], INVALID_MFN));
argo_dprintk("unmapping page %"PRI_mfn" from %p\n",
argo_dprintk(XENLOG_ERR "argo: unmapping page %"PRI_mfn" from %p\n",
mfn_x(ring_info->mfns[i]), ring_info->mfn_mapping[i]);
unmap_domain_page_global(ring_info->mfn_mapping[i]);
@@ -1466,7 +1467,7 @@ find_ring_mfns(struct domain *d, struct argo_ring_info *ring_info,
if ( ring_info->mfns )
{
/* Ring already existed: drop the previous mapping. */
argo_dprintk("vm%u re-register existing ring "
argo_dprintk("argo: vm%u re-register existing ring "
"(vm%u:%x vm%u) clears mapping\n",
d->domain_id, ring_info->id.domain_id,
ring_info->id.aport, ring_info->id.partner_id);
@@ -1526,7 +1527,7 @@ find_ring_mfns(struct domain *d, struct argo_ring_info *ring_info,
{
ASSERT(ring_info->nmfns == NPAGES_RING(len));
argo_dprintk("vm%u ring (vm%u:%x vm%u) %p "
argo_dprintk("argo: vm%u ring (vm%u:%x vm%u) %p "
"mfn_mapping %p len %u nmfns %u\n",
d->domain_id, ring_info->id.domain_id,
ring_info->id.aport, ring_info->id.partner_id, ring_info,
@@ -1740,7 +1741,7 @@ register_ring(struct domain *currd,
list_add(&ring_info->node,
&currd->argo->ring_hash[hash_index(&ring_info->id)]);
argo_dprintk("vm%u registering ring (vm%u:%x vm%u)\n",
argo_dprintk("argo: vm%u registering ring (vm%u:%x vm%u)\n",
currd->domain_id, ring_id.domain_id, ring_id.aport,
ring_id.partner_id);
}
@@ -1780,7 +1781,7 @@ register_ring(struct domain *currd,
goto out_unlock2;
}
argo_dprintk("vm%u re-registering existing ring (vm%u:%x vm%u)\n",
argo_dprintk("argo: vm%u re-registering existing ring (vm%u:%x vm%u)\n",
currd->domain_id, ring_id.domain_id, ring_id.aport,
ring_id.partner_id);
}
@@ -2033,9 +2034,10 @@ sendv(struct domain *src_d, xen_argo_addr_t *src_addr,
src_id.domain_id);
if ( !ring_info )
{
argo_dprintk("vm%u connection refused, src (vm%u:%x) dst (vm%u:%x)\n",
current->domain->domain_id, src_id.domain_id, src_id.aport,
dst_addr->domain_id, dst_addr->aport);
gprintk(XENLOG_ERR,
"argo: vm%u connection refused, src (vm%u:%x) dst (vm%u:%x)\n",
current->domain->domain_id, src_id.domain_id, src_id.aport,
dst_addr->domain_id, dst_addr->aport);
ret = -ECONNREFUSED;
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.