Skip to contentSkip to conversation

mail to Paul Brook [email protected] bouncing [[email protected]: Delivery Status Notification (Failure)]

Qemu-devel Michael S. Tsirkin 2 participants 2 messages Sep 30, 2013

lore
Share & tools
lore
#0 lore raw

Anyone knows what's going on?
If no mail should be sent to [email protected], let's add .mailcap so get_maintainer doesn't suggest this address.

----- Forwarded message from [email protected] -----

Date: Mon, 30 Sep 2013 03:08:22 -0700
From: [email protected]
To: [email protected]
Subject: Delivery Status Notification (Failure)
Message-ID: <[email protected]>

This is an automatically generated Delivery Status Notification.

Delivery to the following recipients failed.

[email protected]

Reporting-MTA: dns;svr-orw-fem-01.mgc.mentorg.com
Received-From-MTA: dns;relay1.mentorg.com
Arrival-Date: Mon, 30 Sep 2013 03:08:21 -0700

Final-Recipient: rfc822;[email protected]
Action: failed
Status: 5.7.1
X-Display-Name: Brook, Paul

Date: Mon, 30 Sep 2013 13:10:35 +0300
From: "Michael S. Tsirkin" <[email protected]>
To: Marcel Apfelbaum <[email protected]>
Cc: Paolo Bonzini <[email protected]>, "[email protected]"
<[email protected]>, [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: [Qemu-devel] [PATCH 0/3] hw: set irq without selecting INTx pin
Message-ID: <[email protected]>
In-Reply-To: <[email protected]>

Quoted 18 lines · Marcel Apfelbaum
Quoted 17 lines · Michael S. Tsirkin
Quoted 4 lines · Paolo Bonzini

Il 30/09/2013 10:58, Michael S. Tsirkin ha scritto:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
Quoted 2 lines

As a next step, can we make pci_set_irq non-inline and make it call pci_irq_handler directly, and get rid of the irq field?

What irq field?

Quoted 8 lines
Quoted 3 lines
    /* IRQ objects for the INTA-INTD pins.  */
    qemu_irq *irq;

That's still used by devices that use common code for PCI and sysbus versions (e.g. USB OHCI and EHCI).

Paolo

Well this work wouldn't be complete without
addressing them anyway.

Quoted 6 lines
Quoted 2 lines

These devices would have to create their own
irq in pci-specific code, along the lines of:

This irq field is used also in places where pci_set_irq(PCIDevice dev, level) can't infer the INTx:
- PCIExpress: qemu_set_irq(dev->irq[dev->exp.hpev_intx],dev->exp.hpev_notified);

Well the spec says, explicitly:
6.7.3.4.
Software Notification of Hot-Plug Events
...
Note that all other interrupt sources within the same Function will assert the same virtual INTx wire
when requesting service.

I read this to mean that this is a bug,
and it should simply use pci_set_irq like all other devices.

Quoted 17 lines

- vmxnet3 device: qemu_set_irq(d->irq[int_idx], 1);

What approach should be used here?

Thanks,
Marcel

Quoted 9 lines

- s->irq = dev->irq[3];
+ s->irq = qemu_allocate_irqs(pci_set_irq, dev, 1);

If there's more than one device like this, we should add

/* Return an irq that calls pci_set_irq internally */ qemu_irq *pci_allocate_irq(PCIDevice *);

----- End forwarded message -----

#1 lore raw

Am 30.09.2013 12:55, schrieb Michael S. Tsirkin:

Quoted 1 line

Anyone knows what's going on?

I've already ping'ed him on IRC without success and wrote to another email address that I found on GitHub, where there was some recent activity.

Quoted 3 lines

If no mail should be sent to [email protected], let's add .mailcap so get_maintainer doesn't suggest this address.

I would rather suggest that if someone has not been actively maintaining things for a while and is ignoring requests for what is going on, we should remove that person from MAINTAINERS. Most ARM files won't have recent SoBs from him fixing the larger part of CCs, then .mailcap would be mainly relevant for ColdFire.

Regards,
Andreas

Quoted 100 lines

----- Forwarded message from [email protected] -----

Date: Mon, 30 Sep 2013 03:08:22 -0700
From: [email protected]
To: [email protected]
Subject: Delivery Status Notification (Failure)
Message-ID: <[email protected]>

This is an automatically generated Delivery Status Notification.

Delivery to the following recipients failed.

[email protected]

Reporting-MTA: dns;svr-orw-fem-01.mgc.mentorg.com
Received-From-MTA: dns;relay1.mentorg.com
Arrival-Date: Mon, 30 Sep 2013 03:08:21 -0700

Final-Recipient: rfc822;[email protected]
Action: failed
Status: 5.7.1
X-Display-Name: Brook, Paul

Date: Mon, 30 Sep 2013 13:10:35 +0300
From: "Michael S. Tsirkin" <[email protected]>
To: Marcel Apfelbaum <[email protected]>
Cc: Paolo Bonzini <[email protected]>, "[email protected]"
<[email protected]>, [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: Re: [Qemu-devel] [PATCH 0/3] hw: set irq without selecting INTx pin
Message-ID: <[email protected]>
In-Reply-To: <[email protected]>

Quoted 18 lines · Marcel Apfelbaum
Quoted 17 lines · Michael S. Tsirkin
Quoted 4 lines · Paolo Bonzini

Il 30/09/2013 10:58, Michael S. Tsirkin ha scritto:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 2 lines
Quoted 2 lines

As a next step, can we make pci_set_irq non-inline and make it call pci_irq_handler directly, and get rid of the irq field?

What irq field?

Quoted 8 lines
Quoted 3 lines
    /* IRQ objects for the INTA-INTD pins.  */
    qemu_irq *irq;

That's still used by devices that use common code for PCI and sysbus versions (e.g. USB OHCI and EHCI).

Paolo

Well this work wouldn't be complete without
addressing them anyway.

Quoted 6 lines
Quoted 2 lines

These devices would have to create their own
irq in pci-specific code, along the lines of:

This irq field is used also in places where pci_set_irq(PCIDevice dev, level) can't infer the INTx:
- PCIExpress: qemu_set_irq(dev->irq[dev->exp.hpev_intx],dev->exp.hpev_notified);

Well the spec says, explicitly:
6.7.3.4.
Software Notification of Hot-Plug Events
...
Note that all other interrupt sources within the same Function will assert the same virtual INTx wire
when requesting service.

I read this to mean that this is a bug,
and it should simply use pci_set_irq like all other devices.

Quoted 17 lines

- vmxnet3 device: qemu_set_irq(d->irq[int_idx], 1);

What approach should be used here?

Thanks,
Marcel

Quoted 9 lines

- s->irq = dev->irq[3];
+ s->irq = qemu_allocate_irqs(pci_set_irq, dev, 1);

If there's more than one device like this, we should add

/* Return an irq that calls pci_set_irq internally */ qemu_irq *pci_allocate_irq(PCIDevice *);

----- End forwarded message -----

Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg