* [PATCH -next v2 0/3] ata: Enable module autoloading
@ 2024-08-31 7:21 Liao Chen
2024-08-31 7:21 ` [PATCH -next v2 1/3] ata: pata_ftide010: " Liao Chen
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Liao Chen @ 2024-08-31 7:21 UTC (permalink / raw)
To: linux-ide, linux-kernel; +Cc: s.shtylyov, linus.walleij, dlemoal, cassel
Hi all,
This patchset aims to enable autoloading of some use modules. By
registering MDT, the kernel is allowed to automatically bind modules to
devices that match the specified compatible strings.
Liao Chen (3):
ata: pata_ftide010: Enable module autoloading
ata: pata_ixp4xx: Enable module autoloading
ata: sata_gemini: Enable module autoloading
drivers/ata/pata_ftide010.c | 1 +
drivers/ata/pata_ixp4xx_cf.c | 1 +
drivers/ata/sata_gemini.c | 1 +
3 files changed, 3 insertions(+)
--
2.34.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH -next v2 1/3] ata: pata_ftide010: Enable module autoloading
2024-08-31 7:21 [PATCH -next v2 0/3] ata: Enable module autoloading Liao Chen
@ 2024-08-31 7:21 ` Liao Chen
2024-09-01 22:16 ` Linus Walleij
2024-08-31 7:21 ` [PATCH -next v2 2/3] ata: pata_ixp4xx: " Liao Chen
` (2 subsequent siblings)
3 siblings, 1 reply; 7+ messages in thread
From: Liao Chen @ 2024-08-31 7:21 UTC (permalink / raw)
To: linux-ide, linux-kernel; +Cc: s.shtylyov, linus.walleij, dlemoal, cassel
Add MODULE_DEVICE_TABLE(), so modules can be properly autoloaded based
on the alias from of_device_id table.
Signed-off-by: Liao Chen <liaochen4@huawei.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
---
drivers/ata/pata_ftide010.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/ata/pata_ftide010.c b/drivers/ata/pata_ftide010.c
index 4d6ef90ccc77..73a9a5109238 100644
--- a/drivers/ata/pata_ftide010.c
+++ b/drivers/ata/pata_ftide010.c
@@ -549,6 +549,7 @@ static const struct of_device_id pata_ftide010_of_match[] = {
{ .compatible = "faraday,ftide010", },
{ /* sentinel */ }
};
+MODULE_DEVICE_TABLE(of, pata_ftide010_of_match);
static struct platform_driver pata_ftide010_driver = {
.driver = {
--
2.34.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH -next v2 2/3] ata: pata_ixp4xx: Enable module autoloading
2024-08-31 7:21 [PATCH -next v2 0/3] ata: Enable module autoloading Liao Chen
2024-08-31 7:21 ` [PATCH -next v2 1/3] ata: pata_ftide010: " Liao Chen
@ 2024-08-31 7:21 ` Liao Chen
2024-09-01 22:16 ` Linus Walleij
2024-08-31 7:21 ` [PATCH -next v2 3/3] ata: sata_gemini: " Liao Chen
2024-09-01 23:09 ` [PATCH -next v2 0/3] ata: " Damien Le Moal
3 siblings, 1 reply; 7+ messages in thread
From: Liao Chen @ 2024-08-31 7:21 UTC (permalink / raw)
To: linux-ide, linux-kernel; +Cc: s.shtylyov, linus.walleij, dlemoal, cassel
Add MODULE_DEVICE_TABLE(), so modules can be properly autoloaded based
on the alias from of_device_id table.
Signed-off-by: Liao Chen <liaochen4@huawei.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
---
drivers/ata/pata_ixp4xx_cf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/ata/pata_ixp4xx_cf.c b/drivers/ata/pata_ixp4xx_cf.c
index 246bb4f8f1f7..8a9ee828478f 100644
--- a/drivers/ata/pata_ixp4xx_cf.c
+++ b/drivers/ata/pata_ixp4xx_cf.c
@@ -290,6 +290,7 @@ static const struct of_device_id ixp4xx_pata_of_match[] = {
{ .compatible = "intel,ixp4xx-compact-flash", },
{ /* sentinel */ }
};
+MODULE_DEVICE_TABLE(of, ixp4xx_pata_of_match);
static struct platform_driver ixp4xx_pata_platform_driver = {
.driver = {
--
2.34.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH -next v2 3/3] ata: sata_gemini: Enable module autoloading
2024-08-31 7:21 [PATCH -next v2 0/3] ata: Enable module autoloading Liao Chen
2024-08-31 7:21 ` [PATCH -next v2 1/3] ata: pata_ftide010: " Liao Chen
2024-08-31 7:21 ` [PATCH -next v2 2/3] ata: pata_ixp4xx: " Liao Chen
@ 2024-08-31 7:21 ` Liao Chen
2024-09-01 23:09 ` [PATCH -next v2 0/3] ata: " Damien Le Moal
3 siblings, 0 replies; 7+ messages in thread
From: Liao Chen @ 2024-08-31 7:21 UTC (permalink / raw)
To: linux-ide, linux-kernel; +Cc: s.shtylyov, linus.walleij, dlemoal, cassel
Add MODULE_DEVICE_TABLE(), so modules can be properly autoloaded based
on the alias from of_device_id table.
Signed-off-by: Liao Chen <liaochen4@huawei.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
---
drivers/ata/sata_gemini.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/ata/sata_gemini.c b/drivers/ata/sata_gemini.c
index 4c270999ba3c..f574e3c3f5b4 100644
--- a/drivers/ata/sata_gemini.c
+++ b/drivers/ata/sata_gemini.c
@@ -417,6 +417,7 @@ static const struct of_device_id gemini_sata_of_match[] = {
{ .compatible = "cortina,gemini-sata-bridge", },
{ /* sentinel */ }
};
+MODULE_DEVICE_TABLE(of, gemini_sata_of_match);
static struct platform_driver gemini_sata_driver = {
.driver = {
--
2.34.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH -next v2 1/3] ata: pata_ftide010: Enable module autoloading
2024-08-31 7:21 ` [PATCH -next v2 1/3] ata: pata_ftide010: " Liao Chen
@ 2024-09-01 22:16 ` Linus Walleij
0 siblings, 0 replies; 7+ messages in thread
From: Linus Walleij @ 2024-09-01 22:16 UTC (permalink / raw)
To: Liao Chen; +Cc: linux-ide, linux-kernel, s.shtylyov, dlemoal, cassel
On Sat, Aug 31, 2024 at 9:30 AM Liao Chen <liaochen4@huawei.com> wrote:
> Add MODULE_DEVICE_TABLE(), so modules can be properly autoloaded based
> on the alias from of_device_id table.
>
> Signed-off-by: Liao Chen <liaochen4@huawei.com>
> Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH -next v2 2/3] ata: pata_ixp4xx: Enable module autoloading
2024-08-31 7:21 ` [PATCH -next v2 2/3] ata: pata_ixp4xx: " Liao Chen
@ 2024-09-01 22:16 ` Linus Walleij
0 siblings, 0 replies; 7+ messages in thread
From: Linus Walleij @ 2024-09-01 22:16 UTC (permalink / raw)
To: Liao Chen; +Cc: linux-ide, linux-kernel, s.shtylyov, dlemoal, cassel
On Sat, Aug 31, 2024 at 9:30 AM Liao Chen <liaochen4@huawei.com> wrote:
> Add MODULE_DEVICE_TABLE(), so modules can be properly autoloaded based
> on the alias from of_device_id table.
>
> Signed-off-by: Liao Chen <liaochen4@huawei.com>
> Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH -next v2 0/3] ata: Enable module autoloading
2024-08-31 7:21 [PATCH -next v2 0/3] ata: Enable module autoloading Liao Chen
` (2 preceding siblings ...)
2024-08-31 7:21 ` [PATCH -next v2 3/3] ata: sata_gemini: " Liao Chen
@ 2024-09-01 23:09 ` Damien Le Moal
3 siblings, 0 replies; 7+ messages in thread
From: Damien Le Moal @ 2024-09-01 23:09 UTC (permalink / raw)
To: Liao Chen, linux-ide, linux-kernel; +Cc: s.shtylyov, linus.walleij, cassel
On 8/31/24 16:21, Liao Chen wrote:
> Hi all,
>
> This patchset aims to enable autoloading of some use modules. By
> registering MDT, the kernel is allowed to automatically bind modules to
> devices that match the specified compatible strings.
>
> Liao Chen (3):
> ata: pata_ftide010: Enable module autoloading
> ata: pata_ixp4xx: Enable module autoloading
> ata: sata_gemini: Enable module autoloading
>
> drivers/ata/pata_ftide010.c | 1 +
> drivers/ata/pata_ixp4xx_cf.c | 1 +
> drivers/ata/sata_gemini.c | 1 +
> 3 files changed, 3 insertions(+)
Applied to for-6.12. Thanks !
--
Damien Le Moal
Western Digital Research
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-09-01 23:09 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-31 7:21 [PATCH -next v2 0/3] ata: Enable module autoloading Liao Chen
2024-08-31 7:21 ` [PATCH -next v2 1/3] ata: pata_ftide010: " Liao Chen
2024-09-01 22:16 ` Linus Walleij
2024-08-31 7:21 ` [PATCH -next v2 2/3] ata: pata_ixp4xx: " Liao Chen
2024-09-01 22:16 ` Linus Walleij
2024-08-31 7:21 ` [PATCH -next v2 3/3] ata: sata_gemini: " Liao Chen
2024-09-01 23:09 ` [PATCH -next v2 0/3] ata: " Damien Le Moal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®