FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 01-11-2011, 10:06 PM
Manoj Iyer
 
Default UBUNTU: SAUCE: Quirk to fix suspend/resume on Lenovo Edge 11/13/14/15

On Lenovo Edge 11/13/14/15 laptops resume from suspend does not work,
Check IRQ0 routing and if it is routed to INT0 of IOAPIC skip the
timer override. This patch was tested on Edge 11 and Edge 14, where
ATI Technologies Inc SBx00 SMBus Controller rev ids are 41 or 42.

Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
---
arch/x86/kernel/early-quirks.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c
index ebdb85c..b0a3833 100644
--- a/arch/x86/kernel/early-quirks.c
+++ b/arch/x86/kernel/early-quirks.c
@@ -166,7 +166,7 @@ static void __init ati_bugs_contd(int num, int slot, int func)
return;

rev = ati_sbx00_rev(num, slot, func);
- if (rev > 0x13)
+ if ((rev > 0x13) && ((rev != 0x41) && (rev != 0x42)))
return;

/* check for IRQ0 interrupt swap */
--
1.7.1


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 
Old 01-11-2011, 10:24 PM
Manoj Iyer
 
Default UBUNTU: SAUCE: Quirk to fix suspend/resume on Lenovo Edge 11/13/14/15

On Lenovo Edge 11/13/14/15 laptops resume from suspend does not work,
Check IRQ0 routing and if it is routed to INT0 of IOAPIC skip the
timer override. This patch was tested on Edge 11 and Edge 14, where
ATI Technologies Inc SBx00 SMBus Controller rev ids are 41 or 42.

Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
---
arch/x86/kernel/early-quirks.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c
index ebdb85c..0e30990 100644
--- a/arch/x86/kernel/early-quirks.c
+++ b/arch/x86/kernel/early-quirks.c
@@ -166,7 +166,7 @@ static void __init ati_bugs_contd(int num, int slot, int func)
return;

rev = ati_sbx00_rev(num, slot, func);
- if (rev > 0x13)
+ if (rev > 0x13 && (rev != 0x41 && rev != 0x42))
return;

/* check for IRQ0 interrupt swap */
--
1.7.1


--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team
 

Thread Tools




All times are GMT. The time now is 10:27 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org