platform/surface: Create a platform subdirectory for Microsoft Surface devices
Subsystems (3)
Maximilian Luz
maintainerv2 cover platform/surface: Create a platform subdirectory for Microsoft Surface devices
As has come up in the discussion around
[RFC PATCH] Add support for Microsoft Surface System Aggregator Module
it may make sense to add a Microsoft Surface specific platform subdirectory. Andy has suggested drivers/platform/surface for that. This series follows said suggestion and creates that subdirectory, as well as moves Microsoft Surface related drivers over to it and updates their MAINTAINERS entries (if available) accordingly.
This series does not modify any existing driver code, symbols, or help text.
Thanks,
Max
Link to discussion:
https://lore.kernel.org/lkml/CAHp75Vfp86h38Rd-VEgER7ASADdmz5ymAkuHvD0Q6WPDqZBqHw@mail.gmail.com/
Changes in v2:
- Rebase onto linux-platform-drivers-x86/for-next to incorporate changes in Maintainer file.
For more details regarding changes, refer to the individual patches.
Maximilian Luz (5):
platform: Add Surface platform directory
platform/surface: Move Surface 3 WMI driver to platform/surface platform/surface: Move Surface 3 Button driver to platform/surface platform/surface: Move Surface 3 Power OpRegion driver to
platform/surface
platform/surface: Move Surface Pro 3 Button driver to platform/surface
MAINTAINERS | 3 +-
drivers/platform/Kconfig | 2 +
drivers/platform/Makefile | 1 +
drivers/platform/surface/Kconfig | 49 +++++++++++++++++++
drivers/platform/surface/Makefile | 10 ++++
.../platform/{x86 => surface}/surface3-wmi.c | 0
.../{x86 => surface}/surface3_button.c | 0
.../{x86 => surface}/surface3_power.c | 0
.../{x86 => surface}/surfacepro3_button.c | 0
drivers/platform/x86/Kconfig | 31 ------------
drivers/platform/x86/Makefile | 6 ---
11 files changed, 64 insertions(+), 38 deletions(-)
create mode 100644 drivers/platform/surface/Kconfig
create mode 100644 drivers/platform/surface/Makefile
rename drivers/platform/{x86 => surface}/surface3-wmi.c (100%)
rename drivers/platform/{x86 => surface}/surface3_button.c (100%)
rename drivers/platform/{x86 => surface}/surface3_power.c (100%)
rename drivers/platform/{x86 => surface}/surfacepro3_button.c (100%)Signature · 1 line
2.28.0
Maximilian Luz
maintainerPATCH v2 1/5 platform: Add Surface platform directory
It may make sense to split the Microsoft Surface hardware platform drivers out to a separate subdirectory, since some of it may be shared between ARM and x86 in the future (regarding devices like the Surface Pro X).
Further, newer Surface devices will require additional platform drivers for fundamental support (mostly regarding their embedded controller), which may also warrant this split from a size perspective.
This commit introduces a new platform/surface subdirectory for the Surface device family, with subsequent commits moving existing Surface drivers over from platform/x86.
---
Changes in v2:
- Do not create a separate MAINTAINERS entry for platform/surface. Instead add drivers/platform/surface to x86 platform drivers entry. This incorporates recent changes in the x86 platform driver MAINTAINERS entry.
- Fix typo in commit message.
--- MAINTAINERS | 1 + drivers/platform/Kconfig | 2 ++ drivers/platform/Makefile | 1 + drivers/platform/surface/Kconfig | 20 ++++++++++++++++++++ drivers/platform/surface/Makefile | 7 +++++++ 5 files changed, 31 insertions(+) create mode 100644 drivers/platform/surface/Kconfig create mode 100644 drivers/platform/surface/Makefile
MAINTAINERS +1 -0
@@ -18863,6 +18863,7 @@ L: [email protected] S: Maintained T: git git://git.infradead.org/linux-platform-drivers-x86.git F: drivers/platform/olpc/ +F: drivers/platform/surface/ F: drivers/platform/x86/ X86 PLATFORM DRIVERS - ARCH
drivers/platform/Kconfig +2 -0
@@ -13,3 +13,5 @@ source "drivers/platform/chrome/Kconfig" source "drivers/platform/mellanox/Kconfig" source "drivers/platform/olpc/Kconfig" + +source "drivers/platform/surface/Kconfig"
drivers/platform/Makefile +1 -0
@@ -9,3 +9,4 @@ obj-$(CONFIG_MIPS) += mips/ obj-$(CONFIG_OLPC_EC) += olpc/ obj-$(CONFIG_GOLDFISH) += goldfish/ obj-$(CONFIG_CHROME_PLATFORMS) += chrome/ +obj-$(CONFIG_SURFACE_PLATFORM) += surface/
drivers/platform/surface/Kconfig new file +20 -0
@@ -0,0 +1,20 @@ +# SPDX-License-Identifier: GPL-2.0-only +# +# Microsoft Surface Platform-Specific Drivers +# + +menuconfig SURFACE_PLATFORM + bool "Microsoft Surface Platform-Specific Device Drivers" + default y + help + Say Y here to get to see options for platform-specific device drivers + for Microsoft Surface devices. This option alone does not add any + kernel code. + + If you say N, all options in this submenu will be skipped and disabled. + +if SURFACE_PLATFORM + +# place Microsoft Surface platform drivers here + +endif # SURFACE_PLATFORM
drivers/platform/surface/Makefile new file +7 -0
@@ -0,0 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Makefile for linux/drivers/platform/surface +# Microsoft Surface Platform-Specific Drivers +# + +# place Microsoft Surface platform drivers here
Signature · 1 line
2.28.0
Maximilian Luz
maintainerPATCH v2 3/5 platform/surface: Move Surface 3 Button driver to platform/surface
In reply to Maximilian LuzMove the Surface 3 Button driver from platform/x86 to the newly created platform/surface directory.
---
drivers/platform/surface/Kconfig | 6 ++++++
drivers/platform/surface/Makefile | 1 +
drivers/platform/{x86 => surface}/surface3_button.c | 0
drivers/platform/x86/Kconfig | 6 ------
drivers/platform/x86/Makefile | 1 -
5 files changed, 7 insertions(+), 7 deletions(-)
rename drivers/platform/{x86 => surface}/surface3_button.c (100%)drivers/platform/surface/Kconfig +6 -0
@@ -27,4 +27,10 @@ config SURFACE3_WMI To compile this driver as a module, choose M here: the module will be called surface3-wmi. +config SURFACE_3_BUTTON + tristate "Power/home/volume buttons driver for Microsoft Surface 3 tablet" + depends on ACPI && KEYBOARD_GPIO && I2C + help + This driver handles the power/home/volume buttons on the Microsoft Surface 3 tablet. + endif # SURFACE_PLATFORM
drivers/platform/surface/Makefile +1 -0
@@ -5,3 +5,4 @@ # obj-$(CONFIG_SURFACE3_WMI) += surface3-wmi.o +obj-$(CONFIG_SURFACE_3_BUTTON) += surface3_button.o
drivers/platform/surface/surface3_button.c renamed from drivers/platform/x86/surface3_button.c +0 -0
drivers/platform/x86/Kconfig +0 -6
@@ -870,12 +870,6 @@ config INTEL_VBTN To compile this driver as a module, choose M here: the module will be called intel_vbtn. -config SURFACE_3_BUTTON - tristate "Power/home/volume buttons driver for Microsoft Surface 3 tablet" - depends on ACPI && KEYBOARD_GPIO && I2C - help - This driver handles the power/home/volume buttons on the Microsoft Surface 3 tablet. - config SURFACE_3_POWER_OPREGION tristate "Surface 3 battery platform operation region support" depends on ACPI && I2C
drivers/platform/x86/Makefile +0 -1
@@ -82,7 +82,6 @@ obj-$(CONFIG_INTEL_OAKTRAIL) += intel_oaktrail.o obj-$(CONFIG_INTEL_VBTN) += intel-vbtn.o # Microsoft -obj-$(CONFIG_SURFACE_3_BUTTON) += surface3_button.o obj-$(CONFIG_SURFACE_3_POWER_OPREGION) += surface3_power.o obj-$(CONFIG_SURFACE_PRO3_BUTTON) += surfacepro3_button.o
Signature · 1 line
2.28.0
Maximilian Luz
maintainerPATCH v2 2/5 platform/surface: Move Surface 3 WMI driver to platform/surface
In reply to Maximilian LuzMove the Surface 3 WMI driver from platform/x86 to the newly created platform/surface directory.
---
drivers/platform/surface/Kconfig | 12 +++++++++++-
drivers/platform/surface/Makefile | 2 +-
drivers/platform/{x86 => surface}/surface3-wmi.c | 0
drivers/platform/x86/Kconfig | 12 ------------
drivers/platform/x86/Makefile | 1 -
5 files changed, 12 insertions(+), 15 deletions(-)
rename drivers/platform/{x86 => surface}/surface3-wmi.c (100%)drivers/platform/surface/Kconfig +11 -1
@@ -15,6 +15,16 @@ menuconfig SURFACE_PLATFORM if SURFACE_PLATFORM -# place Microsoft Surface platform drivers here +config SURFACE3_WMI + tristate "Surface 3 WMI Driver" + depends on ACPI_WMI + depends on DMI + depends on INPUT + depends on SPI + help + Say Y here if you have a Surface 3. + + To compile this driver as a module, choose M here: the module will + be called surface3-wmi. endif # SURFACE_PLATFORM
drivers/platform/surface/Makefile +1 -1
@@ -4,4 +4,4 @@ # Microsoft Surface Platform-Specific Drivers # -# place Microsoft Surface platform drivers here +obj-$(CONFIG_SURFACE3_WMI) += surface3-wmi.o
drivers/platform/surface/surface3-wmi.c renamed from drivers/platform/x86/surface3-wmi.c +0 -0
drivers/platform/x86/Kconfig +0 -12
@@ -870,18 +870,6 @@ config INTEL_VBTN To compile this driver as a module, choose M here: the module will be called intel_vbtn. -config SURFACE3_WMI - tristate "Surface 3 WMI Driver" - depends on ACPI_WMI - depends on DMI - depends on INPUT - depends on SPI - help - Say Y here if you have a Surface 3. - - To compile this driver as a module, choose M here: the module will - be called surface3-wmi. - config SURFACE_3_BUTTON tristate "Power/home/volume buttons driver for Microsoft Surface 3 tablet" depends on ACPI && KEYBOARD_GPIO && I2C
drivers/platform/x86/Makefile +0 -1
@@ -82,7 +82,6 @@ obj-$(CONFIG_INTEL_OAKTRAIL) += intel_oaktrail.o obj-$(CONFIG_INTEL_VBTN) += intel-vbtn.o # Microsoft -obj-$(CONFIG_SURFACE3_WMI) += surface3-wmi.o obj-$(CONFIG_SURFACE_3_BUTTON) += surface3_button.o obj-$(CONFIG_SURFACE_3_POWER_OPREGION) += surface3_power.o obj-$(CONFIG_SURFACE_PRO3_BUTTON) += surfacepro3_button.o
Signature · 1 line
2.28.0
Maximilian Luz
maintainerPATCH v2 4/5 platform/surface: Move Surface 3 Power OpRegion driver to platform/surface
In reply to Maximilian LuzMove the Surface 3 Power operation region driver from platform/x86 to the newly created platform/surface directory.
---
drivers/platform/surface/Kconfig | 7 +++++++
drivers/platform/surface/Makefile | 1 +
drivers/platform/{x86 => surface}/surface3_power.c | 0
drivers/platform/x86/Kconfig | 7 -------
drivers/platform/x86/Makefile | 1 -
5 files changed, 8 insertions(+), 8 deletions(-)
rename drivers/platform/{x86 => surface}/surface3_power.c (100%)drivers/platform/surface/Kconfig +7 -0
@@ -33,4 +33,11 @@ config SURFACE_3_BUTTON help This driver handles the power/home/volume buttons on the Microsoft Surface 3 tablet. +config SURFACE_3_POWER_OPREGION + tristate "Surface 3 battery platform operation region support" + depends on ACPI && I2C + help + This driver provides support for ACPI operation + region of the Surface 3 battery platform driver. + endif # SURFACE_PLATFORM
drivers/platform/surface/Makefile +1 -0
@@ -6,3 +6,4 @@ obj-$(CONFIG_SURFACE3_WMI) += surface3-wmi.o obj-$(CONFIG_SURFACE_3_BUTTON) += surface3_button.o +obj-$(CONFIG_SURFACE_3_POWER_OPREGION) += surface3_power.o
drivers/platform/surface/surface3_power.c renamed from drivers/platform/x86/surface3_power.c +0 -0
drivers/platform/x86/Kconfig +0 -7
@@ -870,13 +870,6 @@ config INTEL_VBTN To compile this driver as a module, choose M here: the module will be called intel_vbtn. -config SURFACE_3_POWER_OPREGION - tristate "Surface 3 battery platform operation region support" - depends on ACPI && I2C - help - This driver provides support for ACPI operation - region of the Surface 3 battery platform driver. - config SURFACE_PRO3_BUTTON tristate "Power/home/volume buttons driver for Microsoft Surface Pro 3/4 tablet" depends on ACPI && INPUT
drivers/platform/x86/Makefile +0 -1
@@ -82,7 +82,6 @@ obj-$(CONFIG_INTEL_OAKTRAIL) += intel_oaktrail.o obj-$(CONFIG_INTEL_VBTN) += intel-vbtn.o # Microsoft -obj-$(CONFIG_SURFACE_3_POWER_OPREGION) += surface3_power.o obj-$(CONFIG_SURFACE_PRO3_BUTTON) += surfacepro3_button.o # MSI
Signature · 1 line
2.28.0
Maximilian Luz
maintainerPATCH v2 5/5 platform/surface: Move Surface Pro 3 Button driver to platform/surface
In reply to Maximilian LuzMove the Surface Pro 3 Button driver from platform/x86 to the newly created platform/surface directory.
---
MAINTAINERS | 2 +-
drivers/platform/surface/Kconfig | 6 ++++++
drivers/platform/surface/Makefile | 1 +
drivers/platform/{x86 => surface}/surfacepro3_button.c | 0
drivers/platform/x86/Kconfig | 6 ------
drivers/platform/x86/Makefile | 3 ---
6 files changed, 8 insertions(+), 10 deletions(-)
rename drivers/platform/{x86 => surface}/surfacepro3_button.c (100%)MAINTAINERS +1 -1
@@ -11536,7 +11536,7 @@ MICROSOFT SURFACE PRO 3 BUTTON DRIVER M: Chen Yu <[email protected]> L: [email protected] S: Supported -F: drivers/platform/x86/surfacepro3_button.c +F: drivers/platform/surface/surfacepro3_button.c MICROTEK X6 SCANNER M: Oliver Neukum <[email protected]>
drivers/platform/surface/Kconfig +6 -0
@@ -40,4 +40,10 @@ config SURFACE_3_POWER_OPREGION This driver provides support for ACPI operation region of the Surface 3 battery platform driver. +config SURFACE_PRO3_BUTTON + tristate "Power/home/volume buttons driver for Microsoft Surface Pro 3/4 tablet" + depends on ACPI && INPUT + help + This driver handles the power/home/volume buttons on the Microsoft Surface Pro 3/4 tablet. + endif # SURFACE_PLATFORM
drivers/platform/surface/Makefile +1 -0
@@ -7,3 +7,4 @@ obj-$(CONFIG_SURFACE3_WMI) += surface3-wmi.o obj-$(CONFIG_SURFACE_3_BUTTON) += surface3_button.o obj-$(CONFIG_SURFACE_3_POWER_OPREGION) += surface3_power.o +obj-$(CONFIG_SURFACE_PRO3_BUTTON) += surfacepro3_button.o
drivers/platform/surface/surfacepro3_button.c renamed from drivers/platform/x86/surfacepro3_button.c +0 -0
drivers/platform/x86/Kconfig +0 -6
@@ -870,12 +870,6 @@ config INTEL_VBTN To compile this driver as a module, choose M here: the module will be called intel_vbtn. -config SURFACE_PRO3_BUTTON - tristate "Power/home/volume buttons driver for Microsoft Surface Pro 3/4 tablet" - depends on ACPI && INPUT - help - This driver handles the power/home/volume buttons on the Microsoft Surface Pro 3/4 tablet. - config MSI_LAPTOP tristate "MSI Laptop Extras" depends on ACPI
drivers/platform/x86/Makefile +0 -3
@@ -81,9 +81,6 @@ obj-$(CONFIG_INTEL_MENLOW) += intel_menlow.o obj-$(CONFIG_INTEL_OAKTRAIL) += intel_oaktrail.o obj-$(CONFIG_INTEL_VBTN) += intel-vbtn.o -# Microsoft -obj-$(CONFIG_SURFACE_PRO3_BUTTON) += surfacepro3_button.o - # MSI obj-$(CONFIG_MSI_LAPTOP) += msi-laptop.o obj-$(CONFIG_MSI_WMI) += msi-wmi.o
Signature · 1 line
2.28.0
Hi Maximilian,
Quoted 4 lines · Maximilian Luz
As has come up in the discussion around
[RFC PATCH] Add support for Microsoft Surface System Aggregator Module
Quoted 8 lines
it may make sense to add a Microsoft Surface specific platform subdirectory. Andy has suggested
drivers/platform/surfacefor that. This series follows said suggestion and creates that subdirectory, as well as moves Microsoft Surface related drivers over to it and updates theirMAINTAINERSentries (if available) accordingly.This series does not modify any existing driver code, symbols, or help text.
In case you do not know I'm taking over from any as drivers/platform/x86 maintainer.
I'm fine with the concept of this series, but who is going to maintain this new drivers/platform/surface directory ?
Ah I see that the first patch answers that question and the plan is to keep this part of the pdx86 maintainership.
I would prefer for the new dir to have its own MAINTAINERS entry if I'm honest, I would like to try and split maintainership for the surface stuff as follows:
1. Who will review (and add their Reviewed-by or ask for improvements or nack) patches to files in this dir?
2. Who will gather approved patches apply them to a for-next branch and send them out to Linus during the merge Window?
I can pick up 2. but I could really use some help with 1. So I was thinking having a separate MAINTAINERS entry for the new dir with you (Maximilian) (and me and Mark Gross) listed as MAINTAINERS; and then I'm hoping that you can do the review of surface related patches. At least those which you have not written yourself.
How does that sound ?
Regards,
Hans
Quoted 38 lines
Link to discussion:
https://lore.kernel.org/lkml/CAHp75Vfp86h38Rd-VEgER7ASADdmz5ymAkuHvD0Q6WPDqZBqHw@mail.gmail.com/Cc Andy Shevchenko <[email protected]>Changes in v2:
- Rebase onto linux-platform-drivers-x86/for-next to incorporate changes in Maintainer file.For more details regarding changes, refer to the individual patches.
Maximilian Luz (5):
platform: Add Surface platform directory
platform/surface: Move Surface 3 WMI driver to platform/surface platform/surface: Move Surface 3 Button driver to platform/surface platform/surface: Move Surface 3 Power OpRegion driver to
platform/surface
platform/surface: Move Surface Pro 3 Button driver to platform/surfaceMAINTAINERS | 3 +- drivers/platform/Kconfig | 2 + drivers/platform/Makefile | 1 + drivers/platform/surface/Kconfig | 49 +++++++++++++++++++ drivers/platform/surface/Makefile | 10 ++++ .../platform/{x86 => surface}/surface3-wmi.c | 0 .../{x86 => surface}/surface3_button.c | 0 .../{x86 => surface}/surface3_power.c | 0 .../{x86 => surface}/surfacepro3_button.c | 0 drivers/platform/x86/Kconfig | 31 ------------ drivers/platform/x86/Makefile | 6 --- 11 files changed, 64 insertions(+), 38 deletions(-)create mode 100644
drivers/platform/surface/Kconfigcreate mode 100644drivers/platform/surface/Makefilerenamedrivers/platform/{x86=>surface}/surface3-wmi.c(100%) renamedrivers/platform/{x86=>surface}/surface3_button.c(100%) renamedrivers/platform/{x86=>surface}/surface3_power.c(100%) renamedrivers/platform/{x86=>surface}/surfacepro3_button.c(100%)
Maximilian Luz
maintainerQuoted 35 lines · Hans de Goede
Hi Maximilian,
Quoted 4 lines · Maximilian Luz
As has come up in the discussion around
[RFC PATCH] Add support for Microsoft Surface System Aggregator Module
Quoted 8 lines
it may make sense to add a Microsoft Surface specific platform subdirectory. Andy has suggested
drivers/platform/surfacefor that. This series follows said suggestion and creates that subdirectory, as well as moves Microsoft Surface related drivers over to it and updates theirMAINTAINERSentries (if available) accordingly.This series does not modify any existing driver code, symbols, or help text.
In case you do not know I'm taking over from any as
drivers/platform/x86maintainer.I'm fine with the concept of this series, but who is going to maintain this new
drivers/platform/surfacedirectory ?Ah I see that the first patch answers that question and the plan is to keep this part of the pdx86 maintainership.
I would prefer for the new dir to have its own
MAINTAINERSentry if I'm honest, I would like to try and split maintainership for the surface stuff as follows:1. Who will review (and add their Reviewed-by or ask for improvements or nack) patches to files in this dir?
2. Who will gather approved patches apply them to a for-next branch and send them out to Linus during the merge Window?
Quoted 8 lines
I can pick up 2. but I could really use some help with 1. So I was thinking having a separate
MAINTAINERSentry for the new dir with you (Maximilian) (and me and Mark Gross) listed asMAINTAINERS; and then I'm hoping that you can do the review of surface related patches. At least those which you have not written yourself.How does that sound ?
Sounds good, I'd be happy to help review and approve any Surface related patches. However, I think it would be beneficial if you and Mark still have a final look (and say) over the ones I've reviewed and accepted (if that's not already a given). I feel like I may lack a bit of experience for this job and might miss some things.
I'll add the MAINTAINERS entry and send a v3 later today, if that's OK.
Regards,
Max
Hi,
Quoted 43 lines · Maximilian Luz
Quoted 42 lines · Hans de Goede
Hi Maximilian,
Quoted 4 lines · Maximilian Luz
As has come up in the discussion around
[RFC PATCH] Add support for Microsoft Surface System Aggregator Module
Quoted 8 lines
it may make sense to add a Microsoft Surface specific platform subdirectory. Andy has suggested
drivers/platform/surfacefor that. This series follows said suggestion and creates that subdirectory, as well as moves Microsoft Surface related drivers over to it and updates theirMAINTAINERSentries (if available) accordingly.This series does not modify any existing driver code, symbols, or help text.
In case you do not know I'm taking over from any as
drivers/platform/x86maintainer.I'm fine with the concept of this series, but who is going to maintain this new
drivers/platform/surfacedirectory ?Ah I see that the first patch answers that question and the plan is to keep this part of the pdx86 maintainership.
I would prefer for the new dir to have its own
MAINTAINERSentry if I'm honest, I would like to try and split maintainership for the surface stuff as follows:1. Who will review (and add their Reviewed-by or ask for improvements or nack) patches to files in this dir?
2. Who will gather approved patches apply them to a for-next branch and send them out to Linus during the merge Window?
I can pick up 2. but I could really use some help with 1. So I was thinking having a separate
MAINTAINERSentry for the new dir with you (Maximilian) (and me and Mark Gross) listed asMAINTAINERS; and then I'm hoping that you can do the review of surface related patches. At least those which you have not written yourself.
Quoted 7 lines
Quoted 1 line
How does that sound ?
Sounds good, I'd be happy to help review and approve any Surface related patches. However, I think it would be beneficial if you and Mark still have a final look (and say) over the ones I've reviewed and accepted (if that's not already a given). I feel like I may lack a bit of experience for this job and might miss some things.
Since Mark or I will be merging the patches we will indeed still take a look at them, but it helps if someone else has already done a review first.
Quoted 1 line
I'll add the
MAINTAINERSentry and send a v3 later today, if that's OK.
That sounds good, thanks.
Regards,
Hans
Quoted 33 lines · Hans de Goede
Quoted 4 lines · Maximilian Luz
As has come up in the discussion around
[RFC PATCH] Add support for Microsoft Surface System Aggregator Module
Quoted 8 lines
it may make sense to add a Microsoft Surface specific platform subdirectory. Andy has suggested
drivers/platform/surfacefor that. This series follows said suggestion and creates that subdirectory, as well as moves Microsoft Surface related drivers over to it and updates theirMAINTAINERSentries (if available) accordingly.This series does not modify any existing driver code, symbols, or help text.
In case you do not know I'm taking over from any as
drivers/platform/x86maintainer.I'm fine with the concept of this series, but who is going to maintain this new
drivers/platform/surfacedirectory ?Ah I see that the first patch answers that question and the plan is to keep this part of the pdx86 maintainership.
I would prefer for the new dir to have its own
MAINTAINERSentry if I'm honest, I would like to try and split maintainership for the surface stuff as follows:1. Who will review (and add their Reviewed-by or ask for improvements or nack) patches to files in this dir?
2. Who will gather approved patches apply them to a for-next branch and send them out to Linus during the merge Window?
Quoted 6 lines
I can pick up 2. but I could really use some help with 1. So I was thinking having a separate
MAINTAINERSentry for the new dir with you (Maximilian) (and me and Mark Gross) listed asMAINTAINERS; and then I'm hoping that you can do the review of surface related patches. At least those which you have not written yourself.
The idea was exactly like you described, i.e. taking 2 while relying on 1 done by someone more familiar with that. JFYI: for Mellanox we required Vadim to Rb their code before us.
Signature · 2 lines
With Best Regards, Andy Shevchenko
Maximilian Luz
maintainerQuoted 54 lines · Hans de Goede
Hi,
Quoted 43 lines · Maximilian Luz
Quoted 42 lines · Hans de Goede
Hi Maximilian,
Quoted 4 lines · Maximilian Luz
As has come up in the discussion around
[RFC PATCH] Add support for Microsoft Surface System Aggregator Module
Quoted 8 lines
it may make sense to add a Microsoft Surface specific platform subdirectory. Andy has suggested
drivers/platform/surfacefor that. This series follows said suggestion and creates that subdirectory, as well as moves Microsoft Surface related drivers over to it and updates theirMAINTAINERSentries (if available) accordingly.This series does not modify any existing driver code, symbols, or help text.
In case you do not know I'm taking over from any as
drivers/platform/x86maintainer.I'm fine with the concept of this series, but who is going to maintain this new
drivers/platform/surfacedirectory ?Ah I see that the first patch answers that question and the plan is to keep this part of the pdx86 maintainership.
I would prefer for the new dir to have its own
MAINTAINERSentry if I'm honest, I would like to try and split maintainership for the surface stuff as follows:1. Who will review (and add their Reviewed-by or ask for improvements or nack) patches to files in this dir?
2. Who will gather approved patches apply them to a for-next branch and send them out to Linus during the merge Window?
I can pick up 2. but I could really use some help with 1. So I was thinking having a separate
MAINTAINERSentry for the new dir with you (Maximilian) (and me and Mark Gross) listed asMAINTAINERS; and then I'm hoping that you can do the review of surface related patches. At least those which you have not written yourself.Quoted 7 lines
Quoted 1 line
How does that sound ?
Sounds good, I'd be happy to help review and approve any Surface related patches. However, I think it would be beneficial if you and Mark still have a final look (and say) over the ones I've reviewed and accepted (if that's not already a given). I feel like I may lack a bit of experience for this job and might miss some things.
Quoted 3 lines
Since Mark or I will be merging the patches we will indeed still take a look at them, but it helps if someone else has already done a review first.
Perfect, thank you! I'll take on 1) then.
Regards,
Max
Hi,
Quoted 43 lines · Maximilian Luz
Quoted 42 lines · Hans de Goede
Hi Maximilian,
Quoted 4 lines · Maximilian Luz
As has come up in the discussion around
[RFC PATCH] Add support for Microsoft Surface System Aggregator Module
Quoted 8 lines
it may make sense to add a Microsoft Surface specific platform subdirectory. Andy has suggested
drivers/platform/surfacefor that. This series follows said suggestion and creates that subdirectory, as well as moves Microsoft Surface related drivers over to it and updates theirMAINTAINERSentries (if available) accordingly.This series does not modify any existing driver code, symbols, or help text.
In case you do not know I'm taking over from any as
drivers/platform/x86maintainer.I'm fine with the concept of this series, but who is going to maintain this new
drivers/platform/surfacedirectory ?Ah I see that the first patch answers that question and the plan is to keep this part of the pdx86 maintainership.
I would prefer for the new dir to have its own
MAINTAINERSentry if I'm honest, I would like to try and split maintainership for the surface stuff as follows:1. Who will review (and add their Reviewed-by or ask for improvements or nack) patches to files in this dir?
2. Who will gather approved patches apply them to a for-next branch and send them out to Linus during the merge Window?
I can pick up 2. but I could really use some help with 1. So I was thinking having a separate
MAINTAINERSentry for the new dir with you (Maximilian) (and me and Mark Gross) listed asMAINTAINERS; and then I'm hoping that you can do the review of surface related patches. At least those which you have not written yourself.
Quoted 7 lines
Quoted 1 line
How does that sound ?
Sounds good, I'd be happy to help review and approve any Surface related patches. However, I think it would be beneficial if you and Mark still have a final look (and say) over the ones I've reviewed and accepted (if that's not already a given). I feel like I may lack a bit of experience for this job and might miss some things.
Since Mark or I will be merging the patches we will indeed still take a look at them, but it helps if someone else has already done a review first.
Quoted 1 line
I'll add the
MAINTAINERSentry and send a v3 later today, if that's OK.
That sounds good, thanks.
Regards,
Hans