1. 25 1月, 2012 1 次提交
  2. 10 12月, 2011 1 次提交
    • P
      serial: add irq handler for Freescale 16550 errata. · 9deaa53a
      Paul Gortmaker 提交于
      Sending a break on the SOC UARTs found in some MPC83xx/85xx/86xx
      chips seems to cause a short lived IRQ storm (/proc/interrupts
      typically shows somewhere between 300 and 1500 events).  Unfortunately
      this renders SysRQ over the serial console completely inoperable.
      
      The suggested workaround in the errata is to read the Rx register,
      wait one character period, and then read the Rx register again.
      We achieve this by tracking the old LSR value, and on the subsequent
      interrupt event after a break, we don't read LSR, instead we just
      read the RBR again and return immediately.
      
      The "fsl,ns16550" is used in the compatible field of the serial
      device to mark UARTs known to have this issue.
      
      Thanks to Scott Wood for providing the errata data which led to
      a much cleaner fix.
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Acked-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      9deaa53a
  3. 20 9月, 2011 1 次提交
  4. 12 4月, 2011 1 次提交
  5. 08 10月, 2010 1 次提交
  6. 01 8月, 2010 1 次提交
    • G
      of/address: Clean up function declarations · 22ae782f
      Grant Likely 提交于
      This patch moves the declaration of of_get_address(), of_get_pci_address(),
      and of_pci_address_to_resource() out of arch code and into the common
      linux/of_address header file.
      
      This patch also fixes some of the asm/prom.h ordering issues.  It still
      includes some header files that it ideally shouldn't be, but at least the
      ordering is consistent now so that of_* overrides work.
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      22ae782f
  7. 05 2月, 2010 1 次提交
  8. 28 7月, 2008 1 次提交
  9. 07 7月, 2008 1 次提交
  10. 02 7月, 2008 1 次提交
  11. 06 2月, 2008 1 次提交
  12. 28 1月, 2008 1 次提交
  13. 17 1月, 2008 1 次提交
  14. 20 12月, 2007 1 次提交
  15. 12 10月, 2007 1 次提交
  16. 13 9月, 2007 1 次提交
  17. 08 5月, 2007 1 次提交
    • D
      serial: define FIXED_PORT flag for serial_core · abb4a239
      David Gibson 提交于
      At present, the serial core always allows setserial in userspace to change the
      port address, irq and base clock of any serial port.  That makes sense for
      legacy ISA ports, but not for (say) embedded ns16550 compatible serial ports
      at peculiar addresses.  In these cases, the kernel code configuring the ports
      must know exactly where they are, and their clocking arrangements (which can
      be unusual on embedded boards).  It doesn't make sense for userspace to change
      these settings.
      
      Therefore, this patch defines a UPF_FIXED_PORT flag for the uart_port
      structure.  If this flag is set when the serial port is configured, any
      attempts to alter the port's type, io address, irq or base clock with
      setserial are ignored.
      
      In addition this patch uses the new flag for on-chip serial ports probed in
      arch/powerpc/kernel/legacy_serial.c, and for other hard-wired serial ports
      probed by drivers/serial/of_serial.c.
      Signed-off-by: NDavid Gibson <dwg@au1.ibm.com>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      abb4a239
  18. 07 5月, 2007 1 次提交
  19. 13 4月, 2007 1 次提交
  20. 14 2月, 2007 1 次提交
    • A
      [POWERPC] Open Firmware serial port driver · 8d38a5b2
      Arnd Bergmann 提交于
      This can be used for serial ports that are connected to an
      OF platform bus but are not autodetected by the lecacy
      serial support.
      It will automatically take over devices that come from the
      legacy serial detection, which usually is only one device.
      
      In some cases, rtas may be set up to use the serial port
      in the firmware, which allows easier debugging before probing
      the serial ports. In this case, the "used-by-rtas" property
      must be set by the firmware. This patch also adds code to the
      legacy serial driver to check for this.
      Signed-off-by: NArnd Bergmann <arnd.bergmann@de.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      8d38a5b2
  21. 13 2月, 2007 1 次提交
  22. 23 8月, 2006 1 次提交
  23. 31 7月, 2006 1 次提交
  24. 25 7月, 2006 1 次提交
  25. 07 7月, 2006 1 次提交
  26. 03 7月, 2006 2 次提交
    • B
      [POWERPC] Add new interrupt mapping core and change platforms to use it · 0ebfff14
      Benjamin Herrenschmidt 提交于
      This adds the new irq remapper core and removes the old one.  Because
      there are some fundamental conflicts with the old code, like the value
      of NO_IRQ which I'm now setting to 0 (as per discussions with Linus),
      etc..., this commit also changes the relevant platform and driver code
      over to use the new remapper (so as not to cause difficulties later
      in bisecting).
      
      This patch removes the old pre-parsing of the open firmware interrupt
      tree along with all the bogus assumptions it made to try to renumber
      interrupts according to the platform. This is all to be handled by the
      new code now.
      
      For the pSeries XICS interrupt controller, a single remapper host is
      created for the whole machine regardless of how many interrupt
      presentation and source controllers are found, and it's set to match
      any device node that isn't a 8259.  That works fine on pSeries and
      avoids having to deal with some of the complexities of split source
      controllers vs. presentation controllers in the pSeries device trees.
      
      The powerpc i8259 PIC driver now always requests the legacy interrupt
      range. It also has the feature of being able to match any device node
      (including NULL) if passed no device node as an input. That will help
      porting over platforms with broken device-trees like Pegasos who don't
      have a proper interrupt tree.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      0ebfff14
    • B
      [POWERPC] Fix error handling in detecting legacy serial ports · 7c6efda5
      Benjamin Herrenschmidt 提交于
      Previously we weren't checking for failures in translating device
      addresses from the firmware.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      7c6efda5
  27. 01 7月, 2006 1 次提交
  28. 29 6月, 2006 1 次提交
  29. 27 3月, 2006 2 次提交
  30. 02 2月, 2006 1 次提交
  31. 09 1月, 2006 6 次提交