2019-06-10 14:19:23

by Linus Walleij

[permalink] [raw]
Subject: [PATCH] fmc: Delete the FMC subsystem

The FMC subsystem was created in 2012 with the ambition to
drive development of drivers for this hardware upstream.

The current implementation has architectural flaws and would
need to be revamped using real hardware to something that can
reuse existing kernel abstractions in the subsystems for e.g.
I2C, FPGA and GPIO.

We have concluded that for the mainline kernel it will be
better to delete the subsystem and start over with a clean
slate when/if an active maintainer steps up.

For details see:
https://lkml.org/lkml/2018/10/29/534

Suggested-by: Federico Vaga <[email protected]>
Cc: Federico Vaga <[email protected]>
Cc: Pat Riehecky <[email protected]>
Cc: Alessandro Rubini <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
---
If people are happy with this, I will queue the removal
in the GPIO kernel tree.
---
Documentation/fmc/API.txt | 47 ---
Documentation/fmc/FMC-and-SDB.txt | 88 ------
Documentation/fmc/carrier.txt | 311 --------------------
Documentation/fmc/fmc-chardev.txt | 64 ----
Documentation/fmc/fmc-fakedev.txt | 36 ---
Documentation/fmc/fmc-trivial.txt | 17 --
Documentation/fmc/fmc-write-eeprom.txt | 98 -------
Documentation/fmc/identifiers.txt | 168 -----------
Documentation/fmc/mezzanine.txt | 123 --------
Documentation/fmc/parameters.txt | 56 ----
drivers/fmc/Kconfig | 51 ----
drivers/fmc/Makefile | 15 -
drivers/fmc/fmc-chardev.c | 200 -------------
drivers/fmc/fmc-core.c | 389 -------------------------
drivers/fmc/fmc-debug.c | 173 -----------
drivers/fmc/fmc-dump.c | 59 ----
drivers/fmc/fmc-fakedev.c | 355 ----------------------
drivers/fmc/fmc-match.c | 114 --------
drivers/fmc/fmc-private.h | 9 -
drivers/fmc/fmc-sdb.c | 220 --------------
drivers/fmc/fmc-trivial.c | 102 -------
drivers/fmc/fmc-write-eeprom.c | 176 -----------
drivers/fmc/fru-parse.c | 81 -----
include/linux/fmc-sdb.h | 39 ---
include/linux/fmc.h | 272 -----------------
25 files changed, 3263 deletions(-)
delete mode 100644 Documentation/fmc/API.txt
delete mode 100644 Documentation/fmc/FMC-and-SDB.txt
delete mode 100644 Documentation/fmc/carrier.txt
delete mode 100644 Documentation/fmc/fmc-chardev.txt
delete mode 100644 Documentation/fmc/fmc-fakedev.txt
delete mode 100644 Documentation/fmc/fmc-trivial.txt
delete mode 100644 Documentation/fmc/fmc-write-eeprom.txt
delete mode 100644 Documentation/fmc/identifiers.txt
delete mode 100644 Documentation/fmc/mezzanine.txt
delete mode 100644 Documentation/fmc/parameters.txt
delete mode 100644 drivers/fmc/Kconfig
delete mode 100644 drivers/fmc/Makefile
delete mode 100644 drivers/fmc/fmc-chardev.c
delete mode 100644 drivers/fmc/fmc-core.c
delete mode 100644 drivers/fmc/fmc-debug.c
delete mode 100644 drivers/fmc/fmc-dump.c
delete mode 100644 drivers/fmc/fmc-fakedev.c
delete mode 100644 drivers/fmc/fmc-match.c
delete mode 100644 drivers/fmc/fmc-private.h
delete mode 100644 drivers/fmc/fmc-sdb.c
delete mode 100644 drivers/fmc/fmc-trivial.c
delete mode 100644 drivers/fmc/fmc-write-eeprom.c
delete mode 100644 drivers/fmc/fru-parse.c
delete mode 100644 include/linux/fmc-sdb.h
delete mode 100644 include/linux/fmc.h

diff --git a/Documentation/fmc/API.txt b/Documentation/fmc/API.txt
deleted file mode 100644
index 06b06b92c794..000000000000
diff --git a/Documentation/fmc/FMC-and-SDB.txt b/Documentation/fmc/FMC-and-SDB.txt
deleted file mode 100644
index fa14e0b24521..000000000000
diff --git a/Documentation/fmc/carrier.txt b/Documentation/fmc/carrier.txt
deleted file mode 100644
index 5e4f1dd3e98b..000000000000
diff --git a/Documentation/fmc/fmc-chardev.txt b/Documentation/fmc/fmc-chardev.txt
deleted file mode 100644
index d9ccb278e597..000000000000
diff --git a/Documentation/fmc/fmc-fakedev.txt b/Documentation/fmc/fmc-fakedev.txt
deleted file mode 100644
index e85b74a4ae30..000000000000
diff --git a/Documentation/fmc/fmc-trivial.txt b/Documentation/fmc/fmc-trivial.txt
deleted file mode 100644
index d1910bc67159..000000000000
diff --git a/Documentation/fmc/fmc-write-eeprom.txt b/Documentation/fmc/fmc-write-eeprom.txt
deleted file mode 100644
index e0a9712156aa..000000000000
diff --git a/Documentation/fmc/identifiers.txt b/Documentation/fmc/identifiers.txt
deleted file mode 100644
index 3bb577ff0d52..000000000000
diff --git a/Documentation/fmc/mezzanine.txt b/Documentation/fmc/mezzanine.txt
deleted file mode 100644
index 87910dbfc91e..000000000000
diff --git a/Documentation/fmc/parameters.txt b/Documentation/fmc/parameters.txt
deleted file mode 100644
index 59edf088e3a4..000000000000
diff --git a/drivers/fmc/Kconfig b/drivers/fmc/Kconfig
deleted file mode 100644
index 3a75f4256d08..000000000000
diff --git a/drivers/fmc/Makefile b/drivers/fmc/Makefile
deleted file mode 100644
index e3da6192cf39..000000000000
diff --git a/drivers/fmc/fmc-chardev.c b/drivers/fmc/fmc-chardev.c
deleted file mode 100644
index 5ecf4090a610..000000000000
diff --git a/drivers/fmc/fmc-core.c b/drivers/fmc/fmc-core.c
deleted file mode 100644
index bbcb505d1522..000000000000
diff --git a/drivers/fmc/fmc-debug.c b/drivers/fmc/fmc-debug.c
deleted file mode 100644
index 32930722770c..000000000000
diff --git a/drivers/fmc/fmc-dump.c b/drivers/fmc/fmc-dump.c
deleted file mode 100644
index cd1df475b254..000000000000
diff --git a/drivers/fmc/fmc-fakedev.c b/drivers/fmc/fmc-fakedev.c
deleted file mode 100644
index 941d0930969a..000000000000
diff --git a/drivers/fmc/fmc-match.c b/drivers/fmc/fmc-match.c
deleted file mode 100644
index a0956d1f7550..000000000000
diff --git a/drivers/fmc/fmc-private.h b/drivers/fmc/fmc-private.h
deleted file mode 100644
index 1e5136643bdc..000000000000
diff --git a/drivers/fmc/fmc-sdb.c b/drivers/fmc/fmc-sdb.c
deleted file mode 100644
index d0e65b86dc22..000000000000
diff --git a/drivers/fmc/fmc-trivial.c b/drivers/fmc/fmc-trivial.c
deleted file mode 100644
index b99dbc7ee203..000000000000
diff --git a/drivers/fmc/fmc-write-eeprom.c b/drivers/fmc/fmc-write-eeprom.c
deleted file mode 100644
index 3eb81bb1f1fc..000000000000
diff --git a/drivers/fmc/fru-parse.c b/drivers/fmc/fru-parse.c
deleted file mode 100644
index eb21480d399f..000000000000
diff --git a/include/linux/fmc-sdb.h b/include/linux/fmc-sdb.h
deleted file mode 100644
index bec899f0867c..000000000000
diff --git a/include/linux/fmc.h b/include/linux/fmc.h
deleted file mode 100644
index f0d482d29df7..000000000000
--
2.20.1


2019-06-11 08:15:54

by Alessandro Rubini

[permalink] [raw]

2019-06-11 16:58:00

by Federico Vaga

[permalink] [raw]
Subject: Re: [PATCH] fmc: Delete the FMC subsystem

Well I do not know if it make sense to make it stronger with:

Signed-off-by: Federico Vaga <[email protected]>

As you want

On Monday, June 10, 2019 4:18:09 PM CEST Linus Walleij wrote:
> The FMC subsystem was created in 2012 with the ambition to
> drive development of drivers for this hardware upstream.
>
> The current implementation has architectural flaws and would
> need to be revamped using real hardware to something that can
> reuse existing kernel abstractions in the subsystems for e.g.
> I2C, FPGA and GPIO.
>
> We have concluded that for the mainline kernel it will be
> better to delete the subsystem and start over with a clean
> slate when/if an active maintainer steps up.
>
> For details see:
> https://lkml.org/lkml/2018/10/29/534
>
> Suggested-by: Federico Vaga <[email protected]>
> Cc: Federico Vaga <[email protected]>
> Cc: Pat Riehecky <[email protected]>
> Cc: Alessandro Rubini <[email protected]>
> Signed-off-by: Linus Walleij <[email protected]>
> ---
> If people are happy with this, I will queue the removal
> in the GPIO kernel tree.
> ---
> Documentation/fmc/API.txt | 47 ---
> Documentation/fmc/FMC-and-SDB.txt | 88 ------
> Documentation/fmc/carrier.txt | 311 --------------------
> Documentation/fmc/fmc-chardev.txt | 64 ----
> Documentation/fmc/fmc-fakedev.txt | 36 ---
> Documentation/fmc/fmc-trivial.txt | 17 --
> Documentation/fmc/fmc-write-eeprom.txt | 98 -------
> Documentation/fmc/identifiers.txt | 168 -----------
> Documentation/fmc/mezzanine.txt | 123 --------
> Documentation/fmc/parameters.txt | 56 ----
> drivers/fmc/Kconfig | 51 ----
> drivers/fmc/Makefile | 15 -
> drivers/fmc/fmc-chardev.c | 200 -------------
> drivers/fmc/fmc-core.c | 389 -------------------------
> drivers/fmc/fmc-debug.c | 173 -----------
> drivers/fmc/fmc-dump.c | 59 ----
> drivers/fmc/fmc-fakedev.c | 355 ----------------------
> drivers/fmc/fmc-match.c | 114 --------
> drivers/fmc/fmc-private.h | 9 -
> drivers/fmc/fmc-sdb.c | 220 --------------
> drivers/fmc/fmc-trivial.c | 102 -------
> drivers/fmc/fmc-write-eeprom.c | 176 -----------
> drivers/fmc/fru-parse.c | 81 -----
> include/linux/fmc-sdb.h | 39 ---
> include/linux/fmc.h | 272 -----------------
> 25 files changed, 3263 deletions(-)
> delete mode 100644 Documentation/fmc/API.txt
> delete mode 100644 Documentation/fmc/FMC-and-SDB.txt
> delete mode 100644 Documentation/fmc/carrier.txt
> delete mode 100644 Documentation/fmc/fmc-chardev.txt
> delete mode 100644 Documentation/fmc/fmc-fakedev.txt
> delete mode 100644 Documentation/fmc/fmc-trivial.txt
> delete mode 100644 Documentation/fmc/fmc-write-eeprom.txt
> delete mode 100644 Documentation/fmc/identifiers.txt
> delete mode 100644 Documentation/fmc/mezzanine.txt
> delete mode 100644 Documentation/fmc/parameters.txt
> delete mode 100644 drivers/fmc/Kconfig
> delete mode 100644 drivers/fmc/Makefile
> delete mode 100644 drivers/fmc/fmc-chardev.c
> delete mode 100644 drivers/fmc/fmc-core.c
> delete mode 100644 drivers/fmc/fmc-debug.c
> delete mode 100644 drivers/fmc/fmc-dump.c
> delete mode 100644 drivers/fmc/fmc-fakedev.c
> delete mode 100644 drivers/fmc/fmc-match.c
> delete mode 100644 drivers/fmc/fmc-private.h
> delete mode 100644 drivers/fmc/fmc-sdb.c
> delete mode 100644 drivers/fmc/fmc-trivial.c
> delete mode 100644 drivers/fmc/fmc-write-eeprom.c
> delete mode 100644 drivers/fmc/fru-parse.c
> delete mode 100644 include/linux/fmc-sdb.h
> delete mode 100644 include/linux/fmc.h
>
> diff --git a/Documentation/fmc/API.txt b/Documentation/fmc/API.txt
> deleted file mode 100644
> index 06b06b92c794..000000000000
> diff --git a/Documentation/fmc/FMC-and-SDB.txt
> b/Documentation/fmc/FMC-and-SDB.txt deleted file mode 100644
> index fa14e0b24521..000000000000
> diff --git a/Documentation/fmc/carrier.txt b/Documentation/fmc/carrier.txt
> deleted file mode 100644
> index 5e4f1dd3e98b..000000000000
> diff --git a/Documentation/fmc/fmc-chardev.txt
> b/Documentation/fmc/fmc-chardev.txt deleted file mode 100644
> index d9ccb278e597..000000000000
> diff --git a/Documentation/fmc/fmc-fakedev.txt
> b/Documentation/fmc/fmc-fakedev.txt deleted file mode 100644
> index e85b74a4ae30..000000000000
> diff --git a/Documentation/fmc/fmc-trivial.txt
> b/Documentation/fmc/fmc-trivial.txt deleted file mode 100644
> index d1910bc67159..000000000000
> diff --git a/Documentation/fmc/fmc-write-eeprom.txt
> b/Documentation/fmc/fmc-write-eeprom.txt deleted file mode 100644
> index e0a9712156aa..000000000000
> diff --git a/Documentation/fmc/identifiers.txt
> b/Documentation/fmc/identifiers.txt deleted file mode 100644
> index 3bb577ff0d52..000000000000
> diff --git a/Documentation/fmc/mezzanine.txt
> b/Documentation/fmc/mezzanine.txt deleted file mode 100644
> index 87910dbfc91e..000000000000
> diff --git a/Documentation/fmc/parameters.txt
> b/Documentation/fmc/parameters.txt deleted file mode 100644
> index 59edf088e3a4..000000000000
> diff --git a/drivers/fmc/Kconfig b/drivers/fmc/Kconfig
> deleted file mode 100644
> index 3a75f4256d08..000000000000
> diff --git a/drivers/fmc/Makefile b/drivers/fmc/Makefile
> deleted file mode 100644
> index e3da6192cf39..000000000000
> diff --git a/drivers/fmc/fmc-chardev.c b/drivers/fmc/fmc-chardev.c
> deleted file mode 100644
> index 5ecf4090a610..000000000000
> diff --git a/drivers/fmc/fmc-core.c b/drivers/fmc/fmc-core.c
> deleted file mode 100644
> index bbcb505d1522..000000000000
> diff --git a/drivers/fmc/fmc-debug.c b/drivers/fmc/fmc-debug.c
> deleted file mode 100644
> index 32930722770c..000000000000
> diff --git a/drivers/fmc/fmc-dump.c b/drivers/fmc/fmc-dump.c
> deleted file mode 100644
> index cd1df475b254..000000000000
> diff --git a/drivers/fmc/fmc-fakedev.c b/drivers/fmc/fmc-fakedev.c
> deleted file mode 100644
> index 941d0930969a..000000000000
> diff --git a/drivers/fmc/fmc-match.c b/drivers/fmc/fmc-match.c
> deleted file mode 100644
> index a0956d1f7550..000000000000
> diff --git a/drivers/fmc/fmc-private.h b/drivers/fmc/fmc-private.h
> deleted file mode 100644
> index 1e5136643bdc..000000000000
> diff --git a/drivers/fmc/fmc-sdb.c b/drivers/fmc/fmc-sdb.c
> deleted file mode 100644
> index d0e65b86dc22..000000000000
> diff --git a/drivers/fmc/fmc-trivial.c b/drivers/fmc/fmc-trivial.c
> deleted file mode 100644
> index b99dbc7ee203..000000000000
> diff --git a/drivers/fmc/fmc-write-eeprom.c b/drivers/fmc/fmc-write-eeprom.c
> deleted file mode 100644
> index 3eb81bb1f1fc..000000000000
> diff --git a/drivers/fmc/fru-parse.c b/drivers/fmc/fru-parse.c
> deleted file mode 100644
> index eb21480d399f..000000000000
> diff --git a/include/linux/fmc-sdb.h b/include/linux/fmc-sdb.h
> deleted file mode 100644
> index bec899f0867c..000000000000
> diff --git a/include/linux/fmc.h b/include/linux/fmc.h
> deleted file mode 100644
> index f0d482d29df7..000000000000


--
Federico Vaga [CERN BE-CO-HT]


2019-06-12 17:17:36

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] fmc: Delete the FMC subsystem

On Mon, Jun 10, 2019 at 4:18 PM Linus Walleij <[email protected]> wrote:

> The FMC subsystem was created in 2012 with the ambition to
> drive development of drivers for this hardware upstream.
>
> The current implementation has architectural flaws and would
> need to be revamped using real hardware to something that can
> reuse existing kernel abstractions in the subsystems for e.g.
> I2C, FPGA and GPIO.
>
> We have concluded that for the mainline kernel it will be
> better to delete the subsystem and start over with a clean
> slate when/if an active maintainer steps up.
>
> For details see:
> https://lkml.org/lkml/2018/10/29/534
>
> Suggested-by: Federico Vaga <[email protected]>
> Cc: Federico Vaga <[email protected]>
> Cc: Pat Riehecky <[email protected]>
> Cc: Alessandro Rubini <[email protected]>
> Signed-off-by: Linus Walleij <[email protected]>

After consent from the authors I have queued the removal in
the GPIO subsystem tree.

Yours,
Linus Walleij