[PATCH] drivers: mmc: host: Retire MMC_GOLDFISH

2021-02-09 Thread rkir
From: Roman Kiryanov Android Studio Emulator no longer uses this driver. Signed-off-by: Roman Kiryanov --- drivers/mmc/host/Kconfig| 7 - drivers/mmc/host/Makefile | 1 - drivers/mmc/host/android-goldfish.c | 545 3 files changed, 553

[PATCH] drivers: mmc: host: Retire MMC_GOLDFISH

2021-02-08 Thread rkir
From: Roman Kiryanov Android Studio Emulator no longer uses this driver. Signed-off-by: Roman Kiryanov --- drivers/mmc/host/Kconfig| 7 - drivers/mmc/host/Makefile | 1 - drivers/mmc/host/android-goldfish.c | 545 3 files changed, 553

[PATCH] Remove the GOLDFISH dependency from BATTERY_GOLDFISH

2021-02-05 Thread rkir
From: Roman Kiryanov This will allow to use the BATTERY_GOLDFISH driver without enabling GOLDFISH. Signed-off-by: Roman Kiryanov --- drivers/power/supply/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/power/supply/Kconfig

[PATCH] arch: x86: platform: retire arch/x86/platform/goldfish

2020-11-16 Thread rkir
From: Roman Kiryanov The Android Studio Emulator (aka goldfish) does not use arch/x86/platform/goldfish since 5.4 kernel. Signed-off-by: Roman Kiryanov --- arch/x86/platform/Makefile| 1 - arch/x86/platform/goldfish/Makefile | 2 - arch/x86/platform/goldfish/goldfish.c | 54

[PATCH] Update MAINTAINERS for goldfish-rtc

2020-11-16 Thread rkir
From: Roman Kiryanov We (Android Studio Emulator, aka goldfish) do not support MIPS anymore but goldfish-rtc is still used by MIPS/RISCV QEMU. Signed-off-by: Roman Kiryanov --- MAINTAINERS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH] drivers: rtc: retire RTC_DRV_GOLDFISH

2020-11-13 Thread rkir
From: Roman Kiryanov The only user of RTC_DRV_GOLDFISH is the MIPS flavor of Android Studio Emulator (goldfish) which should be also retired. Signed-off-by: Roman Kiryanov --- arch/riscv/Kconfig.socs| 1 - drivers/rtc/Kconfig| 10 -- drivers/rtc/Makefile | 1 -

[PATCH] drivers: rtc: retire RTC_DRV_GOLDFISH

2020-11-12 Thread rkir
From: Roman Kiryanov The only user of RTC_DRV_GOLDFISH is the MIPS flavor of Android Studio Emulator (goldfish) which should be also retired. Signed-off-by: Roman Kiryanov --- arch/riscv/Kconfig.socs| 1 - drivers/rtc/Kconfig| 10 -- drivers/rtc/Makefile | 1 -

[PATCH] drivers: staging: retire drivers/staging/goldfish

2020-11-12 Thread rkir
From: Roman Kiryanov Android Studio Emulator (goldfish) migrated to Intel HDA. Signed-off-by: Roman Kiryanov --- arch/mips/configs/generic/board-ranchu.config | 1 - drivers/staging/Kconfig | 2 - drivers/staging/Makefile | 1 -

[PATCH v3 3/3] drivers: platform: goldfish: goldfish_sync: add a driver

2019-01-08 Thread rkir
From: Roman Kiryanov The Goldfish sync driver is designed to provide a interface between the underlying host's sync device and the kernel's fence sync framework. Signed-off-by: Roman Kiryanov --- Changes in v3: - Removed WARN_ON. Changes in v2: - Added a missing include (mod_devicetable.h).

[PATCH v3 1/3] drivers: platform: goldfish: fix the checkpatch complain in Kconfig

2019-01-08 Thread rkir
From: Roman Kiryanov prefer 'help' over '---help---' for new help texts Signed-off-by: Roman Kiryanov --- Changes in v3: - No changes. Changes in v2: - New change, a minor cleanup. drivers/platform/goldfish/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v3 2/3] drivers: platform: goldfish: goldfish_address_space: add a driver

2019-01-08 Thread rkir
From: Roman Kiryanov A driver for the Goldfish Android emulator that occupies address space to use it with the memory sharing device on the QEMU side. The memory sharding device allocates subranges and populate them with actual RAM. This allows sharing host's memory with the guest.

[PATCH v2 2/3] drivers: platform: goldfish: goldfish_address_space: add a driver

2019-01-07 Thread rkir
From: Roman Kiryanov A driver for the Goldfish Android emulator that occupies address space to use it with the memory sharing device on the QEMU side. The memory sharding device allocates subranges and populate them with actual RAM. This allows sharing host's memory with the guest.

[PATCH v2 3/3] drivers: platform: goldfish: goldfish_sync: add a driver

2019-01-07 Thread rkir
From: Roman Kiryanov The Goldfish sync driver is designed to provide a interface between the underlying host's sync device and the kernel's fence sync framework. Signed-off-by: Roman Kiryanov --- Changes in v2: - Added a missing include (mod_devicetable.h). - Put in one batch with

[PATCH v2 1/3] drivers: platform: goldfish: fix the checkpatch complain in Kconfig

2019-01-07 Thread rkir
From: Roman Kiryanov prefer 'help' over '---help---' for new help texts Signed-off-by: Roman Kiryanov --- Changes in v2: - New change, a minor cleanup. drivers/platform/goldfish/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/platform/goldfish/Kconfig

[PATCH] drivers: platform: goldfish_sync: add a driver

2019-01-04 Thread rkir
From: Roman Kiryanov The Goldfish sync driver is designed to provide a interface between the underlying host's sync device and the kernel's fence sync framework. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/Kconfig | 7 + drivers/platform/goldfish/Makefile

[PATCH] drivers: misc: goldfish_address_space: add a driver

2019-01-03 Thread rkir
From: Roman Kiryanov A driver for the Goldfish Android emulator that occupies address space to use it with the memory sharing device on the QEMU side. The memory sharding device allocates subranges and populate them with actual RAM. This allows sharing host's memory with the guest.

[PATCH v3 13/15] platform: goldfish: pipe: Add a dedicated constant for the device name

2018-10-03 Thread rkir
From: Roman Kiryanov Create a constant to refer to the device name instead if several copies of a string. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/goldfish_pipe.h| 2 ++

[PATCH v3 12/15] platform: goldfish: pipe: Rename the init function (add "v2")

2018-10-03 Thread rkir
From: Roman Kiryanov This is the v2 driver. v1 will be added later. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/goldfish_pipe.c| 2 +- drivers/platform/goldfish/goldfish_pipe_v2.c | 6 +++---

[PATCH v3 14/15] platform: goldfish: pipe: Rename PIPE_REG to PIPE_V2_REG

2018-10-03 Thread rkir
From: Roman Kiryanov PIPE_V1_REG will be introduced later for v1 support. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/goldfish_pipe.c | 4 ++-- drivers/platform/goldfish/goldfish_pipe_qemu.h | 18

[PATCH v3 14/15] platform: goldfish: pipe: Rename PIPE_REG to PIPE_V2_REG

2018-10-03 Thread rkir
From: Roman Kiryanov PIPE_V1_REG will be introduced later for v1 support. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/goldfish_pipe.c | 4 ++-- drivers/platform/goldfish/goldfish_pipe_qemu.h | 18

[PATCH v3 13/15] platform: goldfish: pipe: Add a dedicated constant for the device name

2018-10-03 Thread rkir
From: Roman Kiryanov Create a constant to refer to the device name instead if several copies of a string. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/goldfish_pipe.h| 2 ++

[PATCH v3 12/15] platform: goldfish: pipe: Rename the init function (add "v2")

2018-10-03 Thread rkir
From: Roman Kiryanov This is the v2 driver. v1 will be added later. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/goldfish_pipe.c| 2 +- drivers/platform/goldfish/goldfish_pipe_v2.c | 6 +++---

[PATCH v3 15/15] platform: goldfish: pipe: Add the goldfish_pipe_v1 driver

2018-10-03 Thread rkir
From: Roman Kiryanov This is the v1 goldfish pipe driver. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/Makefile| 2 +- drivers/platform/goldfish/goldfish_pipe.c | 9 +-

[PATCH v3 15/15] platform: goldfish: pipe: Add the goldfish_pipe_v1 driver

2018-10-03 Thread rkir
From: Roman Kiryanov This is the v1 goldfish pipe driver. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/Makefile| 2 +- drivers/platform/goldfish/goldfish_pipe.c | 9 +-

[PATCH v3 09/15] platform: goldfish: pipe: Move goldfish_pipe to goldfish_pipe_v2

2018-10-03 Thread rkir
From: Roman Kiryanov This is the v2 driver. v1 will be added later. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/Makefile | 2 +- .../platform/goldfish/{goldfish_pipe.c =>

[PATCH v3 11/15] platform: goldfish: pipe: Split the driver to v2 specific and the rest

2018-10-03 Thread rkir
From: Roman Kiryanov Move probe/remove and other driver stuff to a separate file to plug v1 there later. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/Makefile | 3 +-

[PATCH v3 10/15] platform: goldfish: pipe: Remove the license boilerplate

2018-10-03 Thread rkir
From: Roman Kiryanov Not required with the SPDX-License-Identifier header. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/goldfish_pipe_v2.c | 17 - 1 file changed, 17 deletions(-) diff --git

[PATCH v3 09/15] platform: goldfish: pipe: Move goldfish_pipe to goldfish_pipe_v2

2018-10-03 Thread rkir
From: Roman Kiryanov This is the v2 driver. v1 will be added later. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/Makefile | 2 +- .../platform/goldfish/{goldfish_pipe.c =>

[PATCH v3 11/15] platform: goldfish: pipe: Split the driver to v2 specific and the rest

2018-10-03 Thread rkir
From: Roman Kiryanov Move probe/remove and other driver stuff to a separate file to plug v1 there later. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/Makefile | 3 +-

[PATCH v3 10/15] platform: goldfish: pipe: Remove the license boilerplate

2018-10-03 Thread rkir
From: Roman Kiryanov Not required with the SPDX-License-Identifier header. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/goldfish_pipe_v2.c | 17 - 1 file changed, 17 deletions(-) diff --git

[PATCH v3 06/15] platform: goldfish: pipe: Move memory allocation from probe to init

2018-10-03 Thread rkir
From: Roman Kiryanov There will be two separate init functions for v1 and v2 (different driver versions) and they will allocate different state. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/goldfish_pipe.c | 42

[PATCH v3 07/15] platform: goldfish: pipe: Return status from "deinit" since "remove" does not do much

2018-10-03 Thread rkir
From: Roman Kiryanov This way deinit will have a chance to report an error. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/goldfish_pipe.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

[PATCH v3 08/15] platform: goldfish: pipe: Add a blank line to separate varibles and code

2018-10-03 Thread rkir
From: Roman Kiryanov checkpacth: Missing a blank line after declarations Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/goldfish_pipe.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3 06/15] platform: goldfish: pipe: Move memory allocation from probe to init

2018-10-03 Thread rkir
From: Roman Kiryanov There will be two separate init functions for v1 and v2 (different driver versions) and they will allocate different state. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/goldfish_pipe.c | 42

[PATCH v3 07/15] platform: goldfish: pipe: Return status from "deinit" since "remove" does not do much

2018-10-03 Thread rkir
From: Roman Kiryanov This way deinit will have a chance to report an error. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/goldfish_pipe.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git

[PATCH v3 08/15] platform: goldfish: pipe: Add a blank line to separate varibles and code

2018-10-03 Thread rkir
From: Roman Kiryanov checkpacth: Missing a blank line after declarations Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/goldfish_pipe.c | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3 04/15] platform: goldfish: pipe: Call misc_deregister if init fails

2018-10-03 Thread rkir
From: Roman Kiryanov Undo effects of misc_register if driver's init fails after misc_register. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/goldfish_pipe.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff

[PATCH v3 05/15] platform: goldfish: pipe: Remove redundant casting

2018-10-03 Thread rkir
From: Roman Kiryanov This casting is not required. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/goldfish_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v3 04/15] platform: goldfish: pipe: Call misc_deregister if init fails

2018-10-03 Thread rkir
From: Roman Kiryanov Undo effects of misc_register if driver's init fails after misc_register. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/goldfish_pipe.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff

[PATCH v3 05/15] platform: goldfish: pipe: Remove redundant casting

2018-10-03 Thread rkir
From: Roman Kiryanov This casting is not required. Signed-off-by: Roman Kiryanov --- Changes in v3: - No change. Changes in v2: - No change. drivers/platform/goldfish/goldfish_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v3 01/15] platform: goldfish: pipe: Move the file-scope goldfish_interrupt_tasklet variable into the driver state

2018-10-03 Thread rkir
From: Roman Kiryanov This is a series of patches to move mutable file-scope variables into the driver state. This change will help to introduce another version of the pipe driver (with different state) for the older host interface or having several instances of this device. Signed-off-by: Roman

[PATCH v3 02/15] platform: goldfish: pipe: Move the file-scope goldfish_pipe_miscdev variable into the driver state

2018-10-03 Thread rkir
From: Roman Kiryanov This is a series of patches to move mutable file-scope variables into the driver state. This change will help to introduce another version of the pipe driver (with different state) for the older host interface or having several instances of this device. Signed-off-by: Roman

[PATCH v3 03/15] platform: goldfish: pipe: Move the file-scope goldfish_pipe_dev variable into the driver state

2018-10-03 Thread rkir
From: Roman Kiryanov This is the last patch in the series of patches to move file-scope variables into the driver state. This change will help to introduce another version of the pipe driver (with different state) for the older host interface or having several instances of this device.

[PATCH v3 01/15] platform: goldfish: pipe: Move the file-scope goldfish_interrupt_tasklet variable into the driver state

2018-10-03 Thread rkir
From: Roman Kiryanov This is a series of patches to move mutable file-scope variables into the driver state. This change will help to introduce another version of the pipe driver (with different state) for the older host interface or having several instances of this device. Signed-off-by: Roman

[PATCH v3 02/15] platform: goldfish: pipe: Move the file-scope goldfish_pipe_miscdev variable into the driver state

2018-10-03 Thread rkir
From: Roman Kiryanov This is a series of patches to move mutable file-scope variables into the driver state. This change will help to introduce another version of the pipe driver (with different state) for the older host interface or having several instances of this device. Signed-off-by: Roman

[PATCH v3 03/15] platform: goldfish: pipe: Move the file-scope goldfish_pipe_dev variable into the driver state

2018-10-03 Thread rkir
From: Roman Kiryanov This is the last patch in the series of patches to move file-scope variables into the driver state. This change will help to introduce another version of the pipe driver (with different state) for the older host interface or having several instances of this device.

[PATCH v2 03/15] platform: goldfish: pipe: Move the file-scope goldfish_pipe_dev variable into the driver state

2018-10-02 Thread rkir
From: Roman Kiryanov This is the last patch in the series of patches to move file-scope variables into the driver state. This change will help to introduce another version of the pipe driver (with different state) for the older host interface or having several instances of this device.

[PATCH v2 03/15] platform: goldfish: pipe: Move the file-scope goldfish_pipe_dev variable into the driver state

2018-10-02 Thread rkir
From: Roman Kiryanov This is the last patch in the series of patches to move file-scope variables into the driver state. This change will help to introduce another version of the pipe driver (with different state) for the older host interface or having several instances of this device.

[PATCH v2 01/15] platform: goldfish: pipe: Move the file-scope goldfish_interrupt_tasklet variable into the driver state

2018-10-02 Thread rkir
From: Roman Kiryanov This is a series of patches to move mutable file-scope variables into the driver state. This change will help to introduce another version of the pipe driver (with different state) for the older host interface or having several instances of this device. Signed-off-by: Roman

[PATCH v2 02/15] platform: goldfish: pipe: Move the file-scope goldfish_pipe_miscdev variable into the driver state

2018-10-02 Thread rkir
From: Roman Kiryanov This is a series of patches to move mutable file-scope variables into the driver state. This change will help to introduce another version of the pipe driver (with different state) for the older host interface or having several instances of this device. Signed-off-by: Roman

[PATCH v2 01/15] platform: goldfish: pipe: Move the file-scope goldfish_interrupt_tasklet variable into the driver state

2018-10-02 Thread rkir
From: Roman Kiryanov This is a series of patches to move mutable file-scope variables into the driver state. This change will help to introduce another version of the pipe driver (with different state) for the older host interface or having several instances of this device. Signed-off-by: Roman

[PATCH v2 02/15] platform: goldfish: pipe: Move the file-scope goldfish_pipe_miscdev variable into the driver state

2018-10-02 Thread rkir
From: Roman Kiryanov This is a series of patches to move mutable file-scope variables into the driver state. This change will help to introduce another version of the pipe driver (with different state) for the older host interface or having several instances of this device. Signed-off-by: Roman

[PATCH 14/15] platform: goldfish: pipe: Rename PIPE_REG to PIPE_V2_REG

2018-10-02 Thread rkir
From: Roman Kiryanov PIPE_V1_REG will be introduced later for v1 support. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 4 ++-- drivers/platform/goldfish/goldfish_pipe_qemu.h | 18 +- drivers/platform/goldfish/goldfish_pipe_v2.c | 16

[PATCH 14/15] platform: goldfish: pipe: Rename PIPE_REG to PIPE_V2_REG

2018-10-02 Thread rkir
From: Roman Kiryanov PIPE_V1_REG will be introduced later for v1 support. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 4 ++-- drivers/platform/goldfish/goldfish_pipe_qemu.h | 18 +- drivers/platform/goldfish/goldfish_pipe_v2.c | 16

[PATCH 15/15] platform: goldfish: pipe: Add the goldfish_pipe_v1 driver

2018-10-02 Thread rkir
From: Roman Kiryanov This is the v1 goldfish pipe driver. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/Makefile| 2 +- drivers/platform/goldfish/goldfish_pipe.c | 9 +- .../platform/goldfish/goldfish_pipe_qemu.h| 27 +

[PATCH 15/15] platform: goldfish: pipe: Add the goldfish_pipe_v1 driver

2018-10-02 Thread rkir
From: Roman Kiryanov This is the v1 goldfish pipe driver. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/Makefile| 2 +- drivers/platform/goldfish/goldfish_pipe.c | 9 +- .../platform/goldfish/goldfish_pipe_qemu.h| 27 +

[PATCH 13/15] platform: goldfish: pipe: Add a dedicated constant for the device name

2018-10-02 Thread rkir
From: Roman Kiryanov Create a constant to refer to the device name instead if several copies of a string. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.h| 2 ++ drivers/platform/goldfish/goldfish_pipe_v2.c | 4 ++-- 2 files changed, 4 insertions(+), 2

[PATCH 10/15] platform: goldfish: pipe: Remove the license boilerplate

2018-10-02 Thread rkir
From: Roman Kiryanov Not required with the SPDX-License-Identifier header. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe_v2.c | 17 - 1 file changed, 17 deletions(-) diff --git a/drivers/platform/goldfish/goldfish_pipe_v2.c

[PATCH 13/15] platform: goldfish: pipe: Add a dedicated constant for the device name

2018-10-02 Thread rkir
From: Roman Kiryanov Create a constant to refer to the device name instead if several copies of a string. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.h| 2 ++ drivers/platform/goldfish/goldfish_pipe_v2.c | 4 ++-- 2 files changed, 4 insertions(+), 2

[PATCH 10/15] platform: goldfish: pipe: Remove the license boilerplate

2018-10-02 Thread rkir
From: Roman Kiryanov Not required with the SPDX-License-Identifier header. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe_v2.c | 17 - 1 file changed, 17 deletions(-) diff --git a/drivers/platform/goldfish/goldfish_pipe_v2.c

[PATCH 09/15] platform: goldfish: pipe: Move goldfish_pipe to goldfish_pipe_v2

2018-10-02 Thread rkir
From: Roman Kiryanov This is the v2 driver. v1 will be added later. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/Makefile | 2 +- .../platform/goldfish/{goldfish_pipe.c => goldfish_pipe_v2.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-)

[PATCH 01/15] platform: goldfish: pipe: Remove the goldfish_interrupt_tasklet global variable

2018-10-02 Thread rkir
From: Roman Kiryanov This is a series of patches to remove mutable global variables to introduce another version of the pipe driver for the older host interface. I don't want to have two driver states where only one is used. Signed-off-by: Roman Kiryanov ---

[PATCH 12/15] platform: goldfish: pipe: Rename the init function (add "v2")

2018-10-02 Thread rkir
From: Roman Kiryanov This is the v2 driver. v1 will be added later. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c| 2 +- drivers/platform/goldfish/goldfish_pipe_v2.c | 6 +++--- drivers/platform/goldfish/goldfish_pipe_v2.h | 6 +++--- 3 files changed, 7

[PATCH 11/15] platform: goldfish: pipe: Split the driver to v2 specific and the rest

2018-10-02 Thread rkir
From: Roman Kiryanov Move probe/remove and other driver stuff to a separate file to plug v1 there later. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/Makefile | 3 +- drivers/platform/goldfish/goldfish_pipe.c| 124 +++

[PATCH 08/15] platform: goldfish: pipe: Add a blank line to separate varibles and code

2018-10-02 Thread rkir
From: Roman Kiryanov checkpacth: Missing a blank line after declarations Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c index

[PATCH 02/15] platform: goldfish: pipe: Remove the goldfish_pipe_miscdev global variable

2018-10-02 Thread rkir
From: Roman Kiryanov This is a series of patches to remove mutable global variables to introduce another version of the pipe driver for the older host interface. I don't want to have two driver states where only one is used. Signed-off-by: Roman Kiryanov ---

[PATCH 01/15] platform: goldfish: pipe: Remove the goldfish_interrupt_tasklet global variable

2018-10-02 Thread rkir
From: Roman Kiryanov This is a series of patches to remove mutable global variables to introduce another version of the pipe driver for the older host interface. I don't want to have two driver states where only one is used. Signed-off-by: Roman Kiryanov ---

[PATCH 12/15] platform: goldfish: pipe: Rename the init function (add "v2")

2018-10-02 Thread rkir
From: Roman Kiryanov This is the v2 driver. v1 will be added later. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c| 2 +- drivers/platform/goldfish/goldfish_pipe_v2.c | 6 +++--- drivers/platform/goldfish/goldfish_pipe_v2.h | 6 +++--- 3 files changed, 7

[PATCH 11/15] platform: goldfish: pipe: Split the driver to v2 specific and the rest

2018-10-02 Thread rkir
From: Roman Kiryanov Move probe/remove and other driver stuff to a separate file to plug v1 there later. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/Makefile | 3 +- drivers/platform/goldfish/goldfish_pipe.c| 124 +++

[PATCH 08/15] platform: goldfish: pipe: Add a blank line to separate varibles and code

2018-10-02 Thread rkir
From: Roman Kiryanov checkpacth: Missing a blank line after declarations Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c index

[PATCH 02/15] platform: goldfish: pipe: Remove the goldfish_pipe_miscdev global variable

2018-10-02 Thread rkir
From: Roman Kiryanov This is a series of patches to remove mutable global variables to introduce another version of the pipe driver for the older host interface. I don't want to have two driver states where only one is used. Signed-off-by: Roman Kiryanov ---

[PATCH 09/15] platform: goldfish: pipe: Move goldfish_pipe to goldfish_pipe_v2

2018-10-02 Thread rkir
From: Roman Kiryanov This is the v2 driver. v1 will be added later. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/Makefile | 2 +- .../platform/goldfish/{goldfish_pipe.c => goldfish_pipe_v2.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-)

[PATCH 07/15] platform: goldfish: pipe: Return status from "deinit" since "remove" does not do much

2018-10-02 Thread rkir
From: Roman Kiryanov This way deinit will have a chance to report an error. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/platform/goldfish/goldfish_pipe.c

[PATCH 06/15] platform: goldfish: pipe: Move memory allocation from probe to init

2018-10-02 Thread rkir
From: Roman Kiryanov There will be two separate init functions for v1 and v2 (different driver versions) and they will allocate different state. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 42 +-- 1 file changed, 23 insertions(+), 19

[PATCH 05/15] platform: goldfish: pipe: Remove redundant casting

2018-10-02 Thread rkir
From: Roman Kiryanov This casting is not required. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c index

[PATCH 04/15] platform: goldfish: pipe: Call misc_deregister if init fails

2018-10-02 Thread rkir
From: Roman Kiryanov Undo effects of misc_register if driver's init fails after misc_register. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/platform/goldfish/goldfish_pipe.c

[PATCH 03/15] platform: goldfish: pipe: Remove the goldfish_pipe_dev global variable

2018-10-02 Thread rkir
From: Roman Kiryanov This is the last patch in the series of patches to remove mutable global variables to introduce another version of the pipe driver for the older host interface. I don't want to have two driver states where only one is used. Signed-off-by: Roman Kiryanov ---

[PATCH 04/15] platform: goldfish: pipe: Call misc_deregister if init fails

2018-10-02 Thread rkir
From: Roman Kiryanov Undo effects of misc_register if driver's init fails after misc_register. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/platform/goldfish/goldfish_pipe.c

[PATCH 03/15] platform: goldfish: pipe: Remove the goldfish_pipe_dev global variable

2018-10-02 Thread rkir
From: Roman Kiryanov This is the last patch in the series of patches to remove mutable global variables to introduce another version of the pipe driver for the older host interface. I don't want to have two driver states where only one is used. Signed-off-by: Roman Kiryanov ---

[PATCH 07/15] platform: goldfish: pipe: Return status from "deinit" since "remove" does not do much

2018-10-02 Thread rkir
From: Roman Kiryanov This way deinit will have a chance to report an error. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/platform/goldfish/goldfish_pipe.c

[PATCH 06/15] platform: goldfish: pipe: Move memory allocation from probe to init

2018-10-02 Thread rkir
From: Roman Kiryanov There will be two separate init functions for v1 and v2 (different driver versions) and they will allocate different state. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 42 +-- 1 file changed, 23 insertions(+), 19

[PATCH 05/15] platform: goldfish: pipe: Remove redundant casting

2018-10-02 Thread rkir
From: Roman Kiryanov This casting is not required. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c index

[PATCH v2 13/21] platform: goldfish: pipe: Split the driver to v2 specific and the rest

2018-09-26 Thread rkir
From: Roman Kiryanov Move probe/remove and other driver stuff to a separate file to plug v1 there later. Signed-off-by: Roman Kiryanov --- Changes in v2: - Removed breakage of allmodconfig. drivers/platform/goldfish/Makefile | 3 +- drivers/platform/goldfish/goldfish_pipe.c|

[PATCH v2 13/21] platform: goldfish: pipe: Split the driver to v2 specific and the rest

2018-09-26 Thread rkir
From: Roman Kiryanov Move probe/remove and other driver stuff to a separate file to plug v1 there later. Signed-off-by: Roman Kiryanov --- Changes in v2: - Removed breakage of allmodconfig. drivers/platform/goldfish/Makefile | 3 +- drivers/platform/goldfish/goldfish_pipe.c|

[PATCH v2 19/21] platform: goldfish: pipe: Add the goldfish_pipe_v1 driver

2018-09-26 Thread rkir
From: Roman Kiryanov This is the v1 goldfish pipe driver. Signed-off-by: Roman Kiryanov --- Changes in v2: - Rebased (Makefile). drivers/platform/goldfish/Makefile| 2 +- drivers/platform/goldfish/goldfish_pipe.c | 9 +- .../platform/goldfish/goldfish_pipe_qemu.h|

[PATCH v2 19/21] platform: goldfish: pipe: Add the goldfish_pipe_v1 driver

2018-09-26 Thread rkir
From: Roman Kiryanov This is the v1 goldfish pipe driver. Signed-off-by: Roman Kiryanov --- Changes in v2: - Rebased (Makefile). drivers/platform/goldfish/Makefile| 2 +- drivers/platform/goldfish/goldfish_pipe.c | 9 +- .../platform/goldfish/goldfish_pipe_qemu.h|

[PATCH v2 09/21] platform: goldfish: pipe: Remove the goldfish_pipe_dev global variable

2018-09-26 Thread rkir
From: Roman Kiryanov This is the last patch in the series of patches to remove mutable global variables to introduce another version of the pipe driver for the older host interface. I don't want to have two driver states where only one is used. Signed-off-by: Roman Kiryanov --- Changes in v2:

[PATCH v2 06/21] platform: goldfish: pipe: Add DMA support to goldfish pipe

2018-09-26 Thread rkir
From: Roman Kiryanov Goldfish DMA is an extension to the pipe device and is designed to facilitate high-speed RAM->RAM transfers from guest to host. See uapi/linux/goldfish/goldfish_dma.h for more details. Signed-off-by: Roman Kiryanov Signed-off-by: Lingfeng Yang --- Changes in v2: - Got

[PATCH v2 09/21] platform: goldfish: pipe: Remove the goldfish_pipe_dev global variable

2018-09-26 Thread rkir
From: Roman Kiryanov This is the last patch in the series of patches to remove mutable global variables to introduce another version of the pipe driver for the older host interface. I don't want to have two driver states where only one is used. Signed-off-by: Roman Kiryanov --- Changes in v2:

[PATCH v2 06/21] platform: goldfish: pipe: Add DMA support to goldfish pipe

2018-09-26 Thread rkir
From: Roman Kiryanov Goldfish DMA is an extension to the pipe device and is designed to facilitate high-speed RAM->RAM transfers from guest to host. See uapi/linux/goldfish/goldfish_dma.h for more details. Signed-off-by: Roman Kiryanov Signed-off-by: Lingfeng Yang --- Changes in v2: - Got

[PATCH 20/21] platform: goldfish: pipe: Remove redundant casting

2018-09-14 Thread rkir
From: Roman Kiryanov This casting is not required. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c index

[PATCH 19/21] platform: goldfish: pipe: Add the goldfish_pipe_v1 driver

2018-09-14 Thread rkir
From: Roman Kiryanov This is the v1 goldfish pipe driver. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/Makefile| 3 +- drivers/platform/goldfish/goldfish_pipe.c | 9 +- .../platform/goldfish/goldfish_pipe_qemu.h| 27 +

[PATCH 20/21] platform: goldfish: pipe: Remove redundant casting

2018-09-14 Thread rkir
From: Roman Kiryanov This casting is not required. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/platform/goldfish/goldfish_pipe.c b/drivers/platform/goldfish/goldfish_pipe.c index

[PATCH 19/21] platform: goldfish: pipe: Add the goldfish_pipe_v1 driver

2018-09-14 Thread rkir
From: Roman Kiryanov This is the v1 goldfish pipe driver. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/Makefile| 3 +- drivers/platform/goldfish/goldfish_pipe.c | 9 +- .../platform/goldfish/goldfish_pipe_qemu.h| 27 +

[PATCH 21/21] platform: goldfish: pipe: Fix allmodconfig build

2018-09-14 Thread rkir
From: Roman Kiryanov The changes fixes these errors: WARNING: modpost: missing MODULE_LICENSE() in drivers/platform/goldfish/goldfish_pipe_v1.o see include/linux/module.h for more information WARNING: modpost: missing MODULE_LICENSE() in drivers/platform/goldfish/goldfish_pipe_v2.o see

[PATCH 21/21] platform: goldfish: pipe: Fix allmodconfig build

2018-09-14 Thread rkir
From: Roman Kiryanov The changes fixes these errors: WARNING: modpost: missing MODULE_LICENSE() in drivers/platform/goldfish/goldfish_pipe_v1.o see include/linux/module.h for more information WARNING: modpost: missing MODULE_LICENSE() in drivers/platform/goldfish/goldfish_pipe_v2.o see

[PATCH 18/21] platform: goldfish: pipe: Rename PIPE_REG to PIPE_V2_REG

2018-09-14 Thread rkir
From: Roman Kiryanov PIPE_V1_REG will be introduced later for v1 support. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 4 ++-- drivers/platform/goldfish/goldfish_pipe_qemu.h | 18 +- drivers/platform/goldfish/goldfish_pipe_v2.c | 16

[PATCH 18/21] platform: goldfish: pipe: Rename PIPE_REG to PIPE_V2_REG

2018-09-14 Thread rkir
From: Roman Kiryanov PIPE_V1_REG will be introduced later for v1 support. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.c | 4 ++-- drivers/platform/goldfish/goldfish_pipe_qemu.h | 18 +- drivers/platform/goldfish/goldfish_pipe_v2.c | 16

[PATCH 16/21] platform: goldfish: pipe: Call misc_deregister if init fails

2018-09-14 Thread rkir
From: Roman Kiryanov Undo effects of misc_register if driver's init fails after misc_register. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe_v2.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/platform/goldfish/goldfish_pipe_v2.c

[PATCH 17/21] platform: goldfish: pipe: Add a dedicated constant for the device name

2018-09-14 Thread rkir
From: Roman Kiryanov Create a constant to refer to the device name instead if several copies of a string. Signed-off-by: Roman Kiryanov --- drivers/platform/goldfish/goldfish_pipe.h| 2 ++ drivers/platform/goldfish/goldfish_pipe_v2.c | 4 ++-- 2 files changed, 4 insertions(+), 2

  1   2   3   >