Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1220746 > unrolled thread
| Started by | Leif Lindholm <leif.lindholm@linaro.org> |
|---|---|
| First post | 2015-09-08 14:50 +0200 |
| Last post | 2015-09-08 19:00 +0200 |
| Articles | 3 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[RFC 5/5] HACK: serial: move pl011 initcall to device_initcall Leif Lindholm <leif.lindholm@linaro.org> - 2015-09-08 14:50 +0200
Re: [RFC 5/5] HACK: serial: move pl011 initcall to device_initcall Mark Rutland <mark.rutland@arm.com> - 2015-09-08 15:00 +0200
Re: [RFC 5/5] HACK: serial: move pl011 initcall to device_initcall Leif Lindholm <leif.lindholm@linaro.org> - 2015-09-08 19:00 +0200
| From | Leif Lindholm <leif.lindholm@linaro.org> |
|---|---|
| Date | 2015-09-08 14:50 +0200 |
| Subject | [RFC 5/5] HACK: serial: move pl011 initcall to device_initcall |
| Message-ID | <q6qvw-4v7-27@gated-at.bofh.it> |
---
drivers/tty/serial/amba-pl011.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
index 452dbba..31cf985 100644
--- a/drivers/tty/serial/amba-pl011.c
+++ b/drivers/tty/serial/amba-pl011.c
@@ -2806,7 +2806,7 @@ static void __exit pl011_exit(void)
* While this can be a module, if builtin it's most likely the console
* So let's leave module_exit but move module_init to an earlier place
*/
-arch_initcall(pl011_init);
+device_initcall(pl011_init);
module_exit(pl011_exit);
MODULE_AUTHOR("ARM Ltd/Deep Blue Solutions Ltd");
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Mark Rutland <mark.rutland@arm.com> |
|---|---|
| Date | 2015-09-08 15:00 +0200 |
| Message-ID | <q6qFc-4GE-1@gated-at.bofh.it> |
| In reply to | #1220746 |
On Tue, Sep 08, 2015 at 01:43:37PM +0100, Leif Lindholm wrote:
> ---
> drivers/tty/serial/amba-pl011.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
> index 452dbba..31cf985 100644
> --- a/drivers/tty/serial/amba-pl011.c
> +++ b/drivers/tty/serial/amba-pl011.c
> @@ -2806,7 +2806,7 @@ static void __exit pl011_exit(void)
> * While this can be a module, if builtin it's most likely the console
> * So let's leave module_exit but move module_init to an earlier place
> */
> -arch_initcall(pl011_init);
> +device_initcall(pl011_init);
> module_exit(pl011_exit);
What's the ordering constraint that you're trying to solve with this?
The cover didn't mention anything, and there's no commit message.
Mark.
>
> MODULE_AUTHOR("ARM Ltd/Deep Blue Solutions Ltd");
> --
> 2.1.4
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Leif Lindholm <leif.lindholm@linaro.org> |
|---|---|
| Date | 2015-09-08 19:00 +0200 |
| Message-ID | <q6upt-1Fu-17@gated-at.bofh.it> |
| In reply to | #1220758 |
On Tue, Sep 08, 2015 at 01:56:08PM +0100, Mark Rutland wrote:
> On Tue, Sep 08, 2015 at 01:43:37PM +0100, Leif Lindholm wrote:
> > ---
> > drivers/tty/serial/amba-pl011.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
> > index 452dbba..31cf985 100644
> > --- a/drivers/tty/serial/amba-pl011.c
> > +++ b/drivers/tty/serial/amba-pl011.c
> > @@ -2806,7 +2806,7 @@ static void __exit pl011_exit(void)
> > * While this can be a module, if builtin it's most likely the console
> > * So let's leave module_exit but move module_init to an earlier place
> > */
> > -arch_initcall(pl011_init);
> > +device_initcall(pl011_init);
> > module_exit(pl011_exit);
>
> What's the ordering constraint that you're trying to solve with this?
Basically that _CRS is not available until the ACPI subsystem is up -
so when uart_add_one_port() calls acpi_console_check(), that function
looks for a match against variables that have not been set yet.
> The cover didn't mention anything, and there's no commit message.
That's because I really don't want it committed :)
> Mark.
>
> >
> > MODULE_AUTHOR("ARM Ltd/Deep Blue Solutions Ltd");
> > --
> > 2.1.4
> >
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web