From: cotulla@yandex.ua
To: linux-hexagon@vger.kernel.org
Subject: Re: [DISCUSSION] Hexagon code inside kernel
Date: Wed, 20 Feb 2013 05:17:26 +0400 [thread overview]
Message-ID: <726431361323046@web23g.yandex.ru> (raw)
In-Reply-To: <20130219043605.GB12127@codeaurora.org>
> šBoth have an MMU, but both are software managed. šThat's one of the
> šfunctions that the hypervisor provides for us.
Yes, like MIPS one :)
> šCongrats on getting the bootloader working.
>
We bring kernel already up to timers init :)
It was rather hard task to add support for PHYS_OFFSET, HVM kernel assumed that physical memory started at 0x00000000 always.
But some things are not really clear:
1. How hardware define which SMP core takes interrupt if all iassign bits are set (0x3F)?
Does every thread starts execute exception handler or only one, selected by hardware?
How preemtion is disabled in that case?
2. What difference between ciad and cswi?
I guess ciad is "Clear Interrupt Ask Done" and cswi is "Clear SoftWare Interrupt"?
3. How preemtion can be done during exception handlers execution?
Exception bit in SSR disallows to enter new exception handler?
I assume it's possible to clear exception bit and continue execution in normal mode.
If it's possible, can a bit explain/help with those things?
> šHexagon Linux so far has been just used on internal projects; it's
> šnot a part of any products even though the processor itself is. šA
> šnon-hypervisor port is certainly possible, but for our purposes
> šaround here, it's always running under the hypervisor.
>
But some comments inside code tells that it was native at the start ;)
-Cotulla
next prev parent reply other threads:[~2013-02-20 1:17 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-15 14:28 [DISCUSSION] Hexagon code inside kernel cotulla
[not found] ` <CAHrUA364XES66kXhr0Gg1dh_MQBAS0+R8Q4x+EY3dgz6s=QRww@mail.gmail.com>
2013-02-15 22:33 ` Linas Vepstas
2013-02-16 1:35 ` cotulla
2013-02-16 2:34 ` Linas Vepstas
2013-02-16 12:39 ` cotulla
2013-02-16 17:33 ` Linas Vepstas
2013-02-16 19:21 ` cotulla
2013-02-19 4:36 ` rkuo
2013-02-19 14:29 ` Linas Vepstas
2013-02-20 1:07 ` cotulla
2013-02-20 1:17 ` cotulla [this message]
2013-02-23 4:24 ` Rob Landley
2013-02-24 12:00 ` cotulla
2013-02-24 16:32 ` Linas Vepstas
2013-02-24 17:29 ` cotulla
2013-02-24 21:03 ` Linas Vepstas
2013-02-25 17:26 ` Rob Landley
2013-02-26 18:54 ` cotulla
2013-02-27 0:58 ` Rob Landley
2013-02-27 12:39 ` cotulla
2013-02-24 12:23 ` cotulla
2013-02-26 6:55 ` Rob Landley
2013-02-26 19:30 ` cotulla
2013-02-26 19:32 ` cotulla
2013-02-26 19:59 ` Linas Vepstas
2013-02-26 20:25 ` cotulla
2013-02-26 20:57 ` Linas Vepstas
2013-02-27 1:06 ` Rob Landley
2013-02-27 1:30 ` Linas Vepstas
2013-02-27 3:03 ` Rob Landley
2013-02-27 12:35 ` cotulla
-- strict thread matches above, loose matches on Subject: below --
2013-02-24 0:24 Linas Vepstas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=726431361323046@web23g.yandex.ru \
--to=cotulla@yandex.ua \
--cc=linux-hexagon@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox