From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_2 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BDA87C33C8C for ; Mon, 6 Jan 2020 18:12:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 98EFD2146E for ; Mon, 6 Jan 2020 18:12:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726721AbgAFSM5 (ORCPT ); Mon, 6 Jan 2020 13:12:57 -0500 Received: from baldur.buserror.net ([165.227.176.147]:48246 "EHLO baldur.buserror.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726536AbgAFSM5 (ORCPT ); Mon, 6 Jan 2020 13:12:57 -0500 Received: from [2601:449:8480:af0:12bf:48ff:fe84:c9a0] by baldur.buserror.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ioWlM-0008D1-Mb; Mon, 06 Jan 2020 12:06:01 -0600 Message-ID: From: Scott Wood To: yingjie_bai@126.com, Kumar Gala Cc: Bai Yingjie , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , Christophe Leroy , "Aneesh Kumar K.V" , Jason Yan , Diana Craciun , Nicolas Saenz Julienne , Nicholas Piggin , Thomas Gleixner , Greg Kroah-Hartman , Allison Randal , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Date: Mon, 06 Jan 2020 12:05:59 -0600 In-Reply-To: <20200106042957.26494-2-yingjie_bai@126.com> References: <20200106042957.26494-1-yingjie_bai@126.com> <20200106042957.26494-2-yingjie_bai@126.com> Organization: Red Hat Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5-0ubuntu0.18.04.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2601:449:8480:af0:12bf:48ff:fe84:c9a0 X-SA-Exim-Rcpt-To: yingjie_bai@126.com, galak@kernel.crashing.org, byj.tea@gmail.com, benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, christophe.leroy@c-s.fr, aneesh.kumar@linux.ibm.com, yanaijie@huawei.com, diana.craciun@nxp.com, nsaenzjulienne@suse.de, npiggin@gmail.com, tglx@linutronix.de, gregkh@linuxfoundation.org, allison@lohutok.net, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org X-SA-Exim-Mail-From: oss@buserror.net Subject: Re: [PATCH v3 2/2] powerpc/mpc85xx: also write addr_h to spin table for 64bit boot entry X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on baldur.buserror.net) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2020-01-06 at 12:29 +0800, yingjie_bai@126.com wrote: > From: Bai Yingjie > > CPU like P4080 has 36bit physical address, its DDR physical > start address can be configured above 4G by LAW registers. > > For such systems in which their physical memory start address was > configured higher than 4G, we need also to write addr_h into the spin > table of the target secondary CPU, so that addr_h and addr_l together > represent a 64bit physical address. > Otherwise the secondary core can not get correct entry to start from. > > Signed-off-by: Bai Yingjie > --- > arch/powerpc/platforms/85xx/smp.c | 9 +++++++++ > 1 file changed, 9 insertions(+) Acked-by: Scott Wood -Scott