Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp218895ybz; Fri, 24 Apr 2020 14:48:10 -0700 (PDT) X-Google-Smtp-Source: APiQypI3z+Ob/2OlkwQrnWzTdXkg73AmuQLCRv4ZwBXqV+/He3U0Gghb5WoC78ZxeLheJxRn3IEb X-Received: by 2002:a17:906:1603:: with SMTP id m3mr9417600ejd.205.1587764889926; Fri, 24 Apr 2020 14:48:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587764889; cv=none; d=google.com; s=arc-20160816; b=ZmJpfPgVwykpXHF7jFI47A5LID4SgpZjicm8DACJZOJFEuyctMfJf+dtfnM4qfEBtr qi7pHyoer4gy/i4rwjiE57JQIOhzNMHa8nUvA5eBpZC5rGuZAr9nh6g1VxksuD0UC7iN 72AiZF/ii7xnXrUE/kOnUBi8g72J5rVl/OFdY5gR7aoS4/xAmzefBIDLv5qgrRMju2Km BnBoo0ZJxvSK+1Q4ytHGD3hw94ZSvFUIFVtLdG26DvvdtJhLRL/pjFJ5liuVDFM1L0TY cyZgL81cLAMjaCAAQ0c3ofZ1gJLEd0DME+5pZZXFMvDeRQmcHG7tGy5IDLoYD+LNPKZu qMXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=AakmcucQNOsNjQvDLzXw5UonG5DZWhHnRnRbyQlUrR4=; b=prTmZ36ECOy/1RwbPmvISyIMVlFfc14QnUy1kY5iFlIBcXXn+4a6WcPICXDXsxnNVO k5am6PgPwZamxicpYf7QcU2eiklJBlMGlBovtqEJJmIuwHMRdxtx3VSuLhJ8EdT0ubDh VVBUR0nGw/BkQ34MtN2e8zQ7UIcaNwImIQpFdI8hZ/+sD/LHLVQIRND8hOz4/tXcZV8b 7mgNDPPc/ki+imwyQ3HscfvS9Rr0gN9zF8cPAKoGvBVggE6m7ph5mk9BaX1Q/9dCcbMt 8LjzMOW3BNEX7REY9yzEZQGw0GlPVprh/YFf57VOr4KG8vfnhF4+djFuMjVIdPaWHyTV Rdmw== 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 24si3651672ejv.109.2020.04.24.14.47.41; Fri, 24 Apr 2020 14:48:09 -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 S1726090AbgDXVqR (ORCPT + 99 others); Fri, 24 Apr 2020 17:46:17 -0400 Received: from elvis.franken.de ([193.175.24.41]:53504 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726027AbgDXVqR (ORCPT ); Fri, 24 Apr 2020 17:46:17 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1jS69H-0007ly-00; Fri, 24 Apr 2020 23:46:15 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 557ACC02EB; Fri, 24 Apr 2020 23:36:23 +0200 (CEST) Date: Fri, 24 Apr 2020 23:36:23 +0200 From: Thomas Bogendoerfer To: Jiaxun Yang Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] MIPS: Clear XContext at boot time Message-ID: <20200424213623.GA23556@alpha.franken.de> References: <20200422144535.1253459-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200422144535.1253459-1-jiaxun.yang@flygoat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 22, 2020 at 10:45:34PM +0800, Jiaxun Yang wrote: > XContext might be dirty at boot time. We need to clear it > to ensure early stackframe is safe. > > Signed-off-by: Jiaxun Yang > --- > arch/mips/kernel/head.S | 3 +++ > 1 file changed, 3 insertions(+) > applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]