Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751526AbdIAIDr (ORCPT ); Fri, 1 Sep 2017 04:03:47 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:33629 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751022AbdIAIDp (ORCPT ); Fri, 1 Sep 2017 04:03:45 -0400 X-Google-Smtp-Source: ADKCNb4iYw2oByXrgkzIHBZrPNSSV6m9Bglk2FGMRdb0uKfGuQyTxGSqdrqzTgcjYB6KkoBd38S9+nWnEnou23NTws8= MIME-Version: 1.0 In-Reply-To: References: <45e5b91f645a51c3c7a7410f0c67676c5c8193e0.1504129273.git.shorne@gmail.com> From: Geert Uytterhoeven Date: Fri, 1 Sep 2017 10:03:44 +0200 X-Google-Sender-Auth: POYgwca7vAsyTEfEs-5ieLcmIJc Message-ID: Subject: Re: [OpenRISC] [PATCH 01/13] openrisc: use shadow registers to save regs on exception To: Stafford Horne Cc: LKML , Jonas Bonn , Masahiro Yamada , Openrisc , Andrew Morton Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1300 Lines: 38 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 >> + 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