From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from caramon.arm.linux.org.uk ([78.32.30.218]:34752 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750990Ab0FUWHa (ORCPT ); Mon, 21 Jun 2010 18:07:30 -0400 Date: Mon, 21 Jun 2010 23:07:17 +0100 From: Russell King - ARM Linux Subject: Re: [RFC PATCH] msm: initial MSM8X60 early kernel boot support Message-ID: <20100621220716.GD13624@n2100.arm.linux.org.uk> References: <1277156422-9130-1-git-send-email-dwalker@codeaurora.org> <1277157793-9712-1-git-send-email-dwalker@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1277157793-9712-1-git-send-email-dwalker@codeaurora.org> Sender: linux-arm-msm-owner@vger.kernel.org List-ID: To: Daniel Walker Cc: linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, Steve Muckle On Mon, Jun 21, 2010 at 03:03:13PM -0700, Daniel Walker wrote: > +int boot_secondary(unsigned int cpu, struct task_struct *idle) > +{ > + int cnt = 0; > + printk(KERN_DEBUG "Starting secondary CPU %d\n", cpu); > + > + /* Tell other CPUs to come out or reset. Note that secondary CPUs > + * are probably running with caches off, so we'll need to clean to > + * memory. Normal cache ops will only clean to L2. > + */ > + pen_release = cpu; > + dmac_clean_range((void *)&pen_release, > + (void *)(&pen_release + sizeof(pen_release))); dmac_clean_range() and dmac_inv_range() no longer exist. > + dmac_clean_range((void *)&secondary_data, > + (void *)(&secondary_data + sizeof(secondary_data))); We've already fixed this.