android_kernel_xiaomi_sm8350/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
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
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
hppb.c parisc: drivers/parisc/: make code static 2009-01-05 18:15:24 +00:00
iommu-helpers.h
iosapic_private.h
iosapic.c PCI: parisc: use generic pci_swizzle_interrupt_pin() 2009-01-07 11:12:55 -08:00
Kconfig
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
pdc_stable.c
power.c
README.dino
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"
*/