All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/1] xen/arm: Remove warning for platforms without platform specific code
@ 2015-03-09  5:23 Edgar E. Iglesias
  2015-03-09 10:34 ` Julien Grall
  0 siblings, 1 reply; 3+ messages in thread
From: Edgar E. Iglesias @ 2015-03-09  5:23 UTC (permalink / raw)
  To: xen-devel; +Cc: tim, julien.grall, stefano.stabellini, ian.campbell

From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>

Replace the warning with an info message stating that the platform
is generic.

Suggested-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
---
 xen/arch/arm/platform.c | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

diff --git a/xen/arch/arm/platform.c b/xen/arch/arm/platform.c
index 86daf2b..70c1388 100644
--- a/xen/arch/arm/platform.c
+++ b/xen/arch/arm/platform.c
@@ -44,17 +44,6 @@ static bool_t __init platform_is_compatible(const struct platform_desc *plat)
     return 0;
 }
 
-/* List of possible platform */
-static void dump_platform_table(void)
-{
-    const struct platform_desc *p;
-
-    printk("Available platform support:\n");
-
-    for ( p = _splatform; p != _eplatform; p++ )
-        printk("    - %s\n", p->name);
-}
-
 void __init platform_init(void)
 {
     int res = 0;
@@ -72,9 +61,7 @@ void __init platform_init(void)
     if ( platform == _eplatform )
     {
         /* TODO: dump DT machine compatible node */
-        printk(XENLOG_WARNING "WARNING: Unrecognized/unsupported device tree "
-              "compatible list\n");
-        dump_platform_table();
+        printk(XENLOG_INFO "Platform: Generic System\n");
         platform = NULL;
     }
     else
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v1 1/1] xen/arm: Remove warning for platforms without platform specific code
  2015-03-09  5:23 [PATCH v1 1/1] xen/arm: Remove warning for platforms without platform specific code Edgar E. Iglesias
@ 2015-03-09 10:34 ` Julien Grall
  2015-03-11 13:13   ` Ian Campbell
  0 siblings, 1 reply; 3+ messages in thread
From: Julien Grall @ 2015-03-09 10:34 UTC (permalink / raw)
  To: Edgar E. Iglesias, xen-devel; +Cc: tim, stefano.stabellini, ian.campbell

Hi Edgar,

On 09/03/2015 07:23, Edgar E. Iglesias wrote:
> From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>
>
> Replace the warning with an info message stating that the platform
> is generic.
>
> Suggested-by: Ian Campbell <ian.campbell@citrix.com>
> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Julien Grall <julien.grall@linaro.org>

Regards,

-- 
Julien Grall

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1 1/1] xen/arm: Remove warning for platforms without platform specific code
  2015-03-09 10:34 ` Julien Grall
@ 2015-03-11 13:13   ` Ian Campbell
  0 siblings, 0 replies; 3+ messages in thread
From: Ian Campbell @ 2015-03-11 13:13 UTC (permalink / raw)
  To: Julien Grall; +Cc: Edgar E. Iglesias, tim, stefano.stabellini, xen-devel

On Mon, 2015-03-09 at 12:34 +0200, Julien Grall wrote:
> Hi Edgar,
> 
> On 09/03/2015 07:23, Edgar E. Iglesias wrote:
> > From: "Edgar E. Iglesias" <edgar.iglesias@xilinx.com>
> >
> > Replace the warning with an info message stating that the platform
> > is generic.
> >
> > Suggested-by: Ian Campbell <ian.campbell@citrix.com>
> > Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
> Reviewed-by: Julien Grall <julien.grall@linaro.org>

Applied, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-11 13:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-09  5:23 [PATCH v1 1/1] xen/arm: Remove warning for platforms without platform specific code Edgar E. Iglesias
2015-03-09 10:34 ` Julien Grall
2015-03-11 13:13   ` Ian Campbell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.