Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] [RFT] cleanup /chosen/linux,stdout-path warning
@ 2015-11-20 17:31 Andrew Jones
  2015-11-20 17:31 ` [PATCH 1/4] uImage: cleanup some warnings Andrew Jones
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Andrew Jones @ 2015-11-20 17:31 UTC (permalink / raw)
  To: kexec

On arm we get

"Unable to find /proc/device-tree//chosen/linux,stdout-path, printing
from purgatory is diabled"

when loading a kexec kernel. There are three problems with this warning.

 1) two slashes after device-tree
 2) we should be also checking (and firstly) for /chosen/stdout-path,
    as linux,stdout-path is the deprecated node name. We may actually
    have the former on arm, allowing us to avoid this warning all together.
 3) "disabled" has a typo in it

This series addresses these three problems with the last three patches,
and the first patch removes a compiler warning.

I've added the RFT as these patches touch code shared with other
architectures, namely powerpc, but I only tested on arm.

Please keep me on CC, as I'm not subscribed to the kexec mailing list.

Thanks,
drew

Andrew Jones (4):
  uImage: cleanup some warnings
  kexec/fs2dt: s/diabled/disabled/
  kexec/fs2dt: cleanup pathname
  kexec/fs2dt: check for /chosen/stdout-path first

 kexec/arch/arm/kexec-uImage-arm.c |  3 ++-
 kexec/arch/ppc/kexec-uImage-ppc.c |  5 +++--
 kexec/arch/sh/kexec-uImage-sh.c   |  3 ++-
 kexec/fs2dt.c                     | 26 ++++++++++++++------------
 4 files changed, 21 insertions(+), 16 deletions(-)

-- 
2.4.3


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

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

end of thread, other threads:[~2015-11-25 17:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-20 17:31 [PATCH 0/4] [RFT] cleanup /chosen/linux,stdout-path warning Andrew Jones
2015-11-20 17:31 ` [PATCH 1/4] uImage: cleanup some warnings Andrew Jones
2015-11-24  7:00   ` Simon Horman
2015-11-25 17:32     ` Andrew Jones
2015-11-20 17:31 ` [PATCH 2/4] kexec/fs2dt: s/diabled/disabled/ Andrew Jones
2015-11-24  7:00   ` Simon Horman
2015-11-20 17:31 ` [PATCH 3/4] kexec/fs2dt: cleanup pathname Andrew Jones
2015-11-24  7:01   ` Simon Horman
2015-11-20 17:31 ` [PATCH 4/4] kexec/fs2dt: check for /chosen/stdout-path first Andrew Jones
2015-11-24  7:03   ` Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox