From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: OF properties access ? From: Benjamin Herrenschmidt To: Sven Luther Cc: linuxppc-dev list In-Reply-To: <20040118150502.GA7255@iliana> References: <20040113114625.GA9294@iliana> <1074131387.818.43.camel@gaston> <20040115074439.GB14039@iliana> <1074310140.8360.27.camel@gaston> <20040118120722.GA4603@iliana> <1074468096.795.27.camel@gaston> <20040118143225.GA6717@iliana> <20040118145158.GA7011@iliana> <20040118150502.GA7255@iliana> Content-Type: text/plain Message-Id: <1074503117.814.46.camel@gaston> Mime-Version: 1.0 Date: Mon, 19 Jan 2004 20:05:18 +1100 Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: > Further tests show me that it is the if (l2cr == NULL) return; tests > which aborts the test. > > Any idea what is going on here. Clearly we did read the right cpus, but > it is not possible to read the "l2cr" property. I think you read the "cpus" parent node and not the child node of the CPU itself. You can always printk np->full_name to be sure. Ben. ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/