From: Andrew Jones Subject: [kvm-unit-tests PATCH v2 0/4] devicetree: use correct #address/#size cells Date: Wed, 11 May 2016 15:25:17 +0200 Message-ID: <1462973121-14548-1-git-send-email-drjones@redhat.com> Cc: lvivier@redhat.com, thuth@redhat.com, pbonzini@redhat.com To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:51394 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932108AbcEKNZ2 (ORCPT ); Wed, 11 May 2016 09:25:28 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 77874C04B313 for ; Wed, 11 May 2016 13:25:27 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: I recently noticed that when using the default bus translation (pbus) we'd always use the root nodes #address/#size cells, which may not be correct. v1 fixed this quite wrongly, but Thomas straightened me out. v2 does the straight-forward (correct) fix in patch 1/4, and then the following patches are devicetree cleanups. Thanks, drew Andrew Jones (4): devicetree: translate with parent node's #address/size-cells devicetree: don't cache #address/#size-cells devicetree: remove unused globals devicetree: dt_get_nr_cells output robustness lib/devicetree.c | 38 ++++++++++++++++++++------------------ lib/devicetree.h | 9 ++------- 2 files changed, 22 insertions(+), 25 deletions(-) -- 2.4.11