* [PATCH] ARC: fix actionpoints configuration detection
@ 2019-02-04 18:41 Eugeniy Paltsev
2019-02-05 16:59 ` Vineet Gupta
0 siblings, 1 reply; 2+ messages in thread
From: Eugeniy Paltsev @ 2019-02-04 18:41 UTC (permalink / raw)
To: linux-snps-arc, Vineet Gupta
Cc: linux-kernel, Alexey Brodkin, Eugeniy Paltsev
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@synopsys.com>
---
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);
--
2.14.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ARC: fix actionpoints configuration detection
2019-02-04 18:41 [PATCH] ARC: fix actionpoints configuration detection Eugeniy Paltsev
@ 2019-02-05 16:59 ` Vineet Gupta
0 siblings, 0 replies; 2+ messages in thread
From: Vineet Gupta @ 2019-02-05 16:59 UTC (permalink / raw)
To: Eugeniy Paltsev, linux-snps-arc; +Cc: linux-kernel, Alexey Brodkin
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@synopsys.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);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-02-05 16:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-04 18:41 [PATCH] ARC: fix actionpoints configuration detection Eugeniy Paltsev
2019-02-05 16:59 ` Vineet Gupta
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).