Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp541193img; Wed, 20 Mar 2019 06:05:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqxOjEUc00umrX2fcWvtPZIFEXvAexvl8HknFITyTYjFGH/ZMebNLNPhqtU0sFnvhB7yTfI/ X-Received: by 2002:a17:902:8690:: with SMTP id g16mr7877935plo.284.1553087153754; Wed, 20 Mar 2019 06:05:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553087153; cv=none; d=google.com; s=arc-20160816; b=Pc7pvCvGjska7SPq9lXK0UiKZrb/gbm8bOzyq0PVLOvpPpPUCS4Ra+RpC4hSIIbpR6 1cE2tpYmILZlEUIZX8M0Idao73fzahCD0Gc3oGUNXoRbkxl/LOzuvdmR90Y79Ae0WF89 il9Eav301qaZfnbZA9S3Doe7Xv0icf6NiwLTmiT1Iyii8TuT50WMcNmk+pJUHmvjGSfl m/6HH32Az60cwMF+b/FoxvkH4MDqRaz4RKQUFrPYzz/jrKij1mWoCDkfei/oKgibpqCu vDXUR00718hn/sIJWzCjGCSJBdjkY6/vfEB6rN4xAC9EQHpKv3z+rDSthTbXV6q7aTUs +mzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to; bh=RH3zxWoVV7GUjsGmkLNNY4GxgZlujbXif9XcJHRCr0E=; b=h1C49EYxYWddMbYgiXBG/ZLEeVU7IN0YWVwUP9ZvceBCTMoPkK6VVd8WQB4T3yJpjX C6487H8rdtksSF7GNrgVNJTgCAsNlEm2viNZS5JCjDphqROt2Qn6OYo/bsmeAKj6xbdV SRnqa7c2qGUsuOs4UsA5FMoyeLLb1mx1Jp0MzknR1BtW45b22AjcbiHkg+pBgL+wdSN3 58S6/6a70X05D1MjhdQAJA4izlamIJB8pg3RuxQimi3DeOi0eJQ+PAixS5ys9bVhkwrr mf50gFrnbvl3Bm9dRWLLBnzr4CqpR/+YNNVx7pKwxuZuL3Zc/uR0MZscrz53Jojwpczs 7MSw== 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 g22si1606398pgg.525.2019.03.20.06.05.34; Wed, 20 Mar 2019 06:05:53 -0700 (PDT) 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 S1727415AbfCTNEd (ORCPT + 99 others); Wed, 20 Mar 2019 09:04:33 -0400 Received: from ozlabs.org ([203.11.71.1]:44649 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726366AbfCTNEc (ORCPT ); Wed, 20 Mar 2019 09:04:32 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 44PVW23YpBz9sPW; Thu, 21 Mar 2019 00:04:30 +1100 (AEDT) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 4622a2d43101ea2e3d54a2af090f25a5886c648b X-Patchwork-Hint: ignore In-Reply-To: To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , ruscur@russell.cc From: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [v2, 01/10] powerpc/6xx: fix setup and use of SPRN_SPRG_PGDIR for hash32 Message-Id: <44PVW23YpBz9sPW@ozlabs.org> Date: Thu, 21 Mar 2019 00:04:30 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2019-03-11 at 08:30:27 UTC, Christophe Leroy wrote: > Not only the 603 but all 6xx need SPRN_SPRG_PGDIR to be initialised at > startup. This patch move it from __setup_cpu_603() to start_here() > and __secondary_start(), close to the initialisation of SPRN_THREAD. > > Previously, virt addr of PGDIR was retrieved from thread struct. > Now that it is the phys addr which is stored in SPRN_SPRG_PGDIR, > hash_page() shall not convert it to phys anymore. > This patch removes the conversion. > > Fixes: 93c4a162b014("powerpc/6xx: Store PGDIR physical address in a SPRG") > Reported-by: Guenter Roeck > Tested-by: Guenter Roeck > Signed-off-by: Christophe Leroy Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/4622a2d43101ea2e3d54a2af090f25a5 cheers