From mboxrd@z Thu Jan 1 00:00:00 1970 From: santosh.shilimkar@oracle.com (santosh shilimkar) Date: Fri, 26 Jun 2015 11:41:30 -0700 Subject: [PATCH] keystone: psci: adds cpu_die implementation In-Reply-To: <558D902B.1050603@ti.com> References: <1435240970-30869-1-git-send-email-vitalya@ti.com> <20150625144511.GA6844@leverpostej> <558C174F.80108@oracle.com> <558C25E0.3010102@ti.com> <20150625161308.GF6844@leverpostej> <558C328C.5070803@ti.com> <20150625165741.GA10564@leverpostej> <20150625172057.GA11952@leverpostej> <558C4B84.9030303@oracle.com> <558D8492.2090503@ti.com> <558D902B.1050603@ti.com> Message-ID: <558D9CDA.7080001@oracle.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 6/26/2015 10:47 AM, Grygorii Strashko wrote: > Hi, > > On 06/26/2015 07:57 PM, Vitaly Andrianov wrote: >> On 06/25/2015 02:42 PM, santosh shilimkar wrote: > Another question is how well current PSCI implementation supports keystone2/LPAE !? > > - It seems, at least below hack should be applied :( > > +++ b/arch/arm/kernel/psci_smp.c > @@ -51,7 +51,7 @@ static int psci_boot_secondary(unsigned int cpu, struct task_struct *idle) > { > if (psci_ops.cpu_on) > return psci_ops.cpu_on(cpu_logical_map(cpu), > - __pa(secondary_startup)); > + virt_to_idmap(&secondary_startup)); This is legitimate change should be there irrespectively. I think you should post this as a proper patch. Regards, Santosh From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752196AbbFZSmY (ORCPT ); Fri, 26 Jun 2015 14:42:24 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:40160 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751828AbbFZSmR (ORCPT ); Fri, 26 Jun 2015 14:42:17 -0400 Subject: Re: [PATCH] keystone: psci: adds cpu_die implementation To: Grygorii Strashko References: <1435240970-30869-1-git-send-email-vitalya@ti.com> <20150625144511.GA6844@leverpostej> <558C174F.80108@oracle.com> <558C25E0.3010102@ti.com> <20150625161308.GF6844@leverpostej> <558C328C.5070803@ti.com> <20150625165741.GA10564@leverpostej> <20150625172057.GA11952@leverpostej> <558C4B84.9030303@oracle.com> <558D8492.2090503@ti.com> <558D902B.1050603@ti.com> Cc: Vitaly Andrianov , Mark Rutland , Lorenzo Pieralisi , "linux@arm.linux.org.uk" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "ssantosh@kernel.org" From: santosh shilimkar Organization: Oracle Corporation Message-ID: <558D9CDA.7080001@oracle.com> Date: Fri, 26 Jun 2015 11:41:30 -0700 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 MIME-Version: 1.0 In-Reply-To: <558D902B.1050603@ti.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: aserv0022.oracle.com [141.146.126.234] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/26/2015 10:47 AM, Grygorii Strashko wrote: > Hi, > > On 06/26/2015 07:57 PM, Vitaly Andrianov wrote: >> On 06/25/2015 02:42 PM, santosh shilimkar wrote: > Another question is how well current PSCI implementation supports keystone2/LPAE !? > > - It seems, at least below hack should be applied :( > > +++ b/arch/arm/kernel/psci_smp.c > @@ -51,7 +51,7 @@ static int psci_boot_secondary(unsigned int cpu, struct task_struct *idle) > { > if (psci_ops.cpu_on) > return psci_ops.cpu_on(cpu_logical_map(cpu), > - __pa(secondary_startup)); > + virt_to_idmap(&secondary_startup)); This is legitimate change should be there irrespectively. I think you should post this as a proper patch. Regards, Santosh