Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1983322pxb; Sat, 7 Nov 2020 05:26:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJwdgOgWqZ2iM7QZPXfFjdFQHeszjZglyfVBiOCWRbXSLH2lzNlZRb/U9CoaoQ0AsuxzAkvH X-Received: by 2002:a17:906:60c8:: with SMTP id f8mr7108869ejk.14.1604755614313; Sat, 07 Nov 2020 05:26:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604755614; cv=none; d=google.com; s=arc-20160816; b=wl/Ium6Y+pRtSIWr4+uldAmrO3sv+gbAyl6CFTEzaxhoXB2NktJ06GpVev5o5y7wwk ztG7LdN07tVClOJXAAwhIryGdcFL+k0pGv0gdVXXmZYtaoZbM7qr6JaCwZOGZ2ur+bVm Fa9Ua3bNS3ySUc6m7XLa8xWEQkFOBP/vMSHvQoGP1QISXsRbq/sRLWj32xoxEU6KZvCB 0oE3Tu5dUgFRVFkqmIdt6NToGpckJSMHgkLZvfgiwHI5Q7E5mSzsVr750SXxnYoByyS9 2QtjcI36w8kLVpuj3lKPQ4A0b0VTW2MSZxW3a2JQeGeMtCPyEDMt/aJI5Gy4RWL/LNbO O++A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from; bh=o3v4zQkvMCxUL4T8uVBDg8dST6nMVL0VR4oO0WFuGEw=; b=kC3N4l33gI9jxPux0dxZuPqHOoxpnN6ZhBXS0Es35QwJp8eetK4ViPIHFMzsuYF0ZS sudb163Va3fTzgVB3M92YyqTFRJVJ01fiEVauBLTo+NpLz3zby4WWMO7OArvW9QC8ZCV xW2zBiD27tJS1TMKaHFpF8wHh8IB659aaBDU9DRAaGlN5lefSzaIgFYZnXOi9nJWB9r6 UP06k92LRAPAOVmdTOF3cn+BCnRSllc+7+Z0R37s5acJ8raDqjmBygO1OJ3kXMPOZIuJ 9lTWcYlwY2/GTD8YMPOVbF7P5w5V++HK9rXLAPLWV7HA8PGXjdIKn//cpiCE00888V9Q WFuw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id di27si3104373edb.486.2020.11.07.05.26.30; Sat, 07 Nov 2020 05:26:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727611AbgKGNYR (ORCPT + 99 others); Sat, 7 Nov 2020 08:24:17 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:43934 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727084AbgKGNYQ (ORCPT ); Sat, 7 Nov 2020 08:24:16 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4CSydn27sqz1qrfr; Sat, 7 Nov 2020 14:24:13 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4CSydn1Br0z1qvh7; Sat, 7 Nov 2020 14:24:13 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id yx6A5fhOWZED; Sat, 7 Nov 2020 14:24:12 +0100 (CET) X-Auth-Info: 7bE/BA4ypitYUy/vkFxt9WFQ+74DxPJApc0pbxU19YnMQEFls8n4mCuBA20ORM6x Received: from igel.home (ppp-46-244-173-93.dynamic.mnet-online.de [46.244.173.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sat, 7 Nov 2020 14:24:12 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id 8184C2C35EC; Sat, 7 Nov 2020 14:24:11 +0100 (CET) From: Andreas Schwab To: Serge Belyshev Cc: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , erhard_f@mailbox.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH] powerpc/32s: Use relocation offset when setting early hash table References: <9e225a856a8b22e0e77587ee22ab7a2f5bca8753.1604740029.git.christophe.leroy@csgroup.eu> <87blg9lchr.fsf@depni.sinp.msu.ru> X-Yow: Will the third world war keep ``Bosom Buddies'' off the air? Date: Sat, 07 Nov 2020 14:24:11 +0100 In-Reply-To: <87blg9lchr.fsf@depni.sinp.msu.ru> (Serge Belyshev's message of "Sat, 07 Nov 2020 12:53:04 +0300") Message-ID: <87lffdqozo.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Nov 07 2020, Serge Belyshev wrote: > Christophe Leroy writes: > >> When calling early_hash_table(), the kernel hasn't been yet >> relocated to its linking address, so data must be addressed >> with relocation offset. >> >> Add relocation offset to write into Hash in early_hash_table(). >> >> Reported-by: Erhard Furtner >> Reported-by: Andreas Schwab >> Fixes: 69a1593abdbc ("powerpc/32s: Setup the early hash table at all time.") >> Signed-off-by: Christophe Leroy > > Tested-by: Serge Belyshev Works here as well. Thanks, Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."