LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Jason Wessel <jason.wessel@windriver.com>
To: Jan Kiszka <jan.kiszka@web.de>
Cc: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org,
Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>
Subject: Re: [PATCH][7/8] kgdb: exclusive use kgdb8250 uart I/O driver
Date: Sat, 09 Feb 2008 12:45:21 -0600 [thread overview]
Message-ID: <47ADF4C1.6010508@windriver.com> (raw)
In-Reply-To: <47ADBE81.8000506@web.de>
Jan Kiszka wrote:
> There are a few things I missed in my last cleanup round, please fold
> them in, they reduce the changes outside kgdb. (I bet that membase
> dumping was related to mmio vs. mmap configuration, right?)
>
>
That is correct, the right thing to do is remove the code.
I folded your patch into patch #7 and refreshed the git archive.
Thanks,
Jason.
> --- linux-2.6-kgdb.orig/drivers/serial/Kconfig
> +++ linux-2.6-kgdb/drivers/serial/Kconfig
> @@ -121,7 +121,7 @@ config SERIAL_8250_CS
>
> config SERIAL_8250_NR_UARTS
> int "Maximum number of 8250/16550 serial ports"
> - depends on SERIAL_8250 || KGDB_8250
> + depends on SERIAL_8250
> default "4"
> help
> Set this to the number of serial ports you want the driver
> --- linux-2.6-kgdb.orig/drivers/serial/serial_core.c
> +++ linux-2.6-kgdb/drivers/serial/serial_core.c
> @@ -1685,9 +1685,6 @@ static int uart_line_info(char *buf, str
> mmio ? (unsigned long long)port->mapbase
> : (unsigned long long) port->iobase,
> port->irq);
> - if (port->iotype == UPIO_MEM)
> - ret += sprintf(buf+ret, " membase 0x%08lX",
> - (unsigned long) port->membase);
>
> if (port->type == PORT_UNKNOWN) {
> strcat(buf, "\n");
> @@ -2130,9 +2127,7 @@ uart_report_port(struct uart_driver *drv
> case UPIO_TSI:
> case UPIO_DWAPB:
> snprintf(address, sizeof(address),
> - "MMIO 0x%llx mem 0x%p",
> - (unsigned long long)port->mapbase,
> - port->membase);
> + "MMIO 0x%llx", (unsigned long long)port->mapbase);
> break;
> default:
> strlcpy(address, "*unknown*", sizeof(address));
> --- linux-2.6-kgdb.orig/include/linux/serial_8250.h
> +++ linux-2.6-kgdb/include/linux/serial_8250.h
> @@ -58,7 +58,6 @@ struct uart_port;
>
> int serial8250_register_port(struct uart_port *);
> void serial8250_unregister_port(int line);
> -void serial8250_unregister_by_port(struct uart_port *port);
> void serial8250_suspend_port(int line);
> void serial8250_resume_port(int line);
> int serial8250_get_port_def(struct uart_port *port, int line);
>
next prev parent reply other threads:[~2008-02-09 18:45 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-09 13:35 [PATCH 0/8] kgdb 2.6.25 version jason.wessel
2008-02-09 13:35 ` [PATCH 1/8] kgdb: core API and gdb protocol handler jason.wessel
2008-02-09 13:35 ` [PATCH 2/8] pid, kgdb: add pid_max prototype jason.wessel
2008-02-09 13:35 ` [PATCH 3/8] kgdb, modules: Always allow module sect info for KGDB jason.wessel
2008-02-09 13:35 ` [PATCH 4/8] kgdb: COPTIMIZE flag jason.wessel
2008-02-09 13:35 ` [PATCH 5/8] kgdb, x86: Add arch specfic kgdb support jason.wessel
2008-02-09 13:35 ` [PATCH 6/8] kgdb, sysrq_bugfix jason.wessel
2008-02-09 13:35 ` [PATCH][7/8] kgdb: exclusive use kgdb8250 uart I/O driver jason.wessel
2008-02-09 13:35 ` [PATCH 8/8] kgdb: kgdboc 8250 I/O module jason.wessel
2008-02-09 14:53 ` [PATCH][7/8] kgdb: exclusive use kgdb8250 uart I/O driver Jan Kiszka
2008-02-09 18:45 ` Jason Wessel [this message]
2008-02-09 16:40 ` Jan Kiszka
2008-02-09 18:41 ` Jason Wessel
2008-02-10 15:26 ` Pavel Machek
2008-02-09 14:33 ` [PATCH 5/8] kgdb, x86: Add arch specfic kgdb support Jan Kiszka
2008-02-09 17:16 ` [PATCH 4/8] kgdb: COPTIMIZE flag Christoph Hellwig
2008-02-09 17:15 ` [PATCH 3/8] kgdb, modules: Always allow module sect info for KGDB Christoph Hellwig
2008-02-09 17:10 ` [PATCH 2/8] pid, kgdb: add pid_max prototype Christoph Hellwig
2008-02-09 14:27 ` [PATCH 1/8] kgdb: core API and gdb protocol handler Jan Kiszka
2008-02-09 15:29 ` Sam Ravnborg
2008-02-09 17:27 ` Christoph Hellwig
2008-02-09 19:46 ` Ray Lee
2008-02-09 21:51 ` Ray Lee
2008-02-09 17:38 ` [PATCH 0/8] kgdb 2.6.25 version Christoph Hellwig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47ADF4C1.6010508@windriver.com \
--to=jason.wessel@windriver.com \
--cc=jan.kiszka@web.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=tglx@linutronix.de \
--subject='Re: [PATCH][7/8] kgdb: exclusive use kgdb8250 uart I/O driver' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).