Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp6046016imb; Fri, 8 Mar 2019 08:08:52 -0800 (PST) X-Google-Smtp-Source: APXvYqzXZ6N0yTr44aZKLM0LWrDqsmEZ/1MkR4KrifPmg8bke2GkLkHjChNdPzrxeDnihIECRe/r X-Received: by 2002:a62:1981:: with SMTP id 123mr19109737pfz.69.1552061332425; Fri, 08 Mar 2019 08:08:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552061332; cv=none; d=google.com; s=arc-20160816; b=PMUSBnNvLWWjxNpKNBWG4aYR6GRU494PQCoMiDzFKYexEV5F/7v2b7wxRjFR1hWdUY s5OSkkOHhG2wUj4NGCQBD99AHlP++6kS8bLDKE8pISNEcRhDt5JdMc6WaZnSNNZY3ypo j7J9NzoG/uKw+o5YLC/Xg+W44W9uhnsVwURS7vpJWFO/yssMgklX/BRcVXBnTGxjE5MY j8jyzPufn31z7CQWNPCiiTs1cgsZEMHQXcdljCWk7tGSeY8y+njwEIEPHJ0UvQqarT7t h8ShyMcpuoSKnzNhTZXuUUwrS5yd2eOlA0Z7ygi6ewowFqhz7mDTmuHUzBwVcGsIl1Q8 xSBg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=wzv4gC0yoEtuBZY4bcEJLsqvL2jftcwAllbv/2lZ4MA=; b=YNRzhEbxTT1AfQFZWCA1f5fORLr7+yMhNux+kc7Nv7T5IUkcdiDYc63UflnRjZ0Cz0 qxxtg+yE6PHaHW8ONfHbVMRjhF4mYDkOlua7j/jf6nk8fBTreDprap2PeyGRZ/Wwsjrm WshTG5xL8K4nmAf0SxNSwc//3SygqfMczzmqei4aWoV62Sv73jpl4KK+I/WzTHAT/3jE V3xBYOnwEFEC16sDvZ9hJjFhcb0ddlTXB3VNj/WYwYFaktwe7tXD43VIOFD91gs5uKKB m7xVK1+VfeGbL3p2WxiiJ+G9Kw+aqYNjInX4MGetUccVEhnh0t1TGYPpWZa78+nwcU9I qsvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=Znx0Louq; 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 o26si7497039pfi.141.2019.03.08.08.08.36; Fri, 08 Mar 2019 08:08:52 -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; dkim=pass header.i=@c-s.fr header.s=mail header.b=Znx0Louq; 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 S1726386AbfCHQGX (ORCPT + 99 others); Fri, 8 Mar 2019 11:06:23 -0500 Received: from pegase1.c-s.fr ([93.17.236.30]:57386 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726171AbfCHQGX (ORCPT ); Fri, 8 Mar 2019 11:06:23 -0500 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 44GC6M618Zz9tyVk; Fri, 8 Mar 2019 17:06:19 +0100 (CET) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=Znx0Louq; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id qDmNESE04eWu; Fri, 8 Mar 2019 17:06:19 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 44GC6M4j9Gz9tyVj; Fri, 8 Mar 2019 17:06:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1552061179; bh=wzv4gC0yoEtuBZY4bcEJLsqvL2jftcwAllbv/2lZ4MA=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=Znx0LouqEZx5ziBZc21WDgO5n0O0uWHsZA4R8d2PqVoJSL/94BUSPr9xEVcQTYuI0 NdDx/ztoa8y75j//rcrKPF74xDf2LXrupzBU6DfI/o1c2+SboZpatXaAbzpwrXm5rO MJqQqEk5RllNnsUwn6bJGpzrcuaZol0vEhjHu+2A= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 3B4998BFB7; Fri, 8 Mar 2019 17:06:21 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id KjeVOjKETdGZ; Fri, 8 Mar 2019 17:06:21 +0100 (CET) Received: from PO15451 (po15451.idsi0.si.c-s.fr [172.25.231.2]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 045268BF9B; Fri, 8 Mar 2019 17:06:21 +0100 (CET) Subject: Re: [PATCH] powerpc/6xx: fix setup and use of SPRN_PGDIR for hash32 To: Segher Boessenkool , Michael Ellerman Cc: Benjamin Herrenschmidt , Paul Mackerras , Guenter Roeck , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org References: <7e45ca3f0283fb24c2642e5b91bd75c55f2ba96f.1552028583.git.christophe.leroy@c-s.fr> <20190308160334.GZ3969@gate.crashing.org> From: Christophe Leroy Message-ID: <7681ad2b-35d4-6e43-f727-21545e3bb223@c-s.fr> Date: Fri, 8 Mar 2019 17:06:19 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190308160334.GZ3969@gate.crashing.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le 08/03/2019 à 17:03, Segher Boessenkool a écrit : > On Fri, Mar 08, 2019 at 07:05:22AM +0000, Christophe Leroy wrote: >> Not only the 603 but all 6xx need SPRN_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. > > I thought you meant an SPR I did not know about. But you just misspelled > SPRN_SPRG_PGDIR :-) > Oops. Michael, can you fix the commit text (and subject) when applying ? Thanks Christophe