All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: Adeos <adeos-main@gna.org>, Philippe Gerum <rpm@xenomai.org>
Subject: Re: [Adeos-main] Reworking ipipe timer subsystem,
Date: Mon, 02 Apr 2012 23:58:55 +0200	[thread overview]
Message-ID: <4F7A211F.1080809@domain.hid> (raw)
In-Reply-To: <4F7A2039.2040409@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 3047 bytes --]

On 2012-04-02 23:55, Gilles Chanteperdrix wrote:
> On 04/02/2012 10:59 PM, Jan Kiszka wrote:
>> On 2012-04-02 22:56, Jan Kiszka wrote:
>>>> No luck, I am using qemu 0.12.5, there is no -global option documented,
>>>
>>> Err, that's prehistoric. Use stable 1.0.x at least to receive proper
>>> HPET support.
>>
>> Oh, and there is one further pitfall: You need to provide
>> -no-kvm-irqchip to use the HPET with MSI support because qemu-kvm does
>> not forward those MSIs to the kernel irqchip model. I'm sitting on
>> patches...
> 
> Yes, I needed that. It works now, except that I could not find how to
> use an NFS root filesystem. But with an ext3 file-backed filesystem, I
> could get that:

If your NFS server runs on the host and you use userspace networking
(default without additional parameters), the guest should be able to
reach the server under 10.0.2.2 and use an IP like 10.0.2.15 (or dhcp).
However, I recently failed to get this working as well but didn't dig
deeper.

> 
> # cat /proc/interrupts
>            CPU0       CPU1
>   0:       2235          0   IO-APIC-edge      timer
>   1:          8          0   IO-APIC-edge      i8042
>   4:        983          0   IO-APIC-edge      serial
>   8:          1          0   IO-APIC-edge      rtc0
>   9:          0          0   IO-APIC-fasteoi   acpi
>  12:        111          0   IO-APIC-edge      i8042
>  14:        146          0   IO-APIC-edge      ata_piix
>  15:          9          0   IO-APIC-edge      ata_piix
>  40:        996          0  HPET_MSI-edge      hpet2
>  41:          0        466  HPET_MSI-edge      hpet3
> NMI:          0          0   Non-maskable interrupts
> LOC:         38         14   Local timer interrupts
> SPU:          0          0   Spurious interrupts
> PMI:          0          0   Performance monitoring interrupts
> IWI:          0          0   IRQ work interrupts
> RES:        798        828   Rescheduling interrupts
> CAL:          1        168   Function call interrupts
> TLB:         11         19   TLB shootdowns
> TRM:          0          0   Thermal event interrupts
> THR:          0          0   Threshold APIC interrupts
> MCE:          0          0   Machine check exceptions
> MCP:          1          1   Machine check polls
> ERR:          0
> MIS:          0
> # cat /proc/xenomai/timer
> status=on+watchdog:setup=10630:clock=771280539422:timerdev=hpet2:clockdev=tsc
> # cat /proc/xenomai/irq
>   IRQ         CPU0        CPU1
>    40:       44976           0         [timer0]
>    41:           0        7828         [timer1]
>  4355:           6           3         [reschedule]
>  4356:           0           1         [timer-ipi]
>  4357:           0           0         [sync]
>  4419:         118           2         [virtual]
> 
> And the latency test runs on both processor (albeit with "simulated"
> latencies).
> 
> So, this also allows verifying that Xenomai now support different timer
> irqs on different cpus.
> 

Great to hear!

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

  reply	other threads:[~2012-04-02 21:58 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-19 19:43 [Adeos-main] Reworking ipipe timer subsystem, Gilles Chanteperdrix
2012-02-20 16:46 ` Philippe Gerum
2012-02-24 12:28   ` Gilles Chanteperdrix
2012-02-24 14:40     ` Philippe Gerum
2012-04-02 15:39       ` Gilles Chanteperdrix
2012-04-02 15:54         ` Jan Kiszka
2012-04-02 16:08           ` Gilles Chanteperdrix
2012-04-02 16:18             ` Jan Kiszka
2012-04-02 16:21               ` Gilles Chanteperdrix
2012-04-02 20:41           ` Gilles Chanteperdrix
2012-04-02 20:56             ` Jan Kiszka
2012-04-02 20:59               ` Jan Kiszka
2012-04-02 21:55                 ` Gilles Chanteperdrix
2012-04-02 21:58                   ` Jan Kiszka [this message]
2012-04-03  7:54                     ` Gilles Chanteperdrix
2012-04-03  7:59                       ` Jan Kiszka
2012-04-03 11:06                         ` Gilles Chanteperdrix
2012-04-03 17:38                           ` Jan Kiszka
2012-04-03 18:17                             ` Gilles Chanteperdrix
2012-04-03 18:26                               ` Jan Kiszka
2012-04-03 18:34                                 ` Gilles Chanteperdrix
2012-04-03 18:39                                   ` Jan Kiszka
2012-04-03 19:05                                     ` Gilles Chanteperdrix

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=4F7A211F.1080809@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=adeos-main@gna.org \
    --cc=gilles.chanteperdrix@xenomai.org \
    --cc=rpm@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.