From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Jones Subject: [kvm-unit-tests PATCH 0/2] devicetree: use correct #address/#size cells Date: Tue, 10 May 2016 19:32:04 +0200 Message-ID: <1462901526-11013-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]:40034 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751033AbcEJRcM (ORCPT ); Tue, 10 May 2016 13:32:12 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (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 B37587D0E5 for ; Tue, 10 May 2016 17:32:11 +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. Andrew Jones (2): devicetree: search up tree in dt_get_nr_cells devicetree: use node #address/size-cells lib/devicetree.c | 42 ++++++++++++++++++++++++++++++------------ lib/devicetree.h | 13 +++++-------- 2 files changed, 35 insertions(+), 20 deletions(-) -- 2.4.11