All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0 of 3] Patches for PCI serial cards (v1).
@ 2011-07-07 13:59 Konrad Rzeszutek Wilk
  2011-07-07 13:59 ` [PATCH 1 of 3] xen: Automatically find serial port on PCI/PCIe and AMT devices Konrad Rzeszutek Wilk
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Konrad Rzeszutek Wilk @ 2011-07-07 13:59 UTC (permalink / raw)
  To: xen-devel, keir, stefano.stabellini, Ian.Campbell, andrew.cooper3,
	JBeulich, George.Dunlap, roge
  Cc: konrad.wilk

Hey,

I've been carrying these patches for some time and with Andrew's work on the KEXEC
it seems like a perfect time to provide them (as they save the BDF of the PCI
serial card and could be extended to provide that)

The first one is actually from XCP product and I think I got the right author
name for it - if not please correct me.

The other three patches are rebased patches that I've received from VirtualComputer
(www.virtualcomputer.com). They seem to find lot of issues on laptops/desktops and have been
using PCI express serial cards, MiniPCI-e serial cards, etc to get the serial output
to troubleshoot. And as such found some issues after a S3 resume which these patches fix.

Please take a look.

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: Re: [PATCH 1 of 3] xen: Automatically find serial port on PCI/PCIe and AMT devices
@ 2011-07-08  7:04 Jan Beulich
  2011-07-09 13:15 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 9+ messages in thread
From: Jan Beulich @ 2011-07-08  7:04 UTC (permalink / raw)
  To: konrad.wilk
  Cc: xen-devel, keir, Ian.Campbell, stefano.stabellini, George.Dunlap,
	andrew.cooper3, James.McKenzie, roger.cruz, tom.goetz


[-- Attachment #1.1: Type: text/plain, Size: 930 bytes --]

>>> Konrad Rzeszutek Wilk  07/07/11 6:36 PM >>>
>On Thu, Jul 07, 2011 at 04:56:23PM +0100, Jan Beulich wrote:
>> >>> On 07.07.11 at 15:59, Konrad Rzeszutek Wilk  wrote:
>> > +              bar0 = pci_conf_read32 (b, d, f, PCI_BASE_ADDRESS_0);
>> 
>> Why would a serial port only be allowed to be on the port specified
>> with BAR0? E.g. if you have a serial card with multiple ports, multiple
>> BARs could be candidates.
>> 
>> Also, why would the first one found be it?
>
>Because that is usually COM1. You can still do com1=115200,8n1,magic
>com2=115200,8n1,0xd900,0 to have both of them available.

But the handling here is being called for com1= and com2=
equally. For something not just for somebody's special purposes,
the index from the calling function should minimally be passed
(and the BAR to look at adjusted accordingly).

Also I wonder why the token is "magic" rather than, say, "pci".

Jan


[-- Attachment #1.2: HTML --]
[-- Type: text/html, Size: 1350 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2011-07-09 13:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-07 13:59 [PATCH 0 of 3] Patches for PCI serial cards (v1) Konrad Rzeszutek Wilk
2011-07-07 13:59 ` [PATCH 1 of 3] xen: Automatically find serial port on PCI/PCIe and AMT devices Konrad Rzeszutek Wilk
2011-07-07 15:56   ` Jan Beulich
2011-07-07 16:12     ` Stefano Stabellini
2011-07-07 16:35     ` Konrad Rzeszutek Wilk
2011-07-07 13:59 ` [PATCH 2 of 3] xen: Support suspend in ns16550 code Konrad Rzeszutek Wilk
2011-07-07 13:59 ` [PATCH 3 of 3] xen: Restore the BAR and PCI command after resume Konrad Rzeszutek Wilk
  -- strict thread matches above, loose matches on Subject: below --
2011-07-08  7:04 Re: [PATCH 1 of 3] xen: Automatically find serial port on PCI/PCIe and AMT devices Jan Beulich
2011-07-09 13:15 ` Konrad Rzeszutek Wilk

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.