2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 11:44:01 +08:00
linux-next/drivers/parisc
Helge Deller 125c97d8a5 fix early_serial_setup() regression
Commit b430428a18 ("8250: Don't clobber
spinlocks.") introduced a regression on the parisc architecture, which
broke the handover to the serial port at boottime.

early_serial_setup() was changed to only copy a subset of the uart_port
fields, and sadly the "type" and "line" fields were forgotten and thus
the serial port was not initialized and could not be used for a
handover.  This patch fixes this by copying the missing fields.

As this change to early_serial_setup() doesn't need an initialized
spinlock in the uart_port struct any longer, we can drop the spinlock
initialization in the superio driver.

Cc: David Daney <ddaney@caviumnetworks.com>
Cc: Tomaso Paoletti <tpaoletti@caviumnetworks.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Acked-by: Kyle McMartin <kyle@mcmartin.ca>
Cc: linux-parisc@vger.kernel.org
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-01-13 14:03:43 -08:00
..
asp.c parisc: drivers/parisc/: make code static 2009-01-05 18:15:24 +00:00
ccio-dma.c parisc: remove dead BIO_VMERGE_BOUNDARY and BIO_VMERGE_MAX_SIZE definitions 2009-01-05 18:15:25 +00:00
ccio-rm-dma.c [PARISC] Convert parisc_device to use struct resource for hpa 2005-10-21 22:36:40 -04:00
dino.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6 2009-01-09 11:53:07 -08:00
eisa_eeprom.c [PATCH] introduce fmode_t, do annotations 2008-10-21 07:47:06 -04:00
eisa_enumerator.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
eisa.c generic: sparse irqs: use irq_desc() together with dyn_array, instead of irq_desc[] 2008-10-16 16:52:29 +02:00
gsc.c generic: sparse irqs: use irq_desc() together with dyn_array, instead of irq_desc[] 2008-10-16 16:52:29 +02:00
gsc.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
hppb.c parisc: drivers/parisc/: make code static 2009-01-05 18:15:24 +00:00
iommu-helpers.h iommu: parisc: pass struct device to iommu_alloc_range 2008-03-04 16:35:17 -08:00
iosapic_private.h [PARISC] sparse fixes 2006-12-08 00:34:33 -05:00
iosapic.c PCI: parisc: use generic pci_swizzle_interrupt_pin() 2009-01-07 11:12:55 -08:00
Kconfig iommu: parisc: make the IOMMUs respect the segment boundary limits 2008-03-04 16:35:17 -08:00
lasi.c parisc: drivers/parisc/: make code static 2009-01-05 18:15:24 +00:00
lba_pci.c parisc: drivers/parisc/: make code static 2009-01-05 18:15:24 +00:00
led.c netdev: introduce dev_get_stats() 2008-11-19 21:40:23 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pdc_stable.c [PARISC] pdc_stable: fix compile errors 2008-03-15 19:11:59 -07:00
power.c [PARISC] Build fixes for power.c 2007-05-25 19:19:35 -04:00
README.dino Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sba_iommu.c parisc: remove dead BIO_VMERGE_BOUNDARY and BIO_VMERGE_MAX_SIZE definitions 2009-01-05 18:15:25 +00:00
superio.c fix early_serial_setup() regression 2009-01-13 14:03:43 -08:00
wax.c parisc: drivers/parisc/: make code static 2009-01-05 18:15:24 +00:00

/*
** HP VISUALIZE Workstation PCI Bus Defect
**
** "HP has discovered a potential system defect that can affect
** the behavior of five models of HP VISUALIZE workstations when
** equipped with third-party or customer-installed PCI I/O expansion
** cards. The defect is limited to the HP C180, C160, C160L, B160L,
** and B132L VISUALIZE workstations, and will only be encountered
** when data is transmitted through PCI I/O expansion cards on the
** PCI bus. HP-supplied graphics cards that utilize the PCI bus are
** not affected."
**
** REVISIT: "go/pci_defect" link below is stale.
**	HP Internal can use <http://hpfcdma.fc.hp.com:80/Dino/>
**
**	Product		First Good Serial Number
**  C200/C240 (US)	US67350000
**B132L+/B180 (US)	US67390000
**   C200 (Europe)	3713G01000
**  B180L (Europe)	3720G01000
**
** Note that many boards were fixed/replaced under a free replacement
** program. Assume a machine is only "suspect" until proven otherwise.
**
** "The pci_check program will also be available as application
**  patch PHSS_12295"
*/