public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [Patch] i386: remove 'usedac' kernel parameter
@ 2009-12-09  6:25 Amerigo Wang
  2009-12-09 10:07 ` FUJITA Tomonori
  0 siblings, 1 reply; 3+ messages in thread
From: Amerigo Wang @ 2009-12-09  6:25 UTC (permalink / raw)
  To: linux-kernel; +Cc: akpm, Glauber Costa, Amerigo Wang, Ingo Molnar

It is scheduled to be removed.

Signed-off-by: WANG Cong <amwang@redhat.com>
Cc: Glauber Costa <gcosta@redhat.com>
Cc: Ingo Molnar <mingo@elte.hu>

---
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
index 591e944..8c895f6 100644
--- a/Documentation/feature-removal-schedule.txt
+++ b/Documentation/feature-removal-schedule.txt
@@ -291,13 +291,6 @@ Who:	Michael Buesch <mb@bu3sch.de>
 
 ---------------------------
 
-What:	usedac i386 kernel parameter
-When:	2.6.27
-Why:	replaced by allowdac and no dac combination
-Who:	Glauber Costa <gcosta@redhat.com>
-
----------------------------
-
 What: print_fn_descriptor_symbol()
 When: October 2009
 Why:  The %pF vsprintf format provides the same functionality in a
diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c
index afcc58b..2f76c7b 100644
--- a/arch/x86/kernel/pci-dma.c
+++ b/arch/x86/kernel/pci-dma.c
@@ -210,10 +210,6 @@ static __init int iommu_setup(char *p)
 			forbid_dac = 0;
 		if (!strncmp(p, "nodac", 5))
 			forbid_dac = 1;
-		if (!strncmp(p, "usedac", 6)) {
-			forbid_dac = -1;
-			return 1;
-		}
 #ifdef CONFIG_SWIOTLB
 		if (!strncmp(p, "soft", 4))
 			swiotlb = 1;

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Patch] i386: remove 'usedac' kernel parameter
  2009-12-09  6:25 [Patch] i386: remove 'usedac' kernel parameter Amerigo Wang
@ 2009-12-09 10:07 ` FUJITA Tomonori
  2009-12-14  7:49   ` Cong Wang
  0 siblings, 1 reply; 3+ messages in thread
From: FUJITA Tomonori @ 2009-12-09 10:07 UTC (permalink / raw)
  To: amwang; +Cc: linux-kernel, akpm, gcosta, mingo

On Wed, 9 Dec 2009 01:25:48 -0500
Amerigo Wang <amwang@redhat.com> wrote:

> It is scheduled to be removed.
> 
> Signed-off-by: WANG Cong <amwang@redhat.com>
> Cc: Glauber Costa <gcosta@redhat.com>
> Cc: Ingo Molnar <mingo@elte.hu>
> 
> ---
> diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
> index 591e944..8c895f6 100644
> --- a/Documentation/feature-removal-schedule.txt
> +++ b/Documentation/feature-removal-schedule.txt
> @@ -291,13 +291,6 @@ Who:	Michael Buesch <mb@bu3sch.de>
>  
>  ---------------------------
>  
> -What:	usedac i386 kernel parameter
> -When:	2.6.27
> -Why:	replaced by allowdac and no dac combination
> -Who:	Glauber Costa <gcosta@redhat.com>
> -
> ----------------------------
> -

I'm not sure about the above description, I'm not against removing
this option though.

IIUC, the usedac option enables us to stop via_no_dac() setting
forbid_dac to 1. That is, someone who uses VIA bridges can use DAC
with this option even if some of VIA bridges seem to be broken about
DAC. I can't see how we can do the same thing with "allowdac" and
"nodac" combination.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Patch] i386: remove 'usedac' kernel parameter
  2009-12-09 10:07 ` FUJITA Tomonori
@ 2009-12-14  7:49   ` Cong Wang
  0 siblings, 0 replies; 3+ messages in thread
From: Cong Wang @ 2009-12-14  7:49 UTC (permalink / raw)
  To: FUJITA Tomonori; +Cc: linux-kernel, akpm, gcosta, mingo

FUJITA Tomonori wrote:
> On Wed, 9 Dec 2009 01:25:48 -0500
> Amerigo Wang <amwang@redhat.com> wrote:
> 
>> It is scheduled to be removed.
>>
>> Signed-off-by: WANG Cong <amwang@redhat.com>
>> Cc: Glauber Costa <gcosta@redhat.com>
>> Cc: Ingo Molnar <mingo@elte.hu>
>>
>> ---
>> diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt
>> index 591e944..8c895f6 100644
>> --- a/Documentation/feature-removal-schedule.txt
>> +++ b/Documentation/feature-removal-schedule.txt
>> @@ -291,13 +291,6 @@ Who:	Michael Buesch <mb@bu3sch.de>
>>  
>>  ---------------------------
>>  
>> -What:	usedac i386 kernel parameter
>> -When:	2.6.27
>> -Why:	replaced by allowdac and no dac combination
>> -Who:	Glauber Costa <gcosta@redhat.com>
>> -
>> ----------------------------
>> -
> 
> I'm not sure about the above description, I'm not against removing
> this option though.
> 
> IIUC, the usedac option enables us to stop via_no_dac() setting
> forbid_dac to 1. That is, someone who uses VIA bridges can use DAC
> with this option even if some of VIA bridges seem to be broken about
> DAC. I can't see how we can do the same thing with "allowdac" and
> "nodac" combination.


Hmm, yes, right, I missed this point.

Thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-12-14  7:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-09  6:25 [Patch] i386: remove 'usedac' kernel parameter Amerigo Wang
2009-12-09 10:07 ` FUJITA Tomonori
2009-12-14  7:49   ` Cong Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox