From mboxrd@z Thu Jan 1 00:00:00 1970 From: marc_gonzalez@sigmadesigns.com (Marc Gonzalez) Date: Fri, 20 Nov 2015 11:04:03 +0100 Subject: [PATCH v9 2/2] arm-soc: Add support for tango4 platforms In-Reply-To: <7hwptdu5vv.fsf@deeprootsystems.com> References: <564C94A5.4060301@sigmadesigns.com> <564C9558.4020100@sigmadesigns.com> <7hwptdu5vv.fsf@deeprootsystems.com> Message-ID: <564EF013.4030809@sigmadesigns.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 19/11/2015 20:49, Kevin Hilman wrote: > Marc Gonzalez wrote: > >> +static void tango_l2c_write(unsigned long val, unsigned int reg) >> +{ >> + pr_debug("%s: reg=0x%x val=0x%lx\n", __func__, reg, val); > > leftover debugging aid? I'll remove it. (For my education, we're not supposed to use any pr_debug calls?) >> +ENTRY(tango_smc) >> + push {lr} >> + mov ip, r1 >> + dsb /* This barrier is probably unnecessary */ > > Then remove it? This was discussed in v8. It's probably cargo cult from OMAP, but the performance hit is negligible, and I don't have time to properly analyze the code path. I just wanted to add the comment in case someone copied my code. Regards.