Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8215243ybl; Tue, 24 Dec 2019 17:33:29 -0800 (PST) X-Google-Smtp-Source: APXvYqwJvcYZjss+7XdFkBlzUWuFFfaTuiIzucxv7FahbVWZ47vLtTTNIb4nukvDk31UGTqz5Y1l X-Received: by 2002:a05:6830:685:: with SMTP id q5mr16381113otr.208.1577237609694; Tue, 24 Dec 2019 17:33:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577237609; cv=none; d=google.com; s=arc-20160816; b=IQUuUzFXVA1rEBgZ5VDjBapQmCswInrgIPKdf25kyS8dhQYfllqI/V02RUwzBneEJO 2pk3Npag8hX8Ygh2gnDT0sfZE4oSP+DPTdBXzaawUnO4XfGGLKZ/SAq6NIJ5Zc7yTDFg EoIvTapX3ANydeYAyoJ3plzOgA8xKry4HKdldrQJIXgQA2mdjIN76sPg3YiXTdhodtZm VhN0DPo8ThGStyM1K2PRfVLjzMEOZp/LBtDJ/Sc0224XinjH50wG8FAVvcIUGn71C5Yt 8FxQQFCpEvtHDKn+EDqSaDWzcUA3OJKTLavM7MdAF/kAazm/fxn8303xc0DsYskA9N2w F/BA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :mime-version:organization:references:in-reply-to:date:cc:to:from :message-id; bh=5CXNurO7Zkp0TBaql8mvYgRJfaSU4NdlI/4zd3BXy+8=; b=wohuWSqYxlhjCyuqllZZvZxGD86FmmGfdmikkEIgr1+J9TOUb+863WxqcE233doSvO CTFewyFyiG2NrlWPYjPTkSIlb8B2tsZzPhdxnObUpVsa0V/MO3d+XZPB+nnNKi+4W1n8 PQknPtuLoOZ9SqTPOQORRThdRo2Ya+NRE93bR8L6Lh7YrpcGwApPLWx7fpQffdZQztzx N/xEeIopm5lpRwdfS3Xb9516b0YgKO6ERPXGL/1VoBQwaI0F04YhjVYN/5K5BFArCQSs coi54pUuvVHZRNw+1BnA8wgBO6mbhu3rVZmVyjd01uEBRkA8TS8aYAZYdpWwMQDSJ3of +Fuw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z14si13381369oth.15.2019.12.24.17.32.48; Tue, 24 Dec 2019 17:33:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726262AbfLYB1x (ORCPT + 99 others); Tue, 24 Dec 2019 20:27:53 -0500 Received: from baldur.buserror.net ([165.227.176.147]:52680 "EHLO baldur.buserror.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726237AbfLYB1x (ORCPT ); Tue, 24 Dec 2019 20:27:53 -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 1ijvOK-00050x-Hj; Tue, 24 Dec 2019 19:23:12 -0600 Message-ID: <9e680f3798f1a771cba4b41f7a5d7fda7f534522.camel@buserror.net> From: Scott Wood To: Yingjie Bai , Michael Ellerman Cc: yingjie_bai@126.com, Kumar Gala , Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Date: Tue, 24 Dec 2019 19:23:10 -0600 In-Reply-To: References: <1574694943-7883-1-git-send-email-yingjie_bai@126.com> <87pngglmxg.fsf@mpe.ellerman.id.au> 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: byj.tea@gmail.com, mpe@ellerman.id.au, yingjie_bai@126.com, galak@kernel.crashing.org, benh@kernel.crashing.org, paulus@samba.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org X-SA-Exim-Mail-From: oss@buserror.net X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on baldur.localdomain X-Spam-Level: X-Spam-Status: No, score=-16.0 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * -15 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Subject: Re: [PATCH] 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 Tue, 2019-12-24 at 09:35 +0800, Yingjie Bai wrote: > Hi Michael, > Thanks for pointing out the issue. My mistake... > This patch should indeed make sense only when > CONFIG_PHYS_64BIT=y > > I could not find corenet32_smp_defconfig, but I guess in your config, > CONFIG_PHYS_64BIT=n ? > I will update the patch later today corenet32_smp_defconfig is a makefile rule that pulls in multiple config fragments. It has CONFIG_PHYS_64BIT=y, but __pa() returns an unsigned long regardless (which obviously needs to be fixed if DDR starting beyond 4G is to be supported). What 32-bit config are you using where this actually builds? -Scott