From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756890Ab2C0GWA (ORCPT ); Tue, 27 Mar 2012 02:22:00 -0400 Received: from gate.crashing.org ([63.228.1.57]:38883 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754576Ab2C0GV6 (ORCPT ); Tue, 27 Mar 2012 02:21:58 -0400 Message-ID: <1332829303.2882.52.camel@pasglop> Subject: Re: WARNING: at drivers/gpu/drm/radeon/radeon_object.c:236 From: Benjamin Herrenschmidt To: Dave Jones Cc: Linux Kernel , michel.daenzer@amd.com, jglisse@redhat.com, airlied@redhat.com Date: Tue, 27 Mar 2012 17:21:43 +1100 In-Reply-To: <20120326213250.GA16328@redhat.com> References: <20120326213250.GA16328@redhat.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2- Content-Transfer-Encoding: 7bit Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2012-03-26 at 17:32 -0400, Dave Jones wrote: > Seeing this in Linus' tree as of v3.3-6972-ge22057c Same WARN_ON hit here on a G5 with rv350 Cheers, Ben. > [ 5.244938] [drm] Initialized drm 1.1.0 20060810 > [ 5.317257] console_init used greatest stack depth: 4616 bytes left > [ 5.369057] [drm] radeon defaulting to kernel modesetting. > [ 5.374833] [drm] radeon kernel modesetting enabled. > [ 5.384614] [drm] initializing kernel modesetting (RV380 0x1002:0x5B60 0x1002:0x0302). > [ 5.392789] [drm] register mmio base: 0xC8210000 > [ 5.397689] [drm] register mmio size: 65536 > [ 5.402820] [drm] Generation 2 PCI interface, using max accessible memory > [ 5.409659] radeon 0000:01:00.0: VRAM: 128M 0x00000000C0000000 - 0x00000000C7FFFFFF (128M used) > [ 5.418416] radeon 0000:01:00.0: GTT: 512M 0x00000000A0000000 - 0x00000000BFFFFFFF > [ 5.426322] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). > [ 5.432970] [drm] Driver supports precise vblank timestamp query. > [ 5.439350] radeon 0000:01:00.0: irq 45 for MSI/MSI-X > [ 5.439501] radeon 0000:01:00.0: radeon: using MSI. > [ 5.444802] [drm] radeon: irq initialized. > [ 5.450415] [drm] Detected VRAM RAM=128M, BAR=128M > [ 5.455304] [drm] RAM width 64bits DDR > [ 5.459839] [TTM] Zone kernel: Available graphics memory: 1531086 kiB > [ 5.466424] [TTM] Initializing pool allocator > [ 5.470969] [TTM] Initializing DMA pool allocator > [ 5.476543] [drm] radeon: 128M of VRAM memory ready > [ 5.481475] [drm] radeon: 512M of GTT memory ready. > [ 5.486861] [drm] GART: num cpu pages 131072, num gpu pages 131072 > [ 5.494094] [drm] radeon: ib pool ready. > [ 5.500719] [drm] radeon: 1 quad pipes, 1 Z pipes initialized. > [ 5.507468] [drm] PCIE GART of 512M enabled (table at 0x00000000C0040000). > [ 5.514678] radeon 0000:01:00.0: WB enabled > [ 5.518901] [drm] fence driver on ring 0 use gpu addr 0xa0000000 and cpu addr 0xffff8800b3ab7000 > [ 5.528486] [drm] Loading R300 Microcode > [ 5.549168] [drm] radeon: ring at 0x00000000A0001000 > [ 5.554264] [drm] ring test succeeded in 0 usecs > [ 5.562762] [drm] ib test succeeded in 0 usecs > [ 5.573542] [drm] Radeon Display Connectors > [ 5.577880] [drm] Connector 0: > [ 5.580973] [drm] VGA > [ 5.583475] [drm] DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60 > [ 5.589516] [drm] Encoders: > [ 5.592522] [drm] CRT1: INTERNAL_DAC1 > [ 5.596581] [drm] Connector 1: > [ 5.599678] [drm] DVI-I > [ 5.602337] [drm] HPD1 > [ 5.604925] [drm] DDC: 0x64 0x64 0x64 0x64 0x64 0x64 0x64 0x64 > [ 5.610963] [drm] Encoders: > [ 5.613983] [drm] CRT2: INTERNAL_DAC2 > [ 5.618029] [drm] DFP1: INTERNAL_TMDS1 > [ 5.622170] [drm] Connector 2: > [ 5.625276] [drm] S-video > [ 5.628111] [drm] Encoders: > [ 5.631117] [drm] TV1: INTERNAL_DAC2 > [ 5.716973] [drm] fb mappable at 0xC00C0000 > [ 5.721195] [drm] vram apper at 0xC0000000 > [ 5.725343] [drm] size 7057408 > [ 5.728439] [drm] fb depth is 24 > [ 5.731703] [drm] pitch is 6720 > [ 5.736460] fbcon: radeondrmfb (fb0) is primary device > [ 5.744023] ------------[ cut here ]------------ > [ 5.744054] WARNING: at drivers/gpu/drm/radeon/radeon_object.c:236 radeon_bo_pin_restricted+0x140/0x170 [radeon]() > [ 5.744056] Hardware name: > [ 5.744057] Modules linked in: radeon(+) ttm drm_kms_helper drm i2c_algo_bit i2c_core > [ 5.744065] Pid: 113, comm: modprobe Not tainted 3.3.0+ #18 > [ 5.744066] Call Trace: > [ 5.744072] [] warn_slowpath_common+0x7f/0xc0 > [ 5.744075] [] warn_slowpath_null+0x1a/0x20 > [ 5.744092] [] radeon_bo_pin_restricted+0x140/0x170 [radeon] > [ 5.744109] [] radeon_crtc_do_set_base+0xd9/0x530 [radeon] > [ 5.744114] [] ? trace_hardirqs_on+0xd/0x10 > [ 5.744131] [] radeon_crtc_set_base+0x1a/0x20 [radeon] > [ 5.744147] [] radeon_crtc_mode_set+0x29/0x8f0 [radeon] > [ 5.744164] [] ? radeon_combios_encoder_dpms_scratch_regs+0xac/0xc0 [radeon] > [ 5.744181] [] ? radeon_crtc_dpms+0x138/0x1c0 [radeon] > [ 5.744186] [] drm_crtc_helper_set_mode+0x38e/0x520 [drm_kms_helper] > [ 5.744190] [] ? deactivate_slab+0x55c/0x600 > [ 5.744195] [] drm_crtc_helper_set_config+0x85f/0xb10 [drm_kms_helper] > [ 5.744199] [] drm_fb_helper_set_par+0x77/0xf0 [drm_kms_helper] > [ 5.744203] [] fbcon_init+0x534/0x5c0 > [ 5.744207] [] visual_init+0xfd/0x2b0 > [ 5.744209] [] bind_con_driver+0x328/0x7d0 > [ 5.744213] [] ? sysfs_create_file+0x26/0x30 > [ 5.744216] [] take_over_console+0x61/0x70 > [ 5.744218] [] fbcon_takeover+0x5b/0xb0 > [ 5.744221] [] fbcon_event_notify+0x655/0x760 > [ 5.744224] [] notifier_call_chain+0x67/0x160 > [ 5.744227] [] __blocking_notifier_call_chain+0x72/0xd0 > [ 5.744230] [] blocking_notifier_call_chain+0x16/0x20 > [ 5.744233] [] fb_notifier_call_chain+0x1b/0x20 > [ 5.744236] [] register_framebuffer+0x1c8/0x300 > [ 5.744240] [] drm_fb_helper_single_fb_probe+0x1b3/0x300 [drm_kms_helper] > [ 5.744244] [] drm_fb_helper_initial_config+0x1d3/0x250 [drm_kms_helper] > [ 5.744247] [] ? kmem_cache_alloc_trace+0xde/0x2a0 > [ 5.744250] [] ? drm_fb_helper_single_add_all_connectors+0x4f/0x180 [drm_kms_helper] > [ 5.744269] [] radeon_fbdev_init+0xc7/0x110 [radeon] > [ 5.744287] [] radeon_modeset_init+0x31f/0x7d0 [radeon] > [ 5.744303] [] radeon_driver_load_kms+0x115/0x1a0 [radeon] > [ 5.744315] [] drm_get_pci_dev+0x191/0x2a0 [drm] > [ 5.744331] [] ? radeon_pci_probe+0x9a/0xb4 [radeon] > [ 5.744347] [] radeon_pci_probe+0xac/0xb4 [radeon] > [ 5.744351] [] local_pci_probe+0x5c/0xd0 > [ 5.744354] [] pci_device_probe+0x101/0x120 > [ 5.744358] [] driver_probe_device+0x98/0x3a0 > [ 5.744361] [] __driver_attach+0xab/0xb0 > [ 5.744364] [] ? driver_probe_device+0x3a0/0x3a0 > [ 5.744367] [] bus_for_each_dev+0x5e/0x90 > [ 5.744370] [] driver_attach+0x1e/0x20 > [ 5.744372] [] bus_add_driver+0x1c0/0x2b0 > [ 5.744375] [] driver_register+0x76/0x130 > [ 5.744379] [] ? __raw_spin_lock_init+0x38/0x70 > [ 5.744382] [] __pci_register_driver+0x66/0xe0 > [ 5.744389] [] drm_pci_init+0x11a/0x130 [drm] > [ 5.744391] [] ? 0xffffffffa0162fff > [ 5.744394] [] ? 0xffffffffa0162fff > [ 5.744406] [] radeon_init+0xec/0x1000 [radeon] > [ 5.744409] [] do_one_initcall+0x3f/0x170 > [ 5.744413] [] sys_init_module+0xc0/0x230 > [ 5.744416] [] system_call_fastpath+0x16/0x1b > [ 5.744418] ---[ end trace 7e4f3033b847a3dd ]--- > > -- > 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/