* [PATCH 1/2] sis-agp: Remove SIS 760, handled by amd64-agp
@ 2010-03-24 3:33 Ben Hutchings
2010-03-26 1:41 ` FUJITA Tomonori
2010-05-16 1:08 ` Ben Hutchings
0 siblings, 2 replies; 7+ messages in thread
From: Ben Hutchings @ 2010-03-24 3:33 UTC (permalink / raw)
To: David Airlie; +Cc: FUJITA Tomonori, LKML
SIS 760 is listed in the device tables for both amd64-agp and sis-agp.
amd64-agp is apparently preferable since it has workarounds for some
BIOS misconfigurations that sis-agp doesn't handle.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
---
drivers/char/agp/sis-agp.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/drivers/char/agp/sis-agp.c b/drivers/char/agp/sis-agp.c
index 6c3837a..95fdd4d 100644
--- a/drivers/char/agp/sis-agp.c
+++ b/drivers/char/agp/sis-agp.c
@@ -415,14 +415,6 @@ static struct pci_device_id agp_sis_pci_table[] = {
.subvendor = PCI_ANY_ID,
.subdevice = PCI_ANY_ID,
},
- {
- .class = (PCI_CLASS_BRIDGE_HOST << 8),
- .class_mask = ~0,
- .vendor = PCI_VENDOR_ID_SI,
- .device = PCI_DEVICE_ID_SI_760,
- .subvendor = PCI_ANY_ID,
- .subdevice = PCI_ANY_ID,
- },
{ }
};
--
1.7.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] sis-agp: Remove SIS 760, handled by amd64-agp
2010-03-24 3:33 [PATCH 1/2] sis-agp: Remove SIS 760, handled by amd64-agp Ben Hutchings
@ 2010-03-26 1:41 ` FUJITA Tomonori
2010-03-26 1:45 ` Dave Airlie
2010-03-26 3:07 ` Ben Hutchings
2010-05-16 1:08 ` Ben Hutchings
1 sibling, 2 replies; 7+ messages in thread
From: FUJITA Tomonori @ 2010-03-26 1:41 UTC (permalink / raw)
To: ben; +Cc: airlied, fujita.tomonori, linux-kernel, akpm
On Wed, 24 Mar 2010 03:33:48 +0000
Ben Hutchings <ben@decadent.org.uk> wrote:
> SIS 760 is listed in the device tables for both amd64-agp and sis-agp.
> amd64-agp is apparently preferable since it has workarounds for some
> BIOS misconfigurations that sis-agp doesn't handle.
>
> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
> ---
> drivers/char/agp/sis-agp.c | 8 --------
> 1 files changed, 0 insertions(+), 8 deletions(-)
Looks fine to me. Hopefully, amd64-agp can handle all SIS 760 systems.
Can we confirm that this can fix bugs reported in Debian's bug
tracking system (which you mentioned earlier)?
> diff --git a/drivers/char/agp/sis-agp.c b/drivers/char/agp/sis-agp.c
> index 6c3837a..95fdd4d 100644
> --- a/drivers/char/agp/sis-agp.c
> +++ b/drivers/char/agp/sis-agp.c
> @@ -415,14 +415,6 @@ static struct pci_device_id agp_sis_pci_table[] = {
> .subvendor = PCI_ANY_ID,
> .subdevice = PCI_ANY_ID,
> },
> - {
> - .class = (PCI_CLASS_BRIDGE_HOST << 8),
> - .class_mask = ~0,
> - .vendor = PCI_VENDOR_ID_SI,
> - .device = PCI_DEVICE_ID_SI_760,
> - .subvendor = PCI_ANY_ID,
> - .subdevice = PCI_ANY_ID,
> - },
> { }
> };
>
> --
> 1.7.0
>
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] sis-agp: Remove SIS 760, handled by amd64-agp
2010-03-26 1:41 ` FUJITA Tomonori
@ 2010-03-26 1:45 ` Dave Airlie
2010-03-26 2:10 ` FUJITA Tomonori
2010-03-26 3:07 ` Ben Hutchings
1 sibling, 1 reply; 7+ messages in thread
From: Dave Airlie @ 2010-03-26 1:45 UTC (permalink / raw)
To: FUJITA Tomonori; +Cc: ben, airlied, linux-kernel, akpm
On Fri, Mar 26, 2010 at 11:41 AM, FUJITA Tomonori
<fujita.tomonori@lab.ntt.co.jp> wrote:
> On Wed, 24 Mar 2010 03:33:48 +0000
> Ben Hutchings <ben@decadent.org.uk> wrote:
>
>> SIS 760 is listed in the device tables for both amd64-agp and sis-agp.
>> amd64-agp is apparently preferable since it has workarounds for some
>> BIOS misconfigurations that sis-agp doesn't handle.
>>
Will this not cause problems in 32-bit kernels?
Dave.
>> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
>> ---
>> drivers/char/agp/sis-agp.c | 8 --------
>> 1 files changed, 0 insertions(+), 8 deletions(-)
>
> Looks fine to me. Hopefully, amd64-agp can handle all SIS 760 systems.
>
> Can we confirm that this can fix bugs reported in Debian's bug
> tracking system (which you mentioned earlier)?
>
>
>> diff --git a/drivers/char/agp/sis-agp.c b/drivers/char/agp/sis-agp.c
>> index 6c3837a..95fdd4d 100644
>> --- a/drivers/char/agp/sis-agp.c
>> +++ b/drivers/char/agp/sis-agp.c
>> @@ -415,14 +415,6 @@ static struct pci_device_id agp_sis_pci_table[] = {
>> .subvendor = PCI_ANY_ID,
>> .subdevice = PCI_ANY_ID,
>> },
>> - {
>> - .class = (PCI_CLASS_BRIDGE_HOST << 8),
>> - .class_mask = ~0,
>> - .vendor = PCI_VENDOR_ID_SI,
>> - .device = PCI_DEVICE_ID_SI_760,
>> - .subvendor = PCI_ANY_ID,
>> - .subdevice = PCI_ANY_ID,
>> - },
>> { }
>> };
>>
>> --
>> 1.7.0
>>
>>
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>> Please read the FAQ at http://www.tux.org/lkml/
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] sis-agp: Remove SIS 760, handled by amd64-agp
2010-03-26 1:45 ` Dave Airlie
@ 2010-03-26 2:10 ` FUJITA Tomonori
2010-03-26 2:31 ` Dave Airlie
0 siblings, 1 reply; 7+ messages in thread
From: FUJITA Tomonori @ 2010-03-26 2:10 UTC (permalink / raw)
To: airlied; +Cc: fujita.tomonori, ben, airlied, linux-kernel, akpm
On Fri, 26 Mar 2010 11:45:50 +1000
Dave Airlie <airlied@gmail.com> wrote:
> On Fri, Mar 26, 2010 at 11:41 AM, FUJITA Tomonori
> <fujita.tomonori@lab.ntt.co.jp> wrote:
> > On Wed, 24 Mar 2010 03:33:48 +0000
> > Ben Hutchings <ben@decadent.org.uk> wrote:
> >
> >> SIS 760 is listed in the device tables for both amd64-agp and sis-agp.
> >> amd64-agp is apparently preferable since it has workarounds for some
> >> BIOS misconfigurations that sis-agp doesn't handle.
> >>
>
> Will this not cause problems in 32-bit kernels?
I'm not sure. I thought that amd64-agp works on 32-bit kernels since
fix_northbridge() in amd64-agp.c has the comment that the function is
used on 64-bit and 32-bit kernels. We need someone who can test the
patch.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] sis-agp: Remove SIS 760, handled by amd64-agp
2010-03-26 2:10 ` FUJITA Tomonori
@ 2010-03-26 2:31 ` Dave Airlie
0 siblings, 0 replies; 7+ messages in thread
From: Dave Airlie @ 2010-03-26 2:31 UTC (permalink / raw)
To: FUJITA Tomonori; +Cc: ben, airlied, linux-kernel, akpm
On Fri, Mar 26, 2010 at 12:10 PM, FUJITA Tomonori
<fujita.tomonori@lab.ntt.co.jp> wrote:
> On Fri, 26 Mar 2010 11:45:50 +1000
> Dave Airlie <airlied@gmail.com> wrote:
>
>> On Fri, Mar 26, 2010 at 11:41 AM, FUJITA Tomonori
>> <fujita.tomonori@lab.ntt.co.jp> wrote:
>> > On Wed, 24 Mar 2010 03:33:48 +0000
>> > Ben Hutchings <ben@decadent.org.uk> wrote:
>> >
>> >> SIS 760 is listed in the device tables for both amd64-agp and sis-agp.
>> >> amd64-agp is apparently preferable since it has workarounds for some
>> >> BIOS misconfigurations that sis-agp doesn't handle.
>> >>
>>
>> Will this not cause problems in 32-bit kernels?
>
> I'm not sure. I thought that amd64-agp works on 32-bit kernels since
> fix_northbridge() in amd64-agp.c has the comment that the function is
> used on 64-bit and 32-bit kernels. We need someone who can test the
> patch.
>
Ah yes the amd64-agp bit scared me again, I thought it was a 64-bit only
module, but it seems to get used on 32-bit as well.
Dave.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] sis-agp: Remove SIS 760, handled by amd64-agp
2010-03-26 1:41 ` FUJITA Tomonori
2010-03-26 1:45 ` Dave Airlie
@ 2010-03-26 3:07 ` Ben Hutchings
1 sibling, 0 replies; 7+ messages in thread
From: Ben Hutchings @ 2010-03-26 3:07 UTC (permalink / raw)
To: FUJITA Tomonori; +Cc: airlied, linux-kernel, akpm
[-- Attachment #1: Type: text/plain, Size: 1114 bytes --]
On Fri, 2010-03-26 at 10:41 +0900, FUJITA Tomonori wrote:
> On Wed, 24 Mar 2010 03:33:48 +0000
> Ben Hutchings <ben@decadent.org.uk> wrote:
>
> > SIS 760 is listed in the device tables for both amd64-agp and sis-agp.
> > amd64-agp is apparently preferable since it has workarounds for some
> > BIOS misconfigurations that sis-agp doesn't handle.
> >
> > Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
> > ---
> > drivers/char/agp/sis-agp.c | 8 --------
> > 1 files changed, 0 insertions(+), 8 deletions(-)
>
> Looks fine to me. Hopefully, amd64-agp can handle all SIS 760 systems.
>
> Can we confirm that this can fix bugs reported in Debian's bug
> tracking system (which you mentioned earlier)?
[...]
The bug involves amd64-agp screwing with a device that is already bound
to sis-agp. This patch should be sufficient to work around that. But
the second patch, to amd64-agp, should actually fix it. This is not
confirmed but I can try to get the bug submitters to test it.
Ben.
--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] sis-agp: Remove SIS 760, handled by amd64-agp
2010-03-24 3:33 [PATCH 1/2] sis-agp: Remove SIS 760, handled by amd64-agp Ben Hutchings
2010-03-26 1:41 ` FUJITA Tomonori
@ 2010-05-16 1:08 ` Ben Hutchings
1 sibling, 0 replies; 7+ messages in thread
From: Ben Hutchings @ 2010-05-16 1:08 UTC (permalink / raw)
To: David Airlie; +Cc: FUJITA Tomonori, LKML
[-- Attachment #1: Type: text/plain, Size: 563 bytes --]
On Wed, 2010-03-24 at 03:33 +0000, Ben Hutchings wrote:
> SIS 760 is listed in the device tables for both amd64-agp and sis-agp.
> amd64-agp is apparently preferable since it has workarounds for some
> BIOS misconfigurations that sis-agp doesn't handle.
>
> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
You seemed to be convinced that this was OK
<http://thread.gmane.org/gmane.linux.kernel/965466/focus=966555>; can
you please apply or nak it?
Ben.
--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-05-16 1:08 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-24 3:33 [PATCH 1/2] sis-agp: Remove SIS 760, handled by amd64-agp Ben Hutchings
2010-03-26 1:41 ` FUJITA Tomonori
2010-03-26 1:45 ` Dave Airlie
2010-03-26 2:10 ` FUJITA Tomonori
2010-03-26 2:31 ` Dave Airlie
2010-03-26 3:07 ` Ben Hutchings
2010-05-16 1:08 ` Ben Hutchings
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox