* [PATCH] IB/rdmavt and IB/hfi1: Disable by default
@ 2016-07-18 14:18 Bart Van Assche
[not found] ` <ef7f1f80-68c4-b8d5-f40b-9bcef5b95e21-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Bart Van Assche @ 2016-07-18 14:18 UTC (permalink / raw)
To: Doug Ledford
Cc: Jubin John, Dennis Dalessandro, Ira Weiny, Mike Marciniszyn,
linux-rdma
There is a strict policy in the Linux kernel that new drivers must be
disabled by default. Hence change "default m" into "default n" for the
rdmavt and the hfi1 drivers.
Fixes: 0194621b2253 ("IB/rdmavt: Create module framework and handle driver registration")
Fixes: f48ad614c100 ("IB/hfi1: Move driver out of staging")
Signed-off-by: Bart Van Assche <bart.vanassche-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
Cc: Jubin John <jubin.john-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Dennis Dalessandro <dennis.dalessandro-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Ira Weiny <ira.weiny-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
Cc: Mike Marciniszyn <mike.marciniszyn-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
---
drivers/infiniband/hw/hfi1/Kconfig | 2 +-
drivers/infiniband/sw/rdmavt/Kconfig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/infiniband/hw/hfi1/Kconfig b/drivers/infiniband/hw/hfi1/Kconfig
index a925fb0..6a2e83c 100644
--- a/drivers/infiniband/hw/hfi1/Kconfig
+++ b/drivers/infiniband/hw/hfi1/Kconfig
@@ -3,7 +3,7 @@ config INFINIBAND_HFI1
depends on X86_64 && INFINIBAND_RDMAVT
select MMU_NOTIFIER
select CRC32
- default m
+ default n
---help---
This is a low-level driver for Intel OPA Gen1 adapter.
config HFI1_DEBUG_SDMA_ORDER
diff --git a/drivers/infiniband/sw/rdmavt/Kconfig b/drivers/infiniband/sw/rdmavt/Kconfig
index 11aa6a3..3426b44 100644
--- a/drivers/infiniband/sw/rdmavt/Kconfig
+++ b/drivers/infiniband/sw/rdmavt/Kconfig
@@ -1,6 +1,6 @@
config INFINIBAND_RDMAVT
tristate "RDMA verbs transport library"
depends on 64BIT
- default m
+ default n
---help---
This is a common software verbs provider for RDMA networks.
--
2.9.0
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] IB/rdmavt and IB/hfi1: Disable by default
[not found] ` <ef7f1f80-68c4-b8d5-f40b-9bcef5b95e21-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
@ 2016-07-18 14:44 ` Dalessandro, Dennis
[not found] ` <1468853088.2650.7.camel-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Dalessandro, Dennis @ 2016-07-18 14:44 UTC (permalink / raw)
To: bart.vanassche-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org,
dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, John, Jubin,
Weiny, Ira, Marciniszyn, Mike
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="utf-8", Size: 502 bytes --]
On Mon, 2016-07-18 at 07:18 -0700, Bart Van Assche wrote:
> There is a strict policy in the Linux kernel that new drivers must be
> disabled by default. Hence change "default m" into "default n" for
> the
> rdmavt and the hfi1 drivers.
>Â
Looking at the other drivers in the rdma tree they don't seem to
specify a default, is that the same as 'n'?
-Denny
N§²æìr¸yúèØb²X¬¶Ç§vØ^)Þº{.nÇ+·¥{±Ù{ayº\x1dÊÚë,j\a¢f£¢·h»öì\x17/oSc¾Ú³9uÀ¦æåÈ&jw¨®\x03(éÝ¢j"ú\x1a¶^[m§ÿïêäz¹Þàþf£¢·h§~m
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] IB/rdmavt and IB/hfi1: Disable by default
[not found] ` <1468853088.2650.7.camel-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
@ 2016-07-18 15:10 ` Bart Van Assche
2016-07-19 4:10 ` Christoph Hellwig
1 sibling, 0 replies; 6+ messages in thread
From: Bart Van Assche @ 2016-07-18 15:10 UTC (permalink / raw)
To: Dalessandro, Dennis,
dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, John, Jubin,
Weiny, Ira, Marciniszyn, Mike
On 07/18/2016 07:44 AM, Dalessandro, Dennis wrote:
> On Mon, 2016-07-18 at 07:18 -0700, Bart Van Assche wrote:
>> There is a strict policy in the Linux kernel that new drivers must be
>> disabled by default. Hence change "default m" into "default n" for
>> the rdmavt and the hfi1 drivers.
>
> Looking at the other drivers in the rdma tree they don't seem to
> specify a default, is that the same as 'n'?
Hello Denny,
Although I haven't found any information about this in
https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt, I
assume that leaving out "default n" is the same as "default n".
Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] IB/rdmavt and IB/hfi1: Disable by default
[not found] ` <1468853088.2650.7.camel-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-07-18 15:10 ` Bart Van Assche
@ 2016-07-19 4:10 ` Christoph Hellwig
[not found] ` <20160719041046.GA6176-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
1 sibling, 1 reply; 6+ messages in thread
From: Christoph Hellwig @ 2016-07-19 4:10 UTC (permalink / raw)
To: Dalessandro, Dennis
Cc: bart.vanassche-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org,
dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, John, Jubin,
Weiny, Ira, Marciniszyn, Mike
On Mon, Jul 18, 2016 at 02:44:53PM +0000, Dalessandro, Dennis wrote:
> Looking at the other drivers in the rdma tree they don't seem to
> specify a default, is that the same as 'n'?
Its is, and no default line is exactly what new drivers should default
to.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] IB/rdmavt and IB/hfi1: Disable by default
[not found] ` <20160719041046.GA6176-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
@ 2016-07-19 15:46 ` Dalessandro, Dennis
[not found] ` <1468943173.8322.2.camel-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Dalessandro, Dennis @ 2016-07-19 15:46 UTC (permalink / raw)
To: hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org
Cc: bart.vanassche-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, John, Jubin,
dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, Weiny, Ira,
Marciniszyn, Mike
On Mon, 2016-07-18 at 21:10 -0700, Christoph Hellwig wrote:
> On Mon, Jul 18, 2016 at 02:44:53PM +0000, Dalessandro, Dennis wrote:
> > Looking at the other drivers in the rdma tree they don't seem to
> > specify a default, is that the same as 'n'?
>
> Its is, and no default line is exactly what new drivers should
> default
> to.
Bart do you want to spin a v2 of your patch and just leave the default
lines out?
-Denny
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] IB/rdmavt and IB/hfi1: Disable by default
[not found] ` <1468943173.8322.2.camel-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
@ 2016-07-19 15:51 ` Bart Van Assche
0 siblings, 0 replies; 6+ messages in thread
From: Bart Van Assche @ 2016-07-19 15:51 UTC (permalink / raw)
To: Dalessandro, Dennis, hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org
Cc: bart.vanassche-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, John, Jubin,
dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, Weiny, Ira,
Marciniszyn, Mike
On 07/19/2016 08:46 AM, Dalessandro, Dennis wrote:
> On Mon, 2016-07-18 at 21:10 -0700, Christoph Hellwig wrote:
>> On Mon, Jul 18, 2016 at 02:44:53PM +0000, Dalessandro, Dennis wrote:
>>> Looking at the other drivers in the rdma tree they don't seem to
>>> specify a default, is that the same as 'n'?
>>
>> Its is, and no default line is exactly what new drivers should
>> default
>> to.
>
> Bart do you want to spin a v2 of your patch and just leave the default
> lines out?
I'll post a v2.
Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-07-19 15:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-18 14:18 [PATCH] IB/rdmavt and IB/hfi1: Disable by default Bart Van Assche
[not found] ` <ef7f1f80-68c4-b8d5-f40b-9bcef5b95e21-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-07-18 14:44 ` Dalessandro, Dennis
[not found] ` <1468853088.2650.7.camel-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-07-18 15:10 ` Bart Van Assche
2016-07-19 4:10 ` Christoph Hellwig
[not found] ` <20160719041046.GA6176-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2016-07-19 15:46 ` Dalessandro, Dennis
[not found] ` <1468943173.8322.2.camel-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-07-19 15:51 ` Bart Van Assche
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox