From mboxrd@z Thu Jan 1 00:00:00 1970 From: sudeep.holla@arm.com (Sudeep Holla) Date: Thu, 30 Apr 2015 18:45:10 +0100 Subject: [PATCH v2] ARM: vexpress: Add unified-cache Device Tree property In-Reply-To: <20150430133011.GE15254@pengutronix.de> References: <5509437E.6060806@arm.com> <1426671298-2012-1-git-send-email-r.schwebel@pengutronix.de> <20150429191228.GO15254@pengutronix.de> <20150430110853.GN7440@e106497-lin.cambridge.arm.com> <20150430133011.GE15254@pengutronix.de> Message-ID: <55426A26.9060704@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 30/04/15 14:30, Robert Schwebel wrote: > Hi Liviu, > > On Thu, Apr 30, 2015 at 12:08:53PM +0100, Liviu Dudau wrote: >> Sorry Robert, this fell through the cracks. VExpress gets very few >> patches in general and we're new to this :( > > Thanks for the help! > > I still see these errors with 4.1-rc1: > > [ 0.000000] L2C: platform modifies aux control register: 0x02020000 -> 0x02420000 > [ 0.000000] L2C: DT/platform modifies aux control register: 0x02020000 -> 0x02420000 > [ 0.268626] platform 10000000.sysreg: Error -2 creating of_node link > [ 0.271997] platform basic-mmio-gpio.1.auto: Error -2 creating of_node link > [ 0.272266] platform basic-mmio-gpio.2.auto: Error -2 creating of_node link > [ 0.272681] platform basic-mmio-gpio.3.auto: Error -2 creating of_node link OK, I was able to debug this, it boils down to initcall ordering. Both of_init where the firmware sysfs is initialized and vexpress_sysreg_init are at same core_initcall level. Needs some thinking and more time to fix this. Regards, Sudeep From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sudeep Holla Subject: Re: [PATCH v2] ARM: vexpress: Add unified-cache Device Tree property Date: Thu, 30 Apr 2015 18:45:10 +0100 Message-ID: <55426A26.9060704@arm.com> References: <5509437E.6060806@arm.com> <1426671298-2012-1-git-send-email-r.schwebel@pengutronix.de> <20150429191228.GO15254@pengutronix.de> <20150430110853.GN7440@e106497-lin.cambridge.arm.com> <20150430133011.GE15254@pengutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20150430133011.GE15254-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Robert Schwebel , Liviu Dudau Cc: Sudeep Holla , Lorenzo Pieralisi , "devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" List-Id: devicetree@vger.kernel.org On 30/04/15 14:30, Robert Schwebel wrote: > Hi Liviu, > > On Thu, Apr 30, 2015 at 12:08:53PM +0100, Liviu Dudau wrote: >> Sorry Robert, this fell through the cracks. VExpress gets very few >> patches in general and we're new to this :( > > Thanks for the help! > > I still see these errors with 4.1-rc1: > > [ 0.000000] L2C: platform modifies aux control register: 0x02020000 -> 0x02420000 > [ 0.000000] L2C: DT/platform modifies aux control register: 0x02020000 -> 0x02420000 > [ 0.268626] platform 10000000.sysreg: Error -2 creating of_node link > [ 0.271997] platform basic-mmio-gpio.1.auto: Error -2 creating of_node link > [ 0.272266] platform basic-mmio-gpio.2.auto: Error -2 creating of_node link > [ 0.272681] platform basic-mmio-gpio.3.auto: Error -2 creating of_node link OK, I was able to debug this, it boils down to initcall ordering. Both of_init where the firmware sysfs is initialized and vexpress_sysreg_init are at same core_initcall level. Needs some thinking and more time to fix this. Regards, Sudeep -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html