Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp337305pxk; Thu, 17 Sep 2020 04:36:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqbnqFiVb5lTh1+3ZzuVyIb6dCCHcl3VFbZB5T266zTWjFNvk/B4qPDOmkJKtnFx9Ak6HW X-Received: by 2002:a05:6402:156:: with SMTP id s22mr31754209edu.372.1600342584946; Thu, 17 Sep 2020 04:36:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600342584; cv=none; d=google.com; s=arc-20160816; b=lbrMmIFxQiAaY7qpgqLEwJ4dWQFx0AiXEa7CfHPIaTpe8rj5ca6+wUb8Q3gVxCMFQQ YYzPkqXwgdpZVXFPi7/99IhBfNsLNjYzXXsknUxvV8ojFyLrjTMs8hCYwgFc7nNoaWf+ XksgzHsrO7mEml2TtNyW8beQu2jpxSJzEerBCBxdIhoiBvaNwQkHyZuF27awXxm3DpuO uL91BsX3BNQG3CTxRxQCLU3O9H0nvxdXjo1FaRNGTTecvkcBz1Gqh7ciT1utKGKj0Gmn HCeK86Uhkkr7Znye5G7WEYlorkf88HgzAZWSoTN/IfifkjrGlBoL/glF98nWz3XVoHHB 7IhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:subject:references:in-reply-to :cc:to:from; bh=DWgJCTkMUWHG+vbsGFVnszPdLyP1K+iqyFg+AzMwPc8=; b=I460On+7j2qO/odxq7HaC4cIC0xjgkCEUUcxFTbhAvAnNeF1xlAFBjEtcpTDBg3DqE pCcaIaP24k2NPx/f/Ea3ob/cnuPG5MF6jvpjRtq9ILvfDOjg9TzukjPRxlhygAFLCz8y Ao8nQOMjyc6XfJyL3sK/zP/dJmvOW6/E47JQLI28+jigLo+kdKWBO5pVL8LAT4BGEjJA 2Yi4TrMi+31eKk9xTy1lZC3eb81AGN7kIH7KH4/drwkxEctNnxFnx9wjb2QMDEKUj8dM U7rNW+/AU9ZkJx9I0yPY4PHX4q3m3HJEXaeTkwMAbteOYmtBQCcftm5F8UTDh9AXq3d7 Y7yQ== 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 h16si14271178edr.336.2020.09.17.04.36.01; Thu, 17 Sep 2020 04:36:24 -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 S1726662AbgIQLek (ORCPT + 99 others); Thu, 17 Sep 2020 07:34:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58816 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726778AbgIQL1t (ORCPT ); Thu, 17 Sep 2020 07:27:49 -0400 Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72A35C06178C for ; Thu, 17 Sep 2020 04:27:46 -0700 (PDT) Received: by ozlabs.org (Postfix, from userid 1034) id 4BsZSZ0jw0z9sVX; Thu, 17 Sep 2020 21:27:25 +1000 (AEST) From: Michael Ellerman To: Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Christophe Leroy Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <21b05f7298c1b18f73e6e5b4cd5005aafa24b6da.1599820109.git.christophe.leroy@csgroup.eu> References: <21b05f7298c1b18f73e6e5b4cd5005aafa24b6da.1599820109.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH v2] powerpc/powermac: Fix low_sleep_handler with KUAP and KUEP Message-Id: <160034201640.3339803.9937170940797362812.b4-ty@ellerman.id.au> Date: Thu, 17 Sep 2020 21:27:25 +1000 (AEST) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 11 Sep 2020 10:29:15 +0000 (UTC), Christophe Leroy wrote: > low_sleep_handler() has an hardcoded restore of segment registers > that doesn't take KUAP and KUEP into account. > > Use head_32's load_segment_registers() routine instead. Applied to powerpc/next. [1/1] powerpc/powermac: Fix low_sleep_handler with KUAP and KUEP https://git.kernel.org/powerpc/c/2c637d2df4ee4830e9d3eb2bd5412250522ce96e cheers