Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751515AbdIAI0P (ORCPT ); Fri, 1 Sep 2017 04:26:15 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:36084 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751237AbdIAI0M (ORCPT ); Fri, 1 Sep 2017 04:26:12 -0400 X-Google-Smtp-Source: ADKCNb48Wn2ykkL706XsaQirDUaayHy59b1GHrBY7OEPWKUBqv4/Zx5Gy2+4JNMAMNNOzM2zCGFeVw== Date: Fri, 1 Sep 2017 17:26:09 +0900 From: Stafford Horne To: Geert Uytterhoeven Cc: LKML , Jonas Bonn , Masahiro Yamada , Openrisc , Andrew Morton Subject: Re: [OpenRISC] [PATCH 01/13] openrisc: use shadow registers to save regs on exception Message-ID: <20170901082609.GH2609@lianli.shorne-pla.net> References: <45e5b91f645a51c3c7a7410f0c67676c5c8193e0.1504129273.git.shorne@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1538 Lines: 44 On Fri, Sep 01, 2017 at 10:03:44AM +0200, Geert Uytterhoeven wrote: > On Fri, Sep 1, 2017 at 10:02 AM, Geert Uytterhoeven > wrote: > > On Wed, Aug 30, 2017 at 11:58 PM, Stafford Horne wrote: > >> --- a/arch/openrisc/Kconfig > >> +++ b/arch/openrisc/Kconfig > >> @@ -121,6 +121,16 @@ config OPENRISC_NO_SPR_SR_DSX > >> Say N here if you know that your OpenRISC processor has > >> SPR_SR_DSX bit implemented. Say Y if you are unsure. > >> > >> +config OPENRISC_HAVE_SHADOW_GPRS > >> + bool "Support for shadow gpr files" > > > > default y if SMP? > > Oops, that's not sufficient. > > bool "Support for shadow gpr files" if !SMP > default y if SMP Thanks yes, the help text says its mandatory. That should be forced as you showed. -Stafford > >> + help > >> + Say Y here if your OpenRISC processor features shadowed > >> + register files. They will in such case be used as a > >> + scratch reg storage on exception entry. > >> + > >> + On SMP systems, this feature is mandatory. > >> + On a unicore system it's safe to say N here if you are unsure. > >> + > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds