Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1574098pxb; Mon, 8 Mar 2021 00:31:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJyw5Oj0qm0WRTvN++ZmE0DxT7EkBlLXO6Z41WK/dQe3TCdbYGWvuuGPKT+9N0ICUj/CPvPn X-Received: by 2002:a17:906:6a06:: with SMTP id o6mr13553383ejr.306.1615192289961; Mon, 08 Mar 2021 00:31:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615192289; cv=none; d=google.com; s=arc-20160816; b=kN2T0leMPM8xeLK5V3fH71J1bK4Bcbh1H0LKrnbG3T9Y1af2kdYw1IRp80gc1PM8pH OhzFNvdF6/T/zzHf3GdxSx5C8yErR5/3TFU+y8iDLOgGQbA8wwCATt1CjJc1OyRiTSAd NjOnd4rLsFmggIv3KU2dvoMua4Br/UabMwTT2xufShSxFxRKo1GXxe0Whha/3J/YYRSP GWb5F8dmFU5hey90lGFRLe5Svtm1X33SN0WOQTAJErQxlKWfelVvzmgVA7SgpRkR58Ki aKxBvI1OQ61oOZCCNljAm2XENdzmdZwwxVIjueje31q1HdkYsUiPWWC8dcUZNsDov4Kb o7fw== 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:references:message-id :in-reply-to:subject:cc:to:from:date; bh=05dB+e9J6f98rsYRsEw1LLF6yPDQPXe9MNhS+QB2/Fs=; b=z1uaKYXYD/be66/wvbSGFWY2sOMA6obGcA/lTaa9RwMTYrgWKR/4+ULFWXCTYLIAsQ tmY/0/f2PJ0ErRgr70PUdLwKtcCpB/H/88HMtaCwE9g4Du4FUDUw3bkYpXp+O1kWHTj8 mt3Ryw2TVRBM8li+6lbYqdDL9Yp3OKqDTncMZn3bqKCszgOzQLcvLJY3FaTlu+1nJSe2 126csE8GiLLjmYJYQjzkuauDNr0Az3nEUl2IJnJMRoO2QtMdx/g199I6gLhkVeNqEEnR C0ZmTqnmoVkY0EneA6IP94JoxSaGExnIJRfa4GfC6dX2Y5zF/V5B0aPaXfHPlfgO2XOz 0hzQ== 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 a8si6820207edq.601.2021.03.08.00.31.07; Mon, 08 Mar 2021 00:31:29 -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 S233155AbhCGVtJ (ORCPT + 99 others); Sun, 7 Mar 2021 16:49:09 -0500 Received: from angie.orcam.me.uk ([157.25.102.26]:37520 "EHLO angie.orcam.me.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233093AbhCGVs3 (ORCPT ); Sun, 7 Mar 2021 16:48:29 -0500 Received: by angie.orcam.me.uk (Postfix, from userid 500) id 64F1792009C; Sun, 7 Mar 2021 22:47:35 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by angie.orcam.me.uk (Postfix) with ESMTP id 5AE0492009B; Sun, 7 Mar 2021 22:47:35 +0100 (CET) Date: Sun, 7 Mar 2021 22:47:35 +0100 (CET) From: "Maciej W. Rozycki" To: Thomas Bogendoerfer cc: Serge Semin , Serge Semin , Mike Rapoport , Andrew Morton , Roman Gushchin , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Kamal Dasu Subject: Re: [PATCH v2] MIPS: kernel: Reserve exception base early to prevent corruption In-Reply-To: <20210307212001.GA7835@alpha.franken.de> Message-ID: References: <20210306082910.3472-1-tsbogend@alpha.franken.de> <20210307200612.6ftvptnj4txaf2uy@mobilestation> <20210307212001.GA7835@alpha.franken.de> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 7 Mar 2021, Thomas Bogendoerfer wrote: > > Are you sure all of them have "cpu_has_mips_r2_r6" macro returning > > true (false) in order to safely use the lowest region in accordance > > with the conditional statement you've added? > > some of them are not R2 (SB1), others are. For the record Malta is just about anything from MIPS IV up (though the QED RM5261 and RM7061 core cards have been quite rare). Maciej