[PATCH v9 1/8] thunderbolt: Macro rename

2016-11-09 Thread Amir Levy
This first patch updates the NHI Thunderbolt controller registers file to reflect that it is not only for Cactus Ridge. No functional change intended. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> Signed-off-by: Andreas Noever <andreas.noe...@gmail.com> --- drivers/thunderbol

[PATCH v9 4/8] thunderbolt: Networking state machine

2016-11-09 Thread Amir Levy
ndling - this is dealt with in the next patch. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/icm/Makefile | 2 +- drivers/thunderbolt/icm/icm_nhi.c | 262 - drivers/thunderbolt/icm/net.c | 783 ++ drivers/thunderbo

[PATCH v9 7/8] thunderbolt: Networking doc

2016-11-09 Thread Amir Levy
Adding Thunderbolt(TM) networking documentation. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- Documentation/00-INDEX | 2 + Documentation/thunderbolt/networking.txt | 132 +++ 2 files changed, 134 insertions(+) create mode

[PATCH v9 3/8] thunderbolt: Communication with the ICM (firmware)

2016-11-09 Thread Amir Levy
to be able to communicate with it. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/icm/Makefile |2 + drivers/thunderbolt/icm/icm_nhi.c | 1257 + drivers/thunderbolt/icm/icm_nhi.h | 85 +++ drivers/thunderbolt/icm/net.h

[PATCH v9 5/8] thunderbolt: Networking transmit and receive

2016-11-09 Thread Amir Levy
roller | | | +---+ || +---+ | ++++ Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/icm/icm_nhi.c | 15 + drivers/thunderbolt/icm/net.c | 1471 + 2 files changed, 1486 insertions(+) diff --git a/drivers/thunderbolt/icm/icm_nhi.

[PATCH v9 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking

2016-11-09 Thread Amir Levy
ence, here's a link to version 8: [v8]: https://lkml.org/lkml/2016/9/28/378 Amir Levy (8): thunderbolt: Macro rename thunderbolt: Updating the register definitions thunderbolt: Communication with the ICM (firmware) thunderbolt: Networking state machine thunderbolt: Networking transmit

[PATCH v9 6/8] thunderbolt: Kconfig for Thunderbolt Networking

2016-11-09 Thread Amir Levy
bolt feature that was previous available to Linux users on either Apple or non-Apple platforms. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/Kconfig | 27 +++ drivers/thunderbolt/Makefile | 3 ++- 2 files changed, 25 insertions(+),

[PATCH v9 8/8] thunderbolt: Adding maintainer entry

2016-11-09 Thread Amir Levy
Add Amir Levy as maintainer for Thunderbolt(TM) ICM driver Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- MAINTAINERS | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 411e3b8..87763c44 100644 --- a/MAINTAINERS +++ b/MAINT

[PATCH v9 2/8] thunderbolt: Updating the register definitions

2016-11-09 Thread Amir Levy
Adding more Thunderbolt(TM) register definitions and some helper macros. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/nhi_regs.h | 109 + 1 file changed, 109 insertions(+) diff --git a/drivers/thunderbolt/nhi_regs.h b/d

[PATCH v8 1/8] thunderbolt: Macro rename

2016-09-28 Thread Amir Levy
This first patch updates the NHI Thunderbolt controller registers file to reflect that it is not only for Cactus Ridge. No functional change intended. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> Signed-off-by: Andreas Noever <andreas.noe...@gmail.com> --- drivers/thunderbol

[PATCH v8 4/8] thunderbolt: Networking state machine

2016-09-28 Thread Amir Levy
ndling - this is dealt with in the next patch. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/icm/Makefile | 2 +- drivers/thunderbolt/icm/icm_nhi.c | 262 - drivers/thunderbolt/icm/net.c | 783 ++ drivers/thunderbo

[PATCH v8 7/8] thunderbolt: Networking doc

2016-09-28 Thread Amir Levy
Adding Thunderbolt(TM) networking documentation. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- Documentation/00-INDEX | 2 + Documentation/thunderbolt/networking.txt | 132 +++ 2 files changed, 134 insertions(+) create mode

[PATCH v8 6/8] thunderbolt: Kconfig for Thunderbolt Networking

2016-09-28 Thread Amir Levy
bolt feature that was previous available to Linux users on either Apple or non-Apple platforms. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/Kconfig | 27 +++ drivers/thunderbolt/Makefile | 3 ++- 2 files changed, 25 insertions(+),

[PATCH v8 3/8] thunderbolt: Communication with the ICM (firmware)

2016-09-28 Thread Amir Levy
to be able to communicate with it. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/icm/Makefile |2 + drivers/thunderbolt/icm/icm_nhi.c | 1251 + drivers/thunderbolt/icm/icm_nhi.h | 82 +++ drivers/thunderbolt/icm/net.h

[PATCH v8 2/8] thunderbolt: Updating the register definitions

2016-09-28 Thread Amir Levy
Adding more Thunderbolt(TM) register definitions and some helper macros. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/nhi_regs.h | 109 + 1 file changed, 109 insertions(+) diff --git a/drivers/thunderbolt/nhi_regs.h b/d

[PATCH v8 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking

2016-09-28 Thread Amir Levy
]: https://lkml.org/lkml/2016/9/27/244 Amir Levy (8): thunderbolt: Macro rename thunderbolt: Updating the register definitions thunderbolt: Communication with the ICM (firmware) thunderbolt: Networking state machine thunderbolt: Networking transmit and receive thunderbolt: Kconfig

[PATCH v7 3/8] thunderbolt: Kconfig for Thunderbolt Networking

2016-09-27 Thread Amir Levy
bolt feature that was previous available to Linux users on either Apple or non-Apple platforms. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/Kconfig | 27 +++ drivers/thunderbolt/Makefile | 2 +- 2 files changed, 24 insertions(+),

[PATCH v7 2/8] thunderbolt: Updating the register definitions

2016-09-27 Thread Amir Levy
Adding more Thunderbolt(TM) register definitions and some helper macros. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/nhi_regs.h | 109 + 1 file changed, 109 insertions(+) diff --git a/drivers/thunderbolt/nhi_regs.h b/d

[PATCH v7 4/8] thunderbolt: Communication with the ICM (firmware)

2016-09-27 Thread Amir Levy
to be able to communicate with it. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/Makefile |1 + drivers/thunderbolt/icm/Makefile |2 + drivers/thunderbolt/icm/icm_nhi.c | 1324 + drivers/thunderbolt/icm/icm_nhi.h

[PATCH v7 1/8] thunderbolt: Macro rename

2016-09-27 Thread Amir Levy
This first patch updates the NHI Thunderbolt controller registers file to reflect that it is not only for Cactus Ridge. No functional change intended. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> Signed-off-by: Andreas Noever <andreas.noe...@gmail.com> --- drivers/thunderbol

[PATCH v7 8/8] thunderbolt: Adding maintainer entry

2016-09-27 Thread Amir Levy
Add Amir Levy as maintainer for Thunderbolt(TM) ICM driver Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- MAINTAINERS | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 01bff8e..a4a4614 100644 --- a/MAINTAINERS +++ b/MAINT

[PATCH v7 6/8] thunderbolt: Networking transmit and receive

2016-09-27 Thread Amir Levy
roller | | | +---+ || +---+ | ++++ Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/icm/icm_nhi.c | 15 + drivers/thunderbolt/icm/net.c | 1471 + 2 files changed, 1486 insertions(+) diff --git a/drivers/thunderbolt/icm/icm_nhi.

[PATCH v7 5/8] thunderbolt: Networking state machine

2016-09-27 Thread Amir Levy
ndling - this is dealt with in the next patch. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/icm/Makefile | 2 +- drivers/thunderbolt/icm/icm_nhi.c | 303 ++- drivers/thunderbolt/icm/net.c | 793 ++ drivers/thunderbo

[PATCH v7 7/8] thunderbolt: Networking doc

2016-09-27 Thread Amir Levy
Adding Thunderbolt(TM) networking documentation. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- Documentation/00-INDEX | 2 + Documentation/thunderbolt/networking.txt | 132 +++ 2 files changed, 134 insertions(+) create mode

[PATCH v6 4/8] thunderbolt: Communication with the ICM (firmware)

2016-08-01 Thread Amir Levy
Firmware-based (a.k.a ICM - Intel Connection Manager) controller is used for establishing and maintaining the Thunderbolt Networking connection. We need to be able to communicate with it. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/Makefile |1 + d

[PATCH v6 6/8] thunderbolt: Networking transmit and receive

2016-08-01 Thread Amir Levy
Handling the transmission to second peer and receiving from it. This includes communication with upper layer, the network stack and configuration of Thunderbolt(TM) HW. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/icm/icm_nhi.c | 15 + drivers/thunderbo

[PATCH v6 1/8] thunderbolt: Macro rename

2016-08-01 Thread Amir Levy
This first patch updates the registers file to reflect that it isn't only for Cactus Ridge. No functional change intended. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/nhi_regs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/d

[PATCH v6 7/8] thunderbolt: Networking doc

2016-08-01 Thread Amir Levy
Adding Thunderbolt(TM) networking documentation. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- Documentation/00-INDEX | 2 + Documentation/thunderbolt-networking.txt | 135 +++ 2 files changed, 137 insertions(+) create mode

[PATCH v6 2/8] thunderbolt: Updating the register definitions

2016-08-01 Thread Amir Levy
Adding more Thunderbolt(TM) register definitions and some helper macros. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/nhi_regs.h | 109 + 1 file changed, 109 insertions(+) diff --git a/drivers/thunderbolt/nhi_regs.h b/d

[PATCH v6 3/8] thunderbolt: Kconfig for Thunderbolt(TM) networking

2016-08-01 Thread Amir Levy
Updating the Kconfig Thunderbolt(TM) description. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/Kconfig | 25 + drivers/thunderbolt/Makefile | 2 +- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/drivers/thunderbolt/K

[PATCH v6 0/8] thunderbolt: Introducing Thunderbolt(TM) networking

2016-08-01 Thread Amir Levy
: https://github.com/01org/thunderbolt-software-kernel-tree Daemon code: https://github.com/01org/thunderbolt-software-daemon For reference, here's a link to version 5: [v5]: https://lkml.org/lkml/2016/7/28/85 Amir Levy (8): thunderbolt: Macro rename thunderbolt: Updating

[PATCH v6 5/8] thunderbolt: Networking state machine

2016-08-01 Thread Amir Levy
Negotiation states that a peer goes through in order to establish the communication with the second peer. This includes communication with upper layer and additional infrastructure support to communicate with the second peer through ICM. Signed-off-by: Amir Levy <amir.jer.l...@intel.

[PATCH v5 3/8] thunderbolt: Kconfig for Thunderbolt(TM) networking

2016-07-28 Thread Amir Levy
Updating the Kconfig Thunderbolt(TM) description. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/Kconfig | 25 + drivers/thunderbolt/Makefile | 2 +- 2 files changed, 22 insertions(+), 5 deletions(-) diff --git a/drivers/thunderbolt/K

[PATCH v5 7/8] thunderbolt: Networking doc

2016-07-28 Thread Amir Levy
Adding Thunderbolt(TM) networking documentation. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- Documentation/00-INDEX | 2 + Documentation/thunderbolt-networking.txt | 135 +++ 2 files changed, 137 insertions(+) create mode

[PATCH v5 4/8] thunderbolt: Communication with the ICM (firmware)

2016-07-28 Thread Amir Levy
Firmware-based (a.k.a ICM - Intel Connection Manager) controller is used for establishing and maintaining the Thunderbolt Networking connection. We need to be able to communicate with it. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/Makefile |1 + d

[PATCH v5 6/8] thunderbolt: Networking transmit and receive

2016-07-28 Thread Amir Levy
Handling the transmission to second peer and receiving from it. This includes communication with upper layer, the network stack and configuration of Thunderbolt(TM) HW. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/icm/icm_nhi.c | 15 + drivers/thunderbo

[PATCH v5 5/8] thunderbolt: Networking state machine

2016-07-28 Thread Amir Levy
Negotiation states that a peer goes through in order to establish the communication with the second peer. This includes communication with upper layer and additional infrastructure support to communicate with the second peer through ICM. Signed-off-by: Amir Levy <amir.jer.l...@intel.

[PATCH v5 8/8] thunderbolt: Adding maintainer entry

2016-07-28 Thread Amir Levy
Add Amir Levy as maintainer for Thunderbolt(TM) ICM driver Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- MAINTAINERS | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 771c31c..5f24eb2 100644 --- a/MAINTAINERS +++ b/MAINT

[PATCH v5 1/8] thunderbolt: Macro rename

2016-07-28 Thread Amir Levy
This first patch updates the registers file to reflect that it isn't only for Cactus Ridge. No functional change intended. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/nhi_regs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/d

[PATCH v5 2/8] thunderbolt: Updating the register definitions

2016-07-28 Thread Amir Levy
Adding more Thunderbolt(TM) register definitions and some helper macros. Signed-off-by: Amir Levy <amir.jer.l...@intel.com> --- drivers/thunderbolt/nhi_regs.h | 109 + 1 file changed, 109 insertions(+) diff --git a/drivers/thunderbolt/nhi_regs.h b/d