Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1560057
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Vineet Gupta <Vineet.Gupta1@synopsys.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/4] ARC rework SMP boot waiting to handle IO-Coherency case |
| Date | Mon, 16 Jan 2017 22:00:02 +0100 |
| Message-ID | <t0mxH-5SC-3@gated-at.bofh.it> (permalink) |
| X-Mailer | git-send-email 2.7.4 |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| X-Originating-IP | [10.10.161.70] |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 29 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | <linux-kernel@vger.kernel.org>, Vineet Gupta <Vineet.Gupta1@synopsys.com> |
| X-Original-Date | Mon, 16 Jan 2017 12:57:53 -0800 |
| X-Original-Message-ID | <1484600277-32345-1-git-send-email-vgupta@synopsys.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1560057 |
Show key headers only | View raw
ARC SMP supports halt-on-reset and run-on-reset for non master cores.
run-on-reset is applicable for internal bitfiles as well as debugger
assisted boots (where all cores are started together)
run-on-reset uses a poll-shared-flag-in-mem-n-spin approach which is not
efficient and moreover is wrong when IO-Coherency is being setup by Master
in early boot, expecting absolutely NO noise on coherency unit by other cores.
To solve this we wither need to move all the SLC/IOC setup code in head.S
which is super pain, or we make run-to-reset behave as if halt-on-reset with
hardware assist to resume the non masters at right time.
Vineet Gupta (4):
ARC: smp-boot: waiting API for run-from-reset need not jump to entry
point
ARC: smp-boot: run-on-reset: add callback to allow non masters to wait
ARCv2: smp: MCIP: remove debug aid to halt all cores when one halts
ARCv2: smp-boot: MCIP: use Inter-Core-Debug unit to kick start non
master cpus
arch/arc/include/asm/mcip.h | 1 +
arch/arc/include/asm/smp.h | 3 +++
arch/arc/kernel/head.S | 14 +++++++-------
arch/arc/kernel/mcip.c | 34 ++++++++++++++++++++++++++++++----
arch/arc/kernel/smp.c | 15 +++++++++++++--
5 files changed, 54 insertions(+), 13 deletions(-)
--
2.7.4
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 0/4] ARC rework SMP boot waiting to handle IO-Coherency case Vineet Gupta <Vineet.Gupta1@synopsys.com> - 2017-01-16 22:00 +0100
csiph-web