lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Fri, 4 Sep 2009 09:43:34 +0800 From: Zhenyu Wang <zhenyuw@...ux.intel.com> To: intel-gfx@...ts.freedesktop.org Cc: linux-kernel@...r.kernel.org, Zhenyu Wang <zhenyuw@...ux.intel.com>, Stable Team <stable@...nel.org>, Alan Stern <stern@...land.harvard.edu> Subject: [PATCH 1/3] agp/intel: remove restore in resume As early pci resume has already restored config for host bridge and graphics device, don't need to restore it again, which might cause problem on some chips, like 845G tested by Alan Stern. Cc: Stable Team <stable@...nel.org> Cc: Alan Stern <stern@...land.harvard.edu> Signed-off-by: Zhenyu Wang <zhenyuw@...ux.intel.com> --- drivers/char/agp/intel-agp.c | 9 --------- 1 files changed, 0 insertions(+), 9 deletions(-) diff --git a/drivers/char/agp/intel-agp.c b/drivers/char/agp/intel-agp.c index c585577..dee0f1f 100644 --- a/drivers/char/agp/intel-agp.c +++ b/drivers/char/agp/intel-agp.c @@ -2313,15 +2313,6 @@ static int agp_intel_resume(struct pci_dev *pdev) struct agp_bridge_data *bridge = pci_get_drvdata(pdev); int ret_val; - pci_restore_state(pdev); - - /* We should restore our graphics device's config space, - * as host bridge (00:00) resumes before graphics device (02:00), - * then our access to its pci space can work right. - */ - if (intel_private.pcidev) - pci_restore_state(intel_private.pcidev); - if (bridge->driver == &intel_generic_driver) intel_configure(); else if (bridge->driver == &intel_850_driver) -- 1.6.3.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists