[patch v11 11/12] platform/mellanox: mlxreg-hotplug: Add check for negative adapter number value

2018-01-24 Thread Vadim Pasternak
Verify before creation of hotplug device if the associated adapter number is negative. It could be in case hotplug event is not associated with hotplug device. Signed-off-by: Vadim Pasternak --- drivers/platform/mellanox/mlxreg-hotplug.c | 8 1 file changed, 8 insertions(+) diff --git

[patch v11 10/12] platform/x86: mlx-platform: Extend register map configuration with IO access verification callbacks

2018-01-24 Thread Vadim Pasternak
Add definitions for hotplug device masks and events offsets. Extend register map configuration with the sets of writable, readable and volatile registers to allow verification prior to the access. Extend register map configuration with cache type field: use flat type. Signed-off-by: Vadim

[patch v11 09/12] platform/x86: mlx-platform: Simplify IO access to regmap context

2018-01-24 Thread Vadim Pasternak
. Add missed description of pdev_hotplug for struct mlxplat_priv. Signed-off-by: Vadim Pasternak --- drivers/platform/x86/mlx-platform.c | 25 - 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/drivers/platform/x86/mlx-platform.c b/drivers/platform/x86/mlx

[patch v11 - re-ordered 03/12] FIXME platform/mellanox: Remove redundant dev_err messages on device_create

2018-01-24 Thread Vadim Pasternak
The upper layer will manage and report errors returned by the create and destroy functions. FIXME: but it doesn't - we don't even check Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko [dvhart: refactored into smaller functional changes] Signed-off-by: Darren Ha

[patch v11 - re-ordered 04/12] platform/mellanox: Group create/destroy with attribute functions

2018-01-24 Thread Vadim Pasternak
Move the mlxreg_hotplug_device_create and _destroy functions up with the related attribute functions. No functional changes. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko [dvhart: refactored commit into smaller functional changes] Signed-off-by: Darren Hart (VMware) --- drivers

[patch v11 - re-ordered 05/12] platform/mellanox: Rename i2c bus to nr

2018-01-24 Thread Vadim Pasternak
Use Linux convention of nr instead of bus for i2c adapter number. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko [dvhart: refactored commit into smaller functional changes] Signed-off-by: Darren Hart (VMware) --- drivers/platform/mellanox/mlxreg-hotplug.c | 2 +- drivers/platform

RE: [patch v10 4/6] platform/mellanox: mlxreg-hotplug: Modify to use a regmap interface

2018-01-24 Thread Vadim Pasternak
> -Original Message- > From: Darren Hart [mailto:dvh...@infradead.org] > Sent: Wednesday, January 24, 2018 12:58 AM > To: Vadim Pasternak > Cc: andy.shevche...@gmail.com; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; platform-driver-...@vger.kernel.org

[patch v10 1/6] platform/mellanox: mlxreg-hotplug: Remove unused wait.h include

2018-01-23 Thread Vadim Pasternak
The driver does not make use of anything defined in wait.h. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- v9->v10: Fixes provideded by Darren: - make separate patch for cleaning unused includes; - do not remove spinlock.h from includes and make; --- drivers/platform/mella

[patch v10 6/6] platform/mellanox: mlxreg-hotplug: Enable building for ARM

2018-01-23 Thread Vadim Pasternak
Add ARM in addition to X86 as supported architectures in the Mellanox Hotplug Platform driver Kconfig entry. Signed-off-by: Vadim Pasternak --- v10->v9 v9->v8 Comments pointed out by Darren: - Leave in this patch only the code related to ARM architecture. Move other code to a se

[patch v10 5/6] platform/mellanox: mlxreg-hotplug: Add check for negative adapter number value

2018-01-23 Thread Vadim Pasternak
Verify before creation of hotplug device if the associated adapter number is negative. It could be in case hotplug event is not associated with hotplug device. Signed-off-by: Vadim Pasternak --- v10->v9: Fixes added by Vadim: - add this patch to the series; --- drivers/platform/mella

[patch v10 4/6] platform/mellanox: mlxreg-hotplug: Modify to use a regmap interface

2018-01-23 Thread Vadim Pasternak
devices attached to different bus types, such as I2C, LPC, or SPI. Add a device node to the mlxreg_core_data structure. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- v10->v9: Fixes provided by Vadim: - add missed description of pdev_hotplug for struct mlxplat_priv; - remove str

[patch v10 2/6] platform/mellanox: Group create/destroy with attribute functions

2018-01-23 Thread Vadim Pasternak
Move the mlxreg_hotplug_device_create and _destroy functions up with the related attribute functions. No functional changes. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko v9->v10: Fixes provideded by Darren: - make separate patch for relocating create/destroy; --- drivers/platf

[patch v10 3/6] platform/mellanox: Rename i2c bus to nr

2018-01-23 Thread Vadim Pasternak
Use Linux convention of nr instead of bus for i2c adapter number. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- v9->v10: Fixes provideded by Darren: - refactore commit into smaller functional changes; --- drivers/platform/mellanox/mlxreg-hotplug.c | 6 +++--- drivers/platf

RE: [patch v9 0/4] drivers/platform: Replace module x86/mlxcpld-hotplug with mellanox/mlxreg-hotplug

2018-01-23 Thread Vadim Pasternak
> -Original Message- > From: Darren Hart [mailto:dvh...@infradead.org] > Sent: Tuesday, January 23, 2018 6:13 AM > To: Vadim Pasternak > Cc: andy.shevche...@gmail.com; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; platform-driver-...@vger.kernel.org

[patch v9 1/4] platform/x86: Move Mellanox hardware platform hotplug driver to platform/mellanox

2018-01-17 Thread Vadim Pasternak
It moves drivers/platform/x86/mlxcpld-hotplug.c to drivers/platform/mellanox/mlxreg-hotplug.c and include/linux/platform_data/mlxcpld-hotplug.h to include/linux/platform_data/mlxreg.h for making hotplug driver usable for the different machine architectures. Signed-off-by: Vadim Pasternak Acked

[patch v9 4/4] platform/mellanox: mlxreg-hotplug: Modify to use a regmap interface

2018-01-17 Thread Vadim Pasternak
ne initial assignments when it cleans up the declaration block. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- v8->v9: Fixes provideded by Vadim: - Simplify exit path in mlxreg-hotplug - Cleanup local variable declarations driver. Separate inline initial assignments when it

[patch v9 3/4] platform/mellanox: mlxreg-hotplug: Code cleanup

2018-01-17 Thread Vadim Pasternak
the beginning of the mlxreg-hotplug.c in order to have attribute related code at the same location. Add to structure mlxreg_hotplug_device device node handle for devices defined in device table tree; Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- v9->v8 Comments pointed out

[patch v9 2/4] platform/mellanox: mlxreg-hotplug: Allow driver for ARM architecture

2018-01-17 Thread Vadim Pasternak
It allows driver to run on x86 and ARM architecture based systems. Signed-off-by: Vadim Pasternak --- v9->v8 Comments pointed out by Darren: - Leave in this patch only the code related to ARM architecture. Move other code to a separate patch, since it is not related to subj

[patch v9 0/4] drivers/platform: Replace module x86/mlxcpld-hotplug with mellanox/mlxreg-hotplug

2018-01-17 Thread Vadim Pasternak
attached to different interfaces types, like I2C, LPC, SPI; driver drivers/platform/x86/mlx-platform.c is updated according to new interface. Vadim Pasternak (4): platform/x86: Move Mellanox hardware platform hotplug driver to platform/mellanox platform/mellanox: mlxreg-hotplug

[patch v1 1/1] platform/x86: mlx-platform: Allow compilation for 32 bit arch

2018-01-17 Thread Vadim Pasternak
It makes mlx-platform available for 32 bit architecture. Signed-off-by: Vadim Pasternak --- drivers/platform/x86/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 8a07df5..b9b40e3 100644 --- a/drivers/platform/x86

RE: [patch v8 0/3] drivers/platform: replace module x86/mlxcpld-hotplug with mellanox/mlxreg-hotplug

2018-01-16 Thread Vadim Pasternak
> -Original Message- > From: Darren Hart [mailto:dvh...@infradead.org] > Sent: Tuesday, January 16, 2018 5:50 AM > To: Vadim Pasternak > Cc: andy.shevche...@gmail.com; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; platform-driver-...@vger.kernel.org

RE: [patch v8 2/3] platform/mellanox: mlxreg-hotplug: allow driver for ARM architecture

2018-01-16 Thread Vadim Pasternak
> -Original Message- > From: Darren Hart [mailto:dvh...@infradead.org] > Sent: Tuesday, January 16, 2018 5:43 AM > To: Vadim Pasternak > Cc: andy.shevche...@gmail.com; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; platform-driver-...@vger.kernel.org

RE: [patch v8 1/3] platform/x86: move Mellanox hardware platform hotplug driver to platform/mellanox

2018-01-16 Thread Vadim Pasternak
> -Original Message- > From: Darren Hart [mailto:dvh...@infradead.org] > Sent: Tuesday, January 16, 2018 5:43 AM > To: Vadim Pasternak > Cc: andy.shevche...@gmail.com; gre...@linuxfoundation.org; linux- > ker...@vger.kernel.org; platform-driver-...@vger.kernel.org

[patch v8 3/3] platform/mellanox: mlxreg-hotplug: modify to use regmap intreface

2018-01-10 Thread Vadim Pasternak
hardware. It allows to support hotplug event functionality over programmable devices logic, when these devices can be attached to different interfaces types, like I2C, LPC, SPI. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- v7->v8 v6->v7 Fixes added by Vadim: -

[patch v8 1/3] platform/x86: move Mellanox hardware platform hotplug driver to platform/mellanox

2018-01-10 Thread Vadim Pasternak
It moves drivers/platform/x86/mlxcpld-hotplug.c to drivers/platform/mellanox/mlxreg-hotplug.c and include/linux/platform_data/mlxcpld-hotplug.h to include/linux/platform_data/mlxreg.h for making hotplug driver usable for the different machine architectures. Signed-off-by: Vadim Pasternak Acked

[patch v8 2/3] platform/mellanox: mlxreg-hotplug: allow driver for ARM architecture

2018-01-10 Thread Vadim Pasternak
It allows driver to run on x86 and ARM architecture based systems. Also some unnecessary includes are removed. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- v7->v8 Fixes added by Vadim: - Drop routines using of_update_property. It causes Kbuild error for ia64 arch during

[patch v8 0/3] drivers/platform: replace module x86/mlxcpld-hotplug with mellanox/mlxreg-hotplug

2018-01-10 Thread Vadim Pasternak
interfaces types, like I2C, LPC, SPI; driver drivers/platform/x86/mlx-platform.c is updated according to new interface. Vadim Pasternak (3): platform/x86: move Mellanox hardware platform hotplug driver to platform/mellanox platform/mellanox: mlxreg-hotplug: allow driver for ARM

[patch v7 2/3] platform/mellanox: mlxreg-hotplug: allow driver for ARM architecture

2018-01-08 Thread Vadim Pasternak
It allows driver to run on x86 and ARM architecture based systems. And allows to specify hotplug device parameters through the device table tree files. Also some unnecessary includes are removed. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- v6->v7 Fixes added by Vadim: - D

[patch v7 3/3] platform/mellanox: mlxreg-hotplug: modify to use regmap intreface

2018-01-08 Thread Vadim Pasternak
hardware. It allows to support hotplug event functionality over programmable devices logic, when these devices can be attached to different interfaces types, like I2C, LPC, SPI. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- v6->v7 Fixes added by Vadim: - Remove include

[patch v7 0/3] rivers/platform: replace module x86/mlxcpld-hotplug with mellanox/mlxreg-hotplug

2018-01-08 Thread Vadim Pasternak
interfaces types, like I2C, LPC, SPI; driver drivers/platform/x86/mlx-platform.c is updated according to new interface. Vadim Pasternak (3): platform/x86: move Mellanox hardware platform hotplug driver to platform/mellanox platform/mellanox: mlxreg-hotplug: allow driver for ARM

[patch v7 1/3] platform/x86: move Mellanox hardware platform hotplug driver to platform/mellanox

2018-01-08 Thread Vadim Pasternak
It moves drivers/platform/x86/mlxcpld-hotplug.c to drivers/platform/mellanox/mlxreg-hotplug.c and include/linux/platform_data/mlxcpld-hotplug.h to include/linux/platform_data/mlxreg.h for making hotplug driver usable for the different machine architectures. Signed-off-by: Vadim Pasternak Acked

[patch v6 2/3] platform/mellanox: mlxreg-hotplug: allow driver for ARM architecture

2017-12-18 Thread Vadim Pasternak
It allows driver to run on x86 and ARM architecture based systems. And allows to specify hotplug device parameters through the device table tree files. Also some unnecessary includes are removed. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- v5->v6: v4->v5: Comments point

[patch v6 3/3] platform/mellanox: mlxreg-hotplug: modify to use regmap intreface

2017-12-18 Thread Vadim Pasternak
hardware. It allows to support hotplug event functionality over programmable devices logic, when these devices can be attached to different interfaces types, like I2C, LPC, SPI. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- v5->v6: Fixes added by Vadim: - ren

[patch v6 1/3] platform/x86: move Mellanox hardware platform hotplug driver to platform/mellanox

2017-12-18 Thread Vadim Pasternak
It moves drivers/platform/x86/mlxcpld-hotplug.c to drivers/platform/mellanox/mlxreg-hotplug.c and include/linux/platform_data/mlxcpld-hotplug.h to include/linux/platform_data/mlxreg.h for making hotplug driver usable for the different machine architectures. Signed-off-by: Vadim Pasternak Acked

[patch v6 0/3] drivers/platform: replace module x86/mlxcpld-hotplug with mellanox/mlxreg-hotplug

2017-12-18 Thread Vadim Pasternak
interfaces types, like I2C, LPC, SPI; driver drivers/platform/x86/mlx-platform.c is updated according to new interface. Vadim Pasternak (3): platform/x86: move Mellanox hardware platform hotplug driver to platform/mellanox platform/mellanox: mlxreg-hotplug: allow driver for ARM

[patch v5 3/3] platform/mellanox: mlxreg-hotplug: modify to use regmap intreface

2017-10-18 Thread Vadim Pasternak
hardware. It allows to support hotplug event functionality over programmable devices logic, when these devices can be attached to different interfaces types, like I2C, LPC, SPI. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- v4->v5: Comments pointed out by Andy: -

[patch v5 1/3] platform/x86: move Mellanox hardware platform hotplug driver to platform/mellanox

2017-10-18 Thread Vadim Pasternak
It moves drivers/platform/x86/mlxcpld-hotplug.c to drivers/platform/mellanox/mlxreg-hotplug.c and include/linux/platform_data/mlxcpld-hotplug.h to include/linux/platform_data/mlxreg.h for making hotplug driver usable for the different machine architectures. Signed-off-by: Vadim Pasternak Acked

[patch v5 2/3] platform/mellanox: mlxreg-hotplug: allow driver for ARM architecture

2017-10-18 Thread Vadim Pasternak
It allows driver to run on x86 and ARM architecture based systems. And allows to specify hotplug device parameters through the device table tree files. Also some unnecessary includes are removed. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- v4->v5: Comments pointed out by A

[patch v5 0/3] drivers/platform: replace module x86/mlxcpld-hotplug with mellanox/mlxreg-hotplug

2017-10-18 Thread Vadim Pasternak
interfaces types, like I2C, LPC, SPI; driver drivers/platform/x86/mlx-platform.c is updated according to new interface. Vadim Pasternak (3): platform/x86: move Mellanox hardware platform hotplug driver to platform/mellanox platform/mellanox: mlxreg-hotplug: allow driver for ARM

[patch v4 3/3] platform/mellanox: mlxreg-hotplug: modify to use regmap intreface

2017-10-17 Thread Vadim Pasternak
hardware. It allows to support hotplug event functionality over programmable devices logic, when these devices can be attached to different interfaces types, like I2C, LPC, SPI. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- drivers/platform/mellanox/Kconfig | 1

[patch v4 2/3] platform/mellanox: mlxreg-hotplug: allow driver for ARM architecture

2017-10-17 Thread Vadim Pasternak
It allows driver to run on x86 and ARM architecture based systems. And allows to specify hotplug device parameters through the device table tree files. Also some unnecessary includes are removed. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- drivers/platform/mellanox/Kconfig

[patch v4 1/3] platform/x86: move Mellanox hardware platform hotplug driver to platform/mellanox

2017-10-17 Thread Vadim Pasternak
It moves drivers/platform/x86/mlxcpld-hotplug.c to drivers/platform/mellanox/mlxreg-hotplug.c and include/linux/platform_data/mlxcpld-hotplug.h to include/linux/platform_data/mlxreg.h for making hotplug driver usable for the different machine architectures. Signed-off-by: Vadim Pasternak Acked

[patch v4 0/3] drivers/platform: replace module x86/mlxcpld-hotplug with mellanox/mlxreg-hotplug

2017-10-17 Thread Vadim Pasternak
interfaces types, like I2C, LPC, SPI; driver drivers/platform/x86/mlx-platform.c is updated according to new interface. Vadim Pasternak (3): platform/x86: move Mellanox hardware platform hotplug driver to platform/mellanox platform/mellanox: mlxreg-hotplug: allow driver for ARM

[patch v3 1/3] platform/mellanox: Introduce Mellanox hardware platform hotplug driver

2017-09-11 Thread Vadim Pasternak
and ARM architectures. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- v2->v3: Fixes added by Vadim for kbuild test robot issue: - Disable of_update_property calls if COMPILE_TEST is configured in mlxreg-hotplug driver; v1->v2: Fixes added by Vadim: - Add include

[patch v3 2/3] platform/x86: mlx-platform: modify hotplug device activation

2017-09-11 Thread Vadim Pasternak
It modifies mlx-platform driver hotplug interface. Instead driver mlxcpld-hotplug, which is to be removed, mlx-platform will use more generic architecture independent and regmap based mlxreg-hotplug driver. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- drivers/platform/x86

[patch v3 3/3] platform/x86: mlxcpld-hotplug: driver removing

2017-09-11 Thread Vadim Pasternak
It removes mlxcpld-hotplug. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- MAINTAINERS | 7 - drivers/platform/x86/mlxcpld-hotplug.c| 515 -- include/linux/platform_data/mlxcpld-hotplug.h | 99 - 3 files

[patch v3 0/3] drivers/platform: replace module x86/mlxcpld-hotplug with mellanox/mlxreg-hotplug

2017-09-11 Thread Vadim Pasternak
/mlx-platform.c is updated according to new interface. Relevant Makefile and Kconfig are updated. New include file include/linux/platform_data/mlxreg.h from this patch is added to allow kbuild testing. Vadim Pasternak (3): platform/mellanox: Introduce Mellanox hardware platform hotplug driver

[patch v2 1/3] platform/mellanox: Introduce Mellanox hardware platform hotplug driver

2017-09-05 Thread Vadim Pasternak
and ARM architectures. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- v1->v2: Fixes added by Vadim: Add include/linux/platform_data/mlxreg.h, which was provided within another patch to this patch to allow kbuild testing. --- MAINTAINERS|

[patch v2 3/3] platform/x86: mlxcpld-hotplug: driver removing

2017-09-05 Thread Vadim Pasternak
It removes mlxcpld-hotplug. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- MAINTAINERS | 7 - drivers/platform/x86/mlxcpld-hotplug.c| 515 -- include/linux/platform_data/mlxcpld-hotplug.h | 99 - 3 files

[patch v2 0/3] drivers/platform: replace module x86/mlxcpld-hotplug with mellanox/mlxreg-hotplug

2017-09-05 Thread Vadim Pasternak
/mlx-platform.c is updated according to new interface. Relevant Makefile and Kconfig are updated. New include file include/linux/platform_data/mlxreg.h from this patch is added to allow kbuild testing. Vadim Pasternak (3): platform/mellanox: Introduce Mellanox hardware platform hotplug driver

[patch v2 2/3] platform/x86: mlx-platform: modify hotplug device activation

2017-09-05 Thread Vadim Pasternak
It modifies mlx-platform driver hotplug interface. Instead driver mlxcpld-hotplug, which is to be removed, mlx-platform will use more generic architecture independent and regmap based mlxreg-hotplug driver. Signed-off-by: Vadim Pasternak Acked-by: Andy Shevchenko --- drivers/platform/x86

RE: [patch v1 0/3] drivers/platform: replace module x86/mlxcpld-hotplug with mellanox/mlxreg-hotplug

2017-08-30 Thread Vadim Pasternak
> -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Wednesday, August 30, 2017 10:32 PM > To: Vadim Pasternak > Cc: Greg Kroah-Hartman ; linux- > ker...@vger.kernel.org; Platform Driver x...@vger.kernel.org>; Linux LED Subsystem

[patch v1 0/3] drivers/platform: replace module x86/mlxcpld-hotplug with mellanox/mlxreg-hotplug

2017-08-29 Thread Vadim Pasternak
/mlx-platform.c is updated according to new interface. Relevant Makefile and Kconfig are updated. This patchset depends on previously sent: [patch v4 1/2] mfd: Add Mellanox regmap core driver because it includes include/linux/platform_data/mlxreg.h from this patch. Vadim Pasternak (3): platform

[patch v1 3/3] platform/x86: mlxcpld-hotplug: driver removing

2017-08-29 Thread Vadim Pasternak
It removes mlxcpld-hotplug. Signed-off-by: Vadim Pasternak --- MAINTAINERS | 7 - drivers/platform/x86/mlxcpld-hotplug.c| 515 -- include/linux/platform_data/mlxcpld-hotplug.h | 99 - 3 files changed, 621 deletions

[patch v1 1/3] platform/mellanox: Introduce Mellanox hardware platform hotplug driver

2017-08-29 Thread Vadim Pasternak
and ARM architectures. Signed-off-by: Vadim Pasternak --- MAINTAINERS| 5 + drivers/platform/Kconfig | 2 + drivers/platform/Makefile | 1 + drivers/platform/mellanox/Kconfig | 25 + drivers/platform/mellanox

[patch v1 2/3] platform/x86: mlx-platform: modify hotplug device activation

2017-08-29 Thread Vadim Pasternak
It modifies mlx-platform driver hotplug interface. Instead driver mlxcpld-hotplug, which is to be removed, mlx-platform will use more generic architecture independent and regmap based mlxreg-hotplug driver. Signed-off-by: Vadim Pasternak --- drivers/platform/x86/Kconfig| 9 -- drivers

RE: [PATCH] i2c: mux: mlxcpld: fix i2c mux selection caching

2016-12-17 Thread Vadim Pasternak
> -Original Message- > From: Peter Rosin [mailto:p...@axentia.se] > Sent: Saturday, December 17, 2016 10:29 PM > To: linux-kernel@vger.kernel.org > Cc: Peter Rosin ; Vadim Pasternak > ; Michael Shych ; > Wolfram Sang ; linux-...@vger.kernel.org > Subject: [PATCH

[patch v1 0/1] platform/x86: mlx-platform: mlxcpld-hotplug driver notes

2016-12-14 Thread Vadim Pasternak
d out by Andy: - Make names of hotplug devices shorter; - Change register offset assignment to defines; - Add defines for the all event masks; - Use PLATFORM_DEVID_NONE instead of -1; Vadim Pasternak (1): platform/x86: mlx-platform: mlxcpld-hotplug driver style fixes drivers/platform/x8

[patch v1 1/1] platform/x86: mlx-platform: mlxcpld-hotplug driver style fixes

2016-12-14 Thread Vadim Pasternak
The patch contains several styling fixes: - Make names of hotplug devices shorter; - Change register offset assignment to defines; - Add defines for the all event masks; - Use PLATFORM_DEVID_NONE instead of -1; Signed-off-by: Vadim Pasternak --- drivers/platform/x86/mlx-platform.c | 84

RE: [patch v3 1/1] platform/x86: move module mlx-platform from arch/x86 to drivers/platform/x86

2016-11-25 Thread Vadim Pasternak
> -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Friday, November 25, 2016 12:03 PM > To: Vadim Pasternak > Cc: Thomas Gleixner ; dvh...@infradead.org; platform- > driver-...@vger.kernel.org; x...@kernel.org; linux-kernel@vg

RE: [patch v3 1/1] platform/x86: move module mlx-platform from arch/x86 to drivers/platform/x86

2016-11-24 Thread Vadim Pasternak
> -Original Message- > From: Vadim Pasternak > Sent: Monday, November 14, 2016 10:10 AM > To: 'Andy Shevchenko' > Cc: Thomas Gleixner ; dvh...@infradead.org; platform- > driver-...@vger.kernel.org; x...@kernel.org; linux-kernel@vger.kernel.org; > j

RE: [patch v9 1/1] i2c: add master driver for mellanox systems

2016-11-24 Thread Vadim Pasternak
> -Original Message- > From: Wolfram Sang [mailto:wsa-...@sang-engineering.com] > Sent: Thursday, November 24, 2016 4:52 PM > To: Vadim Pasternak > Cc: w...@the-dreams.de; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; j...@resnulli.us; Michael Shyc

RE: [patch v8 1/1] i2c: add master driver for mellanox systems

2016-11-20 Thread Vadim Pasternak
> -Original Message- > From: Wolfram Sang [mailto:wsa-...@sang-engineering.com] > Sent: Sunday, November 20, 2016 11:02 AM > To: Vadim Pasternak > Cc: w...@the-dreams.de; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; j...@resnulli.us; Michael Shych >

RE: [patch v8 1/1] i2c: add master driver for mellanox systems

2016-11-19 Thread Vadim Pasternak
Hi Wolfram, > -Original Message- > From: Wolfram Sang [mailto:wsa-...@sang-engineering.com] > Sent: Saturday, November 19, 2016 11:05 PM > To: Vadim Pasternak > Cc: w...@the-dreams.de; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; j...@resnulli

RE: [v7,1/1] i2c: add master driver for mellanox systems

2016-11-18 Thread Vadim Pasternak
Hi Wolfram, Thank you for review. > -Original Message- > From: Wolfram Sang [mailto:wsa-...@sang-engineering.com] > Sent: Friday, November 18, 2016 12:15 AM > To: Vadim Pasternak > Cc: w...@the-dreams.de; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org

RE: [patch v6 1/1] i2c: add master driver for mellanox systems

2016-11-17 Thread Vadim Pasternak
Hi Peter, Thank you for your comments. > -Original Message- > From: Peter Rosin [mailto:p...@axentia.se] > Sent: Thursday, November 17, 2016 10:06 AM > To: Vadim Pasternak ; w...@the-dreams.de > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; j...@resnull

RE: [patch v3 1/1] platform/x86: move module mlx-platform from arch/x86 to drivers/platform/x86

2016-11-14 Thread Vadim Pasternak
> -Original Message- > From: Andy Shevchenko [mailto:andy.shevche...@gmail.com] > Sent: Monday, November 14, 2016 9:17 AM > To: Vadim Pasternak > Cc: Thomas Gleixner ; dvh...@infradead.org; platform- > driver-...@vger.kernel.org; x...@kernel.org; linux-kernel@vg

RE: [patch v5+1 repost] i2c: mux: mellanox: add driver

2016-11-11 Thread Vadim Pasternak
> -Original Message- > From: Peter Rosin [mailto:p...@axentia.se] > Sent: Friday, November 11, 2016 10:36 AM > To: Vadim Pasternak ; w...@the-dreams.de > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; j...@resnulli.us; > Michael Shych > Subject: Re: [p

RE: [patch v5] i2c: mux: mellanox: add driver

2016-11-10 Thread Vadim Pasternak
> -Original Message- > From: Peter Rosin [mailto:p...@axentia.se] > Sent: Thursday, November 10, 2016 3:02 PM > To: Vadim Pasternak ; w...@the-dreams.de > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; j...@resnulli.us; > Michael Shych > Subject: Re

RE: [patch v5] i2c: mux: mellanox: add driver

2016-11-10 Thread Vadim Pasternak
> -Original Message- > From: Peter Rosin [mailto:p...@axentia.se] > Sent: Thursday, November 10, 2016 1:13 PM > To: Vadim Pasternak ; w...@the-dreams.de > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; j...@resnulli.us; > Michael Shych > Subject: Re

RE: [patch v3 1/1] platform/x86: move module mlx-platform from arch/x86 to drivers/platform/x86

2016-11-07 Thread Vadim Pasternak
Hi, Could this patch be merged to for-next for 4.10? When it's merged I'd like to submit another small patch on top of it. Thanks, Vadim. > -Original Message- > From: Thomas Gleixner [mailto:t...@linutronix.de] > Sent: Monday, October 31, 2016 5:31 PM > To: Vadi

RE: [patch v4 1/1] i2c: add master driver for mellanox systems

2016-11-07 Thread Vadim Pasternak
Hi Vladimir, Thank you very much for reviews. Thanks, Vadim. > -Original Message- > From: Vladimir Zapolskiy [mailto:v...@mleia.com] > Sent: Monday, November 07, 2016 2:47 AM > To: Vadim Pasternak ; w...@the-dreams.de > Cc: linux-...@vger.kernel.org; linux-kernel@vge

RE: [patch v1 1/1] leds: verify vendor and change license in mlxcpld driver

2016-11-04 Thread Vadim Pasternak
Hi Jacek, Thank you very much. Vadim. > -Original Message- > From: Jacek Anaszewski [mailto:j.anaszew...@samsung.com] > Sent: Friday, November 04, 2016 10:38 AM > To: Vadim Pasternak ; rpur...@rpsys.net > Cc: linux-l...@vger.kernel.org; linux-kernel@vger.kernel.org; j

RE: [patch v3 1/1] i2c: add master driver for mellanox systems

2016-11-04 Thread Vadim Pasternak
Hi Vladimir, Thank you very much for your reviews. > -Original Message- > From: Vladimir Zapolskiy [mailto:v...@mleia.com] > Sent: Friday, November 04, 2016 12:34 AM > To: Vadim Pasternak ; w...@the-dreams.de > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; j

[patch v1 1/1] leds: verify vendor and change license in mlxcpld driver

2016-11-03 Thread Vadim Pasternak
Verify that vendor is Mellanox as the first step of initialization. If it is not - return ENODEV. Change module license from "GPL v2" to "Dual BSD/GPL". Signed-off-by: Vadim Pasternak --- drivers/leds/leds-mlxcpld.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-)

RE: [patch v5] i2c: mux: mellanox: add driver

2016-11-02 Thread Vadim Pasternak
Hi, I see that this patch has not been picked-up yet for i2c-next. Is it possible it was missed from some reason? Thanks, Vadim. > -Original Message- > From: Vadim Pasternak > Sent: Friday, September 23, 2016 2:57 PM > To: 'Peter Rosin' ; w...@the

RE: [patch v2] i2c: add master driver for mellanox systems

2016-11-02 Thread Vadim Pasternak
> -Original Message- > From: Vladimir Zapolskiy [mailto:v...@mleia.com] > Sent: Thursday, November 03, 2016 1:09 AM > To: Vadim Pasternak ; w...@the-dreams.de > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; j...@resnulli.us; > Michael Shych > Subjec

RE: [patch v2] i2c: add master driver for mellanox systems

2016-11-02 Thread Vadim Pasternak
Hi, Sorry for reminding regarding the patch. Should I modify it? Re-submit? Thank you very much, Vadim. > -Original Message- > From: Vadim Pasternak > Sent: Wednesday, September 28, 2016 2:51 PM > To: Vadim Pasternak ; w...@the-dreams.de > Cc: linux-...@vger.kernel.or

[patch v3 1/1] platform/x86: move module mlx-platform from arch/x86 to drivers/platform/x86

2016-10-30 Thread Vadim Pasternak
Since mlx-platform is not an architectural driver, it is moved out of arch/x86/platform to drivers/platform/x86. Relevant Makefile and Kconfig are updated. Signed-off-by: Vadim Pasternak --- v2->v3: Comments pointed out by Andy: - Remove "driver" prefix from the subject; - C

RE: [patch v1 1/2] drivers/platform/x86: move module mlx-platform from arch/x86 to drivers/platform/x86

2016-10-28 Thread Vadim Pasternak
> -Original Message- > From: Andy Shevchenko [mailto:andriy.shevche...@linux.intel.com] > Sent: Thursday, October 27, 2016 4:59 PM > To: Vadim Pasternak ; dvh...@infradead.org; > fengguang...@intel.com > Cc: da...@davemloft.net; ge...@linux-m68k.org; akpm@linux- &g

RE: [patch v2 2/2] drivers/platform/x86: add mlxcpld-hotplug driver registration to mlx-platform driver

2016-10-27 Thread Vadim Pasternak
> -Original Message- > From: Andy Shevchenko [mailto:andriy.shevche...@linux.intel.com] > Sent: Thursday, October 27, 2016 9:25 PM > To: Vadim Pasternak ; dvh...@infradead.org; > fengguang...@intel.com > Cc: da...@davemloft.net; ge...@linux-m68k.org; akpm@linux- &g

RE: [PATCH] drivers/platform/x86: fix semicolon.cocci warnings

2016-10-27 Thread Vadim Pasternak
> -Original Message- > From: kbuild test robot [mailto:l...@intel.com] > Sent: Thursday, October 27, 2016 8:27 PM > To: Vadim Pasternak > Cc: kbuild-...@01.org; dvh...@infradead.org; fengguang...@intel.com; > da...@davemloft.net; ge...@linux-m68k.org; a...@linux-fo

[patch v2 2/2] drivers/platform/x86: add mlxcpld-hotplug driver registration to mlx-platform driver

2016-10-27 Thread Vadim Pasternak
through CPLD Lattice device. Signed-off-by: Vadim Pasternak v1->v2: Comments pointed out by Andy: - Remove "from sender" from the message body; - Add more information to commit message. (When CPLD spec will be available at Mellanox portal - MAINTAINERS Web-page info is to

[patch v2 1/2] drivers/platform/x86: move module mlx-platform from arch/x86 to drivers/platform/x86

2016-10-27 Thread Vadim Pasternak
Move module mlx-platform.c from arch/x86/platform/mellanox/ to drivers/platform/x86/. Remove folder arch/x86/platform/mellanox/ and update relevant Makefile and Kconfig. Signed-off-by: Vadim Pasternak v1->v2: Comments pointed out by Andy: - Use -M -C -n option in git format-pa

RE: [patch v1] drivers/platform/x86: select hwmon for Mellanox hotplug driver in Kconfig

2016-10-24 Thread Vadim Pasternak
> -Original Message- > From: Randy Dunlap [mailto:rdun...@infradead.org] > Sent: Sunday, October 23, 2016 7:57 PM > To: Vadim Pasternak ; dvh...@infradead.org; > fengguang...@intel.com > Cc: da...@davemloft.net; ge...@linux-m68k.org; akpm@linux- > foundation.org;

RE: [patch v1] drivers/platform/x86: select hwmon for Mellanox hotplug driver in Kconfig

2016-10-23 Thread Vadim Pasternak
> -Original Message- > From: Randy Dunlap [mailto:rdun...@infradead.org] > Sent: Sunday, October 23, 2016 7:57 PM > To: Vadim Pasternak ; dvh...@infradead.org; > fengguang...@intel.com > Cc: da...@davemloft.net; ge...@linux-m68k.org; akpm@linux- > foundation.org;

RE: [patch v1] drivers/platform/x86: select hwmon for Mellanox hotplug driver in Kconfig

2016-10-23 Thread Vadim Pasternak
> -Original Message- > From: Darren Hart [mailto:dvh...@infradead.org] > Sent: Sunday, October 23, 2016 5:52 PM > To: Vadim Pasternak > Cc: fengguang...@intel.com; da...@davemloft.net; ge...@linux-m68k.org; > a...@linux-foundation.org; kv...@codeaurora.org; > gre..

RE: [patch v3] drivers/platform/x86: introduce support for Mellanox hotplug driver

2016-10-23 Thread Vadim Pasternak
> -Original Message- > From: Darren Hart [mailto:dvh...@infradead.org] > Sent: Friday, October 21, 2016 9:42 PM > To: Vadim Pasternak > Cc: da...@davemloft.net; ge...@linux-m68k.org; akpm@linux- > foundation.org; kv...@codeaurora.org; gre...@linuxfoundation.org; > m

RE: [patch v1] drivers/platform/x86: introduce support for Mellanox hotplug driver

2016-10-06 Thread Vadim Pasternak
> -Original Message- > From: Darren Hart [mailto:dvh...@infradead.org] > Sent: Thursday, September 29, 2016 1:14 AM > To: Vadim Pasternak > Cc: da...@davemloft.net; ge...@linux-m68k.org; akpm@linux- > foundation.org; kv...@codeaurora.org; gre...@linuxfoundation.org; &g

RE: [patch v1] drivers/platform/x86: introduce support for Mellanox hotplug driver

2016-09-28 Thread Vadim Pasternak
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Wednesday, September 28, 2016 4:37 PM > To: Vadim Pasternak > Cc: dvh...@infradead.org; da...@davemloft.net; ge...@linux-m68k.org; > a...@linux-foundation.org; kv...@codeaurora.org; mche..

RE: [patch v2] i2c: add master driver for mellanox systems

2016-09-28 Thread Vadim Pasternak
ms.de > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; j...@resnulli.us; > Vadim Pasternak ; Michael Shych > > Subject: [patch v2] i2c: add master driver for mellanox systems > > From: Vadim Pasternak > > Device driver for Mellanox I2C controller logic, imple

RE: [patch v1] drivers/platform/x86: introduce support for Mellanox hotplug driver

2016-09-28 Thread Vadim Pasternak
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Thursday, September 22, 2016 4:53 PM > To: Vadim Pasternak > Cc: dvh...@infradead.org; da...@davemloft.net; ge...@linux-m68k.org; > a...@linux-foundation.org; kv...@codeaurora.org; mche..

RE: [patch v5] i2c: mux: mellanox: add driver

2016-09-23 Thread Vadim Pasternak
> -Original Message- > From: Peter Rosin [mailto:p...@axentia.se] > Sent: Friday, September 23, 2016 12:36 PM > To: Vadim Pasternak ; w...@the-dreams.de > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; j...@resnulli.us; > Michael Shych > Subject: Re

[tip:x86/platform] x86/platform/mellanox: Introduce support for Mellanox systems platform

2016-09-22 Thread tip-bot for Vadim Pasternak
Commit-ID: 58cbbee2391ce3876e6eee80a4f2a7f025859c52 Gitweb: http://git.kernel.org/tip/58cbbee2391ce3876e6eee80a4f2a7f025859c52 Author: Vadim Pasternak AuthorDate: Thu, 22 Sep 2016 21:13:42 + Committer: Thomas Gleixner CommitDate: Thu, 22 Sep 2016 22:13:10 +0200 x86/platform

RE: [patch v1] drivers/platform/x86: introduce support for Mellanox hotplug driver

2016-09-22 Thread Vadim Pasternak
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Thursday, September 22, 2016 3:31 PM > To: Vadim Pasternak > Cc: dvh...@infradead.org; da...@davemloft.net; ge...@linux-m68k.org; > a...@linux-foundation.org; kv...@codeaurora.org; mche..

RE: [patch v1] drivers/platform/x86: introduce support for Mellanox hotplug driver

2016-09-22 Thread Vadim Pasternak
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Thursday, September 22, 2016 4:43 PM > To: Vadim Pasternak > Cc: dvh...@infradead.org; da...@davemloft.net; ge...@linux-m68k.org; > a...@linux-foundation.org; kv...@codeaurora.org; mche..

RE: [patch v1] drivers/platform/x86: introduce support for Mellanox hotplug driver

2016-09-22 Thread Vadim Pasternak
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Thursday, September 22, 2016 4:53 PM > To: Vadim Pasternak > Cc: dvh...@infradead.org; da...@davemloft.net; ge...@linux-m68k.org; > a...@linux-foundation.org; kv...@codeaurora.org; mche..

RE: [patch v2] x86/platform/mellanox: introduce support for Mellanox systems platform

2016-09-19 Thread Vadim Pasternak
> -Original Message- > From: Guenter Roeck [mailto:li...@roeck-us.net] > Sent: Monday, September 19, 2016 9:03 AM > To: Vadim Pasternak ; t...@linutronix.de > Cc: mi...@redhat.com; h...@zytor.com; da...@davemloft.net; geert@linux- > m68k.org; a...@linux-f

RE: [patch v5] i2c: mux: mellanox: add driver

2016-09-14 Thread Vadim Pasternak
> -Original Message- > From: Peter Rosin [mailto:p...@axentia.se] > Sent: Wednesday, September 14, 2016 10:50 AM > To: Vadim Pasternak ; w...@the-dreams.de > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; j...@resnulli.us; > Michael Shych > Subject: Re

RE: [patch v4] i2c: mux: mellanox: add driver

2016-09-13 Thread Vadim Pasternak
> -Original Message- > From: Peter Rosin [mailto:p...@axentia.se] > Sent: Tuesday, September 13, 2016 5:36 PM > To: Vadim Pasternak ; w...@the-dreams.de > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; j...@resnulli.us; > Michael Shych > Subject: Re

<    1   2   3   >