From: Gavin Shan Date: Thu, 24 Apr 2014 08:00:10 +0000 (+1000) Subject: powerpc/powernv: Remove fields in PHB diag-data dump X-Git-Tag: omap-for-v3.16/fixes-against-rc1~60^2~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b34497d1844ac89269eb2c6faea0ceec7757a9c3;p=pandora-kernel.git powerpc/powernv: Remove fields in PHB diag-data dump For some fields (e.g. LEM, MMIO, DMA) in PHB diag-data dump, it's meaningless to print them if they have non-zero value in the corresponding mask registers because we always have non-zero values in the mask registers. The patch only prints those fieds if we have non-zero values in the primary registers (e.g. LEM, MMIO, DMA status) so that we can save couple of lines. The patch also removes unnecessary spare line before "brdgCtl:" and two leading spaces as prefix in each line as Ben suggested. Signed-off-by: Gavin Shan Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed