This is a note to let you know that I've just added the patch titled drm/radeon: cleanup properly if mmio mapping fails to the 3.4-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: drm-radeon-cleanup-properly-if-mmio-mapping-fails.patch and it can be found in the queue-3.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From 4b8fefaee7a9d4ae9583328d03fd796e1933569e Mon Sep 17 00:00:00 2001 From: Alex Deucher <alexander.deucher@xxxxxxx> Date: Fri, 12 Apr 2013 19:15:52 -0400 Subject: drm/radeon: cleanup properly if mmio mapping fails From: Alex Deucher <alexander.deucher@xxxxxxx> commit 0cd9cb76ae26a19df21abc6f94f5fff141e689c7 upstream. If we fail to map the mmio BAR, skip driver tear down that requires mmio. Should fix: https://bugzilla.kernel.org/show_bug.cgi?id=56541 Signed-off-by: Alex Deucher <alexander.deucher@xxxxxxx> [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx> Cc: Weng Meiling <wengmeiling.weng@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/gpu/drm/radeon/radeon_kms.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/drivers/gpu/drm/radeon/radeon_kms.c +++ b/drivers/gpu/drm/radeon/radeon_kms.c @@ -39,8 +39,12 @@ int radeon_driver_unload_kms(struct drm_ if (rdev == NULL) return 0; + if (rdev->rmmio == NULL) + goto done_free; radeon_modeset_fini(rdev); radeon_device_fini(rdev); + +done_free: kfree(rdev); dev->dev_private = NULL; return 0; Patches currently in stable-queue which might be from alexander.deucher@xxxxxxx are queue-3.4/drm-radeon-add-connector-table-for-mac-g4-silver.patch queue-3.4/drm-radeon-fix-atpx-detection-on-non-vga-gpus.patch queue-3.4/drm-radeon-cleanup-properly-if-mmio-mapping-fails.patch queue-3.4/drm-radeon-call-drm_edid_to_eld-when-we-update-the-edid.patch queue-3.4/drm-radeon-fix-amd-afusion-gpu-setup-aka-sumo-v2.patch queue-3.4/drm-radeon-dce32-use-fractional-fb-dividers-for-high-clocks.patch queue-3.4/drm-fix-documentation-for-drm_crtc_set_mode.patch queue-3.4/drm-radeon-fix-panel-scaling-with-edp-and-lvds-bridges.patch queue-3.4/drm-radeon-add-connector-table-for-sam440ep-embedded-board.patch queue-3.4/drm-radeon-fix-typo-in-evergreen_mc_resume.patch queue-3.4/drm-radeon-another-card-with-wrong-primary-dac-adj.patch queue-3.4/drm-radeon-use-frac-fb-div-on-rs780-rs880.patch -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html