Re: [PATCH v3 1/5] ACPI: change __init to __ref for early_acpi_os_unmap_memory()

2016-02-22 Thread Aleksey Makarov
On 02/19/2016 06:25 PM, Peter Hurley wrote: > On 02/19/2016 02:42 AM, Aleksey Makarov wrote: >> Hi Peter, >> >> Thank you for review. >> >> On 02/19/2016 01:03 AM, Peter Hurley wrote: >>> On 02/17/2016 07:36 PM, Zheng, Lv wrote: >>>> Hi,

Re: [PATCH v3 1/5] ACPI: change __init to __ref for early_acpi_os_unmap_memory()

2016-02-22 Thread Aleksey Makarov
On 02/19/2016 08:20 PM, Christopher Covington wrote: > > > On February 19, 2016 10:25:50 AM EST, Peter Hurley > wrote: >> On 02/19/2016 02:42 AM, Aleksey Makarov wrote: >>> Hi Peter, >>> >>> Thank you for review. >>> >>> On 02/19

Re: [PATCH v3 1/5] ACPI: change __init to __ref for early_acpi_os_unmap_memory()

2016-02-22 Thread Aleksey Makarov
Hi, On 02/22/2016 05:24 AM, Zheng, Lv wrote: > Hi, > >> From: Aleksey Makarov [mailto:aleksey.maka...@linaro.org] >> Subject: Re: [PATCH v3 1/5] ACPI: change __init to __ref for >> early_acpi_os_unmap_memory() >> >> Hi Lv, >> >> On 02/19/2016

Re: [PATCH v3 2/5] ACPI: parse SPCR and enable matching console

2016-02-22 Thread Aleksey Makarov
Hi Yury, Thank you for review/suggestions. I will address it all in the next version except for... On 02/21/2016 12:42 PM, Yury Norov wrote: > On Mon, Feb 15, 2016 at 09:05:26PM +0300, Aleksey Makarov wrote: >> 'ARM Server Base Boot Requiremets' [1] mentions SPCR (Ser

[PATCH v2 1/9] printk: fix name and type of some variables

2016-02-12 Thread Aleksey Makarov
onsole was set by ACPI. Renaming was suggested by Peter Hurley Signed-off-by: Aleksey Makarov Tested-by: Christopher Covington --- kernel/printk/printk.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c

[PATCH v2 0/9] ACPI: parse the SPCR table

2016-02-12 Thread Aleksey Makarov
ibrary/windows/hardware/dn639132(v=vs.85).aspx Aleksey Makarov (8): printk: fix name and type of some variables ACPI: Change __init to __ref for early_acpi_os_unmap_memory() ACPI: introduce acpi_table_parse2() ACPI: parse SPCR and enable matching console ACPI: enable ACPI_SPCR_TABLE on ARM64

[PATCH v2 6/9] ACPI: add definition of DBG2 subtypes

2016-02-12 Thread Aleksey Makarov
.85).aspx [2] https://msdn.microsoft.com/en-us/library/windows/hardware/dn639132(v=vs.85).aspx Signed-off-by: Aleksey Makarov Tested-by: Christopher Covington --- include/acpi/actbl2.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/acpi/actbl2.h b/include/acpi/actbl2.h index

[PATCH v2 8/9] serial: 8250: add acpi_match

2016-02-12 Thread Aleksey Makarov
From: Mark Salter Add an implementation of acpi_match() to the 8250 driver. It allows console to check if it matches the console specified by ACPI SPCR table. Signed-off-by: Mark Salter Signed-off-by: Aleksey Makarov --- drivers/tty/serial/8250/8250_core.c | 23 +++ 1

[PATCH v2 9/9] serial: pl011: use SPCR to setup 32-bit access

2016-02-12 Thread Aleksey Makarov
the SPCR table 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 Tested-by: Christopher Covington --- drivers/acp

[PATCH v2 7/9] serial: pl011: add acpi_match

2016-02-12 Thread Aleksey Makarov
Add an implementation of acpi_match() to the pl011 driver. It allows console to check if it matches the console specified by ACPI SPCR table. Signed-off-by: Aleksey Makarov Tested-by: Christopher Covington --- drivers/tty/serial/amba-pl011.c | 22 ++ 1 file changed, 22

[PATCH v2 5/9] ACPI: enable ACPI_SPCR_TABLE on ARM64

2016-02-12 Thread Aleksey Makarov
SBBR mentions SPCR as a mandatory ACPI table. So enable it for ARM64 Signed-off-by: Aleksey Makarov Tested-by: Christopher Covington --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 6bb21d8..75739cd 100644 --- a/arch/arm64

[PATCH v2 3/9] ACPI: introduce acpi_table_parse2()

2016-02-12 Thread Aleksey Makarov
The function acpi_table_parse() has some problems: 1 It can be called only from __init code 2 It does not pass any data to the handler 3 It just throws out the value returned from the handler These issues are addressed in this patch Signed-off-by: Aleksey Makarov --- drivers/acpi/tables.c | 49

[PATCH v2 2/9] ACPI: Change __init to __ref for early_acpi_os_unmap_memory()

2016-02-12 Thread Aleksey Makarov
inserted. When this table accessed before acpi_gbl_permanent_mmap is set, the pointer should be unmapped. This is exactly what this function does. Signed-off-by: Aleksey Makarov --- drivers/acpi/osl.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/acpi/osl.c b/drivers

[PATCH v2 4/9] ACPI: parse SPCR and enable matching console

2016-02-12 Thread Aleksey Makarov
.jsp?topic=/com.arm.doc.den0044a/index.html [2] http://msdn.microsoft.com/en-us/library/windows/hardware/dn639131(v=vs.85).aspx [3] https://lkml.kernel.org/g/1441716217-23786-1-git-send-email-leif.lindh...@linaro.org Signed-off-by: Aleksey Makarov --- drivers/acpi/Kconfig| 3 ++ dr

Re: [PATCH v3 4/7] ACPI: parse DBG2 table

2016-03-01 Thread Aleksey Makarov
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. >> >> - Implemen

Re: [PATCH v3 1/7] of/serial: move earlycon early_param handling to serial

2016-03-01 Thread Aleksey Makarov
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_

Re: [PATCH v3 5/7] ACPI: serial: implement earlycon on ACPI DBG2 port

2016-03-01 Thread Aleksey Makarov
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_db

Re: [PATCH v3 6/7] ACPI: enable ACPI_DBG2_TABLE on ARM64

2016-03-01 Thread Aleksey Makarov
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

Re: [PATCH v4 2/4] ACPI: enable ACPI_SPCR_TABLE on ARM64

2016-03-01 Thread Aleksey Makarov
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,

Re: [PATCH v3 1/7] of/serial: move earlycon early_param handling to serial

2016-03-01 Thread Aleksey Makarov
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

Re: [PATCH v3 4/7] ACPI: parse DBG2 table

2016-03-01 Thread Aleksey Makarov
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]

[PATCH v4 0/3] Add AMBA bus probing support to ACPI

2015-12-23 Thread Aleksey Makarov
As discussed when Shannon Zhao sent a patch to add platform_device support to pl061 driver. Russel and other maintainers prefered that ACPI learned how to create AMBA devices rather than converting/adding platform_device support to AMBA drivers. http://comments.gmane.org/gmane.linux.ports.arm.kern

[PATCH v4 3/3] serial: amba-pl011: add ACPI support to AMBA probe

2015-12-23 Thread Aleksey Makarov
From: Graeme Gregory In ACPI this device is only defined in SBSA mode so if we are coming from ACPI use this mode. Signed-off-by: Graeme Gregory Signed-off-by: Aleksey Makarov --- drivers/tty/serial/amba-pl011.c | 37 ++--- 1 file changed, 26 insertions(+), 11

[PATCH v4 2/3] ACPI: scan add in amba probing

2015-12-23 Thread Aleksey Makarov
From: Graeme Gregory Add a new ACPI scan handler for AMBA devices. Signed-off-by: Graeme Gregory Signed-off-by: Aleksey Makarov --- drivers/acpi/scan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 78d5f02..20c8cba 100644 --- a/drivers

[PATCH v4 1/3] ACPI: amba bus probing support

2015-12-23 Thread Aleksey Makarov
: Graeme Gregory Signed-off-by: Aleksey Makarov --- drivers/acpi/Makefile| 1 + drivers/acpi/acpi_amba.c | 140 +++ drivers/acpi/internal.h | 5 ++ 3 files changed, 146 insertions(+) create mode 100644 drivers/acpi/acpi_amba.c diff --git a

Re: [PATCH 2/3] ACPI: parse SPCR and enable matching console

2016-01-28 Thread Aleksey Makarov
On 01/28/2016 03:45 AM, Peter Hurley wrote: > On 01/27/2016 05:57 AM, Aleksey Makarov wrote: >> >> >> On 01/25/2016 07:32 PM, Peter Hurley wrote: >>> On 01/25/2016 03:45 AM, Aleksey Makarov wrote: >>>> 'ARM Server Base Boot Requiremets' [1

[PATCH v2 2/3] ACPI: scan add in amba probing

2015-12-21 Thread Aleksey Makarov
From: Graeme Gregory Add a new ACPI scan handler for AMBA devices. Signed-off-by: Graeme Gregory Signed-off-by: Aleksey Makarov --- drivers/acpi/scan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 78d5f02..20c8cba 100644 --- a/drivers

[PATCH v2 1/3] ACPI: amba bus probing support

2015-12-21 Thread Aleksey Makarov
: Graeme Gregory Signed-off-by: Aleksey Makarov --- drivers/acpi/Makefile| 1 + drivers/acpi/acpi_amba.c | 149 +++ drivers/acpi/internal.h | 5 ++ 3 files changed, 155 insertions(+) create mode 100644 drivers/acpi/acpi_amba.c diff --git a

[PATCH v2 0/3] Add AMBA bus probing support to ACPI

2015-12-21 Thread Aleksey Makarov
As discussed when Shannon Zhao sent a patch to add platform_device support to pl061 driver. Russel and other maintainers prefered that ACPI learned how to create AMBA devices rather than converting/adding platform_device support to AMBA drivers. http://comments.gmane.org/gmane.linux.ports.arm.kern

[PATCH v2 3/3] serial: amba-pl011: add ACPI support to AMBA probe

2015-12-21 Thread Aleksey Makarov
From: Graeme Gregory In ACPI this device is only defined in SBSA mode so if we are coming from ACPI use this mode. Signed-off-by: Graeme Gregory Signed-off-by: Aleksey Makarov --- drivers/tty/serial/amba-pl011.c | 37 ++--- 1 file changed, 26 insertions(+), 11

[PATCH v3 0/3] Add AMBA bus probing support to ACPI

2015-12-21 Thread Aleksey Makarov
As discussed when Shannon Zhao sent a patch to add platform_device support to pl061 driver. Russel and other maintainers prefered that ACPI learned how to create AMBA devices rather than converting/adding platform_device support to AMBA drivers. http://comments.gmane.org/gmane.linux.ports.arm.kern

[PATCH v3 1/3] ACPI: amba bus probing support

2015-12-21 Thread Aleksey Makarov
: Graeme Gregory Signed-off-by: Aleksey Makarov --- drivers/acpi/Makefile| 1 + drivers/acpi/acpi_amba.c | 149 +++ drivers/acpi/internal.h | 5 ++ 3 files changed, 155 insertions(+) create mode 100644 drivers/acpi/acpi_amba.c diff --git a

[PATCH v3 3/3] serial: amba-pl011: add ACPI support to AMBA probe

2015-12-21 Thread Aleksey Makarov
From: Graeme Gregory In ACPI this device is only defined in SBSA mode so if we are coming from ACPI use this mode. Signed-off-by: Graeme Gregory Signed-off-by: Aleksey Makarov --- drivers/tty/serial/amba-pl011.c | 37 ++--- 1 file changed, 26 insertions(+), 11

[PATCH v3 2/3] ACPI: scan add in amba probing

2015-12-21 Thread Aleksey Makarov
From: Graeme Gregory Add a new ACPI scan handler for AMBA devices. Signed-off-by: Graeme Gregory Signed-off-by: Aleksey Makarov --- drivers/acpi/scan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c index 78d5f02..20c8cba 100644 --- a/drivers

Re: [PATCH 0/3] ACPI: parse the SPCR table

2016-01-27 Thread Aleksey Makarov
On 01/25/2016 07:11 PM, Peter Hurley wrote: > On 01/25/2016 03:45 AM, Aleksey Makarov wrote: >> This patchset is based on the patchset by Leif Lindholm [1] >> >> 'ARM Server Base Boot Requirements' [2] mention SPCR >> (Serial Port Console Redirection Table)

Re: [PATCH 2/3] ACPI: parse SPCR and enable matching console

2016-01-27 Thread Aleksey Makarov
On 01/25/2016 07:32 PM, Peter Hurley wrote: > On 01/25/2016 03:45 AM, Aleksey Makarov wrote: >> 'ARM Server Base Boot Requiremets' [1] mention SPCR (Serial Port >> Console Redirection Table) [2] as a mandatory ACPI table that >> specifies the configuration of se

[PATCH 1/3] printk: make preferred_console local static bool

2016-01-25 Thread Aleksey Makarov
The variable preferred_console is used only inside register_console() and it's semantics is boolean. Make it clear. Signed-off-by: Aleksey Makarov --- kernel/printk/printk.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/kernel/printk/printk.c b/kernel/p

[PATCH 3/3] serial: pl011: add acpi_match for amba-pl011.c

2016-01-25 Thread Aleksey Makarov
Add an implementation of acpi_match() to the pl011 driver. It allows to check if the console matches one specified with ACPI SPCR table. Signed-off-by: Aleksey Makarov --- drivers/tty/serial/amba-pl011.c | 14 ++ include/acpi/actbl2.h | 4 2 files changed, 18

[PATCH 0/3] ACPI: parse the SPCR table

2016-01-25 Thread Aleksey Makarov
n.org/legal/the-owf-1-0-agreements/owfa-1-0 Aleksey Makarov (3): printk: make preferred_console local static bool ACPI: parse SPCR and enable matching console serial: pl011: add acpi_match for amba-pl011.c arch/arm64/Kconfig | 1 + drivers/acpi/Kconfig| 3 +

[PATCH 2/3] ACPI: parse SPCR and enable matching console

2016-01-25 Thread Aleksey Makarov
rosoft.com/en-us/library/windows/hardware/dn639131(v=vs.85).aspx Signed-off-by: Aleksey Makarov --- arch/arm64/Kconfig | 1 + drivers/acpi/Kconfig| 3 ++ drivers/acpi/Makefile | 1 + drivers/acpi/spcr.c | 85 + include/linux/cons

Re: [PATCH 1/3] printk: make preferred_console local static bool

2016-01-25 Thread Aleksey Makarov
On 25.01.2016 18:45, Joe Perches wrote: On Mon, 2016-01-25 at 17:45 +0600, Aleksey Makarov wrote: The variable preferred_console is used only inside register_console() and it's semantics is boolean. Make it clear. This loses the index of the preferred console. I'm not sure this

Re: [PATCH 1/3] printk: make preferred_console local static bool

2016-01-25 Thread Aleksey Makarov
On 25.01.2016 19:23, Joe Perches wrote: On Mon, 2016-01-25 at 18:51 +0600, Aleksey Makarov wrote: On 25.01.2016 18:45, Joe Perches wrote: On Mon, 2016-01-25 at 17:45 +0600, Aleksey Makarov wrote: The variable preferred_console is used only inside register_console() and it's semanti

Re: [PATCH 1/3] printk: make preferred_console local static bool

2016-01-25 Thread Aleksey Makarov
On 25.01.2016 20:24, Andy Shevchenko wrote: On Mon, Jan 25, 2016 at 1:45 PM, Aleksey Makarov wrote: The variable preferred_console is used only inside register_console() and it's semantics is boolean. Make it clear. However the patch looks okay it brings imbalance to understandin

Re: [PATCH 2/3] ACPI: parse SPCR and enable matching console

2016-01-25 Thread Aleksey Makarov
On 25.01.2016 20:14, Andy Shevchenko wrote: On Mon, Jan 25, 2016 at 1:45 PM, Aleksey Makarov wrote: 'ARM Server Base Boot Requiremets' [1] mention SPCR (Serial Port Console Redirection Table) [2] as a mandatory ACPI table that specifies the configuration of serial console. Parse

Re: [PATCH 3/3] serial: pl011: add acpi_match for amba-pl011.c

2016-01-25 Thread Aleksey Makarov
On 25.01.2016 20:22, Andy Shevchenko wrote: On Mon, Jan 25, 2016 at 4:21 PM, Andy Shevchenko wrote: On Mon, Jan 25, 2016 at 1:45 PM, Aleksey Makarov wrote: Add an implementation of acpi_match() to the pl011 driver. It allows to check if the console matches one specified with ACPI SPCR

Re: [PATCH v7] SATA: OCTEON: support SATA on OCTEON platform

2016-02-04 Thread Aleksey Makarov
Hi Zubair, > + void __iomem *base; [..] > + cfg = cvmx_read_csr((uint64_t)base + CVMX_SATA_UCTL_SHIM_CFG); sparse will complain here. See Documentation/sparse.txt Thank you Aleksey Makarov

Re: [PATCH v6 1/2] ACPI: introduce a function to find the first physical device

2016-01-20 Thread Aleksey Makarov
Hi Andy, On 20.01.2016 21:12, Andy Shevchenko wrote: On Wed, Jan 20, 2016 at 4:29 PM, Aleksey Makarov wrote: Factor out the code that finds the first physical device of a given ACPI device. It is used in several places. Reviewed-by: Andy Shevchenko Signed-off-by: Aleksey Makarov Hmm

Re: [PATCH v8 3/3] printk: fix double printing with earlycon

2017-04-05 Thread Aleksey Makarov
it. It was great work. But the current solution of the cycle looks weird to me. Sorry for the delay. I will send next version soon. Thank you Aleksey Makarov

[PATCH v9 3/3] printk: fix double printing with earlycon

2017-04-05 Thread Aleksey Makarov
hing entry. Introduce variable console_cmdline_cnt that keeps the number of elements of the console_cmdline array (Petr Mladek). It helps to get rid of the loop that searches for the end of this array. Reported-by: Sudeep Holla Signed-off-by: Aleksey Makarov --- v8 -> v9: - Introduce variab

Re: [PATCH v9 3/3] printk: fix double printing with earlycon

2017-04-05 Thread Aleksey Makarov
On 04/06/2017 12:57 AM, Andy Shevchenko wrote: On Wed, Apr 5, 2017 at 11:20 PM, Aleksey Makarov wrote: If a console was specified by ACPI SPCR table _and_ command line parameters like "console=ttyAMA0" _and_ "earlycon" were specified, then log messages appear twice. Th

Re: [PATCH v9 3/3] printk: fix double printing with earlycon

2017-04-10 Thread Aleksey Makarov
On 04/10/2017 05:22 PM, Petr Mladek wrote: On Wed 2017-04-05 23:20:00, Aleksey Makarov wrote: If a console was specified by ACPI SPCR table _and_ command line parameters like "console=ttyAMA0" _and_ "earlycon" were specified, then log messages appear twice. The root ca

Re: [PATCH v9 3/3] printk: fix double printing with earlycon

2017-04-11 Thread Aleksey Makarov
On 04/11/2017 10:43 AM, Petr Mladek wrote: On Mon 2017-04-10 21:00:35, Aleksey Makarov wrote: On 04/10/2017 05:22 PM, Petr Mladek wrote: On Wed 2017-04-05 23:20:00, Aleksey Makarov wrote: [..] Thank you for review. Can you (or anybody else) ACK it? I am going to resend the whole

[PATCH net-next v2 1/2] net: add support for Cavium PTP coprocessor

2017-11-17 Thread Aleksey Makarov
From: Radoslaw Biernacki This patch adds support for the Precision Time Protocol Clocks and Timestamping hardware found on Cavium ThunderX processors. Signed-off-by: Radoslaw Biernacki Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/Kconfig | 13 + drivers/net

[PATCH net-next v2 0/2] net: thunderx: add support for PTP clock

2017-11-17 Thread Aleksey Makarov
This series adds support for IEEE 1588 Precision Time Protocol to Cavium ethernet driver. The first patch adds support for the Precision Time Protocol Clocks and Timestamping coprocessor (PTP) found on Cavium processors. It registers a new PTP clock in the PTP core and provides functions to use th

[PATCH net-next v2 2/2] net: thunderx: add timestamping support

2017-11-17 Thread Aleksey Makarov
tes a separate CQE with transmitted packet's timestamp. Also HW supports only one packet at a time for timestamping on the transmit side. Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/Kconfig| 1 + drivers/net/ethernet/cavium/thu

[PATCH net] net: thunderx: Fix TCP/UDP checksum offload for IPv6 pkts

2017-11-22 Thread Aleksey Makarov
nderx: Enable TSO and checksum offloads for ipv6") Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_queues.c b/d

[PATCH net v2] net: thunderx: Fix TCP/UDP checksum offload for IPv6 pkts

2017-11-23 Thread Aleksey Makarov
fload is set in the SQ descriptor. Fixes: 494fd005 ("net: thunderx: Enable TSO and checksum offloads for ipv6") Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 1 - 1 file changed, 1 deletion(-) v2: - Don&#x

Re: [PATCH net-next v5 1/2] net: add support for Cavium PTP coprocessor

2017-12-12 Thread Aleksey Makarov
Hi Richard, On 12/12/2017 01:59 AM, Richard Cochran wrote: Sorry I didn't finish reviewing before... On Mon, Dec 11, 2017 at 05:14:30PM +0300, Aleksey Makarov wrote: [ ... ] +static int cavium_ptp_probe(struct pci_dev *pdev, + const struct pci_device_id

[PATCH net-next v3 2/2] net: thunderx: add timestamping support

2017-12-06 Thread Aleksey Makarov
tes a separate CQE with transmitted packet's timestamp. Also HW supports only one packet at a time for timestamping on the transmit side. Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/Kconfig| 1 + drivers/net/ethernet/cavium/thu

[PATCH net-next v3 0/2] net: thunderx: add support for PTP clock

2017-12-06 Thread Aleksey Makarov
This series adds support for IEEE 1588 Precision Time Protocol to Cavium ethernet driver. The first patch adds support for the Precision Time Protocol Clocks and Timestamping coprocessor (PTP) found on Cavium processors. It registers a new PTP clock in the PTP core and provides functions to use th

[PATCH net-next v3 1/2] net: add support for Cavium PTP coprocessor

2017-12-06 Thread Aleksey Makarov
From: Radoslaw Biernacki This patch adds support for the Precision Time Protocol Clocks and Timestamping hardware found on Cavium ThunderX processors. Signed-off-by: Radoslaw Biernacki Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/Kconfig | 13 + drivers/net

[PATCH net-next] net: thunderx: fix double free error

2017-11-09 Thread Aleksey Makarov
n Ian King Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nic_main.c | 82 ++ 1 file changed, 30 insertions(+), 52 deletions(-) diff --git a/drivers/net/ethernet/cavium/thunder/nic_main.c b/drivers/net/ethernet/cavium/thunder/nic_main.c index c12a

[PATCH net-next 0/2] net: thunderx: add support for PTP clock

2017-11-07 Thread Aleksey Makarov
This series adds support for IEEE 1588 Precision Time Protocol to Cavium ethernet driver. The first patch adds support for the Precision Time Protocol Clocks and Timestamping coprocessor (PTP) found on Cavium processors. It registers a new PTP clock in the PTP core and provides functions to use th

[PATCH net-next 1/2] net: add support for Cavium PTP coprocessor

2017-11-07 Thread Aleksey Makarov
From: Radoslaw Biernacki This patch adds support for the Precision Time Protocol Clocks and Timestamping hardware found on Cavium ThunderX processors. Signed-off-by: Radoslaw Biernacki Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/Kconfig | 13 + drivers/net

[PATCH net-next 2/2] net: thunderx: add timestamping support

2017-11-07 Thread Aleksey Makarov
tes a separate CQE with transmitted packet's timestamp. Also HW supports only one packet at a time for timestamping on the transmit side. Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/Kconfig| 1 + drivers/net/ethernet/cavium/thu

Re: [PATCH net-next 1/2] net: add support for Cavium PTP coprocessor

2017-11-08 Thread Aleksey Makarov
On 11/07/2017 10:49 PM, David Daney wrote: On 11/07/2017 11:07 AM, Aleksey Makarov wrote: From: Radoslaw Biernacki This patch adds support for the Precision Time Protocol Clocks and Timestamping hardware found on Cavium ThunderX processors. Signed-off-by: Radoslaw Biernacki Signed-off-by

[PATCH net-next v4 0/2] net: thunderx: add support for PTP clock

2017-12-08 Thread Aleksey Makarov
This series adds support for IEEE 1588 Precision Time Protocol to Cavium ethernet driver. The first patch adds support for the Precision Time Protocol Clocks and Timestamping coprocessor (PTP) found on Cavium processors. It registers a new PTP clock in the PTP core and provides functions to use th

[PATCH net-next v4 1/2] net: add support for Cavium PTP coprocessor

2017-12-08 Thread Aleksey Makarov
From: Radoslaw Biernacki This patch adds support for the Precision Time Protocol Clocks and Timestamping hardware found on Cavium ThunderX processors. Signed-off-by: Radoslaw Biernacki Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/Kconfig | 12 + drivers/net

[PATCH net-next v4 2/2] net: thunderx: add timestamping support

2017-12-08 Thread Aleksey Makarov
tes a separate CQE with transmitted packet's timestamp. Also HW supports only one packet at a time for timestamping on the transmit side. Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/Kconfig| 1 + drivers/net/ethernet/cavium/thu

[PATCH net-next v5 0/2] net: thunderx: add support for PTP clock

2017-12-11 Thread Aleksey Makarov
This series adds support for IEEE 1588 Precision Time Protocol to Cavium ethernet driver. The first patch adds support for the Precision Time Protocol Clocks and Timestamping coprocessor (PTP) found on Cavium processors. It registers a new PTP clock in the PTP core and provides functions to use th

[PATCH net-next v5 1/2] net: add support for Cavium PTP coprocessor

2017-12-11 Thread Aleksey Makarov
From: Radoslaw Biernacki This patch adds support for the Precision Time Protocol Clocks and Timestamping hardware found on Cavium ThunderX processors. Signed-off-by: Radoslaw Biernacki Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/Kconfig | 12 + drivers/net

[PATCH net-next v5 2/2] net: thunderx: add timestamping support

2017-12-11 Thread Aleksey Makarov
tes a separate CQE with transmitted packet's timestamp. Also HW supports only one packet at a time for timestamping on the transmit side. Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/Kconfig| 1 + drivers/net/ethernet/cavium/thu

[PATCH net v3] net: thunderx: Fix TCP/UDP checksum offload for IPv6 pkts

2017-11-23 Thread Aleksey Makarov
fload is set in the SQ descriptor. Fixes: 3a9024f52c2e ("net: thunderx: Enable TSO and checksum offloads for ipv6") Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 1 - 1 file changed, 1 deletion(-) v3: - fix

[PATCH net v3] net: thunderx: Fix TCP/UDP checksum offload for IPv6 pkts

2017-11-23 Thread Aleksey Makarov
fload is set in the SQ descriptor. Fixes: 3a9024f52c2e ("net: thunderx: Enable TSO and checksum offloads for ipv6") Signed-off-by: Sunil Goutham Signed-off-by: Aleksey Makarov Reviewed-by: Eric Dumazet --- drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 1 - 1 file changed, 1

[PATCH net-next] net: thunderx: Add support for xdp redirect

2017-11-24 Thread Aleksey Makarov
From: Sunil Goutham This patch adds support for XDP_REDIRECT. Flush is not yet supported. Signed-off-by: Sunil Goutham Signed-off-by: cjacob Signed-off-by: Aleksey Makarov --- drivers/net/ethernet/cavium/thunder/nicvf_main.c | 110 - drivers/net/ethernet/cavium/thunder

[PATCH net-next] net: thunderx: Set max queue count taking XDP_TX into account

2017-11-24 Thread Aleksey Makarov
From: Sunil Goutham on T81 there are only 4 cores, hence setting max queue count to 4 would leave nothing for XDP_TX. This patch fixes this by doubling max queue count in above scenarios. Signed-off-by: Sunil Goutham Signed-off-by: cjacob Signed-off-by: Aleksey Makarov --- drivers/net

Re: [PATCH v10 3/4] ARM64: ACPI: enable ACPI_SPCR_TABLE

2016-09-09 Thread Aleksey Makarov
On 09/09/2016 12:29 PM, Will Deacon wrote: > On Wed, Sep 07, 2016 at 12:30:19PM +0300, Aleksey Makarov wrote: >> >> On 09/05/2016 03:36 PM, Aleksey Makarov wrote: >>> SBBR mentions SPCR as a mandatory ACPI table. So enable it for ARM64 >>> >>> Earl

Re: [PATCH v10 0/4] ACPI: parse the SPCR table

2016-09-12 Thread Aleksey Makarov
On 09/05/2016 03:36 PM, 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 console. Hi Rafael, Could you pull these patches plea

[PATCH v10 0/4] ACPI: parse the SPCR table

2016-09-05 Thread Aleksey Makarov
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-...@codeaurora.org Aleksey Makarov (3): ACPI: parse SPCR and enable matching console ARM64:

[PATCH v10 2/4] ACPI: parse SPCR and enable matching console

2016-09-05 Thread Aleksey Makarov
f required, enable specified console. Thanks to Peter Hurley for explaining how this should 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 Maka

[PATCH v10 3/4] ARM64: ACPI: enable ACPI_SPCR_TABLE

2016-09-05 Thread Aleksey Makarov
-arch. When ACPI_SPCR_TABLE is defined initialization of DT earlycon is deferred until the DT/ACPI decision is done. Initialize DT earlycon if ACPI is disabled. Signed-off-by: Aleksey Makarov Tested-by: Kefeng Wang Tested-by: Christopher Covington --- arch/arm64/Kconfig | 1 + arch/

[PATCH v10 4/4] serial: pl011: add console matching function

2016-09-05 Thread Aleksey Makarov
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 Reviewed-by: Peter Hurley

[PATCH v10 1/4] of/serial: move earlycon early_param handling to serial

2016-09-05 Thread Aleksey Makarov
ction from arch/microblaze/kernel/prom.c Signed-off-by: Leif Lindholm Signed-off-by: Aleksey Makarov Acked-by: Rob Herring Acked-by: Greg Kroah-Hartman Reviewed-by: Peter Hurley Tested-by: Kefeng Wang Tested-by: Christopher Covington --- drivers/of/fdt.c | 11 +-- dri

Re: [PATCH v9 4/4] serial: pl011: add console matching function

2016-08-15 Thread Aleksey Makarov
On 08/11/2016 06:31 PM, Aleksey Makarov wrote: > 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

Re: [PATCH v9 4/4] serial: pl011: add console matching function

2016-08-15 Thread Aleksey Makarov
On 08/15/2016 03:39 PM, Russell King - ARM Linux wrote: > On Thu, Aug 11, 2016 at 06:31:41PM +0300, Aleksey Makarov wrote: >> +/** >> + * pl011_console_match - non-standard console matching >> + * @co: registering console >> + * @name:name from consol

[PATCH v9 4/4] serial: pl011: add console matching function

2016-08-15 Thread Aleksey Makarov
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 Reviewed-by: Peter Hurley

Re: [PATCH v9 0/4] ACPI: parse the SPCR table

2016-08-15 Thread Aleksey Makarov
On 08/11/2016 06:31 PM, 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 console. Hi Rafael, The 4/4 patch just got an ACK fro

[PATCH] serial: pl011: add console matching function

2016-10-04 Thread Aleksey Makarov
of conflict with commit 46e36683f433 ("serial: earlycon: Extend earlycon command line option to support 64-bit addresses") Now it is fixed. Signed-off-by: Aleksey Makarov Reviewed-by: Peter Hurley Acked-by: Russell King Tested-by: Christopher Covington Signed-off-by: Greg Kro

Re: [PATCH v10 0/4] ACPI: parse the SPCR table

2016-09-16 Thread Aleksey Makarov
+ CC: Lorenzo Pieralisi On 09/05/2016 03:36 PM, 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 console. Hi Rafael, Could you

[PATCH v9 1/4] of/serial: move earlycon early_param handling to serial

2016-08-12 Thread Aleksey Makarov
ction from arch/microblaze/kernel/prom.c Signed-off-by: Leif Lindholm Signed-off-by: Aleksey Makarov Acked-by: Rob Herring Acked-by: Greg Kroah-Hartman Reviewed-by: Peter Hurley Tested-by: Kefeng Wang --- drivers/of/fdt.c | 11 +-- drivers/tty/serial/earlycon.c | 2 +-

<    1   2   3   4