1. 14 12月, 2015 4 次提交
  2. 05 10月, 2015 1 次提交
  3. 24 7月, 2015 1 次提交
  4. 11 5月, 2015 1 次提交
  5. 15 4月, 2015 1 次提交
  6. 10 4月, 2015 1 次提交
  7. 27 3月, 2015 3 次提交
  8. 26 3月, 2015 4 次提交
  9. 03 2月, 2015 1 次提交
  10. 10 1月, 2015 1 次提交
  11. 20 6月, 2014 1 次提交
    • R
      tty/serial: fix 8250 early console option passing to regular console · 60efcf04
      Rob Herring 提交于
      In the conversion to generic early console, the passing of options from
      the early 8250 console to the regular ttyS console was broken. This
      resulted in the baud rate changing when switching consoles during boot.
      
      This feature allows specifying a single console option on the kernel
      command line rather than both an early console and regular serial tty
      console. It would be nice to generalize this feature. However, it only
      works if the correct baud rate can be probed early which is not the
      case on many platforms which have non-standard UART clock rates. So for
      now, this is left as an 8250 specific feature.
      Reported-and-tested-by: NTony Luck <tony.luck@intel.com>
      Signed-off-by: NRob Herring <robh@kernel.org>
      Cc: Jiri Slaby <jslaby@suse.cz>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      60efcf04
  12. 04 5月, 2014 1 次提交
  13. 25 4月, 2014 1 次提交
  14. 13 8月, 2013 1 次提交
  15. 25 7月, 2013 1 次提交
    • H
      tty/8250_early: Don't truncate last character of options · 258a9fd1
      Henrik Nordström 提交于
      The earlier change to use strlcpy uncovered a bug in the options
      argument length calculation causing last character to be truncated.
      This makes the actual console to be configured with incorrect
      baudrate when specifying the console using console=uart,... syntax.
      
      Bug symptom seen in kernel log output:
      
      Kernel command line: console=uart,mmio,0x90000000,115200
      Early serial console at MMIO 0x90000000 (options '11520')
      
      which then results in a invalid baud rate 11520 instead of the
      expected 115200 when the console is switched to ttyS0 later
      in the boot process.
      Signed-off-by: NHenrik Nordstrom <henrik@henriknordstrom.net>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      258a9fd1
  16. 21 1月, 2013 1 次提交
  17. 16 11月, 2012 1 次提交
  18. 25 10月, 2012 1 次提交
    • A
      serial/8250/8250_early: Prevent rounding error in uartclk · b15d5380
      Alexey Brodkin 提交于
      Modify divisor to select the nearest baud rate divider rather than the
      lowest. It minimizes baud rate errors especially on low UART clock
      frequencies.
      
      For example, if uartclk is 33000000 and baud is 115200 the ratio is
      about 17.9 The current code selects 17 (5% error) but should select 18
      (0.5% error).
      
      This 5% error in baud rate leads to garbage on receiving end, while 0.5%
      doesn't.
      
      The issue showed up when using the stock 8250 driver for
      Synopsys DW UART. This was on a FPGA with ~12MHz UART clock.
      When we enabled early serial, we saw garbage which was narrowed down
      to the rounding error.
      
      So the bug had been latent and it only showed up with such low clock rates.
      Signed-off-by: NAlexey Brodkin <abrodkin@synopsys.com>
      Acked-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b15d5380
  19. 25 1月, 2012 1 次提交
  20. 14 1月, 2011 1 次提交
    • G
      tty: move drivers/serial/ to drivers/tty/serial/ · ab4382d2
      Greg Kroah-Hartman 提交于
      The serial drivers are really just tty drivers, so move them to
      drivers/tty/ to make things a bit neater overall.
      
      This is part of the tty/serial driver movement proceedure as proposed by
      Arnd Bergmann and approved by everyone involved a number of months ago.
      
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
      Cc: Geert Uytterhoeven <geert@linux-m68k.org>
      Cc: Rogier Wolff <R.E.Wolff@bitwizard.nl>
      Cc: Michael H. Warfield <mhw@wittsend.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      ab4382d2
  21. 24 8月, 2010 1 次提交
  22. 11 8月, 2010 1 次提交
  23. 01 5月, 2008 1 次提交
  24. 30 4月, 2008 1 次提交
  25. 09 2月, 2008 1 次提交
  26. 06 11月, 2007 1 次提交
  27. 04 8月, 2007 1 次提交
  28. 25 7月, 2007 1 次提交
  29. 17 7月, 2007 1 次提交
    • Y
      serial: convert early_uart to earlycon for 8250 · 18a8bd94
      Yinghai Lu 提交于
      Beacuse SERIAL_PORT_DFNS is removed from include/asm-i386/serial.h and
      include/asm-x86_64/serial.h.  the serial8250_ports need to be probed late in
      serial initializing stage.  the console_init=>serial8250_console_init=>
      register_console=>serial8250_console_setup will return -ENDEV, and console
      ttyS0 can not be enabled at that time.  need to wait till uart_add_one_port in
      drivers/serial/serial_core.c to call register_console to get console ttyS0.
      that is too late.
      
      Make early_uart to use early_param, so uart console can be used earlier.  Make
      it to be bootconsole with CON_BOOT flag, so can use console handover feature.
      and it will switch to corresponding normal serial console automatically.
      
      new command line will be:
      	console=uart8250,io,0x3f8,9600n8
      	console=uart8250,mmio,0xff5e0000,115200n8
      or
      	earlycon=uart8250,io,0x3f8,9600n8
      	earlycon=uart8250,mmio,0xff5e0000,115200n8
      
      it will print in very early stage:
      	Early serial console at I/O port 0x3f8 (options '9600n8')
      	console [uart0] enabled
      later for console it will print:
      	console handover: boot [uart0] -> real [ttyS0]
      
      Signed-off-by: <yinghai.lu@sun.com>
      Cc: Andi Kleen <ak@suse.de>
      Cc: Bjorn Helgaas <bjorn.helgaas@hp.com>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: Gerd Hoffmann <kraxel@suse.de>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      18a8bd94
  30. 21 3月, 2006 1 次提交
  31. 04 11月, 2005 1 次提交
  32. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4