xen/arm: domain_build: Always print the static shared memory region
authorMichal Orzel <michal.orzel@amd.com>
Mon, 19 Sep 2022 18:37:37 +0000 (20:37 +0200)
committerStefano Stabellini <stefano.stabellini@amd.com>
Thu, 29 Sep 2022 15:52:56 +0000 (08:52 -0700)
At the moment, the information about allocating static shared memory
region is only printed during the debug build. This information can also
be helpful for the end user (which may not be the same as the person
building the package), so switch to printk(). Also drop XENLOG_INFO to be
consistent with other printk() used to print the domain information.

Signed-off-by: Michal Orzel <michal.orzel@amd.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Release-acked-by: Henry Wang <Henry.Wang@arm.com>
xen/arch/arm/domain_build.c

index 01c2aaccd82df968014176ba4a6c5c85fa0832c7..40e3c2e1195c8ac96022995301a466996e215bea 100644 (file)
@@ -844,9 +844,8 @@ static int __init assign_shared_memory(struct domain *d,
     unsigned long nr_pages, nr_borrowers, i;
     struct page_info *page;
 
-    dprintk(XENLOG_INFO,
-            "%pd: allocate static shared memory BANK %#"PRIpaddr"-%#"PRIpaddr".\n",
-            d, pbase, pbase + psize);
+    printk("%pd: allocate static shared memory BANK %#"PRIpaddr"-%#"PRIpaddr".\n",
+           d, pbase, pbase + psize);
 
     smfn = acquire_shared_memory_bank(d, pbase, psize);
     if ( mfn_eq(smfn, INVALID_MFN) )