All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nitesh Narayan Lal <nitesh@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>, kvm@vger.kernel.org
Cc: Thomas Huth <thuth@redhat.com>, Marcelo Tosatti <mtosatti@redhat.com>
Subject: Re: [kvm-unit-tests PATCH] gitlab-ci.yml: Remove ioapic from the x86 tests
Date: Tue, 21 Jan 2020 11:04:50 -0500	[thread overview]
Message-ID: <1406fa95-92e8-6ce5-2304-ce180f22526a@redhat.com> (raw)
In-Reply-To: <fdbe37df-216f-65bd-cd82-fd46afd278ec@redhat.com>


On 12/9/19 12:45 PM, Paolo Bonzini wrote:
> On 09/12/19 18:33, Thomas Huth wrote:
>>> It works for me though:
>>>
>>> $ /usr/bin/qemu-system-x86_64 -nodefaults -device pc-testdev -device
>>> isa-debug-exit,iobase=0xf4,iosize=0x4 -vnc none -serial stdio -device
>>> pci-testdev -machine accel=tcg -kernel x86/ioapic.flat
>> You have to run the test with "-smp 4" (like in x86/unittests.cfg), then
>> it hangs.
> The problem was actually that I hadn't recompiled x86/ioapic.flat.  Now
> I can see the hang even with "-machine
> accel=kvm,kernel_irqchip=off|split", I'll take a look if Nitesh doesn't
> beat me.
>
> Paolo

I just started looking into the issue and the following is my understanding so
far.

- The issue has something to do with test_ioapic_self_reconfigure() failure when
  ran with kernel_irqchip=split. If I remove this particular test or move it
  below my set of tests then both physical and logical destination mode test
  pass normally without any hang.

My understanding is that the failure of test_ioapic_self_reconfigure() leads
to an uncleaned interrupt state which prevents the processing of the next
request (physical and logical destination mode test). I still don't have a
justification for why test_ioapic_self_reconfigure is failing with
kernel_irqchip=split. I will have to investigate that.

-- 
Nitesh


      parent reply	other threads:[~2020-01-21 16:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-05 15:16 [kvm-unit-tests PATCH] gitlab-ci.yml: Remove ioapic from the x86 tests Thomas Huth
2019-12-09 17:12 ` Paolo Bonzini
2019-12-09 17:33   ` Thomas Huth
2019-12-09 17:45     ` Paolo Bonzini
2019-12-13  7:30       ` Nitesh Narayan Lal
2020-01-21 16:04       ` Nitesh Narayan Lal [this message]

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=1406fa95-92e8-6ce5-2304-ce180f22526a@redhat.com \
    --to=nitesh@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=thuth@redhat.com \
    /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.