public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Paolo Bonzini <bonzini@gnu•org>
To: David Woodhouse <dwmw2@infradead•org>, Qian Cai <cai@redhat•com>,
	x86@kernel•org, Thomas Gleixner <tglx@linutronix•de>,
	Tom Murphy <murphyt7@tcd•ie>
Cc: kvm <kvm@vger•kernel.org>,
	iommu@lists•linux-foundation.org, joro@8bytes•org,
	linux-kernel <linux-kernel@vger•kernel.org>,
	linux-hyperv@vger•kernel.org, maz@misterjones•org,
	Dexuan Cui <decui@microsoft•com>,
	Stephen Rothwell <sfr@canb•auug.org.au>,
	Linux Next Mailing List <linux-next@vger•kernel.org>
Subject: Re: [PATCH v3 19/35] x86/io_apic: Cleanup trigger/polarity helpers
Date: Tue, 10 Nov 2020 17:26:21 +0100	[thread overview]
Message-ID: <e213d85f-b29b-e663-29db-10d987feb8d7@gnu.org> (raw)
In-Reply-To: <23e0a29faad5a9cc43582ba7d40a3073f2fb8c87.camel@infradead.org>

On 10/11/20 09:59, David Woodhouse wrote:
> Hm, attempting to reproduce this shows something else. Ever since
> commit be62dbf554c5 ("iommu/amd: Convert AMD iommu driver to the dma-
> iommu api") in 5.5 the following stops working for me:
> 
> $ qemu-system-x86_64 -serial mon:stdio -kernel bzImage  -machine q35,accel=kvm,kernel-irqchip=split -m 2G -device amd-iommu,intremap=off -append "console=ttyS0 apic=verbose debug" -display none
> 
> It hasn't got a hard drive but I can watch the SATA interrupts fail as
> it probes the CD-ROM:
> 
> [    7.403327] ata3.00: qc timeout (cmd 0xa1)
> [    7.405980] ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)
> 
> Adding 'iommu=off' to the kernel command line makes it work again, in
> that it correctly panics at the lack of a root file system, quickly.

That might well be a QEMU bug though, AMD emulation is kinda experimental.

Paolo

      reply	other threads:[~2020-11-10 16:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <e6601ff691afb3266e365a91e8b221179daf22c2.camel@infradead.org>
     [not found] ` <20201024213535.443185-1-dwmw2@infradead.org>
     [not found]   ` <20201024213535.443185-20-dwmw2@infradead.org>
2020-11-10  6:31     ` [PATCH v3 19/35] x86/io_apic: Cleanup trigger/polarity helpers Qian Cai
2020-11-10  8:59       ` David Woodhouse
2020-11-10 16:26         ` Paolo Bonzini [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=e213d85f-b29b-e663-29db-10d987feb8d7@gnu.org \
    --to=bonzini@gnu$(echo .)org \
    --cc=cai@redhat$(echo .)com \
    --cc=decui@microsoft$(echo .)com \
    --cc=dwmw2@infradead$(echo .)org \
    --cc=iommu@lists$(echo .)linux-foundation.org \
    --cc=joro@8bytes$(echo .)org \
    --cc=kvm@vger$(echo .)kernel.org \
    --cc=linux-hyperv@vger$(echo .)kernel.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=maz@misterjones$(echo .)org \
    --cc=murphyt7@tcd$(echo .)ie \
    --cc=sfr@canb$(echo .)auug.org.au \
    --cc=tglx@linutronix$(echo .)de \
    --cc=x86@kernel$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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