search for: ns16550

Displaying 20 results from an estimated 22 matches for "ns16550".

Did you mean: ns16550a
2013 Sep 23
1
[PATCH] ns16550: Use correct #define symbol for HAS_IOPORTS
...to be a typo which causes check_existence() to unconditionally return 1 in all cases. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> CC: Keir Frser <keir@xen.org> CC: Jan Beulich <jbeulich@suse.com> CC: Ian Campbell <ian.campbell@citrix.com> --- xen/drivers/char/ns16550.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/drivers/char/ns16550.c b/xen/drivers/char/ns16550.c index 5892eb7..9c2cded 100644 --- a/xen/drivers/char/ns16550.c +++ b/xen/drivers/char/ns16550.c @@ -503,7 +503,7 @@ static int __init check_existence(struct ns16550 *uart...
2012 Sep 11
2
[PATCH 6/8] ns16550: PCI initialization adjustments
...IN before ACPI gets enabled generally produces an incorrect IRQ (below 16, whereas after enabling ACPI it frequently would end up at a higher one), so this is useful (almost) only when a system already boots in ACPI mode. Signed-off-by: Jan Beulich <jbeulich@suse.com> --- a/xen/drivers/char/ns16550.c +++ b/xen/drivers/char/ns16550.c @@ -468,7 +468,6 @@ static int __init check_existence(struct static int pci_uart_config (struct ns16550 *uart, int skip_amt, int bar_idx) { - uint16_t class; uint32_t bar, len; int b, d, f; @@ -479,9 +478,15 @@ pci_uart_config (struct ns16550 *ua...
2013 Sep 13
10
[PATCH RFC 0/8] xen/arm: initial cubieboard2 support.
See http://www.gossamer-threads.com/lists/xen/devel/297170 for some information on how to get this going. I''ve rebased and addressed the review comments. As before several of the patches are not to be applied because they can be done better using infrastructure from Julien''s "Allow Xen to boot with a raw Device Tree" patch. They are included for completeness. With
2013 Jul 16
0
[PATCH] xen: extract register definitions from ns16550 into a separated header
Since both UART driver codes on Allwinner A31, OMAP5 and x86 would use these definitions, we refactor the codes into a separated header to avoid unnecessary duplication. Signed-off-by: Chen Baozi <baozich@gmail.com> --- xen/drivers/char/ns16550.c | 71 +--------------------------- xen/include/xen/ns16550-uart.h | 104 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+), 70 deletions(-) create mode 100644 xen/include/xen/ns16550-uart.h diff --git a/xen/drivers/char/ns16550.c b/xen/drivers/char/ns16550.c inde...
2012 Sep 11
2
[PATCH RFC 5/8] ns16550: MMIO adjustments
On x86 ioremap() is not suitable here, set_fixmap() must be used instead. Also replace some literal numbers by their proper symbolic constants, making the code easier to understand. Signed-off-by: Jan Beulich <jbeulich@suse.com> --- a/xen/drivers/char/ns16550.c +++ b/xen/drivers/char/ns16550.c @@ -20,6 +20,9 @@ #include <xen/pci.h> #include <xen/pci_regs.h> #include <asm/io.h> +#ifdef CONFIG_X86 +#include <asm/fixmap.h> +#endif /* * Configure serial port with a string: @@ -37,7 +40,7 @@ string_param("com2", opt_...
2011 Oct 12
1
[PATCH] ns16550: fix poll handling regression
...while there it got promoted into the surrounding loop''s condition. Since that bit may not clear for an extended period of time (i.e. when no new output is generated), it must not be used in this way indefinitely. Signed-off-by: Jan Beulich <jbeulich@suse.com> --- a/xen/drivers/char/ns16550.c +++ b/xen/drivers/char/ns16550.c @@ -157,15 +157,18 @@ static void __ns16550_poll(struct cpu_us { struct serial_port *port = this_cpu(poll_port); struct ns16550 *uart = port->uart; - char lsr; + unsigned char lsr, mask = LSR_DR | LSR_THRE; if ( uart->intr_works )...
2013 Sep 20
20
[PATCH v3 0/7] support for cubieboard2 / sunxi processors
...ressed and now it hangs during dom0 boot. I''m not sure why this is but I think it is because I''ve rebased my dom0 kernel and not something in this series. I don''t think this needs to block this series though, especially since the APM guys want bits of it (specifically the ns16550 DT stuff). Progress has been made on the upstream SATA support, but nothing is actually in place yet. Ian.
2013 Aug 13
13
[PATCH v8 8/5] Add UART support and arch timer initialization for OMAP5
Since OMAP UART has a few distinct features than common 8250 UART, I re-implemented its driver rather than porting it based on ns16550.c. There are mainly two big differences between the implementations. First, OMAP UART introduces the concept of register access mode, which divides the register map into seperated space. Switching the access mode is then necessary when configuring it. Second, THRE interrupt needs to be disable afte...
2010 Feb 24
4
Re: [Xen-changelog] [xen-3.4-testing] x86: Generalise BUGFRAME_dump mechanism to allow polled UART irq to
...ser@citrix.com> > xen-unstable changeset:   20969:8cb6e7eff2ba > xen-unstable date:        Wed Feb 24 10:44:30 2010 +0000 > --- >  xen/arch/x86/traps.c                  |   32 ++++++++++++++++++-------------- >  xen/drivers/acpi/utilities/utglobal.c |    1 + >  xen/drivers/char/ns16550.c            |   22 +++++++++++++++++----- >  xen/include/asm-x86/bug.h             |    9 +++++---- >  xen/include/asm-x86/processor.h       |    1 + >  5 files changed, 42 insertions(+), 23 deletions(-) > > diff -r cddd503fb254 -r 3ccf3e993d5d xen/arch/x86/traps.c > --- a/xen/ar...
2013 Aug 23
0
[xen-unstable test] 18753: regressions - FAIL
...com> Date: Tue Aug 13 19:14:24 2013 +0800 xen/arm: Add the new OMAP UART driver. TI OMAP UART introduces some features such as register access modes, which makes its configuration and interrupt handling differs from 8250 compatible UART. Thus, we seperate this driver from ns16550''s implementation. Signed-off-by: Chen Baozi <baozich@gmail.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> commit 282a1c2aba06d1860ed91e4df8dd4c42f1a822e6 Author: Chen Baozi <baozich@gmail.com> Date: Tue Aug 13 19:14:23 2013 +0800 xen: Introduce...
2009 Aug 28
0
[PATCH] properly __initdata-annotate command line option string buffers
...nsole); /* conswitch: a character pair controlling console switching. */ @@ -677,7 +677,7 @@ void __init console_endboot(void) switch_serial_input(); } -int console_has(const char *device) +int __init console_has(const char *device) { char *p; --- 2009-08-18.orig/xen/drivers/char/ns16550.c 2009-07-30 16:50:59.000000000 +0200 +++ 2009-08-18/xen/drivers/char/ns16550.c 2009-08-24 17:49:42.000000000 +0200 @@ -25,7 +25,8 @@ * can be specified in place of a numeric baud rate. Polled mode is specified * by requesting irq 0. */ -static char opt_com1[30] = "", opt_com2[30] =...
2007 Sep 23
7
[PATCH] Default serial console to BAUD_AUTO
...y: John Levon <john.levon@sun.com> diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c --- a/xen/arch/x86/setup.c +++ b/xen/arch/x86/setup.c @@ -303,6 +303,7 @@ void __init __start_xen(multiboot_info_t paddr_t s, e; int i, e820_warn = 0, e820_raw_nr = 0, bytes = 0; struct ns16550_defaults ns16550 = { + .baud = BAUD_AUTO, .data_bits = 8, .parity = ''n'', .stop_bits = 1 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2006 Sep 21
0
[PATCH] Move initialize_keytable declaration to keyhandler.h
...ki(void); extern void early_setup_arch(char **); extern void late_setup_arch(char **); diff -r 010ae57673c7 -r 47e5627d8558 xen/arch/powerpc/setup.c --- a/xen/arch/powerpc/setup.c Wed Sep 20 21:47:29 2006 -0400 +++ b/xen/arch/powerpc/setup.c Thu Sep 21 00:52:18 2006 -0400 @@ -87,9 +87,6 @@ struct ns16550_defaults ns16550; extern char __per_cpu_start[], __per_cpu_data_end[], __per_cpu_end[]; -/* move us to a header file */ -extern void initialize_keytable(void); - volatile struct processor_area * volatile global_cpu_table[NR_CPUS]; int is_kernel_text(unsigned long addr) diff -r 010ae57673c7...
2005 Aug 17
2
[PATCH] Increasing E820MAX
We found machines with >32 E820 memory map entries, where Xen fails to boot (but Linux does boot fine). The native Linux (both x86 and x86_86) already has: #define E820MAX 128 /* number of entries in E820MAP */ Signed-off-by: Jun Nakajima <jun.nakajima@intel.com> Jun --- Intel Open Source Technology Center -- diff -r 3bb1857981e6 -r 51e9c0c806b2 xen/include/asm-x86/e820.h ---
2013 Sep 25
0
[xen-unstable test] 19797: regressions - trouble: broken/fail/pass
...about freeing the final p2m page. Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Acked-by: Tim Deegan <tim@xen.org> commit 688eeb878cc58150bf6e729c9c1836b8c1e4cc8f Author: Andrew Cooper <andrew.cooper3@citrix.com> Date: Wed Sep 25 10:44:21 2013 +0200 ns16550: Use correct #define symbol for HAS_IOPORTS CID 1091471, Regression caused by 7c1de0038895cbc75ebd0caffc5b0f3f03c5ad51 This appears to be a typo which causes check_existence() to unconditionally return 1 in all cases. Signed-off-by: Andrew Cooper <andrew.cooper3@ci...
2006 May 05
6
PAE mode mismatch in Xen (xen=no Dom0=yes)
Hi, I just added 32GB memory in my system and wanted Xen to see that memory, so enabled PAE in xen0 and XenU. I did a make menuconfig in xen0 and xenU, then did a make in xen-unstable and a make install. Whilebooting this kernel, I get the above error PAE mode mismatch. I looked under xen/include/asm-x86/processor.h has #define X86_CR4_PAE defined and so does cpufeature.h have this defined.
2005 Oct 06
3
Xen unstable/SuSE 9.3 install issue
Hi, I have successfully installed Xen unstable binary on SuSE 9.3. I am trying to do a source install and I got the following error. Will be glad for any help or guidance. In file included from include/asm-xen/asm/processor.h:18, from include/asm/thread_info.h:17, from include/linux/thread_info.h:21, from include/linux/spinlock.h:12, from include/linux/capability.h:45, from
2011 Dec 06
57
[PATCH RFC 00/25] xen: ARMv7 with virtualization extensions
...fixes to Xen common files Move cpufreq option parsing to cpufreq.c Replace "/" operand with div64 Introduce clear_user libelf-loader: introduce elf_load_image and CONFIG_KERNEL_NO_RELOC xen/common/Makefile: introduce HAS_CPUFREQ, HAS_PCI, HAS_PASSTHROUGH, HAS_NS16550 arm: makefiles arm: compile tmem arm: header files arm: bit manipulation, copy and division libraries arm: entry.S and head.S arm: domain arm: domain_build arm: driver for CoreLink GIC-400 Generic Interrupt Controller arm: mmio handlers ar...
2013 Nov 20
54
[PATCH+RFC+HACK 00/16] xen: arm initial support for xgene arm64 platform
...d time debug option and is totally harmless to platforms which don''t use it. xen: arm64: Add Basic Platform support for APM X-Gene Storm. xen: arm64: Add APM implementor id to processor implementers. xen: arm: include ns16550 driver on arm64 too xen: arm: Enable 1:1 workaround for APM X-Gene Storm. Support for the new platform. Enable an existing driver used by that platform (already on for arm32). xen: arm: early logging of command line...
2013 Nov 25
22
[PATCH v3 00/13] xen: arm initial support for xgene arm64 platform
...torm. A xen: arm64: Add APM implementor id to processor implementers. M xen: arm: add a quirk to handle platforms with unusual GIC layout A xen: arm: allow platform code to select dom0 event channel irq A xen: arm64: Map xgene PCI memory regions and interrupts to dom0. A xen: arm: include ns16550 driver on arm64 too M xen: arm: Handle cpus nodes with #address-cells > 1 A xen: arm: Make register bit definitions unsigned. A xen: arm: explicitly map 64 bit release address xen: arm: enable synchronous console while starting secondary CPUs A xen: arm: improve early memory map read...