opic=/com.arm.doc.den0044a/index.html
[2]
https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx
[3] https://lkml.kernel.org/g/cover.1458714002.git.lv.zh...@intel.com
[4]
https://lkml.kernel.org/g/1441716217-23786-1-git-send-email-leif.lindh...@linaro.org
[5]
https://lkml.k
opic=/com.arm.doc.den0044a/index.html
[2]
https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx
[3] https://lkml.kernel.org/g/cover.1458714002.git.lv.zh...@intel.com
[4]
https://lkml.kernel.org/g/1441716217-23786-1-git-send-email-leif.lindh...@linaro.org
[5]
https://lkml.k
o avoid clashing with the function from
arch/microblaze/kernel/prom.c
Signed-off-by: Leif Lindholm <leif.lindh...@linaro.org>
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org>
Acked-by: Rob Herring <r...@kernel.org>
---
drivers/of/fdt.c | 11 +--
from
arch/microblaze/kernel/prom.c
Signed-off-by: Leif Lindholm
Signed-off-by: Aleksey Makarov
Acked-by: Rob Herring
---
drivers/of/fdt.c | 11 +--
drivers/tty/serial/earlycon.c | 2 +-
include/linux/of_fdt.h| 2 ++
3 files changed, 4 insertions(+), 11 deletion
/dn639132(v=vs.85).aspx
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org>
---
drivers/acpi/Kconfig | 3 +
drivers/acpi/Makefile | 1 +
drivers/acpi/spcr.c | 125 ++
drivers/tty/serial/earlycon.c | 11 +++-
include
o avoid clashing with the function from
arch/microblaze/kernel/prom.c
Signed-off-by: Leif Lindholm <leif.lindh...@linaro.org>
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org>
---
drivers/of/fdt.c | 11 +--
drivers/tty/serial/earlycon.c | 2 +-
include/linu
/dn639132(v=vs.85).aspx
Signed-off-by: Aleksey Makarov
---
drivers/acpi/Kconfig | 3 +
drivers/acpi/Makefile | 1 +
drivers/acpi/spcr.c | 125 ++
drivers/tty/serial/earlycon.c | 11 +++-
include/linux/acpi.h | 8 +++
5
from
arch/microblaze/kernel/prom.c
Signed-off-by: Leif Lindholm
Signed-off-by: Aleksey Makarov
---
drivers/of/fdt.c | 11 +--
drivers/tty/serial/earlycon.c | 2 +-
include/linux/of_fdt.h| 2 ++
3 files changed, 4 insertions(+), 11 deletions(-)
diff --git a/driver
This patch adds function pl011_console_match() that implements
method match of struct console. It allows to match consoles against
data specified in a string, for example taken from command line or
compiled by ACPI SPCR table handler.
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.
.85).aspx
[2]
https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org>
---
include/acpi/actbl2.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index a
.
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org>
---
arch/arm64/Kconfig | 1 +
arch/arm64/kernel/acpi.c | 5 -
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 07b6a16..c77b4b2 100644
--- a/arch/arm64/Kconfig
+++
.85).aspx
[2]
https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx
Signed-off-by: Aleksey Makarov
---
include/acpi/actbl2.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index a4ef625..652f747 100644
.
Signed-off-by: Aleksey Makarov
---
arch/arm64/Kconfig | 1 +
arch/arm64/kernel/acpi.c | 5 -
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 07b6a16..c77b4b2 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -3,6 +3,7
This patch adds function pl011_console_match() that implements
method match of struct console. It allows to match consoles against
data specified in a string, for example taken from command line or
compiled by ACPI SPCR table handler.
Signed-off-by: Aleksey Makarov
---
drivers/tty/serial/amba
6217-23786-1-git-send-email-leif.lindh...@linaro.org
[4]
https://lkml.kernel.org/g/1457415800-8799-1-git-send-email-...@codeaurora.org
Aleksey Makarov (4):
ACPI: add definitions of DBG2 subtypes
ACPI: parse SPCR and enable matching console
ACPI: enable ACPI_SPCR_TABLE on ARM64
serial: pl011: add
6217-23786-1-git-send-email-leif.lindh...@linaro.org
[4]
https://lkml.kernel.org/g/1457415800-8799-1-git-send-email-...@codeaurora.org
Aleksey Makarov (4):
ACPI: add definitions of DBG2 subtypes
ACPI: parse SPCR and enable matching console
ACPI: enable ACPI_SPCR_TABLE on ARM64
serial: pl011: add
On 03/22/2016 07:15 PM, Peter Hurley wrote:
> On 03/22/2016 03:46 AM, Aleksey Makarov wrote:
>> This patch adds definition of early console data for pl011.
>> It allows setting up an early console with a string passed in
>> command line or compiled by the AC
On 03/22/2016 07:15 PM, Peter Hurley wrote:
> On 03/22/2016 03:46 AM, Aleksey Makarov wrote:
>> This patch adds definition of early console data for pl011.
>> It allows setting up an early console with a string passed in
>> command line or compiled by the AC
On 03/22/2016 07:51 PM, Yury Norov wrote:
> On Tue, Mar 22, 2016 at 07:57:04AM -0700, Peter Hurley wrote:
>
> [...]
>
+static bool init_earlycon;
+
+void __init init_spcr_earlycon(void)
+{
+ init_earlycon = true;
+}
+
>>>
>>> 1. I see you keep in mind
On 03/22/2016 07:51 PM, Yury Norov wrote:
> On Tue, Mar 22, 2016 at 07:57:04AM -0700, Peter Hurley wrote:
>
> [...]
>
+static bool init_earlycon;
+
+void __init init_spcr_earlycon(void)
+{
+ init_earlycon = true;
+}
+
>>>
>>> 1. I see you keep in mind
On 03/22/2016 07:07 PM, Peter Hurley wrote:
> On 03/22/2016 04:09 AM, Andy Shevchenko wrote:
>> On Tue, Mar 22, 2016 at 12:46 PM, Aleksey Makarov
>> <aleksey.maka...@linaro.org> wrote:
>>> + sprintf(opts, "%s,%s,0x%llx,%d", uart, iotype,
>&g
On 03/22/2016 07:07 PM, Peter Hurley wrote:
> On 03/22/2016 04:09 AM, Andy Shevchenko wrote:
>> On Tue, Mar 22, 2016 at 12:46 PM, Aleksey Makarov
>> wrote:
>>> + sprintf(opts, "%s,%s,0x%llx,%d", uart, iotype,
>>> + table->seri
On 03/22/2016 02:15 PM, Rob Herring wrote:
> On Tue, Mar 22, 2016 at 5:46 AM, Aleksey Makarov
> <aleksey.maka...@linaro.org> wrote:
>> From: Leif Lindholm <leif.lindh...@linaro.org>
>>
>> We have multiple "earlycon" early_param handlers - merge t
On 03/22/2016 02:15 PM, Rob Herring wrote:
> On Tue, Mar 22, 2016 at 5:46 AM, Aleksey Makarov
> wrote:
>> From: Leif Lindholm
>>
>> We have multiple "earlycon" early_param handlers - merge the DT one into
>> the main earlycon one. It's a cleanup that
.
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org>
---
arch/arm64/Kconfig | 1 +
arch/arm64/kernel/acpi.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 07b6a16..c77b4b2 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@
work.
[1]
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0044a/index.html
[2]
https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org>
---
drivers/acpi/Kconfig | 3 ++
driver
.
Signed-off-by: Aleksey Makarov
---
arch/arm64/Kconfig | 1 +
arch/arm64/kernel/acpi.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 07b6a16..c77b4b2 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -3,6 +3,7 @@ config ARM64
work.
[1]
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0044a/index.html
[2]
https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx
Signed-off-by: Aleksey Makarov
---
drivers/acpi/Kconfig | 3 ++
drivers/acpi/Makefile | 1
.85).aspx
[2]
https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org>
---
include/acpi/actbl2.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index a
.85).aspx
[2]
https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx
Signed-off-by: Aleksey Makarov
---
include/acpi/actbl2.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index a4ef625..652f747 100644
This patch adds definition of early console data for pl011.
It allows setting up an early console with a string passed in
command line or compiled by the ACPI SPCR table handler.
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org>
---
drivers/tty/serial/amba-pl011.c | 1 +
1 file c
This patch adds definition of early console data for pl011.
It allows setting up an early console with a string passed in
command line or compiled by the ACPI SPCR table handler.
Signed-off-by: Aleksey Makarov
---
drivers/tty/serial/amba-pl011.c | 1 +
1 file changed, 1 insertion(+)
diff --git
This patch adds function pl011_console_match() that implements
method match of struct console. It allows to match consoles against
data specified in a string, for example taken from command line or
compiled by ACPI SPCR table handler.
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.
This patch adds function pl011_console_match() that implements
method match of struct console. It allows to match consoles against
data specified in a string, for example taken from command line or
compiled by ACPI SPCR table handler.
Signed-off-by: Aleksey Makarov
---
drivers/tty/serial/amba
/help/index.jsp?topic=/com.arm.doc.den0044a/index.html
[2]
https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx
[3]
https://lkml.kernel.org/g/1441716217-23786-1-git-send-email-leif.lindh...@linaro.org
[4]
https://lkml.kernel.org/g/1457415800-8799-1-git-send-email-...@codea
/help/index.jsp?topic=/com.arm.doc.den0044a/index.html
[2]
https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx
[3]
https://lkml.kernel.org/g/1441716217-23786-1-git-send-email-leif.lindh...@linaro.org
[4]
https://lkml.kernel.org/g/1457415800-8799-1-git-send-email-...@codea
@linaro.org>
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org>
---
drivers/of/fdt.c | 11 +--
drivers/tty/serial/earlycon.c | 3 ++-
include/linux/of_fdt.h| 2 ++
3 files changed, 5 insertions(+), 11 deletions(-)
diff --git a/drivers/of/fdt.c b/dr
From: Leif Lindholm
We have multiple "earlycon" early_param handlers - merge the DT one into
the main earlycon one. It's a cleanup that also will be useful
to decide if ACPI SPCR earlycon should be set up.
Signed-off-by: Leif Lindholm
Signed-off-by: Aleksey Makarov
---
driver
Thank you
Aleksey Makarov
On 04.03.2016 22:47, Peter Hurley wrote:
On 03/04/2016 03:53 AM, Aleksey Makarov wrote:
On 03/03/2016 06:35 PM, Peter Hurley wrote:
On 03/03/2016 03:59 AM, Aleksey Makarov wrote:
On 03/01/2016 06:31 PM, Peter Hurley wrote:
On 02/29/2016 04:02 AM, Aleksey Makarov wr
Thank you
Aleksey Makarov
On 04.03.2016 22:47, Peter Hurley wrote:
On 03/04/2016 03:53 AM, Aleksey Makarov wrote:
On 03/03/2016 06:35 PM, Peter Hurley wrote:
On 03/03/2016 03:59 AM, Aleksey Makarov wrote:
On 03/01/2016 06:31 PM, Peter Hurley wrote:
On 02/29/2016 04:02 AM, Aleksey Makarov wr
On 03/03/2016 08:48 PM, Peter Hurley wrote:
> On 03/01/2016 08:57 AM, Aleksey Makarov wrote:
>>
>>
>> On 03/01/2016 06:53 PM, Peter Hurley wrote:
>>> On 02/29/2016 04:42 AM, Aleksey Makarov wrote:
>>>> Add ACPI_DBG2_EARLYCON_DECLARE() macros that de
On 03/03/2016 08:48 PM, Peter Hurley wrote:
> On 03/01/2016 08:57 AM, Aleksey Makarov wrote:
>>
>>
>> On 03/01/2016 06:53 PM, Peter Hurley wrote:
>>> On 02/29/2016 04:42 AM, Aleksey Makarov wrote:
>>>> Add ACPI_DBG2_EARLYCON_DECLARE() macros that de
On 03/03/2016 07:40 PM, Peter Hurley wrote:
> On 03/01/2016 10:19 AM, Aleksey Makarov wrote:
>>
>>
>> On 03/01/2016 08:22 PM, Peter Hurley wrote:
>>> On 03/01/2016 08:24 AM, Aleksey Makarov wrote:
>>>>
>>>>
>>>> On 03/01/2016 0
On 03/03/2016 07:40 PM, Peter Hurley wrote:
> On 03/01/2016 10:19 AM, Aleksey Makarov wrote:
>>
>>
>> On 03/01/2016 08:22 PM, Peter Hurley wrote:
>>> On 03/01/2016 08:24 AM, Aleksey Makarov wrote:
>>>>
>>>>
>>>> On 03/01/2016 0
On 03/03/2016 06:35 PM, Peter Hurley wrote:
> On 03/03/2016 03:59 AM, Aleksey Makarov wrote:
>>
>>
>> On 03/01/2016 06:31 PM, Peter Hurley wrote:
>>> On 02/29/2016 04:02 AM, Aleksey Makarov wrote:
>>>> 'ARM Server Base Boot Requirements' [1] mentions
On 03/03/2016 06:35 PM, Peter Hurley wrote:
> On 03/03/2016 03:59 AM, Aleksey Makarov wrote:
>>
>>
>> On 03/01/2016 06:31 PM, Peter Hurley wrote:
>>> On 02/29/2016 04:02 AM, Aleksey Makarov wrote:
>>>> 'ARM Server Base Boot Requirements' [1] mentions
On 03/01/2016 06:31 PM, Peter Hurley wrote:
> On 02/29/2016 04:02 AM, Aleksey Makarov wrote:
>> 'ARM Server Base Boot Requirements' [1] mentions SPCR (Serial Port
>> Console Redirection Table) [2] as a mandatory ACPI table that
>> specifies the configuration of serial con
On 03/01/2016 06:31 PM, Peter Hurley wrote:
> On 02/29/2016 04:02 AM, Aleksey Makarov wrote:
>> 'ARM Server Base Boot Requirements' [1] mentions SPCR (Serial Port
>> Console Redirection Table) [2] as a mandatory ACPI table that
>> specifies the configuration of serial con
On 03/01/2016 08:25 PM, Peter Hurley wrote:
> On 03/01/2016 09:02 AM, Aleksey Makarov wrote:
>>
>>
>> On 03/01/2016 05:52 PM, Peter Hurley wrote:
>>> On 02/29/2016 04:42 AM, Aleksey Makarov wrote:
>>>> SBBR mentions DBG2 as a mandatory ACPI table.
&g
On 03/01/2016 08:25 PM, Peter Hurley wrote:
> On 03/01/2016 09:02 AM, Aleksey Makarov wrote:
>>
>>
>> On 03/01/2016 05:52 PM, Peter Hurley wrote:
>>> On 02/29/2016 04:42 AM, Aleksey Makarov wrote:
>>>> SBBR mentions DBG2 as a mandatory ACPI table.
&g
On 03/01/2016 08:22 PM, Peter Hurley wrote:
> On 03/01/2016 08:24 AM, Aleksey Makarov wrote:
>>
>>
>> On 03/01/2016 05:49 PM, Peter Hurley wrote:
>>> On 02/29/2016 04:42 AM, Aleksey Makarov wrote:
>>>> 'ARM Server Base Boot Requirements' [1] mentions D
On 03/01/2016 08:22 PM, Peter Hurley wrote:
> On 03/01/2016 08:24 AM, Aleksey Makarov wrote:
>>
>>
>> On 03/01/2016 05:49 PM, Peter Hurley wrote:
>>> On 02/29/2016 04:42 AM, Aleksey Makarov wrote:
>>>> 'ARM Server Base Boot Requirements' [1] mentions D
On 03/01/2016 08:24 PM, Peter Hurley wrote:
> On 03/01/2016 08:31 AM, Aleksey Makarov wrote:
>>
>>
>> On 03/01/2016 05:50 PM, Peter Hurley wrote:
>>> On 02/29/2016 04:41 AM, Aleksey Makarov wrote:
>>>> From: Leif Lindholm <leif.lindh...@lin
On 03/01/2016 08:24 PM, Peter Hurley wrote:
> On 03/01/2016 08:31 AM, Aleksey Makarov wrote:
>>
>>
>> On 03/01/2016 05:50 PM, Peter Hurley wrote:
>>> On 02/29/2016 04:41 AM, Aleksey Makarov wrote:
>>>> From: Leif Lindholm
>>>>
>>>&g
On 03/01/2016 06:27 PM, Peter Hurley wrote:
> On 02/29/2016 04:02 AM, Aleksey Makarov wrote:
>> SBBR mentions SPCR as a mandatory ACPI table.
>> So enable it for ARM64
>
> Why is this opt-in per-arch?
It could depend only on CONFIG_ACPI.
I will do that in the next version,
On 03/01/2016 06:27 PM, Peter Hurley wrote:
> On 02/29/2016 04:02 AM, Aleksey Makarov wrote:
>> SBBR mentions SPCR as a mandatory ACPI table.
>> So enable it for ARM64
>
> Why is this opt-in per-arch?
It could depend only on CONFIG_ACPI.
I will do that in the next version,
On 03/01/2016 05:52 PM, Peter Hurley wrote:
> On 02/29/2016 04:42 AM, Aleksey Makarov wrote:
>> SBBR mentions DBG2 as a mandatory ACPI table.
>> So enable it for ARM64
>
> Why does this have to be opted-in per-arch?
DBG2 can specify earlycons. They should start as soon
On 03/01/2016 05:52 PM, Peter Hurley wrote:
> On 02/29/2016 04:42 AM, Aleksey Makarov wrote:
>> SBBR mentions DBG2 as a mandatory ACPI table.
>> So enable it for ARM64
>
> Why does this have to be opted-in per-arch?
DBG2 can specify earlycons. They should start as soon
On 03/01/2016 06:53 PM, Peter Hurley wrote:
> On 02/29/2016 04:42 AM, Aleksey Makarov wrote:
>> Add ACPI_DBG2_EARLYCON_DECLARE() macros that declares
>> an earlycon on the serial port specified in the DBG2 ACPI table.
>>
>> Pass the string "earlycon=acpi
On 03/01/2016 06:53 PM, Peter Hurley wrote:
> On 02/29/2016 04:42 AM, Aleksey Makarov wrote:
>> Add ACPI_DBG2_EARLYCON_DECLARE() macros that declares
>> an earlycon on the serial port specified in the DBG2 ACPI table.
>>
>> Pass the string "earlycon=acpi
On 03/01/2016 05:50 PM, Peter Hurley wrote:
> On 02/29/2016 04:41 AM, Aleksey Makarov wrote:
>> From: Leif Lindholm <leif.lindh...@linaro.org>
>>
>> We have multiple "earlycon" early_param handlers - merge the DT one into
>> the main earlycon one. This
On 03/01/2016 05:50 PM, Peter Hurley wrote:
> On 02/29/2016 04:41 AM, Aleksey Makarov wrote:
>> From: Leif Lindholm
>>
>> We have multiple "earlycon" early_param handlers - merge the DT one into
>> the main earlycon one. This means the earlycon early_
On 03/01/2016 05:49 PM, Peter Hurley wrote:
> On 02/29/2016 04:42 AM, Aleksey Makarov wrote:
>> 'ARM Server Base Boot Requirements' [1] mentions DBG2 (Microsoft Debug
>> Port Table 2) [2] as a mandatory ACPI table that specifies debug ports.
>>
>> - Implement macros
&
On 03/01/2016 05:49 PM, Peter Hurley wrote:
> On 02/29/2016 04:42 AM, Aleksey Makarov wrote:
>> 'ARM Server Base Boot Requirements' [1] mentions DBG2 (Microsoft Debug
>> Port Table 2) [2] as a mandatory ACPI table that specifies debug ports.
>>
>> - Implement macros
&
Hi Andy,
Thank you for review.
On 02/29/2016 04:29 PM, Andy Shevchenko wrote:
> On Mon, Feb 29, 2016 at 2:02 PM, Aleksey Makarov
> <aleksey.maka...@linaro.org> wrote:
>> 'ARM Server Base Boot Requiremets' [1] mentions SPCR (Serial Port
>> Console Redirection Table) [2] a
Hi Andy,
Thank you for review.
On 02/29/2016 04:29 PM, Andy Shevchenko wrote:
> On Mon, Feb 29, 2016 at 2:02 PM, Aleksey Makarov
> wrote:
>> 'ARM Server Base Boot Requiremets' [1] mentions SPCR (Serial Port
>> Console Redirection Table) [2] as a mandatory ACPI table
callback validator.
Instead, pass the sideband data specified by the driver.
- Fix the driver's callback signatures: a. Add an unused pointer to void
for table matchers (currently only clocksource callback) b. Change
the type of sideband data to kernel_ulong_t.
Signed-off-by: Aleksey Makarov
callback validator.
Instead, pass the sideband data specified by the driver.
- Fix the driver's callback signatures: a. Add an unused pointer to void
for table matchers (currently only clocksource callback) b. Change
the type of sideband data to kernel_ulong_t.
Signed-off-by: Aleksey Makarov
holm <leif.lindh...@linaro.org>
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org>
---
drivers/of/fdt.c | 11 +--
drivers/tty/serial/earlycon.c | 3 ++-
include/linux/of_fdt.h| 2 ++
3 files changed, 5 insertions(+), 11 deletions(-)
diff --git a/drivers
SBBR mentions DBG2 as a mandatory ACPI table.
So enable it for ARM64
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org>
---
arch/arm64/Kconfig | 1 +
arch/arm64/kernel/acpi.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
From: Leif Lindholm
We have multiple "earlycon" early_param handlers - merge the DT one into
the main earlycon one. This means the earlycon early_param handler does
not just return success if no options are specified.
Signed-off-by: Leif Lindholm
Signed-off-by: Aleksey Makarov
--
SBBR mentions DBG2 as a mandatory ACPI table.
So enable it for ARM64
Signed-off-by: Aleksey Makarov
---
arch/arm64/Kconfig | 1 +
arch/arm64/kernel/acpi.c | 2 ++
2 files changed, 3 insertions(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 9dc5209..0b614d4 100644
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org>
---
Documentation/kernel-parameters.txt | 3 ++
drivers/tty/serial/earlycon.c | 60 +
include/linux/acpi_dbg2.h | 20 +
3 files changed, 83 insertions(+)
diff --git a/Docu
.
- For each declared port that is also described in the ACPI DBG2 table
call the provided callback.
[1]
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0044a/index.html
[2] http://go.microsoft.com/fwlink/p/?LinkId=234837
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.
a...@linaro.org
[4]
https://lkml.kernel.org/g/1441716217-23786-1-git-send-email-leif.lindh...@linaro.org
Aleksey Makarov (6):
ACPI: add definitions of DBG2 subtypes
ACPI: genaralize iterating over subtables in ACPI_PROBE_TABLE()
ACPI: parse DBG2 table
ACPI: serial: implement earlycon on ACP
Add a handler for ACPI DBG2 serial port of type ACPI_DBG2_ARM_PL011
that sets up an earlycon on it.
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org>
---
drivers/tty/serial/amba-pl011.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/tty/serial/amba-pl011.c b/drive
Signed-off-by: Aleksey Makarov
---
Documentation/kernel-parameters.txt | 3 ++
drivers/tty/serial/earlycon.c | 60 +
include/linux/acpi_dbg2.h | 20 +
3 files changed, 83 insertions(+)
diff --git a/Documentation/kernel-paramet
.
- For each declared port that is also described in the ACPI DBG2 table
call the provided callback.
[1]
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0044a/index.html
[2] http://go.microsoft.com/fwlink/p/?LinkId=234837
Signed-off-by: Aleksey Makarov
---
drivers/acpi/Kconfig
://lkml.kernel.org/g/1441716217-23786-1-git-send-email-leif.lindh...@linaro.org
Aleksey Makarov (6):
ACPI: add definitions of DBG2 subtypes
ACPI: genaralize iterating over subtables in ACPI_PROBE_TABLE()
ACPI: parse DBG2 table
ACPI: serial: implement earlycon on ACPI DBG2 port
ACPI: enable ACPI
Add a handler for ACPI DBG2 serial port of type ACPI_DBG2_ARM_PL011
that sets up an earlycon on it.
Signed-off-by: Aleksey Makarov
---
drivers/tty/serial/amba-pl011.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/tty/serial/amba-pl011.c b/drivers/tty/serial/amba-pl011.c
index
.85).aspx
[2]
https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org>
---
include/acpi/actbl2.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index a
.85).aspx
[2]
https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx
Signed-off-by: Aleksey Makarov
---
include/acpi/actbl2.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index a4ef625..652f747 100644
is ACPI_DBG2_ARM_SBSA_32BIT.
How this value is described in the DBG2 spec:
"(deprecated) ARM SBSA (2.x only) Generic UART supporting only
32-bit accesses"
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org>
---
drivers/acpi/spcr.c | 22 ++
dr
/index.html
[2]
http://msdn.microsoft.com/en-us/library/windows/hardware/dn639131(v=vs.85).aspx
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org>
---
drivers/acpi/Kconfig | 3 +
drivers/acpi/Makefile| 1 +
drivers/acpi/spcr.c
is ACPI_DBG2_ARM_SBSA_32BIT.
How this value is described in the DBG2 spec:
"(deprecated) ARM SBSA (2.x only) Generic UART supporting only
32-bit accesses"
Signed-off-by: Aleksey Makarov
---
drivers/acpi/spcr.c | 22 ++
drivers/tty/serial/amba-pl
/index.html
[2]
http://msdn.microsoft.com/en-us/library/windows/hardware/dn639131(v=vs.85).aspx
Signed-off-by: Aleksey Makarov
---
drivers/acpi/Kconfig | 3 +
drivers/acpi/Makefile| 1 +
drivers/acpi/spcr.c | 116 +++
drivers
.85).aspx
[2]
https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org>
---
include/acpi/actbl2.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index a
.85).aspx
[2]
https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx
Signed-off-by: Aleksey Makarov
---
include/acpi/actbl2.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index a4ef625..652f747 100644
SBBR mentions SPCR as a mandatory ACPI table.
So enable it for ARM64
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org>
---
arch/arm64/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 9dc5209..544af2e 100644
--- a/arch
SBBR mentions SPCR as a mandatory ACPI table.
So enable it for ARM64
Signed-off-by: Aleksey Makarov
---
arch/arm64/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 9dc5209..544af2e 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
it-send-email-leif.lindh...@linaro.org
Aleksey Makarov (4):
ACPI: parse SPCR and enable matching console
ACPI: enable ACPI_SPCR_TABLE on ARM64
ACPI: add definitions of DBG2 subtypes
serial: pl011: use ACPI SPCR to setup 32-bit access
arch/arm64/Kconfig | 1 +
drivers
it-send-email-leif.lindh...@linaro.org
Aleksey Makarov (4):
ACPI: parse SPCR and enable matching console
ACPI: enable ACPI_SPCR_TABLE on ARM64
ACPI: add definitions of DBG2 subtypes
serial: pl011: use ACPI SPCR to setup 32-bit access
arch/arm64/Kconfig | 1 +
drivers
fine, I use the approach I described in the last mail, it works.
Thank you
Aleksey Makarov
>
> Thanks and best regards
> -Lv
>
>> From: Aleksey Makarov [mailto:aleksey.maka...@linaro.org]
>> Sent: Monday, February 22, 2016 10:58 PM
>> Subject: Re: [PATCH v3 1/5] ACPI: c
fine, I use the approach I described in the last mail, it works.
Thank you
Aleksey Makarov
>
> Thanks and best regards
> -Lv
>
>> From: Aleksey Makarov [mailto:aleksey.maka...@linaro.org]
>> Sent: Monday, February 22, 2016 10:58 PM
>> Subject: Re: [PATCH v3 1/5] ACPI: c
Hi Matthias,
On 02/24/2016 09:22 PM, Matthias Brugger wrote:
>
>
> On 24/02/16 18:10, Aleksey Makarov wrote:
>> From: Leif Lindholm <leif.lindh...@linaro.org>
>>
>> In order to support selecting earlycon via either ACPI or DT, move
>> the decision o
Hi Matthias,
On 02/24/2016 09:22 PM, Matthias Brugger wrote:
>
>
> On 24/02/16 18:10, Aleksey Makarov wrote:
>> From: Leif Lindholm
>>
>> In order to support selecting earlycon via either ACPI or DT, move
>> the decision on whether to attempt ACPI configuration
On 02/24/2016 08:17 PM, Moore, Robert wrote:
> I've got these for the next release of ACPICA
It have not been pulled to linux-next but is required for the patchset.
So I included it here.
>
>
>> -Original Message-
>> From: Aleksey Makarov [mailto:aleksey.maka..
On 02/24/2016 08:17 PM, Moore, Robert wrote:
> I've got these for the next release of ACPICA
It have not been pulled to linux-next but is required for the patchset.
So I included it here.
>
>
>> -Original Message-
>> From: Aleksey Makarov [mailto:aleksey.maka..
.85).aspx
[2]
https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx
Signed-off-by: Aleksey Makarov <aleksey.maka...@linaro.org>
---
include/acpi/actbl2.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index a
.85).aspx
[2]
https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx
Signed-off-by: Aleksey Makarov
---
include/acpi/actbl2.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h
index a4ef625..652f747 100644
301 - 400 of 780 matches
Mail list logo