Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1109251pxx; Fri, 30 Oct 2020 02:12:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYRmcVvOo7LyZ/u68tUak2yGfxHi/n6HEVSXjKBEDGVgc6P+VQmbPawsOoC/AAAKN+6LJd X-Received: by 2002:a17:906:51dd:: with SMTP id v29mr1457698ejk.69.1604049141041; Fri, 30 Oct 2020 02:12:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604049141; cv=none; d=google.com; s=arc-20160816; b=pJok0rQagEqflaRIuRo8XBiqKFf6HJ9ZjGA9fi9HLddnO95OQ664vw3HxFucs88Pty cJr4TTISihHKFQdbrUsracgXsvNJY+JGmHssCGKEmER08oqgAB/I30RYJNcnnEGot9rm vguKObsi5DVEmqhtviKF2EHOXddAP2SE/9OySbyxLiRKAaqArefvPz+0dm+ZU606E/1s r4aApSWML3d0MkEB1hcIVuwenjsRApKOBxt8xpsSoag5qzKXTRXNGKekekDJ9XIpA+oU yxOqLx5K7BT16KBgRSoe/5mtuGW9yVyLQ0MPs8Ivs7XbUYozYv2LgVym3O4LgZ0ejV6m DA8A== 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=CCgPivmMLEEcOl6AFEoVPC99TXWk5NUrjDTPfyi6SRA=; b=m3IDUACeE0mstQX2Ns1AfUFsOHuyM7vXumPJKdaicAf/bwOUWoiMQTwG+FfnV+lcnV mXwTQFkjCN0mLMTb2JTMRHvlBKMoGRrJV1T4kFWhV4i3MjPxgENkFw/c1v9NUnOXtbLk 98p/yJrNRmHPZdvsnkNbRaBgmVen+37510JF5h6iM/aBSHSjMTyuDDpO6EgIqatZyTrp pkGb+9SVHHBZ/g1EFlZpkjQIFjnCFHC3aYJya3YSlAtQfQVf9IdDvwr1QG+fMHWYYHqK vG4QtqeZwk7MzvjEUGUUNRtfYoNz7p/mevccLAiibd1s7elsIb8BqmpW4s5Q4vX+5rJk suSA== 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 v3si3485598ejx.576.2020.10.30.02.11.57; Fri, 30 Oct 2020 02:12:21 -0700 (PDT) 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 S1726220AbgJ3JJx (ORCPT + 99 others); Fri, 30 Oct 2020 05:09:53 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:51487 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725790AbgJ3JJw (ORCPT ); Fri, 30 Oct 2020 05:09:52 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4CMxMx5vhpz1qs0Y; Fri, 30 Oct 2020 10:09:49 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4CMxMx4dgTz1qsWc; Fri, 30 Oct 2020 10:09:49 +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 wAF-Y83BoLiQ; Fri, 30 Oct 2020 10:09:48 +0100 (CET) X-Auth-Info: 4AtbbN48/aZMiOAZFS4xlKpOKabhtpCSh7fP3AYSsvWeDjdfAfWjfqVMzEwh5No5 Received: from igel.home (ppp-46-244-190-51.dynamic.mnet-online.de [46.244.190.51]) (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; Fri, 30 Oct 2020 10:09:48 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id 2DAC62C089E; Fri, 30 Oct 2020 10:09:48 +0100 (CET) From: Andreas Schwab To: Michael Ellerman Cc: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH] powerpc/32s: Setup the early hash table at all time. References: <87wnz8vizm.fsf@igel.home> <87y2jouw8k.fsf@mpe.ellerman.id.au> X-Yow: NOT fucking!! Also not a PACKAGE of LOOSE-LEAF PAPER!! Date: Fri, 30 Oct 2020 10:09:48 +0100 In-Reply-To: <87y2jouw8k.fsf@mpe.ellerman.id.au> (Michael Ellerman's message of "Fri, 30 Oct 2020 16:19:07 +1100") Message-ID: <87v9esaxlv.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 Okt 30 2020, Michael Ellerman wrote: > Andreas Schwab writes: >> On Okt 01 2020, Christophe Leroy wrote: >> >>> At the time being, an early hash table is set up when >>> CONFIG_KASAN is selected. >>> >>> There is nothing wrong with setting such an early hash table >>> all the time, even if it is not used. This is a statically >>> allocated 256 kB table which lies in the init data section. >>> >>> This makes the code simpler and may in the future allow to >>> setup early IO mappings with fixmap instead of hard coding BATs. >>> >>> Put create_hpte() and flush_hash_pages() in the .ref.text section >>> in order to avoid warning for the reference to early_hash[]. This >>> reference is removed by MMU_init_hw_patch() before init memory is >>> freed. >> >> This breaks booting on the iBook G4. > > Do you get an oops or anything? Nope, nothing at all. 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."