[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <C2D7FE5348E1B147BCA15975FBA23075014642EC15@US01WEMBX2.internal.synopsys.com>
Date: Tue, 5 Feb 2019 16:59:20 +0000
From: Vineet Gupta <vineet.gupta1@...opsys.com>
To: Eugeniy Paltsev <eugeniy.paltsev@...opsys.com>,
"linux-snps-arc@...ts.infradead.org"
<linux-snps-arc@...ts.infradead.org>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Alexey Brodkin" <alexey.brodkin@...opsys.com>
Subject: Re: [PATCH] ARC: fix actionpoints configuration detection
On 2/4/19 10:41 AM, Eugeniy Paltsev wrote:
> Fix reversed logic while actionpoints configuration (full/min)
> detection.
>
> Fixies: 7dd380c338f1e ("ARC: boot log: print Action point details")
> Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@...opsys.com>
LGTM.
Thx,
-vineet
> ---
> arch/arc/kernel/setup.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arc/kernel/setup.c b/arch/arc/kernel/setup.c
> index feb90093e6b1..def19b0ef8c6 100644
> --- a/arch/arc/kernel/setup.c
> +++ b/arch/arc/kernel/setup.c
> @@ -212,7 +212,7 @@ static void read_arc_build_cfg_regs(void)
> READ_BCR(ARC_REG_AP_BCR, ap);
> if (ap.ver) {
> cpu->extn.ap_num = 2 << ap.num;
> - cpu->extn.ap_full = !!ap.min;
> + cpu->extn.ap_full = !ap.min;
> }
>
> READ_BCR(ARC_REG_SMART_BCR, bcr);
Powered by blists - more mailing lists