From patchwork Tue Aug 2 19:56:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sedat Dilek X-Patchwork-Id: 9260313 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1B2726048B for ; Tue, 2 Aug 2016 19:57:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F01C328346 for ; Tue, 2 Aug 2016 19:57:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E174E284F9; Tue, 2 Aug 2016 19:57:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CC35528346 for ; Tue, 2 Aug 2016 19:57:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 264026E670; Tue, 2 Aug 2016 19:57:05 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-vk0-x22e.google.com (mail-vk0-x22e.google.com [IPv6:2607:f8b0:400c:c05::22e]) by gabe.freedesktop.org (Postfix) with ESMTPS id C14916E108 for ; Tue, 2 Aug 2016 19:56:58 +0000 (UTC) Received: by mail-vk0-x22e.google.com with SMTP id w127so130842945vkh.2 for ; Tue, 02 Aug 2016 12:56:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:in-reply-to:references:from:date:message-id :subject:to:cc; bh=0WO4VL7q2onhnWKUdAokmo+Aj0BVc24YXpafjxAR/NY=; b=yimem9/Ggapd1QvpalegXlpmOrAM8xUx2tUO4gtrwgYAU3U5lgw/hv7BopvSvjz9As /N/5NLUkZbkLjo2NVrqL/xB7LAMJv6stYSALX0A00tP1tkhFkbUsu1UY3I1Vcdbb2POT 8lSrqOwOwVBG/Sx0ox1QeYG7sQP0HrkhREpQpM9R+Mx0gF2qwJvDpwFH4Lz+yS0WAngw DZ8jf5zwP6Wh/0oeTZCl3WANMBzz6gHavyQAhhpXHibUyniT+BRm76er2Xm+4uHRYe2I x7X82MfFDoxyocOKFmxK6GxlGps8dfWliFlPCvscFZPn8pC/8EVkDIwNR8YOFb21GYLm THkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=0WO4VL7q2onhnWKUdAokmo+Aj0BVc24YXpafjxAR/NY=; b=iRc/0U59g68q8RHfA9w6Q0FhQH931SE5CKYNMTJP81C8PmmWvfcw3BHbNX81/Kd3Ze icCMZHe+QKOFXSfuE+V+MyzhyLQIQOJYiDCw0HS0eHwPC0Jb0l9YFlwFJqH8QO9vou+Y zi3iQAcazh3TLpZttToIZV3aQ48Aadq1dIMozCA2tJQ+0ze8leITa4/rBf52Lgvlikyo xfy68Oz1r3cSa5mcEAMz857iWrqqk9t9k8Asn0o+uIH9rhFonbaE8AVrCXw6J6zgtwKG 3MTH+LNgfyFQ1JdmLtTLIqe/Oh56c0cEflUnKkpQjbP14BSvWUOGdISKF76l6VHOypn6 4XSA== X-Gm-Message-State: AEkoousHvhhlgzgDXqhJZngwLs6lRc69KLu10zUrk7fO9UlCC+jJSoLHIg+o+YIW+d+qcyfr+3KPHwECXQS+uw== X-Received: by 10.31.67.146 with SMTP id q140mr27020891vka.52.1470167816630; Tue, 02 Aug 2016 12:56:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.128.149 with HTTP; Tue, 2 Aug 2016 12:56:55 -0700 (PDT) In-Reply-To: References: <87oa5ctxzm.fsf@intel.com> From: Sedat Dilek Date: Tue, 2 Aug 2016 21:56:55 +0200 Message-ID: To: Jani Nikula Cc: Daniel Vetter , intel-gfx , Tomi Valkeinen , Jean-Christophe Plagniol-Villard , linux-fbdev@vger.kernel.org Subject: Re: [Intel-gfx] [drm-intel-nightly] 2016y-07m-14d-21h-13m-02s UTC: locking dependency: drm_modeset_lock_all() || __blocking_notifier_call_chain X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sedat.dilek@gmail.com Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Virus-Scanned: ClamAV using ClamSMTP The problem is now in Linus upstream Linux v4.7-10768-gf7b32e4c021f. In a 2nd run - with Chris backlight-patch - I do not see any call-traces. - Sedat - [ 0.000000] Linux version 4.7.0-10768.1-iniza-small (sedat.dilek@gmail.com@fambox) (gcc version 4.9.2 (Ubuntu 4.9.2-0ubuntu1~12.04) ) #1 SMP Tue Aug 2 20:35:42 CEST 2016 [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.7.0-10768.1-iniza-small root=UUID=001AADA61AAD9964 loop=/ubuntu/disks/root.disk ro intel_pstate=disable [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] Centaur CentaurHauls [ 0.000000] Disabled fast string operations [ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format. [ 0.000000] x86/fpu: Using 'eager' FPU context switches. [ 0.000000] e820: BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable [ 0.000000] BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable [ 0.000000] BIOS-e820: [mem 0x0000000020000000-0x00000000201fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000020200000-0x000000003fffffff] usable [ 0.000000] BIOS-e820: [mem 0x0000000040000000-0x00000000401fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000040200000-0x00000000d9c9efff] usable [ 0.000000] BIOS-e820: [mem 0x00000000d9c9f000-0x00000000dae7efff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000dae7f000-0x00000000daf9efff] ACPI NVS [ 0.000000] BIOS-e820: [mem 0x00000000daf9f000-0x00000000daffefff] ACPI data [ 0.000000] BIOS-e820: [mem 0x00000000dafff000-0x00000000daffffff] usable [ 0.000000] BIOS-e820: [mem 0x00000000db000000-0x00000000df9fffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed08000-0x00000000fed08fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed10000-0x00000000fed19fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000ffd80000-0x00000000ffffffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000011fdfffff] usable [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] SMBIOS 2.6 present. [ 0.000000] DMI: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013 [ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved [ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable [ 0.000000] e820: last_pfn = 0x11fe00 max_arch_pfn = 0x400000000 [ 0.000000] MTRR default type: uncachable [ 0.000000] MTRR fixed ranges enabled: [ 0.000000] 00000-9FFFF write-back [ 0.000000] A0000-BFFFF uncachable [ 0.000000] C0000-FFFFF write-protect [ 0.000000] MTRR variable ranges enabled: [ 0.000000] 0 base 000000000 mask F80000000 write-back [ 0.000000] 1 base 080000000 mask FC0000000 write-back [ 0.000000] 2 base 0C0000000 mask FE0000000 write-back [ 0.000000] 3 base 0DC000000 mask FFC000000 uncachable [ 0.000000] 4 base 0DB000000 mask FFF000000 uncachable [ 0.000000] 5 base 100000000 mask FE0000000 write-back [ 0.000000] 6 base 11FE00000 mask FFFE00000 uncachable [ 0.000000] 7 base 0FFC00000 mask FFFC00000 write-protect [ 0.000000] 8 disabled [ 0.000000] 9 disabled [ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WC UC- WT [ 0.000000] e820: last_pfn = 0xdb000 max_arch_pfn = 0x400000000 [ 0.000000] found SMP MP-table at [mem 0x000f00e0-0x000f00ef] mapped at [ffff8800000f00e0] [ 0.000000] Scanning 1 areas for low memory corruption [ 0.000000] Base memory trampoline at [ffff880000097000] 97000 size 24576 [ 0.000000] reserving inaccessible SNB gfx pages [ 0.000000] BRK [0x02ea9000, 0x02ea9fff] PGTABLE [ 0.000000] BRK [0x02eaa000, 0x02eaafff] PGTABLE [ 0.000000] BRK [0x02eab000, 0x02eabfff] PGTABLE [ 0.000000] BRK [0x02eac000, 0x02eacfff] PGTABLE [ 0.000000] BRK [0x02ead000, 0x02eadfff] PGTABLE [ 0.000000] BRK [0x02eae000, 0x02eaefff] PGTABLE [ 0.000000] RAMDISK: [mem 0x378f0000-0x37c6ffff] [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI: RSDP 0x00000000000F0100 000024 (v02 SECCSD) [ 0.000000] ACPI: XSDT 0x00000000DAFFE170 000084 (v01 SECCSD LH43STAR 00000002 PTEC 00000002) [ 0.000000] ACPI: FACP 0x00000000DAFEF000 00010C (v05 SECCSD LH43STAR 00000002 PTL 00000002) [ 0.000000] ACPI: DSDT 0x00000000DAFF2000 0083AC (v02 SECCSD SNB-CPT 00000000 INTL 20061109) [ 0.000000] ACPI: FACS 0x00000000DAF47000 000040 [ 0.000000] ACPI: SLIC 0x00000000DAFFD000 000176 (v01 SECCSD LH43STAR 00000002 PTEC 00000001) [ 0.000000] ACPI: SSDT 0x00000000DAFFB000 001068 (v01 SECCSD PtidDevc 00001000 INTL 20061109) [ 0.000000] ACPI: ASF! 0x00000000DAFF1000 0000A5 (v32 SECCSD LH43STAR 00000002 PTL 00000002) [ 0.000000] ACPI: HPET 0x00000000DAFEE000 000038 (v01 SECCSD LH43STAR 00000002 PTL 00000002) [ 0.000000] ACPI: APIC 0x00000000DAFED000 000098 (v03 SECCSD LH43STAR 00000002 PTL 00000002) [ 0.000000] ACPI: MCFG 0x00000000DAFEC000 00003C (v01 SECCSD LH43STAR 00000002 PTL 00000002) [ 0.000000] ACPI: SSDT 0x00000000DAFEB000 000804 (v01 PmRef Cpu0Ist 00003000 INTL 20061109) [ 0.000000] ACPI: SSDT 0x00000000DAFEA000 000996 (v01 PmRef CpuPm 00003000 INTL 20061109) [ 0.000000] ACPI: UEFI 0x00000000DAFE9000 00003E (v01 SECCSD LH43STAR 00000002 PTL 00000002) [ 0.000000] ACPI: UEFI 0x00000000DAFE8000 000042 (v01 PTL COMBUF 00000001 PTL 00000001) [ 0.000000] ACPI: UEFI 0x00000000DAFE7000 00026A (v01 SECCSD LH43STAR 00000002 PTL 00000002) [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] No NUMA configuration found [ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000011fdfffff] [ 0.000000] NODE_DATA(0) allocated [mem 0x11fdf9000-0x11fdfcfff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.000000] DMA32 [mem 0x0000000001000000-0x00000000ffffffff] [ 0.000000] Normal [mem 0x0000000100000000-0x000000011fdfffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009cfff] [ 0.000000] node 0: [mem 0x0000000000100000-0x000000001fffffff] [ 0.000000] node 0: [mem 0x0000000020200000-0x000000003fffffff] [ 0.000000] node 0: [mem 0x0000000040200000-0x00000000d9c9efff] [ 0.000000] node 0: [mem 0x00000000dafff000-0x00000000daffffff] [ 0.000000] node 0: [mem 0x0000000100000000-0x000000011fdfffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000011fdfffff] [ 0.000000] On node 0 totalpages: 1021500 [ 0.000000] DMA zone: 64 pages used for memmap [ 0.000000] DMA zone: 156 pages reserved [ 0.000000] DMA zone: 3996 pages, LIFO batch:0 [ 0.000000] DMA32 zone: 13859 pages used for memmap [ 0.000000] DMA32 zone: 886944 pages, LIFO batch:31 [ 0.000000] Normal zone: 2040 pages used for memmap [ 0.000000] Normal zone: 130560 pages, LIFO batch:31 [ 0.000000] Reserving Intel graphics memory at 0x00000000dba00000-0x00000000df9fffff [ 0.000000] ACPI: PM-Timer IO Port: 0x408 [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1]) [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) [ 0.000000] IOAPIC[0]: apic_id 14, version 32, address 0xfec00000, GSI 0-23 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.000000] ACPI: IRQ0 used by override. [ 0.000000] ACPI: IRQ9 used by override. [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] ACPI: HPET id: 0x8086a301 base: 0xfed00000 [ 0.000000] smpboot: Allowing 8 CPUs, 4 hotplug CPUs [ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.000000] PM: Registered nosave memory: [mem 0x0009d000-0x0009dfff] [ 0.000000] PM: Registered nosave memory: [mem 0x0009e000-0x0009ffff] [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000dffff] [ 0.000000] PM: Registered nosave memory: [mem 0x000e0000-0x000fffff] [ 0.000000] PM: Registered nosave memory: [mem 0x20000000-0x201fffff] [ 0.000000] PM: Registered nosave memory: [mem 0x40000000-0x401fffff] [ 0.000000] PM: Registered nosave memory: [mem 0xd9c9f000-0xdae7efff] [ 0.000000] PM: Registered nosave memory: [mem 0xdae7f000-0xdaf9efff] [ 0.000000] PM: Registered nosave memory: [mem 0xdaf9f000-0xdaffefff] [ 0.000000] PM: Registered nosave memory: [mem 0xdb000000-0xdf9fffff] [ 0.000000] PM: Registered nosave memory: [mem 0xdfa00000-0xf7ffffff] [ 0.000000] PM: Registered nosave memory: [mem 0xf8000000-0xfbffffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfc000000-0xfebfffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfec00000-0xfec00fff] [ 0.000000] PM: Registered nosave memory: [mem 0xfec01000-0xfed07fff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed08000-0xfed08fff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed09000-0xfed0ffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed10000-0xfed19fff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed1a000-0xfed1bfff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed1c000-0xfed1ffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed20000-0xfedfffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfee00000-0xfee00fff] [ 0.000000] PM: Registered nosave memory: [mem 0xfee01000-0xffd7ffff] [ 0.000000] PM: Registered nosave memory: [mem 0xffd80000-0xffffffff] [ 0.000000] e820: [mem 0xdfa00000-0xf7ffffff] available for PCI devices [ 0.000000] Booting paravirtualized kernel on bare hardware [ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns [ 0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:8 nr_node_ids:1 [ 0.000000] percpu: Embedded 37 pages/cpu @ffff88011fa00000 s112008 r8192 d31352 u262144 [ 0.000000] pcpu-alloc: s112008 r8192 d31352 u262144 alloc=1*2097152 [ 0.000000] pcpu-alloc: [0] 0 1 2 3 4 5 6 7 [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 1005381 [ 0.000000] Policy zone: Normal [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.7.0-10768.1-iniza-small root=UUID=001AADA61AAD9964 loop=/ubuntu/disks/root.disk ro intel_pstate=disable [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Calgary: detecting Calgary via BIOS EBDA area [ 0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing! [ 0.000000] Memory: 3916744K/4086000K available (8488K kernel code, 1450K rwdata, 3372K rodata, 1484K init, 14084K bss, 169256K reserved, 0K cma-reserved) [ 0.000000] Running RCU self tests [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU lockdep checking is enabled. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=8. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=8 [ 0.000000] NR_IRQS:16640 nr_irqs:488 16 [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] console [tty0] enabled [ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.000000] ... MAX_LOCK_DEPTH: 48 [ 0.000000] ... MAX_LOCKDEP_KEYS: 8191 [ 0.000000] ... CLASSHASH_SIZE: 4096 [ 0.000000] ... MAX_LOCKDEP_ENTRIES: 32768 [ 0.000000] ... MAX_LOCKDEP_CHAINS: 65536 [ 0.000000] ... CHAINHASH_SIZE: 32768 [ 0.000000] memory used by lock dependency info: 8159 kB [ 0.000000] per task-struct memory footprint: 1920 bytes [ 0.000000] ------------------------ [ 0.000000] | Locking API testsuite: [ 0.000000] ---------------------------------------------------------------------------- [ 0.000000] | spin |wlock |rlock |mutex | wsem | rsem | [ 0.000000] -------------------------------------------------------------------------- [ 0.000000] A-A deadlock: ok | ok | ok | ok | ok | ok | [ 0.000000] A-B-B-A deadlock: ok | ok | ok | ok | ok | ok | [ 0.000000] A-B-B-C-C-A deadlock: ok | ok | ok | ok | ok | ok | [ 0.000000] A-B-C-A-B-C deadlock: ok | ok | ok | ok | ok | ok | [ 0.000000] A-B-B-C-C-D-D-A deadlock: ok | ok | ok | ok | ok | ok | [ 0.000000] A-B-C-D-B-D-D-A deadlock: ok | ok | ok | ok | ok | ok | [ 0.000000] A-B-C-D-B-C-D-A deadlock: ok | ok | ok | ok | ok | ok | [ 0.000000] double unlock: ok | ok | ok | ok | ok | ok | [ 0.000000] initialize held: ok | ok | ok | ok | ok | ok | [ 0.000000] bad unlock order: ok | ok | ok | ok | ok | ok | [ 0.000000] -------------------------------------------------------------------------- [ 0.000000] recursive read-lock: | ok | | ok | [ 0.000000] recursive read-lock #2: | ok | | ok | [ 0.000000] mixed read-write-lock: | ok | | ok | [ 0.000000] mixed write-read-lock: | ok | | ok | [ 0.000000] -------------------------------------------------------------------------- [ 0.000000] hard-irqs-on + irq-safe-A/12: ok | ok | ok | [ 0.000000] soft-irqs-on + irq-safe-A/12: ok | ok | ok | [ 0.000000] hard-irqs-on + irq-safe-A/21: ok | ok | ok | [ 0.000000] soft-irqs-on + irq-safe-A/21: ok | ok | ok | [ 0.000000] sirq-safe-A => hirqs-on/12: ok | ok | ok | [ 0.000000] sirq-safe-A => hirqs-on/21: ok | ok | ok | [ 0.000000] hard-safe-A + irqs-on/12: ok | ok | ok | [ 0.000000] soft-safe-A + irqs-on/12: ok | ok | ok | [ 0.000000] hard-safe-A + irqs-on/21: ok | ok | ok | [ 0.000000] soft-safe-A + irqs-on/21: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #1/123: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #1/123: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #1/132: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #1/132: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #1/213: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #1/213: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #1/231: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #1/231: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #1/312: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #1/312: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #1/321: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #1/321: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #2/123: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #2/123: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #2/132: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #2/132: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #2/213: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #2/213: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #2/231: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #2/231: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #2/312: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #2/312: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #2/321: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #2/321: ok | ok | ok | [ 0.000000] hard-irq lock-inversion/123: ok | ok | ok | [ 0.000000] soft-irq lock-inversion/123: ok | ok | ok | [ 0.000000] hard-irq lock-inversion/132: ok | ok | ok | [ 0.000000] soft-irq lock-inversion/132: ok | ok | ok | [ 0.000000] hard-irq lock-inversion/213: ok | ok | ok | [ 0.000000] soft-irq lock-inversion/213: ok | ok | ok | [ 0.000000] hard-irq lock-inversion/231: ok | ok | ok | [ 0.000000] soft-irq lock-inversion/231: ok | ok | ok | [ 0.000000] hard-irq lock-inversion/312: ok | ok | ok | [ 0.000000] soft-irq lock-inversion/312: ok | ok | ok | [ 0.000000] hard-irq lock-inversion/321: ok | ok | ok | [ 0.000000] soft-irq lock-inversion/321: ok | ok | ok | [ 0.000000] hard-irq read-recursion/123: ok | [ 0.000000] soft-irq read-recursion/123: ok | [ 0.000000] hard-irq read-recursion/132: ok | [ 0.000000] soft-irq read-recursion/132: ok | [ 0.000000] hard-irq read-recursion/213: ok | [ 0.000000] soft-irq read-recursion/213: ok | [ 0.000000] hard-irq read-recursion/231: ok | [ 0.000000] soft-irq read-recursion/231: ok | [ 0.000000] hard-irq read-recursion/312: ok | [ 0.000000] soft-irq read-recursion/312: ok | [ 0.000000] hard-irq read-recursion/321: ok | [ 0.000000] soft-irq read-recursion/321: ok | [ 0.000000] -------------------------------------------------------------------------- [ 0.000000] | Wound/wait tests | [ 0.000000] --------------------- [ 0.000000] ww api failures: ok | ok | ok | [ 0.000000] ww contexts mixing: ok | ok | [ 0.000000] finishing ww context: ok | ok | ok | ok | [ 0.000000] locking mismatches: ok | ok | ok | [ 0.000000] EDEADLK handling: ok | ok | ok | ok | ok | ok | ok | ok | ok | ok | [ 0.000000] spinlock nest unlocked: ok | [ 0.000000] ----------------------------------------------------- [ 0.000000] |block | try |context| [ 0.000000] ----------------------------------------------------- [ 0.000000] context: ok | ok | ok | [ 0.000000] try: ok | ok | ok | [ 0.000000] block: ok | ok | ok | [ 0.000000] spinlock: ok | ok | ok | [ 0.000000] ------------------------------------------------------- [ 0.000000] Good, all 253 testcases passed! | [ 0.000000] --------------------------------- [ 0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484882848 ns [ 0.000000] hpet clockevent registered [ 0.000000] tsc: Fast TSC calibration using PIT [ 0.000000] tsc: Detected 1596.411 MHz processor [ 0.000083] Calibrating delay loop (skipped), value calculated using timer frequency.. 3192.82 BogoMIPS (lpj=6385644) [ 0.000096] pid_max: default: 32768 minimum: 301 [ 0.000138] ACPI: Core revision 20160422 [ 0.022217] ACPI: 4 ACPI AML tables successfully acquired and loaded [ 0.022226] [ 0.022413] Security Framework initialized [ 0.022420] Yama: becoming mindful. [ 0.022453] AppArmor: AppArmor initialized [ 0.022860] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.023921] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.024435] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 0.024449] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 0.025804] Disabled fast string operations [ 0.025813] CPU: Physical Processor ID: 0 [ 0.025818] CPU: Processor Core ID: 0 [ 0.025827] ENERGY_PERF_BIAS: Set to 'normal', was 'performance' [ 0.025833] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8) [ 0.025841] mce: CPU supports 7 MCE banks [ 0.025873] CPU0: Thermal monitoring enabled (TM1) [ 0.025897] process: using mwait in idle threads [ 0.025906] Last level iTLB entries: 4KB 512, 2MB 8, 4MB 8 [ 0.025912] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32, 1GB 0 [ 0.026602] Freeing SMP alternatives memory: 28K (ffffffff820df000 - ffffffff820e6000) [ 0.029646] ftrace: allocating 30666 entries in 120 pages [ 0.047164] smpboot: Max logical packages: 4 [ 0.047174] smpboot: APIC(0) Converting physical 0 to logical package 0 [ 0.047262] x2apic: IRQ remapping doesn't support X2APIC mode [ 0.047902] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.087599] TSC deadline timer enabled [ 0.087605] smpboot: CPU0: Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz (family: 0x6, model: 0x2a, stepping: 0x7) [ 0.087618] Performance Events: PEBS fmt1+, SandyBridge events, 16-deep LBR, full-width counters, Intel PMU driver. [ 0.087663] ... version: 3 [ 0.087668] ... bit width: 48 [ 0.087673] ... generic registers: 4 [ 0.087678] ... value mask: 0000ffffffffffff [ 0.087683] ... max period: 0000ffffffffffff [ 0.087688] ... fixed-purpose events: 3 [ 0.087692] ... event mask: 000000070000000f [ 0.089435] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter. [ 0.090354] x86: Booting SMP configuration: [ 0.090362] .... node #0, CPUs: #1 [ 0.090703] Disabled fast string operations [ 0.170710] #2<6>[ 0.171018] Disabled fast string operations [ 0.251087] #3 [ 0.251088] Disabled fast string operations [ 0.330316] x86: Booted up 1 node, 4 CPUs [ 0.330333] smpboot: Total of 4 processors activated (12789.42 BogoMIPS) [ 0.350948] devtmpfs: initialized [ 0.351299] x86/mm: Memory block size: 128MB [ 0.356417] evm: security.selinux [ 0.356423] evm: security.SMACK64 [ 0.356427] evm: security.capability [ 0.370416] PM: Registering ACPI NVS region [mem 0xdae7f000-0xdaf9efff] (1179648 bytes) [ 0.370816] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.402754] NET: Registered protocol family 16 [ 0.418364] cpuidle: using governor ladder [ 0.434405] cpuidle: using governor menu [ 0.434520] ACPI: bus type PCI registered [ 0.434800] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000) [ 0.434811] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in E820 [ 0.434826] PCI: Using configuration type 1 for base access [ 0.434933] core: PMU erratum BJ122, BV98, HSD29 worked around, HT is on [ 0.454873] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.498873] ACPI: Added _OSI(Module Device) [ 0.498882] ACPI: Added _OSI(Processor Device) [ 0.498888] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.498893] ACPI: Added _OSI(Processor Aggregator Device) [ 0.499742] ACPI: Executed 1 blocks of module-level executable AML code [ 0.518691] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored [ 0.520895] ACPI: Dynamic OEM Table Load: [ 0.520925] ACPI: SSDT 0xFFFF88011A01D000 000688 (v01 PmRef Cpu0Cst 00003001 INTL 20061109) [ 0.523808] ACPI: Dynamic OEM Table Load: [ 0.523835] ACPI: SSDT 0xFFFF88011B0A6C00 000303 (v01 PmRef ApIst 00003000 INTL 20061109) [ 0.526452] ACPI: Dynamic OEM Table Load: [ 0.526478] ACPI: SSDT 0xFFFF88011A014000 000119 (v01 PmRef ApCst 00003000 INTL 20061109) [ 0.531078] ACPI : EC: EC started [ 0.611202] ACPI: Interpreter enabled [ 0.611280] ACPI: (supports S0 S1 S3 S4 S5) [ 0.611286] ACPI: Using IOAPIC for interrupt routing [ 0.611376] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.640399] ACPI: Power Resource [FN00] (off) [ 0.640950] ACPI: Power Resource [FN01] (off) [ 0.641387] ACPI: Power Resource [FN02] (off) [ 0.641822] ACPI: Power Resource [FN03] (off) [ 0.642254] ACPI: Power Resource [FN04] (off) [ 0.645385] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-3e]) [ 0.645400] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI] [ 0.646260] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM [ 0.647526] PCI host bridge to bus 0000:00 [ 0.647535] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 0.647543] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.647550] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 0.647559] pci_bus 0000:00: root bus resource [mem 0xdfa00000-0xfeafffff window] [ 0.647568] pci_bus 0000:00: root bus resource [mem 0xfed40000-0xfed44fff window] [ 0.647578] pci_bus 0000:00: root bus resource [bus 00-3e] [ 0.647669] pci 0000:00:00.0: [8086:0104] type 00 class 0x060000 [ 0.648162] pci 0000:00:02.0: [8086:0116] type 00 class 0x030000 [ 0.648184] pci 0000:00:02.0: reg 0x10: [mem 0xf0000000-0xf03fffff 64bit] [ 0.648197] pci 0000:00:02.0: reg 0x18: [mem 0xe0000000-0xefffffff 64bit pref] [ 0.648206] pci 0000:00:02.0: reg 0x20: [io 0x3000-0x303f] [ 0.648735] pci 0000:00:16.0: [8086:1c3a] type 00 class 0x078000 [ 0.648778] pci 0000:00:16.0: reg 0x10: [mem 0xf0705000-0xf070500f 64bit] [ 0.648937] pci 0000:00:16.0: PME# supported from D0 D3hot D3cold [ 0.649355] pci 0000:00:1a.0: [8086:1c2d] type 00 class 0x0c0320 [ 0.649390] pci 0000:00:1a.0: reg 0x10: [mem 0xf070a000-0xf070a3ff] [ 0.649571] pci 0000:00:1a.0: PME# supported from D0 D3hot D3cold [ 0.649868] pci 0000:00:1a.0: System wakeup disabled by ACPI [ 0.650069] pci 0000:00:1b.0: [8086:1c20] type 00 class 0x040300 [ 0.650109] pci 0000:00:1b.0: reg 0x10: [mem 0xf0700000-0xf0703fff 64bit] [ 0.650296] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold [ 0.650518] pci 0000:00:1b.0: System wakeup disabled by ACPI [ 0.650712] pci 0000:00:1c.0: [8086:1c10] type 01 class 0x060400 [ 0.650893] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold [ 0.651122] pci 0000:00:1c.0: System wakeup disabled by ACPI [ 0.651321] pci 0000:00:1c.3: [8086:1c16] type 01 class 0x060400 [ 0.651497] pci 0000:00:1c.3: PME# supported from D0 D3hot D3cold [ 0.651714] pci 0000:00:1c.3: System wakeup disabled by ACPI [ 0.651908] pci 0000:00:1c.4: [8086:1c18] type 01 class 0x060400 [ 0.652095] pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold [ 0.652310] pci 0000:00:1c.4: System wakeup disabled by ACPI [ 0.652510] pci 0000:00:1d.0: [8086:1c26] type 00 class 0x0c0320 [ 0.652545] pci 0000:00:1d.0: reg 0x10: [mem 0xf0709000-0xf07093ff] [ 0.652726] pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold [ 0.652984] pci 0000:00:1d.0: System wakeup disabled by ACPI [ 0.653179] pci 0000:00:1f.0: [8086:1c49] type 00 class 0x060100 [ 0.653726] pci 0000:00:1f.2: [8086:1c03] type 00 class 0x010601 [ 0.653764] pci 0000:00:1f.2: reg 0x10: [io 0x3088-0x308f] [ 0.653782] pci 0000:00:1f.2: reg 0x14: [io 0x3094-0x3097] [ 0.653800] pci 0000:00:1f.2: reg 0x18: [io 0x3080-0x3087] [ 0.653818] pci 0000:00:1f.2: reg 0x1c: [io 0x3090-0x3093] [ 0.653836] pci 0000:00:1f.2: reg 0x20: [io 0x3060-0x307f] [ 0.653854] pci 0000:00:1f.2: reg 0x24: [mem 0xf0708000-0xf07087ff] [ 0.653966] pci 0000:00:1f.2: PME# supported from D3hot [ 0.654340] pci 0000:00:1f.3: [8086:1c22] type 00 class 0x0c0500 [ 0.654375] pci 0000:00:1f.3: reg 0x10: [mem 0xf0704000-0xf07040ff 64bit] [ 0.654425] pci 0000:00:1f.3: reg 0x20: [io 0xefa0-0xefbf] [ 0.655222] pci 0000:01:00.0: [8086:0091] type 00 class 0x028000 [ 0.655614] pci 0000:01:00.0: reg 0x10: [mem 0xf0600000-0xf0601fff 64bit] [ 0.657465] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold [ 0.657914] pci 0000:01:00.0: System wakeup disabled by ACPI [ 0.667201] pci 0000:00:1c.0: PCI bridge to [bus 01] [ 0.667218] pci 0000:00:1c.0: bridge window [mem 0xf0600000-0xf06fffff] [ 0.667452] pci 0000:02:00.0: [10ec:8168] type 00 class 0x020000 [ 0.667547] pci 0000:02:00.0: reg 0x10: [io 0x2000-0x20ff] [ 0.667688] pci 0000:02:00.0: reg 0x18: [mem 0xf0404000-0xf0404fff 64bit pref] [ 0.667774] pci 0000:02:00.0: reg 0x20: [mem 0xf0400000-0xf0403fff 64bit pref] [ 0.668249] pci 0000:02:00.0: supports D1 D2 [ 0.668251] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 0.668465] pci 0000:02:00.0: System wakeup disabled by ACPI [ 0.679137] pci 0000:00:1c.3: PCI bridge to [bus 02] [ 0.679149] pci 0000:00:1c.3: bridge window [io 0x2000-0x2fff] [ 0.679165] pci 0000:00:1c.3: bridge window [mem 0xf0400000-0xf04fffff 64bit pref] [ 0.679371] pci 0000:03:00.0: [1b21:1042] type 00 class 0x0c0330 [ 0.679422] pci 0000:03:00.0: reg 0x10: [mem 0xf0500000-0xf0507fff 64bit] [ 0.679710] pci 0000:03:00.0: PME# supported from D3hot D3cold [ 0.679805] pci 0000:03:00.0: System wakeup disabled by ACPI [ 0.680085] pci 0000:00:1c.4: PCI bridge to [bus 03] [ 0.680100] pci 0000:00:1c.4: bridge window [mem 0xf0500000-0xf05fffff] [ 0.682762] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 10 *11 12 14 15) [ 0.683039] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 10 11 12 14 15) *0, disabled. [ 0.683300] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 *10 11 12 14 15) [ 0.683552] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 *10 11 12 14 15) [ 0.683802] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 10 11 12 14 15) *9 [ 0.684053] ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 10 11 12 14 15) *0, disabled. [ 0.684307] ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 10 *11 12 14 15) [ 0.684558] ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 10 11 12 14 15) *9 [ 0.686222] ACPI: Enabled 4 GPEs in block 00 to 3F [ 0.686329] ACPI : EC: EC stopped [ 0.686581] ACPI : EC: GPE = 0x17, I/O: command/status = 0x66, data = 0x62 [ 0.686589] ACPI : EC: EC started [ 0.763997] ACPI : EC: 0 stale EC events cleared [ 0.764770] vgaarb: setting as boot device: PCI:0000:00:02.0 [ 0.764778] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none [ 0.764794] vgaarb: loaded [ 0.764799] vgaarb: bridge control possible 0000:00:02.0 [ 0.765437] SCSI subsystem initialized [ 0.765608] libata version 3.00 loaded. [ 0.765703] ACPI: bus type USB registered [ 0.765831] usbcore: registered new interface driver usbfs [ 0.765877] usbcore: registered new interface driver hub [ 0.765964] usbcore: registered new device driver usb [ 0.766382] PCI: Using ACPI for IRQ routing [ 0.770089] PCI: pci_cache_line_size set to 64 bytes [ 0.770224] e820: reserve RAM buffer [mem 0x0009d800-0x0009ffff] [ 0.770234] e820: reserve RAM buffer [mem 0xd9c9f000-0xdbffffff] [ 0.770237] e820: reserve RAM buffer [mem 0xdb000000-0xdbffffff] [ 0.770239] e820: reserve RAM buffer [mem 0x11fe00000-0x11fffffff] [ 0.771067] NetLabel: Initializing [ 0.771074] NetLabel: domain hash size = 128 [ 0.771079] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.771147] NetLabel: unlabeled traffic allowed by default [ 0.771483] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0 [ 0.771497] hpet0: 8 comparators, 64-bit 14.318180 MHz counter [ 0.773588] clocksource: Switched to clocksource hpet [ 0.837813] VFS: Disk quotas dquot_6.6.0 [ 0.853666] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.870088] AppArmor: AppArmor Filesystem Enabled [ 0.870336] pnp: PnP ACPI init [ 0.871095] system 00:00: [io 0x0680-0x069f] has been reserved [ 0.871106] system 00:00: [io 0x1000-0x100f] has been reserved [ 0.871114] system 00:00: [io 0x5000-0x5003] has been reserved [ 0.871121] system 00:00: [io 0xffff] has been reserved [ 0.871129] system 00:00: [io 0x0400-0x0453] has been reserved [ 0.871136] system 00:00: [io 0x0458-0x047f] has been reserved [ 0.871144] system 00:00: [io 0x0500-0x057f] has been reserved [ 0.871151] system 00:00: [io 0x0a00-0x0a0f] has been reserved [ 0.871159] system 00:00: [io 0x164e-0x164f] has been reserved [ 0.871167] system 00:00: [io 0x5000-0x500f] could not be reserved [ 0.871208] system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active) [ 0.871319] pnp 00:01: Plug and Play ACPI device, IDs PNP0b00 (active) [ 0.871534] system 00:02: [io 0x0454-0x0457] has been reserved [ 0.871548] system 00:02: Plug and Play ACPI device, IDs INT3f0d PNP0c02 (active) [ 0.871670] pnp 00:03: Plug and Play ACPI device, IDs PNP0303 (active) [ 0.871831] pnp 00:04: Plug and Play ACPI device, IDs ETD0b00 SYN0002 PNP0f13 (active) [ 0.872425] system 00:05: [mem 0xfed1c000-0xfed1ffff] has been reserved [ 0.872435] system 00:05: [mem 0xfed10000-0xfed17fff] has been reserved [ 0.872443] system 00:05: [mem 0xfed18000-0xfed18fff] has been reserved [ 0.872451] system 00:05: [mem 0xfed19000-0xfed19fff] has been reserved [ 0.872459] system 00:05: [mem 0xf8000000-0xfbffffff] has been reserved [ 0.872467] system 00:05: [mem 0xfed20000-0xfed3ffff] has been reserved [ 0.872475] system 00:05: [mem 0xfed90000-0xfed93fff] has been reserved [ 0.872482] system 00:05: [mem 0xfed45000-0xfed8ffff] has been reserved [ 0.872491] system 00:05: [mem 0xff000000-0xffffffff] could not be reserved [ 0.872499] system 00:05: [mem 0xfee00000-0xfeefffff] could not be reserved [ 0.872512] system 00:05: Plug and Play ACPI device, IDs PNP0c02 (active) [ 0.873728] system 00:06: Plug and Play ACPI device, IDs PNP0c01 (active) [ 0.873795] pnp: PnP ACPI: found 7 devices [ 0.887056] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 0.887122] pci 0000:00:1c.0: PCI bridge to [bus 01] [ 0.887137] pci 0000:00:1c.0: bridge window [mem 0xf0600000-0xf06fffff] [ 0.887157] pci 0000:00:1c.3: PCI bridge to [bus 02] [ 0.887165] pci 0000:00:1c.3: bridge window [io 0x2000-0x2fff] [ 0.887182] pci 0000:00:1c.3: bridge window [mem 0xf0400000-0xf04fffff 64bit pref] [ 0.887200] pci 0000:00:1c.4: PCI bridge to [bus 03] [ 0.887213] pci 0000:00:1c.4: bridge window [mem 0xf0500000-0xf05fffff] [ 0.887234] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window] [ 0.887236] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window] [ 0.887238] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window] [ 0.887240] pci_bus 0000:00: resource 7 [mem 0xdfa00000-0xfeafffff window] [ 0.887242] pci_bus 0000:00: resource 8 [mem 0xfed40000-0xfed44fff window] [ 0.887244] pci_bus 0000:01: resource 1 [mem 0xf0600000-0xf06fffff] [ 0.887247] pci_bus 0000:02: resource 0 [io 0x2000-0x2fff] [ 0.887249] pci_bus 0000:02: resource 2 [mem 0xf0400000-0xf04fffff 64bit pref] [ 0.887251] pci_bus 0000:03: resource 1 [mem 0xf0500000-0xf05fffff] [ 0.965640] NET: Registered protocol family 2 [ 0.966217] TCP established hash table entries: 32768 (order: 6, 262144 bytes) [ 0.966466] TCP bind hash table entries: 32768 (order: 9, 2097152 bytes) [ 0.968884] TCP: Hash tables configured (established 32768 bind 32768) [ 0.969004] UDP hash table entries: 2048 (order: 6, 327680 bytes) [ 0.969350] UDP-Lite hash table entries: 2048 (order: 6, 327680 bytes) [ 1.017624] NET: Registered protocol family 1 [ 1.017696] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff] [ 1.019762] PCI: CLS 64 bytes, default 64 [ 1.020103] Trying to unpack rootfs image as initramfs... [ 1.105866] Freeing initrd memory: 3584K (ffff8800378f0000 - ffff880037c70000) [ 1.105997] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [ 1.106005] software IO TLB [mem 0xd5c9f000-0xd9c9f000] (64MB) mapped at [ffff8800d5c9f000-ffff8800d9c9efff] [ 1.106172] RAPL PMU: API unit is 2^-32 Joules, 3 fixed counters, 163840 ms ovfl timer [ 1.106182] RAPL PMU: hw unit of domain pp0-core 2^-16 Joules [ 1.106187] RAPL PMU: hw unit of domain package 2^-16 Joules [ 1.106192] RAPL PMU: hw unit of domain pp1-gpu 2^-16 Joules [ 1.106726] Scanning for low memory corruption every 60 seconds [ 1.108183] futex hash table entries: 2048 (order: 6, 262144 bytes) [ 1.129639] audit: initializing netlink subsys (disabled) [ 1.129750] audit: type=2000 audit(1470171329.124:1): initialized [ 1.131367] Initialise system trusted keyrings [ 1.131811] workingset: timestamp_bits=40 max_order=20 bucket_order=0 [ 1.481781] fuse init (API version 7.25) [ 1.515942] Key type asymmetric registered [ 1.515966] Asymmetric key parser 'x509' registered [ 1.529710] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) [ 1.529886] io scheduler noop registered [ 1.529893] io scheduler deadline registered (default) [ 1.561612] io scheduler cfq registered [ 1.561628] start plist test [ 1.564157] end plist test [ 1.565616] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 1.565644] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [ 1.565881] intel_idle: MWAIT substates: 0x21120 [ 1.565883] intel_idle: v0.4.1 model 0x2A [ 1.566984] intel_idle: lapic_timer_reliable_states 0xffffffff [ 1.567466] ACPI: AC Adapter [ADP1] (on-line) [ 1.567772] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0 [ 1.567838] ACPI: Lid Switch [LID0] [ 1.568026] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1 [ 1.568078] ACPI: Power Button [PWRB] [ 1.568268] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2 [ 1.568282] ACPI: Power Button [PWRF] [ 1.572905] thermal LNXTHERM:00: registered as thermal_zone0 [ 1.572914] ACPI: Thermal Zone [TZ00] (64 C) [ 1.574050] thermal LNXTHERM:01: registered as thermal_zone1 [ 1.574058] ACPI: Thermal Zone [TZ01] (30 C) [ 1.574202] GHES: HEST is not enabled! [ 1.574673] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled [ 1.584694] ACPI: Battery Slot [BAT1] (battery present) [ 1.585289] Linux agpgart interface v0.103 [ 1.598396] brd: module loaded [ 1.604759] loop: module loaded [ 1.610462] ahci 0000:00:1f.2: version 3.0 [ 1.611044] ahci 0000:00:1f.2: SSS flag set, parallel bus scan disabled [ 1.621239] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x1b impl SATA mode [ 1.621277] ahci 0000:00:1f.2: flags: 64bit ncq sntf ilck stag pm led clo pio slum part ems sxs apst [ 1.656498] scsi host0: ahci [ 1.657225] scsi host1: ahci [ 1.657718] scsi host2: ahci [ 1.658173] scsi host3: ahci [ 1.658616] scsi host4: ahci [ 1.659044] scsi host5: ahci [ 1.659296] ata1: SATA max UDMA/133 abar m2048@0xf0708000 port 0xf0708100 irq 25 [ 1.659307] ata2: SATA max UDMA/133 abar m2048@0xf0708000 port 0xf0708180 irq 25 [ 1.659315] ata3: DUMMY [ 1.659321] ata4: SATA max UDMA/133 abar m2048@0xf0708000 port 0xf0708280 irq 25 [ 1.659331] ata5: SATA max UDMA/133 abar m2048@0xf0708000 port 0xf0708300 irq 25 [ 1.659339] ata6: DUMMY [ 1.661259] libphy: Fixed MDIO Bus: probed [ 1.661715] tun: Universal TUN/TAP device driver, 1.6 [ 1.661721] tun: (C) 1999-2004 Max Krasnyansky [ 1.661960] PPP generic driver version 2.4.2 [ 1.662129] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.662136] ehci-pci: EHCI PCI platform driver [ 1.662675] ehci-pci 0000:00:1a.0: EHCI Host Controller [ 1.662881] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 1 [ 1.662964] ehci-pci 0000:00:1a.0: debug port 2 [ 1.666954] ehci-pci 0000:00:1a.0: cache line size of 64 is not supported [ 1.667040] ehci-pci 0000:00:1a.0: irq 16, io mem 0xf070a000 [ 1.681601] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00 [ 1.681956] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.681963] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.681972] usb usb1: Product: EHCI Host Controller [ 1.681978] usb usb1: Manufacturer: Linux 4.7.0-10768.1-iniza-small ehci_hcd [ 1.681984] usb usb1: SerialNumber: 0000:00:1a.0 [ 1.683056] hub 1-0:1.0: USB hub found [ 1.683117] hub 1-0:1.0: 2 ports detected [ 1.684766] ehci-pci 0000:00:1d.0: EHCI Host Controller [ 1.684794] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 2 [ 1.684825] ehci-pci 0000:00:1d.0: debug port 2 [ 1.688743] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported [ 1.688786] ehci-pci 0000:00:1d.0: irq 23, io mem 0xf0709000 [ 1.701590] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00 [ 1.701743] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.701750] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.701759] usb usb2: Product: EHCI Host Controller [ 1.701764] usb usb2: Manufacturer: Linux 4.7.0-10768.1-iniza-small ehci_hcd [ 1.701770] usb usb2: SerialNumber: 0000:00:1d.0 [ 1.702417] hub 2-0:1.0: USB hub found [ 1.702451] hub 2-0:1.0: 2 ports detected [ 1.703062] ehci-platform: EHCI generic platform driver [ 1.703114] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.703148] ohci-pci: OHCI PCI platform driver [ 1.703191] ohci-platform: OHCI generic platform driver [ 1.703223] uhci_hcd: USB Universal Host Controller Interface driver [ 1.703497] xhci_hcd 0000:03:00.0: xHCI Host Controller [ 1.703529] xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 3 [ 1.713264] xhci_hcd 0000:03:00.0: hcc params 0x0200f180 hci version 0x96 quirks 0x00080000 [ 1.713871] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.713878] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.713887] usb usb3: Product: xHCI Host Controller [ 1.713893] usb usb3: Manufacturer: Linux 4.7.0-10768.1-iniza-small xhci-hcd [ 1.713899] usb usb3: SerialNumber: 0000:03:00.0 [ 1.714506] hub 3-0:1.0: USB hub found [ 1.714587] hub 3-0:1.0: 2 ports detected [ 1.715124] xhci_hcd 0000:03:00.0: xHCI Host Controller [ 1.715144] xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 4 [ 1.715251] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 1.715369] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003 [ 1.715376] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.715385] usb usb4: Product: xHCI Host Controller [ 1.715390] usb usb4: Manufacturer: Linux 4.7.0-10768.1-iniza-small xhci-hcd [ 1.715397] usb usb4: SerialNumber: 0000:03:00.0 [ 1.716057] hub 4-0:1.0: USB hub found [ 1.716110] hub 4-0:1.0: 2 ports detected [ 1.716843] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:EPAD] at 0x60,0x64 irq 1,12 [ 1.722915] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 1.722964] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 1.723855] mousedev: PS/2 mouse device common for all mice [ 1.725336] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0 [ 1.725381] rtc_cmos 00:01: alarms up to one month, y3k, 242 bytes nvram, hpet irqs [ 1.732128] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3 [ 1.753723] device-mapper: uevent: version 1.0.3 [ 1.770004] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com [ 1.770273] ledtrig-cpu: registered to indicate activity on CPUs [ 1.873774] NET: Registered protocol family 10 [ 1.905802] NET: Registered protocol family 17 [ 1.905837] Key type dns_resolver registered [ 1.906727] microcode: sig=0x206a7, pf=0x10, revision=0x28 [ 1.907031] microcode: Microcode Update Driver: v2.01 , Peter Oruba [ 1.907524] registered taskstats version 1 [ 1.907531] Loading compiled-in X.509 certificates [ 1.914700] Loaded X.509 cert 'Build time autogenerated kernel key: 00b89b0b54e2e50c779dcb6b1667e75e5be8f532' [ 1.919323] Key type trusted registered [ 1.928970] Key type encrypted registered [ 1.928988] AppArmor: AppArmor sha1 policy hashing enabled [ 1.928995] evm: HMAC attrs: 0x1 [ 1.930037] rtc_cmos 00:01: setting system clock to 2016-08-02 20:55:30 UTC (1470171330) [ 1.930215] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found [ 1.930222] EDD information not available. [ 1.973605] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 1.974888] ata1.00: ATA-8: Hitachi HTS545050A7E380, GG2OA6C0, max UDMA/133 [ 1.974913] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA [ 1.976272] ata1.00: configured for UDMA/133 [ 1.977264] scsi 0:0:0:0: Direct-Access ATA Hitachi HTS54505 A6C0 PQ: 0 ANSI: 5 [ 2.006802] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB) [ 2.006816] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 2.007061] sd 0:0:0:0: [sda] Write Protect is off [ 2.007072] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 2.007199] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 2.007249] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 2.013739] usb 1-1: new high-speed USB device number 2 using ehci-pci [ 2.029722] usb 2-1: new high-speed USB device number 2 using ehci-pci [ 2.053083] sda: sda1 sda2 sda3 [ 2.054644] sd 0:0:0:0: [sda] Attached SCSI disk [ 2.113822] tsc: Refined TSC clocksource calibration: 1596.373 MHz [ 2.113834] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1702c2a0637, max_idle_ns: 440795222505 ns [ 2.150298] random: fast init done [ 2.162571] usb 1-1: New USB device found, idVendor=8087, idProduct=0024 [ 2.162590] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 2.163727] hub 1-1:1.0: USB hub found [ 2.163954] hub 1-1:1.0: 6 ports detected [ 2.178509] usb 2-1: New USB device found, idVendor=8087, idProduct=0024 [ 2.178520] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 2.179402] hub 2-1:1.0: USB hub found [ 2.179538] hub 2-1:1.0: 6 ports detected [ 2.322156] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 2.323052] ata2.00: ATA-8: SanDisk iSSD P4 16GB, SSD 9.14, max UDMA/133 [ 2.323077] ata2.00: 31277232 sectors, multi 1: LBA48 [ 2.323838] ata2.00: configured for UDMA/133 [ 2.324448] scsi 1:0:0:0: Direct-Access ATA SanDisk iSSD P4 9.14 PQ: 0 ANSI: 5 [ 2.354305] sd 1:0:0:0: [sdb] 31277232 512-byte logical blocks: (16.0 GB/14.9 GiB) [ 2.354524] sd 1:0:0:0: [sdb] Write Protect is off [ 2.354532] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00 [ 2.354539] sd 1:0:0:0: Attached scsi generic sg1 type 0 [ 2.354579] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 2.356300] sdb: sdb1 [ 2.357112] sd 1:0:0:0: [sdb] Attached SCSI disk [ 2.453629] usb 1-1.2: new low-speed USB device number 3 using ehci-pci [ 2.469695] usb 2-1.5: new full-speed USB device number 3 using ehci-pci [ 2.569038] usb 1-1.2: New USB device found, idVendor=046d, idProduct=c00e [ 2.569049] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.569057] usb 1-1.2: Product: USB-PS/2 Optical Mouse [ 2.569062] usb 1-1.2: Manufacturer: Logitech [ 2.582903] usb 2-1.5: New USB device found, idVendor=8086, idProduct=0189 [ 2.582914] usb 2-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 2.649684] usb 1-1.4: new high-speed USB device number 4 using ehci-pci [ 2.670342] ata4: SATA link down (SStatus 0 SControl 300) [ 2.918409] usb 1-1.4: New USB device found, idVendor=2232, idProduct=1018 [ 2.918420] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.918429] usb 1-1.4: Product: WebCam SC-13HDL11431N [ 2.918434] usb 1-1.4: Manufacturer: 123 [ 2.986496] ata5: SATA link down (SStatus 0 SControl 300) [ 2.988956] Freeing unused kernel memory: 1484K (ffffffff81f6c000 - ffffffff820df000) [ 2.988968] Write protecting the kernel read-only data: 14336k [ 2.990383] Freeing unused kernel memory: 1736K (ffff88000184e000 - ffff880001a00000) [ 2.992643] Freeing unused kernel memory: 724K (ffff880001d4b000 - ffff880001e00000) [ 3.031298] udevd[172]: starting version 175 [ 3.139647] clocksource: Switched to clocksource tsc [ 3.319429] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded [ 3.319461] r8169 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control [ 3.345201] r8169 0000:02:00.0 eth0: RTL8168evl/8111evl at 0xffffc900009ac000, e8:03:9a:36:17:a9, XID 0c900800 IRQ 31 [ 3.345223] r8169 0000:02:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko] [ 3.364272] usbcore: registered new interface driver usbhid [ 3.364287] usbhid: USB HID core driver [ 3.448860] input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C00E.0001/input/input5 [ 3.449381] hid-generic 0003:046D:C00E.0001: input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1a.0-1.2/input0 [ 4.174007] EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null) [ 6.036644] init: ureadahead main process (445) terminated with status 5 [ 6.161221] random: crng init done [ 7.022147] Adding 15637588k swap on /dev/sdb1. Priority:-1 extents:1 across:15637588k SSFS [ 7.183248] EXT4-fs (loop0): re-mounted. Opts: errors=remount-ro [ 8.756209] udevd[560]: starting version 175 [ 10.498136] lp: driver loaded but no devices found [ 12.634597] ppdev: user-space parallel port driver [ 12.876830] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20160422/utaddress-255) [ 12.876841] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 12.876847] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20160422/utaddress-255) [ 12.876852] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 12.876855] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20160422/utaddress-255) [ 12.876859] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 12.876862] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20160422/utaddress-255) [ 12.876866] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 12.876868] lpc_ich: Resource conflict(s) found affecting gpio_ich [ 13.026517] wmi: Mapper loaded [ 13.101804] samsung_laptop: detected SABI interface: SwSmi@ [ 13.714609] Bluetooth: Core ver 2.21 [ 13.714668] NET: Registered protocol family 31 [ 13.714809] Bluetooth: HCI device and connection manager initialized [ 13.714907] Bluetooth: HCI socket layer initialized [ 13.714919] Bluetooth: L2CAP socket layer initialized [ 13.715009] Bluetooth: SCO socket layer initialized [ 14.041559] [drm] Initialized drm 1.1.0 20060810 [ 14.353744] usbcore: registered new interface driver btusb [ 14.585043] psmouse serio1: elantech: assuming hardware version 3 (with firmware version 0x450f00) [ 14.602175] psmouse serio1: elantech: Synaptics capabilities query result 0x08, 0x17, 0x0c. [ 14.603172] Intel(R) Wireless WiFi driver for Linux [ 14.603175] Copyright(c) 2003- 2015 Intel Corporation [ 14.603621] iwlwifi 0000:01:00.0: can't disable ASPM; OS doesn't have ASPM control [ 14.617318] psmouse serio1: elantech: Elan sample query result 03, 3f, 86 [ 14.693711] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input6 [ 14.818614] Linux video capture interface: v2.00 [ 14.847328] Bluetooth: RFCOMM TTY layer initialized [ 14.847353] Bluetooth: RFCOMM socket layer initialized [ 14.847371] Bluetooth: RFCOMM ver 1.11 [ 15.591773] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 15.591779] Bluetooth: BNEP filters: protocol multicast [ 15.591790] Bluetooth: BNEP socket layer initialized [ 15.612976] iwlwifi 0000:01:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm [ 15.856797] uvcvideo: Found UVC 1.00 device WebCam SC-13HDL11431N (2232:1018) [ 15.876981] input: WebCam SC-13HDL11431N as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input7 [ 15.879184] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC269VC: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [ 15.879192] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 15.879197] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [ 15.879200] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0 [ 15.879203] snd_hda_codec_realtek hdaudioC0D0: inputs: [ 15.879210] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x19 [ 15.879216] snd_hda_codec_realtek hdaudioC0D0: Mic=0x18 [ 15.879412] usbcore: registered new interface driver uvcvideo [ 15.879417] USB Video Class driver (1.1.1) [ 16.162718] audit: type=1400 audit(1470164144.728:2): apparmor="STATUS" operation="profile_load" name="/sbin/dhclient" pid=1075 comm="apparmor_parser" [ 16.162731] audit: type=1400 audit(1470164144.728:3): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1075 comm="apparmor_parser" [ 16.162739] audit: type=1400 audit(1470164144.728:4): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=1075 comm="apparmor_parser" [ 16.163149] audit: type=1400 audit(1470164144.728:5): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=1074 comm="apparmor_parser" [ 16.163169] audit: type=1400 audit(1470164144.728:6): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1074 comm="apparmor_parser" [ 16.163186] audit: type=1400 audit(1470164144.728:7): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=1074 comm="apparmor_parser" [ 16.163501] audit: type=1400 audit(1470164144.728:8): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1075 comm="apparmor_parser" [ 16.163518] audit: type=1400 audit(1470164144.728:9): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=1075 comm="apparmor_parser" [ 16.163970] audit: type=1400 audit(1470164144.728:10): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=1075 comm="apparmor_parser" [ 16.164028] audit: type=1400 audit(1470164144.728:11): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1074 comm="apparmor_parser" [ 16.238790] [drm] Memory usable by graphics device = 2048M [ 16.238839] [drm] Replacing VGA console driver [ 16.245400] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 16.245404] [drm] Driver supports precise vblank timestamp query. [ 16.249875] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem [ 16.449132] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no) [ 16.450251] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input10 [ 16.451645] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) [ 16.621111] fbcon: inteldrmfb (fb0) is primary device [ 16.621784] [ 16.621785] ====================================================== [ 16.621786] [ INFO: possible circular locking dependency detected ] [ 16.621788] 4.7.0-10768.1-iniza-small #1 Not tainted [ 16.621789] ------------------------------------------------------- [ 16.621790] kworker/u16:6/122 is trying to acquire lock: [ 16.621818] (&dev->mode_config.mutex){+.+.+.}, at: [] drm_modeset_lock_all+0x40/0x120 [drm] [ 16.621819] [ 16.621819] but task is already holding lock: [ 16.621826] ((fb_notifier_list).rwsem){++++.+}, at: [] __blocking_notifier_call_chain+0x35/0x70 [ 16.621826] [ 16.621826] which lock already depends on the new lock. [ 16.621826] [ 16.621827] [ 16.621827] the existing dependency chain (in reverse order) is: [ 16.621829] [ 16.621829] -> #1 ((fb_notifier_list).rwsem){++++.+}: [ 16.621834] [] lock_acquire+0x11b/0x220 [ 16.621838] [] down_write+0x49/0x80 [ 16.621841] [] blocking_notifier_chain_register+0x21/0xb0 [ 16.621844] [] fb_register_client+0x18/0x20 [ 16.621848] [] backlight_device_register+0x12b/0x240 [ 16.621908] [] intel_backlight_device_register+0xa2/0x170 [i915] [ 16.621961] [] intel_connector_register+0xe/0x10 [i915] [ 16.621981] [] drm_connector_register+0x4a/0x80 [drm] [ 16.622002] [] drm_modeset_register_all+0x163/0x1c0 [drm] [ 16.622019] [] drm_dev_register+0xc2/0xd0 [drm] [ 16.622063] [] i915_driver_load+0x753/0x13e0 [i915] [ 16.622107] [] i915_pci_probe+0x4f/0x70 [i915] [ 16.622112] [] local_pci_probe+0x45/0xa0 [ 16.622115] [] pci_device_probe+0xdd/0x130 [ 16.622120] [] driver_probe_device+0x18e/0x2d0 [ 16.622123] [] __driver_attach+0x97/0xa0 [ 16.622126] [] bus_for_each_dev+0x66/0xa0 [ 16.622129] [] driver_attach+0x1e/0x20 [ 16.622131] [] bus_add_driver+0x1b8/0x230 [ 16.622135] [] driver_register+0x60/0xe0 [ 16.622138] [] __pci_register_driver+0x60/0x70 [ 16.622180] [] i915_init+0x5d/0x64 [i915] [ 16.622184] [] do_one_initcall+0x3d/0x160 [ 16.622188] [] do_init_module+0x60/0x1dc [ 16.622190] [] load_module+0x2013/0x2610 [ 16.622193] [] SYSC_init_module+0x126/0x140 [ 16.622195] [] SyS_init_module+0xe/0x10 [ 16.622199] [] entry_SYSCALL_64_fastpath+0x23/0xc1 [ 16.622202] [ 16.622202] -> #0 (&dev->mode_config.mutex){+.+.+.}: [ 16.622205] [] __lock_acquire+0x1a6d/0x1a70 [ 16.622208] [] lock_acquire+0x11b/0x220 [ 16.622210] [] mutex_lock_nested+0x69/0x3c0 [ 16.622233] [] drm_modeset_lock_all+0x40/0x120 [drm] [ 16.622247] [] drm_fb_helper_restore_fbdev_mode_unlocked+0x2b/0x80 [drm_kms_helper] [ 16.622255] [] drm_fb_helper_set_par+0x2d/0x50 [drm_kms_helper] [ 16.622306] [] intel_fbdev_set_par+0x1a/0x60 [i915] [ 16.622310] [] fbcon_init+0x542/0x5b0 [ 16.622314] [] visual_init+0xd6/0x130 [ 16.622317] [] do_bind_con_driver+0x167/0x3a0 [ 16.622319] [] do_take_over_console+0x12f/0x1a0 [ 16.622322] [] do_fbcon_takeover+0x57/0xb0 [ 16.622325] [] fbcon_event_notify+0x75d/0x860 [ 16.622328] [] notifier_call_chain+0x4a/0x70 [ 16.622331] [] __blocking_notifier_call_chain+0x4d/0x70 [ 16.622334] [] blocking_notifier_call_chain+0x16/0x20 [ 16.622337] [] fb_notifier_call_chain+0x1b/0x20 [ 16.622340] [] register_framebuffer+0x253/0x340 [ 16.622350] [] drm_fb_helper_initial_config+0x23a/0x3c8 [drm_kms_helper] [ 16.622398] [] intel_fbdev_initial_config+0x18/0x30 [i915] [ 16.622402] [] async_run_entry_fn+0x37/0xe0 [ 16.622406] [] process_one_work+0x1d3/0x690 [ 16.622409] [] worker_thread+0x69/0x4c0 [ 16.622412] [] kthread+0x10a/0x120 [ 16.622415] [] ret_from_fork+0x1f/0x40 [ 16.622416] [ 16.622416] other info that might help us debug this: [ 16.622416] [ 16.622416] Possible unsafe locking scenario: [ 16.622416] [ 16.622417] CPU0 CPU1 [ 16.622417] ---- ---- [ 16.622419] lock((fb_notifier_list).rwsem); [ 16.622421] lock(&dev->mode_config.mutex); [ 16.622422] lock((fb_notifier_list).rwsem); [ 16.622423] lock(&dev->mode_config.mutex); [ 16.622424] [ 16.622424] *** DEADLOCK *** [ 16.622424] [ 16.622426] 6 locks held by kworker/u16:6/122: [ 16.622431] #0: ("events_unbound"){.+.+.+}, at: [] process_one_work+0x154/0x690 [ 16.622436] #1: ((&entry->work)){+.+.+.}, at: [] process_one_work+0x154/0x690 [ 16.622442] #2: (registration_lock#2){+.+.+.}, at: [] register_framebuffer+0x27/0x340 [ 16.622447] #3: (console_lock){+.+.+.}, at: [] register_framebuffer+0x270/0x340 [ 16.622452] #4: (&fb_info->lock){+.+.+.}, at: [] lock_fb_info+0x1d/0x40 [ 16.622457] #5: ((fb_notifier_list).rwsem){++++.+}, at: [] __blocking_notifier_call_chain+0x35/0x70 [ 16.622457] [ 16.622457] stack backtrace: [ 16.622459] CPU: 2 PID: 122 Comm: kworker/u16:6 Not tainted 4.7.0-10768.1-iniza-small #1 [ 16.622460] Hardware name: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013 [ 16.622463] Workqueue: events_unbound async_run_entry_fn [ 16.622466] 0000000000000000 ffff88011854b7f0 ffffffff81423de5 ffffffff828c40e0 [ 16.622468] ffffffff828c40e0 ffff88011854b830 ffffffff811af7d2 ffff88011854b8a0 [ 16.622470] ffff880118544040 0000000000000006 ffff8801185449a0 3c233cffc8095dc3 [ 16.622470] Call Trace: [ 16.622473] [] dump_stack+0x85/0xc0 [ 16.622475] [] print_circular_bug+0x209/0x217 [ 16.622478] [] __lock_acquire+0x1a6d/0x1a70 [ 16.622480] [] ? check_irq_usage+0x99/0xaa [ 16.622482] [] lock_acquire+0x11b/0x220 [ 16.622498] [] ? drm_modeset_lock_all+0x40/0x120 [drm] [ 16.622500] [] mutex_lock_nested+0x69/0x3c0 [ 16.622514] [] ? drm_modeset_lock_all+0x40/0x120 [drm] [ 16.622517] [] ? rcu_read_lock_sched_held+0x8b/0xa0 [ 16.622520] [] ? kmem_cache_alloc_trace+0x2af/0x330 [ 16.622534] [] drm_modeset_lock_all+0x40/0x120 [drm] [ 16.622541] [] drm_fb_helper_restore_fbdev_mode_unlocked+0x2b/0x80 [drm_kms_helper] [ 16.622547] [] drm_fb_helper_set_par+0x2d/0x50 [drm_kms_helper] [ 16.622583] [] intel_fbdev_set_par+0x1a/0x60 [i915] [ 16.622585] [] fbcon_init+0x542/0x5b0 [ 16.622588] [] visual_init+0xd6/0x130 [ 16.622589] [] do_bind_con_driver+0x167/0x3a0 [ 16.622591] [] do_take_over_console+0x12f/0x1a0 [ 16.622593] [] do_fbcon_takeover+0x57/0xb0 [ 16.622595] [] fbcon_event_notify+0x75d/0x860 [ 16.622597] [] notifier_call_chain+0x4a/0x70 [ 16.622599] [] __blocking_notifier_call_chain+0x4d/0x70 [ 16.622600] [] blocking_notifier_call_chain+0x16/0x20 [ 16.622602] [] fb_notifier_call_chain+0x1b/0x20 [ 16.622604] [] register_framebuffer+0x253/0x340 [ 16.622607] [] ? vga_switcheroo_client_fb_set+0x60/0x70 [ 16.622614] [] drm_fb_helper_initial_config+0x23a/0x3c8 [drm_kms_helper] [ 16.622647] [] intel_fbdev_initial_config+0x18/0x30 [i915] [ 16.622649] [] async_run_entry_fn+0x37/0xe0 [ 16.622652] [] process_one_work+0x1d3/0x690 [ 16.622653] [] ? process_one_work+0x154/0x690 [ 16.622656] [] worker_thread+0x69/0x4c0 [ 16.622658] [] ? process_one_work+0x690/0x690 [ 16.622659] [] kthread+0x10a/0x120 [ 16.622663] [] ret_from_fork+0x1f/0x40 [ 16.622664] [] ? kthread_create_on_node+0x200/0x200 [ 16.725815] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUG disabled [ 16.725817] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUGFS enabled [ 16.725819] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled [ 16.725822] iwlwifi 0000:01:00.0: Detected Intel(R) Centrino(R) Advanced-N 6230 AGN, REV=0xB0 [ 16.727907] iwlwifi 0000:01:00.0: L1 Enabled - LTR Disabled [ 17.135168] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs' [ 17.160654] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8 [ 17.161892] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9 [ 17.162364] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11 [ 17.602919] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun [ 17.604320] [drm:intel_set_pch_fifo_underrun_reporting [i915]] *ERROR* uncleared pch fifo underrun on pch transcoder A [ 17.604360] [drm:intel_pch_fifo_underrun_irq_handler [i915]] *ERROR* PCH transcoder A FIFO underrun [ 17.785819] Console: switching to colour frame buffer device 170x48 [ 17.933505] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device [ 18.154239] init: failsafe main process (1130) killed by TERM signal [ 21.535680] audit_printk_skb: 63 callbacks suppressed [ 21.535684] audit: type=1400 audit(1470164150.100:33): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince" pid=1293 comm="apparmor_parser" [ 21.535691] audit: type=1400 audit(1470164150.100:34): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince//launchpad_integration" pid=1293 comm="apparmor_parser" [ 21.535695] audit: type=1400 audit(1470164150.100:35): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince//sanitized_helper" pid=1293 comm="apparmor_parser" [ 21.535699] audit: type=1400 audit(1470164150.100:36): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince-previewer" pid=1293 comm="apparmor_parser" [ 21.535702] audit: type=1400 audit(1470164150.100:37): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince-previewer//launchpad_integration" pid=1293 comm="apparmor_parser" [ 21.535706] audit: type=1400 audit(1470164150.100:38): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince-previewer//sanitized_helper" pid=1293 comm="apparmor_parser" [ 21.535709] audit: type=1400 audit(1470164150.100:39): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince-thumbnailer" pid=1293 comm="apparmor_parser" [ 21.535713] audit: type=1400 audit(1470164150.100:40): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince-thumbnailer//sanitized_helper" pid=1293 comm="apparmor_parser" [ 21.543085] audit: type=1400 audit(1470164150.108:41): apparmor="STATUS" operation="profile_replace" name="/usr/bin/evince//launchpad_integration" pid=1293 comm="apparmor_parser" [ 21.543094] audit: type=1400 audit(1470164150.108:42): apparmor="STATUS" operation="profile_replace" name="/usr/bin/evince//sanitized_helper" pid=1293 comm="apparmor_parser" [ 24.423186] r8169 0000:02:00.0 eth0: link down [ 24.423246] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 0.000000] Linux version 4.7.0-10768.2-iniza-small (sedat.dilek@gmail.com@fambox) (gcc version 4.9.2 (Ubuntu 4.9.2-0ubuntu1~12.04) ) #1 SMP Tue Aug 2 21:44:42 CEST 2016 [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.7.0-10768.2-iniza-small root=UUID=001AADA61AAD9964 loop=/ubuntu/disks/root.disk ro intel_pstate=disable [ 0.000000] KERNEL supported cpus: [ 0.000000] Intel GenuineIntel [ 0.000000] AMD AuthenticAMD [ 0.000000] Centaur CentaurHauls [ 0.000000] Disabled fast string operations [ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers' [ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers' [ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256 [ 0.000000] x86/fpu: Enabled xstate features 0x7, context size is 832 bytes, using 'standard' format. [ 0.000000] x86/fpu: Using 'eager' FPU context switches. [ 0.000000] e820: BIOS-provided physical RAM map: [ 0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009d7ff] usable [ 0.000000] BIOS-e820: [mem 0x000000000009d800-0x000000000009ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000000e0000-0x00000000000fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable [ 0.000000] BIOS-e820: [mem 0x0000000020000000-0x00000000201fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000020200000-0x000000003fffffff] usable [ 0.000000] BIOS-e820: [mem 0x0000000040000000-0x00000000401fffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000040200000-0x00000000d9c9efff] usable [ 0.000000] BIOS-e820: [mem 0x00000000d9c9f000-0x00000000dae7efff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000dae7f000-0x00000000daf9efff] ACPI NVS [ 0.000000] BIOS-e820: [mem 0x00000000daf9f000-0x00000000daffefff] ACPI data [ 0.000000] BIOS-e820: [mem 0x00000000dafff000-0x00000000daffffff] usable [ 0.000000] BIOS-e820: [mem 0x00000000db000000-0x00000000df9fffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000f8000000-0x00000000fbffffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed08000-0x00000000fed08fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed10000-0x00000000fed19fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fed1c000-0x00000000fed1ffff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved [ 0.000000] BIOS-e820: [mem 0x00000000ffd80000-0x00000000ffffffff] reserved [ 0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000011fdfffff] usable [ 0.000000] NX (Execute Disable) protection: active [ 0.000000] SMBIOS 2.6 present. [ 0.000000] DMI: SAMSUNG ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH, BIOS 13XK 03/28/2013 [ 0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved [ 0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable [ 0.000000] e820: last_pfn = 0x11fe00 max_arch_pfn = 0x400000000 [ 0.000000] MTRR default type: uncachable [ 0.000000] MTRR fixed ranges enabled: [ 0.000000] 00000-9FFFF write-back [ 0.000000] A0000-BFFFF uncachable [ 0.000000] C0000-FFFFF write-protect [ 0.000000] MTRR variable ranges enabled: [ 0.000000] 0 base 000000000 mask F80000000 write-back [ 0.000000] 1 base 080000000 mask FC0000000 write-back [ 0.000000] 2 base 0C0000000 mask FE0000000 write-back [ 0.000000] 3 base 0DC000000 mask FFC000000 uncachable [ 0.000000] 4 base 0DB000000 mask FFF000000 uncachable [ 0.000000] 5 base 100000000 mask FE0000000 write-back [ 0.000000] 6 base 11FE00000 mask FFFE00000 uncachable [ 0.000000] 7 base 0FFC00000 mask FFFC00000 write-protect [ 0.000000] 8 disabled [ 0.000000] 9 disabled [ 0.000000] x86/PAT: Configuration [0-7]: WB WC UC- UC WB WC UC- WT [ 0.000000] e820: last_pfn = 0xdb000 max_arch_pfn = 0x400000000 [ 0.000000] found SMP MP-table at [mem 0x000f00e0-0x000f00ef] mapped at [ffff8800000f00e0] [ 0.000000] Scanning 1 areas for low memory corruption [ 0.000000] Base memory trampoline at [ffff880000097000] 97000 size 24576 [ 0.000000] reserving inaccessible SNB gfx pages [ 0.000000] BRK [0x02ea9000, 0x02ea9fff] PGTABLE [ 0.000000] BRK [0x02eaa000, 0x02eaafff] PGTABLE [ 0.000000] BRK [0x02eab000, 0x02eabfff] PGTABLE [ 0.000000] BRK [0x02eac000, 0x02eacfff] PGTABLE [ 0.000000] BRK [0x02ead000, 0x02eadfff] PGTABLE [ 0.000000] BRK [0x02eae000, 0x02eaefff] PGTABLE [ 0.000000] RAMDISK: [mem 0x378f0000-0x37c6ffff] [ 0.000000] ACPI: Early table checksum verification disabled [ 0.000000] ACPI: RSDP 0x00000000000F0100 000024 (v02 SECCSD) [ 0.000000] ACPI: XSDT 0x00000000DAFFE170 000084 (v01 SECCSD LH43STAR 00000002 PTEC 00000002) [ 0.000000] ACPI: FACP 0x00000000DAFEF000 00010C (v05 SECCSD LH43STAR 00000002 PTL 00000002) [ 0.000000] ACPI: DSDT 0x00000000DAFF2000 0083AC (v02 SECCSD SNB-CPT 00000000 INTL 20061109) [ 0.000000] ACPI: FACS 0x00000000DAF47000 000040 [ 0.000000] ACPI: SLIC 0x00000000DAFFD000 000176 (v01 SECCSD LH43STAR 00000002 PTEC 00000001) [ 0.000000] ACPI: SSDT 0x00000000DAFFB000 001068 (v01 SECCSD PtidDevc 00001000 INTL 20061109) [ 0.000000] ACPI: ASF! 0x00000000DAFF1000 0000A5 (v32 SECCSD LH43STAR 00000002 PTL 00000002) [ 0.000000] ACPI: HPET 0x00000000DAFEE000 000038 (v01 SECCSD LH43STAR 00000002 PTL 00000002) [ 0.000000] ACPI: APIC 0x00000000DAFED000 000098 (v03 SECCSD LH43STAR 00000002 PTL 00000002) [ 0.000000] ACPI: MCFG 0x00000000DAFEC000 00003C (v01 SECCSD LH43STAR 00000002 PTL 00000002) [ 0.000000] ACPI: SSDT 0x00000000DAFEB000 000804 (v01 PmRef Cpu0Ist 00003000 INTL 20061109) [ 0.000000] ACPI: SSDT 0x00000000DAFEA000 000996 (v01 PmRef CpuPm 00003000 INTL 20061109) [ 0.000000] ACPI: UEFI 0x00000000DAFE9000 00003E (v01 SECCSD LH43STAR 00000002 PTL 00000002) [ 0.000000] ACPI: UEFI 0x00000000DAFE8000 000042 (v01 PTL COMBUF 00000001 PTL 00000001) [ 0.000000] ACPI: UEFI 0x00000000DAFE7000 00026A (v01 SECCSD LH43STAR 00000002 PTL 00000002) [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] No NUMA configuration found [ 0.000000] Faking a node at [mem 0x0000000000000000-0x000000011fdfffff] [ 0.000000] NODE_DATA(0) allocated [mem 0x11fdf9000-0x11fdfcfff] [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000001000-0x0000000000ffffff] [ 0.000000] DMA32 [mem 0x0000000001000000-0x00000000ffffffff] [ 0.000000] Normal [mem 0x0000000100000000-0x000000011fdfffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000001000-0x000000000009cfff] [ 0.000000] node 0: [mem 0x0000000000100000-0x000000001fffffff] [ 0.000000] node 0: [mem 0x0000000020200000-0x000000003fffffff] [ 0.000000] node 0: [mem 0x0000000040200000-0x00000000d9c9efff] [ 0.000000] node 0: [mem 0x00000000dafff000-0x00000000daffffff] [ 0.000000] node 0: [mem 0x0000000100000000-0x000000011fdfffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000011fdfffff] [ 0.000000] On node 0 totalpages: 1021500 [ 0.000000] DMA zone: 64 pages used for memmap [ 0.000000] DMA zone: 156 pages reserved [ 0.000000] DMA zone: 3996 pages, LIFO batch:0 [ 0.000000] DMA32 zone: 13859 pages used for memmap [ 0.000000] DMA32 zone: 886944 pages, LIFO batch:31 [ 0.000000] Normal zone: 2040 pages used for memmap [ 0.000000] Normal zone: 130560 pages, LIFO batch:31 [ 0.000000] Reserving Intel graphics memory at 0x00000000dba00000-0x00000000df9fffff [ 0.000000] ACPI: PM-Timer IO Port: 0x408 [ 0.000000] ACPI: Local APIC address 0xfee00000 [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1]) [ 0.000000] ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1]) [ 0.000000] IOAPIC[0]: apic_id 14, version 32, address 0xfec00000, GSI 0-23 [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl) [ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level) [ 0.000000] ACPI: IRQ0 used by override. [ 0.000000] ACPI: IRQ9 used by override. [ 0.000000] Using ACPI (MADT) for SMP configuration information [ 0.000000] ACPI: HPET id: 0x8086a301 base: 0xfed00000 [ 0.000000] smpboot: Allowing 8 CPUs, 4 hotplug CPUs [ 0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff] [ 0.000000] PM: Registered nosave memory: [mem 0x0009d000-0x0009dfff] [ 0.000000] PM: Registered nosave memory: [mem 0x0009e000-0x0009ffff] [ 0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000dffff] [ 0.000000] PM: Registered nosave memory: [mem 0x000e0000-0x000fffff] [ 0.000000] PM: Registered nosave memory: [mem 0x20000000-0x201fffff] [ 0.000000] PM: Registered nosave memory: [mem 0x40000000-0x401fffff] [ 0.000000] PM: Registered nosave memory: [mem 0xd9c9f000-0xdae7efff] [ 0.000000] PM: Registered nosave memory: [mem 0xdae7f000-0xdaf9efff] [ 0.000000] PM: Registered nosave memory: [mem 0xdaf9f000-0xdaffefff] [ 0.000000] PM: Registered nosave memory: [mem 0xdb000000-0xdf9fffff] [ 0.000000] PM: Registered nosave memory: [mem 0xdfa00000-0xf7ffffff] [ 0.000000] PM: Registered nosave memory: [mem 0xf8000000-0xfbffffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfc000000-0xfebfffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfec00000-0xfec00fff] [ 0.000000] PM: Registered nosave memory: [mem 0xfec01000-0xfed07fff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed08000-0xfed08fff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed09000-0xfed0ffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed10000-0xfed19fff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed1a000-0xfed1bfff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed1c000-0xfed1ffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfed20000-0xfedfffff] [ 0.000000] PM: Registered nosave memory: [mem 0xfee00000-0xfee00fff] [ 0.000000] PM: Registered nosave memory: [mem 0xfee01000-0xffd7ffff] [ 0.000000] PM: Registered nosave memory: [mem 0xffd80000-0xffffffff] [ 0.000000] e820: [mem 0xdfa00000-0xf7ffffff] available for PCI devices [ 0.000000] Booting paravirtualized kernel on bare hardware [ 0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns [ 0.000000] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:8 nr_node_ids:1 [ 0.000000] percpu: Embedded 37 pages/cpu @ffff88011fa00000 s112008 r8192 d31352 u262144 [ 0.000000] pcpu-alloc: s112008 r8192 d31352 u262144 alloc=1*2097152 [ 0.000000] pcpu-alloc: [0] 0 1 2 3 4 5 6 7 [ 0.000000] Built 1 zonelists in Node order, mobility grouping on. Total pages: 1005381 [ 0.000000] Policy zone: Normal [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.7.0-10768.2-iniza-small root=UUID=001AADA61AAD9964 loop=/ubuntu/disks/root.disk ro intel_pstate=disable [ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) [ 0.000000] Calgary: detecting Calgary via BIOS EBDA area [ 0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing! [ 0.000000] Memory: 3916744K/4086000K available (8488K kernel code, 1450K rwdata, 3372K rodata, 1484K init, 14084K bss, 169256K reserved, 0K cma-reserved) [ 0.000000] Running RCU self tests [ 0.000000] Hierarchical RCU implementation. [ 0.000000] RCU lockdep checking is enabled. [ 0.000000] Build-time adjustment of leaf fanout to 64. [ 0.000000] RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=8. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=8 [ 0.000000] NR_IRQS:16640 nr_irqs:488 16 [ 0.000000] Console: colour dummy device 80x25 [ 0.000000] console [tty0] enabled [ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar [ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8 [ 0.000000] ... MAX_LOCK_DEPTH: 48 [ 0.000000] ... MAX_LOCKDEP_KEYS: 8191 [ 0.000000] ... CLASSHASH_SIZE: 4096 [ 0.000000] ... MAX_LOCKDEP_ENTRIES: 32768 [ 0.000000] ... MAX_LOCKDEP_CHAINS: 65536 [ 0.000000] ... CHAINHASH_SIZE: 32768 [ 0.000000] memory used by lock dependency info: 8159 kB [ 0.000000] per task-struct memory footprint: 1920 bytes [ 0.000000] ------------------------ [ 0.000000] | Locking API testsuite: [ 0.000000] ---------------------------------------------------------------------------- [ 0.000000] | spin |wlock |rlock |mutex | wsem | rsem | [ 0.000000] -------------------------------------------------------------------------- [ 0.000000] A-A deadlock: ok | ok | ok | ok | ok | ok | [ 0.000000] A-B-B-A deadlock: ok | ok | ok | ok | ok | ok | [ 0.000000] A-B-B-C-C-A deadlock: ok | ok | ok | ok | ok | ok | [ 0.000000] A-B-C-A-B-C deadlock: ok | ok | ok | ok | ok | ok | [ 0.000000] A-B-B-C-C-D-D-A deadlock: ok | ok | ok | ok | ok | ok | [ 0.000000] A-B-C-D-B-D-D-A deadlock: ok | ok | ok | ok | ok | ok | [ 0.000000] A-B-C-D-B-C-D-A deadlock: ok | ok | ok | ok | ok | ok | [ 0.000000] double unlock: ok | ok | ok | ok | ok | ok | [ 0.000000] initialize held: ok | ok | ok | ok | ok | ok | [ 0.000000] bad unlock order: ok | ok | ok | ok | ok | ok | [ 0.000000] -------------------------------------------------------------------------- [ 0.000000] recursive read-lock: | ok | | ok | [ 0.000000] recursive read-lock #2: | ok | | ok | [ 0.000000] mixed read-write-lock: | ok | | ok | [ 0.000000] mixed write-read-lock: | ok | | ok | [ 0.000000] -------------------------------------------------------------------------- [ 0.000000] hard-irqs-on + irq-safe-A/12: ok | ok | ok | [ 0.000000] soft-irqs-on + irq-safe-A/12: ok | ok | ok | [ 0.000000] hard-irqs-on + irq-safe-A/21: ok | ok | ok | [ 0.000000] soft-irqs-on + irq-safe-A/21: ok | ok | ok | [ 0.000000] sirq-safe-A => hirqs-on/12: ok | ok | ok | [ 0.000000] sirq-safe-A => hirqs-on/21: ok | ok | ok | [ 0.000000] hard-safe-A + irqs-on/12: ok | ok | ok | [ 0.000000] soft-safe-A + irqs-on/12: ok | ok | ok | [ 0.000000] hard-safe-A + irqs-on/21: ok | ok | ok | [ 0.000000] soft-safe-A + irqs-on/21: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #1/123: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #1/123: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #1/132: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #1/132: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #1/213: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #1/213: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #1/231: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #1/231: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #1/312: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #1/312: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #1/321: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #1/321: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #2/123: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #2/123: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #2/132: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #2/132: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #2/213: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #2/213: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #2/231: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #2/231: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #2/312: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #2/312: ok | ok | ok | [ 0.000000] hard-safe-A + unsafe-B #2/321: ok | ok | ok | [ 0.000000] soft-safe-A + unsafe-B #2/321: ok | ok | ok | [ 0.000000] hard-irq lock-inversion/123: ok | ok | ok | [ 0.000000] soft-irq lock-inversion/123: ok | ok | ok | [ 0.000000] hard-irq lock-inversion/132: ok | ok | ok | [ 0.000000] soft-irq lock-inversion/132: ok | ok | ok | [ 0.000000] hard-irq lock-inversion/213: ok | ok | ok | [ 0.000000] soft-irq lock-inversion/213: ok | ok | ok | [ 0.000000] hard-irq lock-inversion/231: ok | ok | ok | [ 0.000000] soft-irq lock-inversion/231: ok | ok | ok | [ 0.000000] hard-irq lock-inversion/312: ok | ok | ok | [ 0.000000] soft-irq lock-inversion/312: ok | ok | ok | [ 0.000000] hard-irq lock-inversion/321: ok | ok | ok | [ 0.000000] soft-irq lock-inversion/321: ok | ok | ok | [ 0.000000] hard-irq read-recursion/123: ok | [ 0.000000] soft-irq read-recursion/123: ok | [ 0.000000] hard-irq read-recursion/132: ok | [ 0.000000] soft-irq read-recursion/132: ok | [ 0.000000] hard-irq read-recursion/213: ok | [ 0.000000] soft-irq read-recursion/213: ok | [ 0.000000] hard-irq read-recursion/231: ok | [ 0.000000] soft-irq read-recursion/231: ok | [ 0.000000] hard-irq read-recursion/312: ok | [ 0.000000] soft-irq read-recursion/312: ok | [ 0.000000] hard-irq read-recursion/321: ok | [ 0.000000] soft-irq read-recursion/321: ok | [ 0.000000] -------------------------------------------------------------------------- [ 0.000000] | Wound/wait tests | [ 0.000000] --------------------- [ 0.000000] ww api failures: ok | ok | ok | [ 0.000000] ww contexts mixing: ok | ok | [ 0.000000] finishing ww context: ok | ok | ok | ok | [ 0.000000] locking mismatches: ok | ok | ok | [ 0.000000] EDEADLK handling: ok | ok | ok | ok | ok | ok | ok | ok | ok | ok | [ 0.000000] spinlock nest unlocked: ok | [ 0.000000] ----------------------------------------------------- [ 0.000000] |block | try |context| [ 0.000000] ----------------------------------------------------- [ 0.000000] context: ok | ok | ok | [ 0.000000] try: ok | ok | ok | [ 0.000000] block: ok | ok | ok | [ 0.000000] spinlock: ok | ok | ok | [ 0.000000] ------------------------------------------------------- [ 0.000000] Good, all 253 testcases passed! | [ 0.000000] --------------------------------- [ 0.000000] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 133484882848 ns [ 0.000000] hpet clockevent registered [ 0.000000] tsc: Fast TSC calibration using PIT [ 0.000000] tsc: Detected 1596.415 MHz processor [ 0.000084] Calibrating delay loop (skipped), value calculated using timer frequency.. 3192.83 BogoMIPS (lpj=6385660) [ 0.000096] pid_max: default: 32768 minimum: 301 [ 0.000140] ACPI: Core revision 20160422 [ 0.022194] ACPI: 4 ACPI AML tables successfully acquired and loaded [ 0.022203] [ 0.022390] Security Framework initialized [ 0.022397] Yama: becoming mindful. [ 0.022431] AppArmor: AppArmor initialized [ 0.022838] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.023898] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.024409] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 0.024423] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 0.025780] Disabled fast string operations [ 0.025788] CPU: Physical Processor ID: 0 [ 0.025793] CPU: Processor Core ID: 0 [ 0.025803] ENERGY_PERF_BIAS: Set to 'normal', was 'performance' [ 0.025809] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8) [ 0.025816] mce: CPU supports 7 MCE banks [ 0.025848] CPU0: Thermal monitoring enabled (TM1) [ 0.025873] process: using mwait in idle threads [ 0.025881] Last level iTLB entries: 4KB 512, 2MB 8, 4MB 8 [ 0.025887] Last level dTLB entries: 4KB 512, 2MB 32, 4MB 32, 1GB 0 [ 0.026577] Freeing SMP alternatives memory: 28K (ffffffff820df000 - ffffffff820e6000) [ 0.029702] ftrace: allocating 30666 entries in 120 pages [ 0.047184] smpboot: Max logical packages: 4 [ 0.047194] smpboot: APIC(0) Converting physical 0 to logical package 0 [ 0.047282] x2apic: IRQ remapping doesn't support X2APIC mode [ 0.047920] ..TIMER: vector=0x30 apic1=0 pin1=2 apic2=-1 pin2=-1 [ 0.087616] TSC deadline timer enabled [ 0.087622] smpboot: CPU0: Intel(R) Core(TM) i5-2467M CPU @ 1.60GHz (family: 0x6, model: 0x2a, stepping: 0x7) [ 0.087636] Performance Events: PEBS fmt1+, SandyBridge events, 16-deep LBR, full-width counters, Intel PMU driver. [ 0.087681] ... version: 3 [ 0.087686] ... bit width: 48 [ 0.087690] ... generic registers: 4 [ 0.087695] ... value mask: 0000ffffffffffff [ 0.087701] ... max period: 0000ffffffffffff [ 0.087706] ... fixed-purpose events: 3 [ 0.087710] ... event mask: 000000070000000f [ 0.089454] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter. [ 0.090372] x86: Booting SMP configuration: [ 0.090379] .... node #0, CPUs: #1 [ 0.090717] Disabled fast string operations [ 0.170729] #2<6>[ 0.171039] Disabled fast string operations [ 0.251103] #3 [ 0.251103] Disabled fast string operations [ 0.330334] x86: Booted up 1 node, 4 CPUs [ 0.330351] smpboot: Total of 4 processors activated (12789.44 BogoMIPS) [ 0.350969] devtmpfs: initialized [ 0.351320] x86/mm: Memory block size: 128MB [ 0.356528] evm: security.selinux [ 0.356534] evm: security.SMACK64 [ 0.356538] evm: security.capability [ 0.370413] PM: Registering ACPI NVS region [mem 0xdae7f000-0xdaf9efff] (1179648 bytes) [ 0.370814] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns [ 0.402763] NET: Registered protocol family 16 [ 0.418376] cpuidle: using governor ladder [ 0.438428] cpuidle: using governor menu [ 0.438544] ACPI: bus type PCI registered [ 0.438824] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xf8000000-0xfbffffff] (base 0xf8000000) [ 0.438835] PCI: MMCONFIG at [mem 0xf8000000-0xfbffffff] reserved in E820 [ 0.438851] PCI: Using configuration type 1 for base access [ 0.438958] core: PMU erratum BJ122, BV98, HSD29 worked around, HT is on [ 0.458878] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 0.502865] ACPI: Added _OSI(Module Device) [ 0.502874] ACPI: Added _OSI(Processor Device) [ 0.502880] ACPI: Added _OSI(3.0 _SCP Extensions) [ 0.502886] ACPI: Added _OSI(Processor Aggregator Device) [ 0.503732] ACPI: Executed 1 blocks of module-level executable AML code [ 0.522640] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored [ 0.526790] ACPI: Dynamic OEM Table Load: [ 0.526820] ACPI: SSDT 0xFFFF88011A01D000 000688 (v01 PmRef Cpu0Cst 00003001 INTL 20061109) [ 0.529682] ACPI: Dynamic OEM Table Load: [ 0.529708] ACPI: SSDT 0xFFFF88011B0A6C00 000303 (v01 PmRef ApIst 00003000 INTL 20061109) [ 0.532338] ACPI: Dynamic OEM Table Load: [ 0.532364] ACPI: SSDT 0xFFFF88011A014000 000119 (v01 PmRef ApCst 00003000 INTL 20061109) [ 0.536952] ACPI : EC: EC started [ 0.615227] ACPI: Interpreter enabled [ 0.615306] ACPI: (supports S0 S1 S3 S4 S5) [ 0.615312] ACPI: Using IOAPIC for interrupt routing [ 0.615403] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug [ 0.644675] ACPI: Power Resource [FN00] (off) [ 0.645229] ACPI: Power Resource [FN01] (off) [ 0.645669] ACPI: Power Resource [FN02] (off) [ 0.646107] ACPI: Power Resource [FN03] (off) [ 0.646543] ACPI: Power Resource [FN04] (off) [ 0.649691] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-3e]) [ 0.649705] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI] [ 0.650572] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM [ 0.651851] PCI host bridge to bus 0000:00 [ 0.651861] pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7 window] [ 0.651868] pci_bus 0000:00: root bus resource [io 0x0d00-0xffff window] [ 0.651875] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window] [ 0.651884] pci_bus 0000:00: root bus resource [mem 0xdfa00000-0xfeafffff window] [ 0.651893] pci_bus 0000:00: root bus resource [mem 0xfed40000-0xfed44fff window] [ 0.651904] pci_bus 0000:00: root bus resource [bus 00-3e] [ 0.651995] pci 0000:00:00.0: [8086:0104] type 00 class 0x060000 [ 0.652489] pci 0000:00:02.0: [8086:0116] type 00 class 0x030000 [ 0.652512] pci 0000:00:02.0: reg 0x10: [mem 0xf0000000-0xf03fffff 64bit] [ 0.652525] pci 0000:00:02.0: reg 0x18: [mem 0xe0000000-0xefffffff 64bit pref] [ 0.652534] pci 0000:00:02.0: reg 0x20: [io 0x3000-0x303f] [ 0.653066] pci 0000:00:16.0: [8086:1c3a] type 00 class 0x078000 [ 0.653109] pci 0000:00:16.0: reg 0x10: [mem 0xf0705000-0xf070500f 64bit] [ 0.653269] pci 0000:00:16.0: PME# supported from D0 D3hot D3cold [ 0.653690] pci 0000:00:1a.0: [8086:1c2d] type 00 class 0x0c0320 [ 0.653725] pci 0000:00:1a.0: reg 0x10: [mem 0xf070a000-0xf070a3ff] [ 0.653907] pci 0000:00:1a.0: PME# supported from D0 D3hot D3cold [ 0.654207] pci 0000:00:1a.0: System wakeup disabled by ACPI [ 0.654408] pci 0000:00:1b.0: [8086:1c20] type 00 class 0x040300 [ 0.654448] pci 0000:00:1b.0: reg 0x10: [mem 0xf0700000-0xf0703fff 64bit] [ 0.654636] pci 0000:00:1b.0: PME# supported from D0 D3hot D3cold [ 0.654870] pci 0000:00:1b.0: System wakeup disabled by ACPI [ 0.655077] pci 0000:00:1c.0: [8086:1c10] type 01 class 0x060400 [ 0.655255] pci 0000:00:1c.0: PME# supported from D0 D3hot D3cold [ 0.655476] pci 0000:00:1c.0: System wakeup disabled by ACPI [ 0.655675] pci 0000:00:1c.3: [8086:1c16] type 01 class 0x060400 [ 0.655851] pci 0000:00:1c.3: PME# supported from D0 D3hot D3cold [ 0.656071] pci 0000:00:1c.3: System wakeup disabled by ACPI [ 0.656265] pci 0000:00:1c.4: [8086:1c18] type 01 class 0x060400 [ 0.656450] pci 0000:00:1c.4: PME# supported from D0 D3hot D3cold [ 0.656671] pci 0000:00:1c.4: System wakeup disabled by ACPI [ 0.656872] pci 0000:00:1d.0: [8086:1c26] type 00 class 0x0c0320 [ 0.656907] pci 0000:00:1d.0: reg 0x10: [mem 0xf0709000-0xf07093ff] [ 0.657088] pci 0000:00:1d.0: PME# supported from D0 D3hot D3cold [ 0.657349] pci 0000:00:1d.0: System wakeup disabled by ACPI [ 0.657544] pci 0000:00:1f.0: [8086:1c49] type 00 class 0x060100 [ 0.658095] pci 0000:00:1f.2: [8086:1c03] type 00 class 0x010601 [ 0.658132] pci 0000:00:1f.2: reg 0x10: [io 0x3088-0x308f] [ 0.658150] pci 0000:00:1f.2: reg 0x14: [io 0x3094-0x3097] [ 0.658168] pci 0000:00:1f.2: reg 0x18: [io 0x3080-0x3087] [ 0.658186] pci 0000:00:1f.2: reg 0x1c: [io 0x3090-0x3093] [ 0.658204] pci 0000:00:1f.2: reg 0x20: [io 0x3060-0x307f] [ 0.658222] pci 0000:00:1f.2: reg 0x24: [mem 0xf0708000-0xf07087ff] [ 0.658334] pci 0000:00:1f.2: PME# supported from D3hot [ 0.658711] pci 0000:00:1f.3: [8086:1c22] type 00 class 0x0c0500 [ 0.658747] pci 0000:00:1f.3: reg 0x10: [mem 0xf0704000-0xf07040ff 64bit] [ 0.658801] pci 0000:00:1f.3: reg 0x20: [io 0xefa0-0xefbf] [ 0.659597] pci 0000:01:00.0: [8086:0091] type 00 class 0x028000 [ 0.659988] pci 0000:01:00.0: reg 0x10: [mem 0xf0600000-0xf0601fff 64bit] [ 0.661804] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold [ 0.662221] pci 0000:01:00.0: System wakeup disabled by ACPI [ 0.671250] pci 0000:00:1c.0: PCI bridge to [bus 01] [ 0.671267] pci 0000:00:1c.0: bridge window [mem 0xf0600000-0xf06fffff] [ 0.671501] pci 0000:02:00.0: [10ec:8168] type 00 class 0x020000 [ 0.671596] pci 0000:02:00.0: reg 0x10: [io 0x2000-0x20ff] [ 0.671737] pci 0000:02:00.0: reg 0x18: [mem 0xf0404000-0xf0404fff 64bit pref] [ 0.671823] pci 0000:02:00.0: reg 0x20: [mem 0xf0400000-0xf0403fff 64bit pref] [ 0.672297] pci 0000:02:00.0: supports D1 D2 [ 0.672299] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold [ 0.672514] pci 0000:02:00.0: System wakeup disabled by ACPI [ 0.683187] pci 0000:00:1c.3: PCI bridge to [bus 02] [ 0.683198] pci 0000:00:1c.3: bridge window [io 0x2000-0x2fff] [ 0.683215] pci 0000:00:1c.3: bridge window [mem 0xf0400000-0xf04fffff 64bit pref] [ 0.683422] pci 0000:03:00.0: [1b21:1042] type 00 class 0x0c0330 [ 0.683474] pci 0000:03:00.0: reg 0x10: [mem 0xf0500000-0xf0507fff 64bit] [ 0.683761] pci 0000:03:00.0: PME# supported from D3hot D3cold [ 0.683856] pci 0000:03:00.0: System wakeup disabled by ACPI [ 0.684109] pci 0000:00:1c.4: PCI bridge to [bus 03] [ 0.684125] pci 0000:00:1c.4: bridge window [mem 0xf0500000-0xf05fffff] [ 0.686785] ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 10 *11 12 14 15) [ 0.687050] ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 10 11 12 14 15) *0, disabled. [ 0.687326] ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 *10 11 12 14 15) [ 0.687581] ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 *10 11 12 14 15) [ 0.687835] ACPI: PCI Interrupt Link [LNKE] (IRQs 1 3 4 5 6 10 11 12 14 15) *9 [ 0.688089] ACPI: PCI Interrupt Link [LNKF] (IRQs 1 3 4 5 6 10 11 12 14 15) *0, disabled. [ 0.688346] ACPI: PCI Interrupt Link [LNKG] (IRQs 1 3 4 5 6 10 *11 12 14 15) [ 0.688599] ACPI: PCI Interrupt Link [LNKH] (IRQs 1 3 4 5 6 10 11 12 14 15) *9 [ 0.690259] ACPI: Enabled 4 GPEs in block 00 to 3F [ 0.690367] ACPI : EC: EC stopped [ 0.690619] ACPI : EC: GPE = 0x17, I/O: command/status = 0x66, data = 0x62 [ 0.690627] ACPI : EC: EC started [ 0.768023] ACPI : EC: 0 stale EC events cleared [ 0.768800] vgaarb: setting as boot device: PCI:0000:00:02.0 [ 0.768807] vgaarb: device added: PCI:0000:00:02.0,decodes=io+mem,owns=io+mem,locks=none [ 0.768824] vgaarb: loaded [ 0.768829] vgaarb: bridge control possible 0000:00:02.0 [ 0.769467] SCSI subsystem initialized [ 0.769637] libata version 3.00 loaded. [ 0.769731] ACPI: bus type USB registered [ 0.769860] usbcore: registered new interface driver usbfs [ 0.769906] usbcore: registered new interface driver hub [ 0.769993] usbcore: registered new device driver usb [ 0.770408] PCI: Using ACPI for IRQ routing [ 0.774122] PCI: pci_cache_line_size set to 64 bytes [ 0.774256] e820: reserve RAM buffer [mem 0x0009d800-0x0009ffff] [ 0.774265] e820: reserve RAM buffer [mem 0xd9c9f000-0xdbffffff] [ 0.774268] e820: reserve RAM buffer [mem 0xdb000000-0xdbffffff] [ 0.774270] e820: reserve RAM buffer [mem 0x11fe00000-0x11fffffff] [ 0.775100] NetLabel: Initializing [ 0.775106] NetLabel: domain hash size = 128 [ 0.775111] NetLabel: protocols = UNLABELED CIPSOv4 [ 0.775179] NetLabel: unlabeled traffic allowed by default [ 0.775514] hpet0: at MMIO 0xfed00000, IRQs 2, 8, 0, 0, 0, 0, 0, 0 [ 0.775529] hpet0: 8 comparators, 64-bit 14.318180 MHz counter [ 0.778622] clocksource: Switched to clocksource hpet [ 0.842846] VFS: Disk quotas dquot_6.6.0 [ 0.858700] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 0.875121] AppArmor: AppArmor Filesystem Enabled [ 0.875367] pnp: PnP ACPI init [ 0.876155] system 00:00: [io 0x0680-0x069f] has been reserved [ 0.876165] system 00:00: [io 0x1000-0x100f] has been reserved [ 0.876173] system 00:00: [io 0x5000-0x5003] has been reserved [ 0.876181] system 00:00: [io 0xffff] has been reserved [ 0.876188] system 00:00: [io 0x0400-0x0453] has been reserved [ 0.876196] system 00:00: [io 0x0458-0x047f] has been reserved [ 0.876204] system 00:00: [io 0x0500-0x057f] has been reserved [ 0.876211] system 00:00: [io 0x0a00-0x0a0f] has been reserved [ 0.876219] system 00:00: [io 0x164e-0x164f] has been reserved [ 0.876227] system 00:00: [io 0x5000-0x500f] could not be reserved [ 0.876268] system 00:00: Plug and Play ACPI device, IDs PNP0c02 (active) [ 0.876379] pnp 00:01: Plug and Play ACPI device, IDs PNP0b00 (active) [ 0.876594] system 00:02: [io 0x0454-0x0457] has been reserved [ 0.876608] system 00:02: Plug and Play ACPI device, IDs INT3f0d PNP0c02 (active) [ 0.876731] pnp 00:03: Plug and Play ACPI device, IDs PNP0303 (active) [ 0.876892] pnp 00:04: Plug and Play ACPI device, IDs ETD0b00 SYN0002 PNP0f13 (active) [ 0.877488] system 00:05: [mem 0xfed1c000-0xfed1ffff] has been reserved [ 0.877498] system 00:05: [mem 0xfed10000-0xfed17fff] has been reserved [ 0.877506] system 00:05: [mem 0xfed18000-0xfed18fff] has been reserved [ 0.877514] system 00:05: [mem 0xfed19000-0xfed19fff] has been reserved [ 0.877522] system 00:05: [mem 0xf8000000-0xfbffffff] has been reserved [ 0.877530] system 00:05: [mem 0xfed20000-0xfed3ffff] has been reserved [ 0.877537] system 00:05: [mem 0xfed90000-0xfed93fff] has been reserved [ 0.877545] system 00:05: [mem 0xfed45000-0xfed8ffff] has been reserved [ 0.877554] system 00:05: [mem 0xff000000-0xffffffff] could not be reserved [ 0.877562] system 00:05: [mem 0xfee00000-0xfeefffff] could not be reserved [ 0.877574] system 00:05: Plug and Play ACPI device, IDs PNP0c02 (active) [ 0.878820] system 00:06: Plug and Play ACPI device, IDs PNP0c01 (active) [ 0.878886] pnp: PnP ACPI: found 7 devices [ 0.892176] clocksource: acpi_pm: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 2085701024 ns [ 0.892242] pci 0000:00:1c.0: PCI bridge to [bus 01] [ 0.892256] pci 0000:00:1c.0: bridge window [mem 0xf0600000-0xf06fffff] [ 0.892277] pci 0000:00:1c.3: PCI bridge to [bus 02] [ 0.892285] pci 0000:00:1c.3: bridge window [io 0x2000-0x2fff] [ 0.892302] pci 0000:00:1c.3: bridge window [mem 0xf0400000-0xf04fffff 64bit pref] [ 0.892321] pci 0000:00:1c.4: PCI bridge to [bus 03] [ 0.892333] pci 0000:00:1c.4: bridge window [mem 0xf0500000-0xf05fffff] [ 0.892354] pci_bus 0000:00: resource 4 [io 0x0000-0x0cf7 window] [ 0.892356] pci_bus 0000:00: resource 5 [io 0x0d00-0xffff window] [ 0.892359] pci_bus 0000:00: resource 6 [mem 0x000a0000-0x000bffff window] [ 0.892361] pci_bus 0000:00: resource 7 [mem 0xdfa00000-0xfeafffff window] [ 0.892363] pci_bus 0000:00: resource 8 [mem 0xfed40000-0xfed44fff window] [ 0.892365] pci_bus 0000:01: resource 1 [mem 0xf0600000-0xf06fffff] [ 0.892367] pci_bus 0000:02: resource 0 [io 0x2000-0x2fff] [ 0.892369] pci_bus 0000:02: resource 2 [mem 0xf0400000-0xf04fffff 64bit pref] [ 0.892371] pci_bus 0000:03: resource 1 [mem 0xf0500000-0xf05fffff] [ 0.970674] NET: Registered protocol family 2 [ 0.971252] TCP established hash table entries: 32768 (order: 6, 262144 bytes) [ 0.971501] TCP bind hash table entries: 32768 (order: 9, 2097152 bytes) [ 0.973916] TCP: Hash tables configured (established 32768 bind 32768) [ 0.974039] UDP hash table entries: 2048 (order: 6, 327680 bytes) [ 0.974383] UDP-Lite hash table entries: 2048 (order: 6, 327680 bytes) [ 1.022658] NET: Registered protocol family 1 [ 1.022729] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff] [ 1.024795] PCI: CLS 64 bytes, default 64 [ 1.025136] Trying to unpack rootfs image as initramfs... [ 1.110902] Freeing initrd memory: 3584K (ffff8800378f0000 - ffff880037c70000) [ 1.111033] PCI-DMA: Using software bounce buffering for IO (SWIOTLB) [ 1.111041] software IO TLB [mem 0xd5c9f000-0xd9c9f000] (64MB) mapped at [ffff8800d5c9f000-ffff8800d9c9efff] [ 1.111209] RAPL PMU: API unit is 2^-32 Joules, 3 fixed counters, 163840 ms ovfl timer [ 1.111219] RAPL PMU: hw unit of domain pp0-core 2^-16 Joules [ 1.111224] RAPL PMU: hw unit of domain package 2^-16 Joules [ 1.111229] RAPL PMU: hw unit of domain pp1-gpu 2^-16 Joules [ 1.111764] Scanning for low memory corruption every 60 seconds [ 1.113221] futex hash table entries: 2048 (order: 6, 262144 bytes) [ 1.134673] audit: initializing netlink subsys (disabled) [ 1.134784] audit: type=2000 audit(1470174514.128:1): initialized [ 1.136400] Initialise system trusted keyrings [ 1.136904] workingset: timestamp_bits=40 max_order=20 bucket_order=0 [ 1.486814] fuse init (API version 7.25) [ 1.520885] Key type asymmetric registered [ 1.520910] Asymmetric key parser 'x509' registered [ 1.534698] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250) [ 1.534860] io scheduler noop registered [ 1.534867] io scheduler deadline registered (default) [ 1.570645] io scheduler cfq registered [ 1.570662] start plist test [ 1.572213] end plist test [ 1.573651] pci_hotplug: PCI Hot Plug PCI Core version: 0.5 [ 1.573678] pciehp: PCI Express Hot Plug Controller Driver version: 0.4 [ 1.573917] intel_idle: MWAIT substates: 0x21120 [ 1.573919] intel_idle: v0.4.1 model 0x2A [ 1.575049] intel_idle: lapic_timer_reliable_states 0xffffffff [ 1.575543] ACPI: AC Adapter [ADP1] (on-line) [ 1.575849] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0 [ 1.575916] ACPI: Lid Switch [LID0] [ 1.576105] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1 [ 1.576157] ACPI: Power Button [PWRB] [ 1.576348] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2 [ 1.576362] ACPI: Power Button [PWRF] [ 1.580969] thermal LNXTHERM:00: registered as thermal_zone0 [ 1.580977] ACPI: Thermal Zone [TZ00] (69 C) [ 1.582080] thermal LNXTHERM:01: registered as thermal_zone1 [ 1.582088] ACPI: Thermal Zone [TZ01] (30 C) [ 1.582229] GHES: HEST is not enabled! [ 1.582738] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled [ 1.592593] ACPI: Battery Slot [BAT1] (battery present) [ 1.595960] Linux agpgart interface v0.103 [ 1.608520] brd: module loaded [ 1.615253] loop: module loaded [ 1.621401] ahci 0000:00:1f.2: version 3.0 [ 1.622006] ahci 0000:00:1f.2: SSS flag set, parallel bus scan disabled [ 1.632221] ahci 0000:00:1f.2: AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x1b impl SATA mode [ 1.632248] ahci 0000:00:1f.2: flags: 64bit ncq sntf ilck stag pm led clo pio slum part ems sxs apst [ 1.669564] scsi host0: ahci [ 1.670319] scsi host1: ahci [ 1.670841] scsi host2: ahci [ 1.671281] scsi host3: ahci [ 1.671744] scsi host4: ahci [ 1.672163] scsi host5: ahci [ 1.672415] ata1: SATA max UDMA/133 abar m2048@0xf0708000 port 0xf0708100 irq 25 [ 1.672426] ata2: SATA max UDMA/133 abar m2048@0xf0708000 port 0xf0708180 irq 25 [ 1.672434] ata3: DUMMY [ 1.672441] ata4: SATA max UDMA/133 abar m2048@0xf0708000 port 0xf0708280 irq 25 [ 1.672450] ata5: SATA max UDMA/133 abar m2048@0xf0708000 port 0xf0708300 irq 25 [ 1.672458] ata6: DUMMY [ 1.674464] libphy: Fixed MDIO Bus: probed [ 1.674922] tun: Universal TUN/TAP device driver, 1.6 [ 1.674928] tun: (C) 1999-2004 Max Krasnyansky [ 1.675166] PPP generic driver version 2.4.2 [ 1.675336] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.675342] ehci-pci: EHCI PCI platform driver [ 1.675809] ehci-pci 0000:00:1a.0: EHCI Host Controller [ 1.675980] ehci-pci 0000:00:1a.0: new USB bus registered, assigned bus number 1 [ 1.676060] ehci-pci 0000:00:1a.0: debug port 2 [ 1.680042] ehci-pci 0000:00:1a.0: cache line size of 64 is not supported [ 1.680109] ehci-pci 0000:00:1a.0: irq 16, io mem 0xf070a000 [ 1.694697] ehci-pci 0000:00:1a.0: USB 2.0 started, EHCI 1.00 [ 1.695042] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.695048] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.695056] usb usb1: Product: EHCI Host Controller [ 1.695061] usb usb1: Manufacturer: Linux 4.7.0-10768.2-iniza-small ehci_hcd [ 1.695066] usb usb1: SerialNumber: 0000:00:1a.0 [ 1.696067] hub 1-0:1.0: USB hub found [ 1.696119] hub 1-0:1.0: 2 ports detected [ 1.697547] ehci-pci 0000:00:1d.0: EHCI Host Controller [ 1.697580] ehci-pci 0000:00:1d.0: new USB bus registered, assigned bus number 2 [ 1.697607] ehci-pci 0000:00:1d.0: debug port 2 [ 1.701525] ehci-pci 0000:00:1d.0: cache line size of 64 is not supported [ 1.701561] ehci-pci 0000:00:1d.0: irq 23, io mem 0xf0709000 [ 1.714746] ehci-pci 0000:00:1d.0: USB 2.0 started, EHCI 1.00 [ 1.714926] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.714933] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.714941] usb usb2: Product: EHCI Host Controller [ 1.714946] usb usb2: Manufacturer: Linux 4.7.0-10768.2-iniza-small ehci_hcd [ 1.714951] usb usb2: SerialNumber: 0000:00:1d.0 [ 1.715644] hub 2-0:1.0: USB hub found [ 1.715675] hub 2-0:1.0: 2 ports detected [ 1.716217] ehci-platform: EHCI generic platform driver [ 1.716267] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.716283] ohci-pci: OHCI PCI platform driver [ 1.716322] ohci-platform: OHCI generic platform driver [ 1.716351] uhci_hcd: USB Universal Host Controller Interface driver [ 1.716618] xhci_hcd 0000:03:00.0: xHCI Host Controller [ 1.716647] xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 3 [ 1.726430] xhci_hcd 0000:03:00.0: hcc params 0x0200f180 hci version 0x96 quirks 0x00080000 [ 1.728184] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 [ 1.728191] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.728199] usb usb3: Product: xHCI Host Controller [ 1.728204] usb usb3: Manufacturer: Linux 4.7.0-10768.2-iniza-small xhci-hcd [ 1.728209] usb usb3: SerialNumber: 0000:03:00.0 [ 1.728806] hub 3-0:1.0: USB hub found [ 1.728877] hub 3-0:1.0: 2 ports detected [ 1.729359] xhci_hcd 0000:03:00.0: xHCI Host Controller [ 1.729376] xhci_hcd 0000:03:00.0: new USB bus registered, assigned bus number 4 [ 1.729468] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM. [ 1.729573] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003 [ 1.729579] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 1.729586] usb usb4: Product: xHCI Host Controller [ 1.729591] usb usb4: Manufacturer: Linux 4.7.0-10768.2-iniza-small xhci-hcd [ 1.729597] usb usb4: SerialNumber: 0000:03:00.0 [ 1.730280] hub 4-0:1.0: USB hub found [ 1.730327] hub 4-0:1.0: 2 ports detected [ 1.731023] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:EPAD] at 0x60,0x64 irq 1,12 [ 1.743025] serio: i8042 KBD port at 0x60,0x64 irq 1 [ 1.743082] serio: i8042 AUX port at 0x60,0x64 irq 12 [ 1.744012] mousedev: PS/2 mouse device common for all mice [ 1.745480] rtc_cmos 00:01: rtc core: registered rtc_cmos as rtc0 [ 1.745533] rtc_cmos 00:01: alarms up to one month, y3k, 242 bytes nvram, hpet irqs [ 1.752377] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3 [ 1.774755] device-mapper: uevent: version 1.0.3 [ 1.791018] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@redhat.com [ 1.791286] ledtrig-cpu: registered to indicate activity on CPUs [ 1.902797] NET: Registered protocol family 10 [ 1.946814] NET: Registered protocol family 17 [ 1.946848] Key type dns_resolver registered [ 1.947820] microcode: sig=0x206a7, pf=0x10, revision=0x28 [ 1.948185] microcode: Microcode Update Driver: v2.01 , Peter Oruba [ 1.949188] registered taskstats version 1 [ 1.949197] Loading compiled-in X.509 certificates [ 1.956566] Loaded X.509 cert 'Build time autogenerated kernel key: 00b89b0b54e2e50c779dcb6b1667e75e5be8f532' [ 1.961309] Key type trusted registered [ 1.970191] Key type encrypted registered [ 1.970205] AppArmor: AppArmor sha1 policy hashing enabled [ 1.970211] evm: HMAC attrs: 0x1 [ 1.971262] rtc_cmos 00:01: setting system clock to 2016-08-02 21:48:36 UTC (1470174516) [ 1.971442] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found [ 1.971449] EDD information not available. [ 1.986667] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 1.988126] ata1.00: ATA-8: Hitachi HTS545050A7E380, GG2OA6C0, max UDMA/133 [ 1.988136] ata1.00: 976773168 sectors, multi 16: LBA48 NCQ (depth 31/32), AA [ 1.989752] ata1.00: configured for UDMA/133 [ 1.990903] scsi 0:0:0:0: Direct-Access ATA Hitachi HTS54505 A6C0 PQ: 0 ANSI: 5 [ 2.026747] usb 1-1: new high-speed USB device number 2 using ehci-pci [ 2.031744] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB) [ 2.031765] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 2.031889] sd 0:0:0:0: [sda] Write Protect is off [ 2.031896] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 2.031943] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 2.032395] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 2.042741] usb 2-1: new high-speed USB device number 2 using ehci-pci [ 2.073137] sda: sda1 sda2 sda3 [ 2.074935] sd 0:0:0:0: [sda] Attached SCSI disk [ 2.114847] tsc: Refined TSC clocksource calibration: 1596.373 MHz [ 2.114858] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x1702c2a0637, max_idle_ns: 440795222505 ns [ 2.175707] usb 1-1: New USB device found, idVendor=8087, idProduct=0024 [ 2.175718] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 2.176768] hub 1-1:1.0: USB hub found [ 2.177076] hub 1-1:1.0: 6 ports detected [ 2.178803] random: fast init done [ 2.191426] usb 2-1: New USB device found, idVendor=8087, idProduct=0024 [ 2.191436] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 2.192243] hub 2-1:1.0: USB hub found [ 2.192584] hub 2-1:1.0: 6 ports detected [ 2.347248] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 2.348139] ata2.00: ATA-8: SanDisk iSSD P4 16GB, SSD 9.14, max UDMA/133 [ 2.348164] ata2.00: 31277232 sectors, multi 1: LBA48 [ 2.348923] ata2.00: configured for UDMA/133 [ 2.349513] scsi 1:0:0:0: Direct-Access ATA SanDisk iSSD P4 9.14 PQ: 0 ANSI: 5 [ 2.379347] sd 1:0:0:0: [sdb] 31277232 512-byte logical blocks: (16.0 GB/14.9 GiB) [ 2.379546] sd 1:0:0:0: Attached scsi generic sg1 type 0 [ 2.379569] sd 1:0:0:0: [sdb] Write Protect is off [ 2.379577] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00 [ 2.379624] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 2.381295] sdb: sdb1 [ 2.382151] sd 1:0:0:0: [sdb] Attached SCSI disk [ 2.466740] usb 1-1.2: new low-speed USB device number 3 using ehci-pci [ 2.482722] usb 2-1.5: new full-speed USB device number 3 using ehci-pci [ 2.581717] usb 1-1.2: New USB device found, idVendor=046d, idProduct=c00e [ 2.581728] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.581736] usb 1-1.2: Product: USB-PS/2 Optical Mouse [ 2.581741] usb 1-1.2: Manufacturer: Logitech [ 2.595979] usb 2-1.5: New USB device found, idVendor=8086, idProduct=0189 [ 2.595991] usb 2-1.5: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 2.662736] usb 1-1.4: new high-speed USB device number 4 using ehci-pci [ 2.695331] ata4: SATA link down (SStatus 0 SControl 300) [ 2.935458] usb 1-1.4: New USB device found, idVendor=2232, idProduct=1018 [ 2.935470] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 2.935479] usb 1-1.4: Product: WebCam SC-13HDL11431N [ 2.935485] usb 1-1.4: Manufacturer: 123 [ 3.006704] ata5: SATA link down (SStatus 0 SControl 300) [ 3.008986] Freeing unused kernel memory: 1484K (ffffffff81f6c000 - ffffffff820df000) [ 3.008998] Write protecting the kernel read-only data: 14336k [ 3.010426] Freeing unused kernel memory: 1736K (ffff88000184e000 - ffff880001a00000) [ 3.012925] Freeing unused kernel memory: 724K (ffff880001d4b000 - ffff880001e00000) [ 3.051631] udevd[172]: starting version 175 [ 3.142922] clocksource: Switched to clocksource tsc [ 3.375802] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded [ 3.375837] r8169 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control [ 3.401110] r8169 0000:02:00.0 eth0: RTL8168evl/8111evl at 0xffffc9000098c000, e8:03:9a:36:17:a9, XID 0c900800 IRQ 31 [ 3.401133] r8169 0000:02:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko] [ 3.403161] usbcore: registered new interface driver usbhid [ 3.403170] usbhid: USB HID core driver [ 3.473927] input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C00E.0001/input/input5 [ 3.474424] hid-generic 0003:046D:C00E.0001: input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1a.0-1.2/input0 [ 4.158986] EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null) [ 6.012929] random: crng init done [ 6.123334] init: ureadahead main process (457) terminated with status 5 [ 7.103014] Adding 15637588k swap on /dev/sdb1. Priority:-1 extents:1 across:15637588k SSFS [ 7.280713] EXT4-fs (loop0): re-mounted. Opts: errors=remount-ro [ 9.034471] udevd[572]: starting version 175 [ 10.792767] lp: driver loaded but no devices found [ 13.056071] ppdev: user-space parallel port driver [ 13.298559] wmi: Mapper loaded [ 13.350312] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20160422/utaddress-255) [ 13.350326] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 13.350335] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20160422/utaddress-255) [ 13.350344] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 13.350349] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20160422/utaddress-255) [ 13.350356] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 13.350361] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20160422/utaddress-255) [ 13.350368] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver [ 13.350371] lpc_ich: Resource conflict(s) found affecting gpio_ich [ 13.577972] samsung_laptop: detected SABI interface: SwSmi@ [ 14.087035] Bluetooth: Core ver 2.21 [ 14.087089] NET: Registered protocol family 31 [ 14.087093] Bluetooth: HCI device and connection manager initialized [ 14.087175] Bluetooth: HCI socket layer initialized [ 14.087186] Bluetooth: L2CAP socket layer initialized [ 14.087273] Bluetooth: SCO socket layer initialized [ 14.092281] [drm] Initialized drm 1.1.0 20060810 [ 14.435749] Bluetooth: RFCOMM TTY layer initialized [ 14.435767] Bluetooth: RFCOMM socket layer initialized [ 14.435788] Bluetooth: RFCOMM ver 1.11 [ 14.664824] usbcore: registered new interface driver btusb [ 14.847204] Linux video capture interface: v2.00 [ 15.000554] psmouse serio1: elantech: assuming hardware version 3 (with firmware version 0x450f00) [ 15.015531] psmouse serio1: elantech: Synaptics capabilities query result 0x08, 0x17, 0x0c. [ 15.032173] psmouse serio1: elantech: Elan sample query result 03, 3f, 86 [ 15.061001] Intel(R) Wireless WiFi driver for Linux [ 15.061006] Copyright(c) 2003- 2015 Intel Corporation [ 15.061455] iwlwifi 0000:01:00.0: can't disable ASPM; OS doesn't have ASPM control [ 15.110753] input: ETPS/2 Elantech Touchpad as /devices/platform/i8042/serio1/input/input6 [ 15.345750] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 [ 15.345757] Bluetooth: BNEP filters: protocol multicast [ 15.345771] Bluetooth: BNEP socket layer initialized [ 15.996513] uvcvideo: Found UVC 1.00 device WebCam SC-13HDL11431N (2232:1018) [ 16.016329] input: WebCam SC-13HDL11431N as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input7 [ 16.016816] usbcore: registered new interface driver uvcvideo [ 16.016821] USB Video Class driver (1.1.1) [ 16.028524] iwlwifi 0000:01:00.0: loaded firmware version 18.168.6.1 op_mode iwldvm [ 16.163559] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC269VC: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker [ 16.163567] snd_hda_codec_realtek hdaudioC0D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 16.163571] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x15/0x0/0x0/0x0/0x0) [ 16.163574] snd_hda_codec_realtek hdaudioC0D0: mono: mono_out=0x0 [ 16.163576] snd_hda_codec_realtek hdaudioC0D0: inputs: [ 16.163582] snd_hda_codec_realtek hdaudioC0D0: Internal Mic=0x19 [ 16.163589] snd_hda_codec_realtek hdaudioC0D0: Mic=0x18 [ 16.333468] [drm] Memory usable by graphics device = 2048M [ 16.333517] [drm] Replacing VGA console driver [ 16.339618] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 16.339621] [drm] Driver supports precise vblank timestamp query. [ 16.343926] vgaarb: device changed decodes: PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem [ 16.388986] audit: type=1400 audit(1470167330.911:2): apparmor="STATUS" operation="profile_load" name="/sbin/dhclient" pid=1094 comm="apparmor_parser" [ 16.389001] audit: type=1400 audit(1470167330.911:3): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1094 comm="apparmor_parser" [ 16.389010] audit: type=1400 audit(1470167330.911:4): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=1094 comm="apparmor_parser" [ 16.389036] audit: type=1400 audit(1470167330.911:5): apparmor="STATUS" operation="profile_replace" name="/sbin/dhclient" pid=1099 comm="apparmor_parser" [ 16.389054] audit: type=1400 audit(1470167330.911:6): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1099 comm="apparmor_parser" [ 16.389070] audit: type=1400 audit(1470167330.911:7): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=1099 comm="apparmor_parser" [ 16.389940] audit: type=1400 audit(1470167330.911:8): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1094 comm="apparmor_parser" [ 16.389959] audit: type=1400 audit(1470167330.911:9): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=1094 comm="apparmor_parser" [ 16.389988] audit: type=1400 audit(1470167330.911:10): apparmor="STATUS" operation="profile_replace" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1099 comm="apparmor_parser" [ 16.390005] audit: type=1400 audit(1470167330.911:11): apparmor="STATUS" operation="profile_replace" name="/usr/lib/connman/scripts/dhclient-script" pid=1099 comm="apparmor_parser" [ 16.541102] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no) [ 16.542122] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input10 [ 16.543858] snd_hda_intel 0000:00:1b.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915]) [ 16.721828] fbcon: inteldrmfb (fb0) is primary device [ 17.371224] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUG disabled [ 17.371226] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEBUGFS enabled [ 17.371228] iwlwifi 0000:01:00.0: CONFIG_IWLWIFI_DEVICE_TRACING enabled [ 17.371232] iwlwifi 0000:01:00.0: Detected Intel(R) Centrino(R) Advanced-N 6230 AGN, REV=0xB0 [ 17.373812] iwlwifi 0000:01:00.0: L1 Enabled - LTR Disabled [ 17.712173] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs' [ 17.949895] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun [ 17.952319] [drm:intel_set_pch_fifo_underrun_reporting [i915]] *ERROR* uncleared pch fifo underrun on pch transcoder A [ 17.952349] [drm:intel_pch_fifo_underrun_irq_handler [i915]] *ERROR* PCH transcoder A FIFO underrun [ 18.149786] Console: switching to colour frame buffer device 170x48 [ 18.169903] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device [ 18.217462] input: HDA Intel PCH Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8 [ 18.219349] input: HDA Intel PCH Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9 [ 18.219715] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11 [ 18.508983] init: failsafe main process (1146) killed by TERM signal [ 21.543500] audit_printk_skb: 63 callbacks suppressed [ 21.543505] audit: type=1400 audit(1470167336.067:33): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince" pid=1315 comm="apparmor_parser" [ 21.543514] audit: type=1400 audit(1470167336.067:34): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince//launchpad_integration" pid=1315 comm="apparmor_parser" [ 21.543521] audit: type=1400 audit(1470167336.067:35): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince//sanitized_helper" pid=1315 comm="apparmor_parser" [ 21.543527] audit: type=1400 audit(1470167336.067:36): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince-previewer" pid=1315 comm="apparmor_parser" [ 21.543533] audit: type=1400 audit(1470167336.067:37): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince-previewer//launchpad_integration" pid=1315 comm="apparmor_parser" [ 21.543539] audit: type=1400 audit(1470167336.067:38): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince-previewer//sanitized_helper" pid=1315 comm="apparmor_parser" [ 21.543545] audit: type=1400 audit(1470167336.067:39): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince-thumbnailer" pid=1315 comm="apparmor_parser" [ 21.543550] audit: type=1400 audit(1470167336.067:40): apparmor="STATUS" operation="profile_load" name="/usr/bin/evince-thumbnailer//sanitized_helper" pid=1315 comm="apparmor_parser" [ 21.551188] audit: type=1400 audit(1470167336.075:41): apparmor="STATUS" operation="profile_replace" name="/usr/bin/evince//launchpad_integration" pid=1315 comm="apparmor_parser" [ 21.551200] audit: type=1400 audit(1470167336.075:42): apparmor="STATUS" operation="profile_replace" name="/usr/bin/evince//sanitized_helper" pid=1315 comm="apparmor_parser" [ 23.809165] iwlwifi 0000:01:00.0: L1 Enabled - LTR Disabled [ 23.816085] iwlwifi 0000:01:00.0: L1 Enabled - LTR Disabled [ 23.816180] iwlwifi 0000:01:00.0: Radio type=0x1-0x2-0x0 [ 24.101496] iwlwifi 0000:01:00.0: L1 Enabled - LTR Disabled [ 24.108137] iwlwifi 0000:01:00.0: L1 Enabled - LTR Disabled [ 24.108231] iwlwifi 0000:01:00.0: Radio type=0x1-0x2-0x0 [ 24.197421] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [ 24.728156] r8169 0000:02:00.0 eth0: link down [ 24.728236] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 100.516601] usb 2-1.5: USB disconnect, device number 3 [ 121.413075] wlan0: authenticate with 02:1a:11:f2:19:46 [ 121.419165] wlan0: send auth to 02:1a:11:f2:19:46 (try 1/3) [ 121.435491] wlan0: authenticated [ 121.439842] wlan0: associate with 02:1a:11:f2:19:46 (try 1/3) [ 121.448760] wlan0: RX AssocResp from 02:1a:11:f2:19:46 (capab=0x431 status=0 aid=1) [ 121.452176] wlan0: associated [ 121.452285] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready From patchwork Thu Jun 30 11:30:56 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: backlight: Avoid double fbcon backlight handling From: Chris Wilson X-Patchwork-Id: 95769 Message-Id: <1467286256-8870-1-git-send-email-chris@chris-wilson.co.uk> To: intel-gfx@lists.freedesktop.org Cc: Milo Kim , Krzysztof Kozlowski , David Airlie , nouveau@lists.freedesktop.org, Jon Nettleton , Nicolas Ferre , linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, Thierry Reding , Paul Mackerras , Laurent Pinchart , Daniel Vetter , Lee Jones , Daniel Drake , Jens Frederich , linux-acpi@vger.kernel.org, =?UTF-8?q?Bruno=20Pr=C3=A9mont?= , Tomi Valkeinen , Ben Skeggs , Zhang Rui , Jean-Christophe Plagniol-Villard , Michael Hennerich , Jiri Kosina , linux-omap@vger.kernel.org, Thomas Petazzoni , Jingoo Han , linux-renesas-soc@vger.kernel.org, =?UTF-8?q?Noralf=20Tr=C3=B8nnes?= , Kukjin Kim , Alex Deucher , Antonino Daplas , =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Thu, 30 Jun 2016 12:30:56 +0100 Backlights controlled by i915.ko and only associated with its connectors and also only associated with the intel_drmfb fbcon, controlled by i915.ko. In this situation, we already handle adjusting the backlight when the fbcon is blanked/unblanked and do not require backlight trying to do the same. Attempting to register with the fbdev as a client causes lockdep to warn about a dependency cycle: [ 18.983763] ====================================================== [ 18.983763] [ INFO: possible circular locking dependency detected ] [ 18.983766] 4.7.0-rc5+ #524 Tainted: G O [ 18.983767] ------------------------------------------------------- [ 18.983767] kworker/u8:0/6 is trying to acquire lock: [ 18.983777] (&dev->mode_config.mutex){+.+.+.}, at: [] drm_modeset_lock_all+0x40/0x120 [ 18.983777] but task is already holding lock: [ 18.983782] ((fb_notifier_list).rwsem){++++.+}, at: [] __blocking_notifier_call_chain+0x35/0x70 [ 18.983783] which lock already depends on the new lock. [ 18.983783] the existing dependency chain (in reverse order) is: [ 18.983785] -> #1 ((fb_notifier_list).rwsem){++++.+}: [ 18.983789] [] lock_acquire+0xb1/0x200 [ 18.983792] [] down_write+0x44/0x80 [ 18.983795] [] blocking_notifier_chain_register+0x21/0xb0 [ 18.983798] [] fb_register_client+0x18/0x20 [ 18.983800] [] backlight_device_register+0x136/0x260 [ 18.983852] [] intel_backlight_device_register+0xa2/0x160 [i915] [ 18.983892] [] intel_connector_register+0xe/0x10 [i915] [ 18.983932] [] intel_dp_connector_register+0x1b/0x80 [i915] [ 18.983936] [] drm_connector_register+0x4a/0x80 [ 18.983938] [] drm_connector_register_all+0x64/0xf0 [ 18.983940] [] drm_modeset_register_all+0x174/0x1c0 [ 18.983942] [] drm_dev_register+0xc2/0xd0 [ 18.983976] [] i915_driver_load+0x1547/0x2200 [i915] [ 18.984010] [] i915_pci_probe+0x4f/0x70 [i915] [ 18.984014] [] local_pci_probe+0x45/0xa0 [ 18.984015] [] pci_device_probe+0xdb/0x130 [ 18.984018] [] driver_probe_device+0x223/0x440 [ 18.984020] [] __driver_attach+0xd5/0x100 [ 18.984022] [] bus_for_each_dev+0x66/0xa0 [ 18.984023] [] driver_attach+0x1e/0x20 [ 18.984025] [] bus_add_driver+0x1ee/0x280 [ 18.984028] [] driver_register+0x60/0xe0 [ 18.984030] [] __pci_register_driver+0x60/0x70 [ 18.984063] [] i915_init+0x5b/0x62 [i915] [ 18.984067] [] do_one_initcall+0x3d/0x150 [ 18.984070] [] do_init_module+0x5f/0x1d9 [ 18.984073] [] load_module+0x20e6/0x27e0 [ 18.984075] [] SYSC_finit_module+0xc3/0xf0 [ 18.984076] [] SyS_finit_module+0xe/0x10 [ 18.984079] [] entry_SYSCALL_64_fastpath+0x1c/0xac [ 18.984081] -> #0 (&dev->mode_config.mutex){+.+.+.}: [ 18.984083] [] __lock_acquire+0x10fc/0x1260 [ 18.984085] [] lock_acquire+0xb1/0x200 [ 18.984088] [] mutex_lock_nested+0x67/0x3c0 [ 18.984090] [] drm_modeset_lock_all+0x40/0x120 [ 18.984093] [] drm_fb_helper_restore_fbdev_mode_unlocked+0x2b/0x80 [ 18.984095] [] drm_fb_helper_set_par+0x2d/0x50 [ 18.984134] [] intel_fbdev_set_par+0x1a/0x60 [i915] [ 18.984136] [] fbcon_init+0x586/0x610 [ 18.984139] [] visual_init+0xca/0x130 [ 18.984141] [] do_bind_con_driver+0x1c1/0x3a0 [ 18.984143] [] do_take_over_console+0x116/0x180 [ 18.984145] [] do_fbcon_takeover+0x57/0xb0 [ 18.984147] [] fbcon_event_notify+0x658/0x750 [ 18.984150] [] notifier_call_chain+0x3e/0xb0 [ 18.984152] [] __blocking_notifier_call_chain+0x4d/0x70 [ 18.984154] [] blocking_notifier_call_chain+0x16/0x20 [ 18.984156] [] fb_notifier_call_chain+0x1b/0x20 [ 18.984158] [] register_framebuffer+0x251/0x330 [ 18.984160] [] drm_fb_helper_initial_config+0x25f/0x3f0 [ 18.984199] [] intel_fbdev_initial_config+0x18/0x30 [i915] [ 18.984201] [] async_run_entry_fn+0x48/0x150 [ 18.984203] [] process_one_work+0x1e7/0x750 [ 18.984205] [] worker_thread+0x4b/0x4f0 [ 18.984207] [] kthread+0xef/0x110 [ 18.984208] [] ret_from_fork+0x1f/0x40 [ 18.984209] other info that might help us debug this: [ 18.984210] Possible unsafe locking scenario: [ 18.984210] CPU0 CPU1 [ 18.984211] ---- ---- [ 18.984212] lock((fb_notifier_list).rwsem); [ 18.984213] lock(&dev->mode_config.mutex); [ 18.984215] lock((fb_notifier_list).rwsem); [ 18.984216] lock(&dev->mode_config.mutex); [ 18.984216] *** DEADLOCK *** [ 18.984217] 6 locks held by kworker/u8:0/6: [ 18.984220] #0: ("events_unbound"){.+.+.+}, at: [] process_one_work+0x169/0x750 [ 18.984223] #1: ((&entry->work)){+.+.+.}, at: [] process_one_work+0x169/0x750 [ 18.984227] #2: (registration_lock){+.+.+.}, at: [] register_framebuffer+0x27/0x330 [ 18.984231] #3: (console_lock){+.+.+.}, at: [] register_framebuffer+0x26e/0x330 [ 18.984234] #4: (&fb_info->lock){+.+.+.}, at: [] lock_fb_info+0x1d/0x40 [ 18.984238] #5: ((fb_notifier_list).rwsem){++++.+}, at: [] __blocking_notifier_call_chain+0x35/0x70 [ 18.984238] stack backtrace: [ 18.984241] CPU: 2 PID: 6 Comm: kworker/u8:0 Tainted: G O 4.7.0-rc5+ #524 [ 18.984242] Hardware name: Intel Corp. Broxton P/NOTEBOOK, BIOS APLKRVPA.X64.0138.B33.1606250842 06/25/2016 [ 18.984244] Workqueue: events_unbound async_run_entry_fn [ 18.984248] 0000000000000000 ffff8800758577f0 ffffffff814507a5 ffffffff828b9900 [ 18.984250] ffffffff828b9900 ffff880075857830 ffffffff810dc6fa ffff880075857880 [ 18.984252] ffff88007584d688 0000000000000005 0000000000000006 ffff88007584d6b0 [ 18.984253] Call Trace: [ 18.984257] [] dump_stack+0x67/0x92 [ 18.984259] [] print_circular_bug+0x1aa/0x200 [ 18.984261] [] __lock_acquire+0x10fc/0x1260 [ 18.984264] [] lock_acquire+0xb1/0x200 [ 18.984266] [] ? drm_modeset_lock_all+0x40/0x120 [ 18.984267] [] ? drm_modeset_lock_all+0x40/0x120 [ 18.984269] [] mutex_lock_nested+0x67/0x3c0 [ 18.984271] [] ? drm_modeset_lock_all+0x40/0x120 [ 18.984273] [] ? rcu_read_lock_sched_held+0x7f/0x90 [ 18.984276] [] ? kmem_cache_alloc_trace+0x248/0x2b0 [ 18.984277] [] ? drm_modeset_lock_all+0x25/0x120 [ 18.984279] [] drm_modeset_lock_all+0x40/0x120 [ 18.984281] [] drm_fb_helper_restore_fbdev_mode_unlocked+0x2b/0x80 [ 18.984283] [] drm_fb_helper_set_par+0x2d/0x50 [ 18.984322] [] intel_fbdev_set_par+0x1a/0x60 [i915] [ 18.984324] [] fbcon_init+0x586/0x610 [ 18.984326] [] visual_init+0xca/0x130 [ 18.984328] [] do_bind_con_driver+0x1c1/0x3a0 [ 18.984330] [] do_take_over_console+0x116/0x180 [ 18.984332] [] do_fbcon_takeover+0x57/0xb0 [ 18.984334] [] fbcon_event_notify+0x658/0x750 [ 18.984336] [] notifier_call_chain+0x3e/0xb0 [ 18.984338] [] __blocking_notifier_call_chain+0x4d/0x70 [ 18.984340] [] blocking_notifier_call_chain+0x16/0x20 [ 18.984342] [] fb_notifier_call_chain+0x1b/0x20 [ 18.984344] [] register_framebuffer+0x251/0x330 [ 18.984347] [] ? vga_switcheroo_client_fb_set+0x5d/0x70 [ 18.984349] [] drm_fb_helper_initial_config+0x25f/0x3f0 [ 18.984388] [] intel_fbdev_initial_config+0x18/0x30 [i915] [ 18.984389] [] async_run_entry_fn+0x48/0x150 [ 18.984391] [] process_one_work+0x1e7/0x750 [ 18.984392] [] ? process_one_work+0x169/0x750 [ 18.984394] [] worker_thread+0x4b/0x4f0 [ 18.984396] [] ? process_one_work+0x750/0x750 [ 18.984398] [] kthread+0xef/0x110 [ 18.984401] [] ret_from_fork+0x1f/0x40 [ 18.984402] [] ? kthread_stop+0x2e0/0x2e0 Reported-by: Imre Deak Signed-off-by: Chris Wilson Cc: Imre Deak Cc: Zhang Rui Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Patrik Jakobsson Cc: Daniel Vetter Cc: Jani Nikula Cc: Ben Skeggs Cc: Tomi Valkeinen Cc: Laurent Pinchart Cc: "Bruno Prémont" Cc: Jiri Kosina Cc: Thomas Petazzoni Cc: "Noralf Trønnes" Cc: Jens Frederich Cc: Daniel Drake Cc: Jon Nettleton Cc: Jingoo Han Cc: Lee Jones Cc: Jean-Christophe Plagniol-Villard Cc: Michael Hennerich Cc: Milo Kim Cc: Thierry Reding Cc: Nicolas Ferre Cc: Paul Mackerras Cc: Kukjin Kim Cc: Krzysztof Kozlowski Cc: Antonino Daplas Cc: linux-acpi@vger.kernel.org Cc: dri-devel@lists.freedesktop.org Cc: intel-gfx@lists.freedesktop.org Cc: nouveau@lists.freedesktop.org Cc: linux-renesas-soc@vger.kernel.org Cc: linux-fbdev@vger.kernel.org Cc: linux-omap@vger.kernel.org Acked-by: Jani Nikula Tested-by: Imre Deak --- drivers/acpi/acpi_video.c | 3 ++- drivers/gpu/drm/amd/amdgpu/atombios_encoders.c | 3 ++- drivers/gpu/drm/bridge/parade-ps8622.c | 3 ++- drivers/gpu/drm/gma500/cdv_device.c | 3 ++- drivers/gpu/drm/gma500/mdfld_device.c | 3 ++- drivers/gpu/drm/gma500/oaktrail_device.c | 3 ++- drivers/gpu/drm/gma500/psb_device.c | 3 ++- drivers/gpu/drm/i915/intel_panel.c | 3 ++- drivers/gpu/drm/nouveau/nouveau_backlight.c | 6 ++++-- drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 3 ++- .../gpu/drm/omapdrm/displays/panel-sony-acx565akm.c | 3 ++- drivers/gpu/drm/radeon/atombios_encoders.c | 3 ++- drivers/gpu/drm/radeon/radeon_legacy_encoders.c | 3 ++- drivers/gpu/drm/shmobile/shmob_drm_backlight.c | 3 ++- drivers/hid/hid-picolcd_backlight.c | 3 ++- drivers/macintosh/via-pmu-backlight.c | 3 ++- drivers/platform/x86/acer-wmi.c | 3 ++- drivers/platform/x86/apple-gmux.c | 3 ++- drivers/platform/x86/asus-laptop.c | 3 ++- drivers/platform/x86/asus-wmi.c | 3 ++- drivers/platform/x86/classmate-laptop.c | 3 ++- drivers/platform/x86/compal-laptop.c | 3 ++- drivers/platform/x86/dell-laptop.c | 3 ++- drivers/platform/x86/eeepc-laptop.c | 3 ++- drivers/platform/x86/fujitsu-laptop.c | 3 ++- drivers/platform/x86/ideapad-laptop.c | 3 ++- drivers/platform/x86/intel_oaktrail.c | 3 ++- drivers/platform/x86/msi-laptop.c | 3 ++- drivers/platform/x86/msi-wmi.c | 3 ++- drivers/platform/x86/panasonic-laptop.c | 3 ++- drivers/platform/x86/samsung-laptop.c | 3 ++- drivers/platform/x86/samsung-q10.c | 3 ++- drivers/platform/x86/sony-laptop.c | 3 ++- drivers/platform/x86/thinkpad_acpi.c | 3 ++- drivers/platform/x86/toshiba_acpi.c | 3 ++- drivers/staging/fbtft/fb_ssd1351.c | 3 ++- drivers/staging/fbtft/fb_watterott.c | 3 ++- drivers/staging/fbtft/fbtft-core.c | 3 ++- drivers/staging/olpc_dcon/olpc_dcon.c | 3 ++- drivers/usb/misc/appledisplay.c | 3 ++- drivers/video/backlight/88pm860x_bl.c | 3 ++- drivers/video/backlight/aat2870_bl.c | 3 ++- drivers/video/backlight/adp5520_bl.c | 3 ++- drivers/video/backlight/adp8860_bl.c | 3 ++- drivers/video/backlight/adp8870_bl.c | 3 ++- drivers/video/backlight/ams369fg06.c | 3 ++- drivers/video/backlight/apple_bl.c | 3 ++- drivers/video/backlight/as3711_bl.c | 3 ++- drivers/video/backlight/backlight.c | 20 +++++++++++++------- drivers/video/backlight/bd6107.c | 3 ++- drivers/video/backlight/corgi_lcd.c | 3 ++- drivers/video/backlight/cr_bllcd.c | 3 ++- drivers/video/backlight/da903x_bl.c | 3 ++- drivers/video/backlight/da9052_bl.c | 3 ++- drivers/video/backlight/ep93xx_bl.c | 3 ++- drivers/video/backlight/generic_bl.c | 3 ++- drivers/video/backlight/gpio_backlight.c | 3 ++- drivers/video/backlight/hp680_bl.c | 3 ++- drivers/video/backlight/ipaq_micro_bl.c | 3 ++- drivers/video/backlight/jornada720_bl.c | 3 ++- drivers/video/backlight/kb3886_bl.c | 3 ++- drivers/video/backlight/ld9040.c | 3 ++- drivers/video/backlight/lm3533_bl.c | 3 ++- drivers/video/backlight/lm3630a_bl.c | 6 ++++-- drivers/video/backlight/lm3639_bl.c | 3 ++- drivers/video/backlight/locomolcd.c | 3 ++- drivers/video/backlight/lp855x_bl.c | 3 ++- drivers/video/backlight/lp8788_bl.c | 3 ++- drivers/video/backlight/lv5207lp.c | 3 ++- drivers/video/backlight/max8925_bl.c | 3 ++- drivers/video/backlight/omap1_bl.c | 3 ++- drivers/video/backlight/ot200_bl.c | 3 ++- drivers/video/backlight/pandora_bl.c | 3 ++- drivers/video/backlight/pcf50633-backlight.c | 3 ++- drivers/video/backlight/pm8941-wled.c | 3 ++- drivers/video/backlight/pwm_bl.c | 3 ++- drivers/video/backlight/s6e63m0.c | 3 ++- drivers/video/backlight/sky81452-backlight.c | 3 ++- drivers/video/backlight/tosa_bl.c | 3 ++- drivers/video/backlight/tps65217_bl.c | 3 ++- drivers/video/backlight/wm831x_bl.c | 3 ++- drivers/video/fbdev/atmel_lcdfb.c | 3 ++- drivers/video/fbdev/aty/aty128fb.c | 3 ++- drivers/video/fbdev/aty/atyfb_base.c | 3 ++- drivers/video/fbdev/aty/radeon_backlight.c | 3 ++- drivers/video/fbdev/bf537-lq035.c | 3 ++- drivers/video/fbdev/bf54x-lq043fb.c | 3 ++- drivers/video/fbdev/bfin-t350mcqb-fb.c | 3 ++- drivers/video/fbdev/exynos/s6e8ax0.c | 3 ++- drivers/video/fbdev/mx3fb.c | 3 ++- drivers/video/fbdev/nvidia/nv_backlight.c | 3 ++- .../video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c | 3 ++- .../omap2/omapfb/displays/panel-sony-acx565akm.c | 3 ++- drivers/video/fbdev/riva/fbdev.c | 3 ++- drivers/video/fbdev/sh_mobile_lcdcfb.c | 3 ++- drivers/video/fbdev/ssd1307fb.c | 3 ++- include/linux/backlight.h | 7 +++++-- 97 files changed, 212 insertions(+), 106 deletions(-) diff --git a/drivers/acpi/acpi_video.c b/drivers/acpi/acpi_video.c index c1d138e128cb..49e0acb70c17 100644 --- a/drivers/acpi/acpi_video.c +++ b/drivers/acpi/acpi_video.c @@ -1693,7 +1693,8 @@ static void acpi_video_dev_register_backlight(struct acpi_video_device *device) parent, device, &acpi_backlight_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); kfree(name); if (IS_ERR(device->backlight)) { device->backlight = NULL; diff --git a/drivers/gpu/drm/amd/amdgpu/atombios_encoders.c b/drivers/gpu/drm/amd/amdgpu/atombios_encoders.c index 48b6bd671cda..b6ae67a75a25 100644 --- a/drivers/gpu/drm/amd/amdgpu/atombios_encoders.c +++ b/drivers/gpu/drm/amd/amdgpu/atombios_encoders.c @@ -198,7 +198,8 @@ void amdgpu_atombios_encoder_init_backlight(struct amdgpu_encoder *amdgpu_encode snprintf(bl_name, sizeof(bl_name), "amdgpu_bl%d", dev->primary->index); bd = backlight_device_register(bl_name, drm_connector->kdev, - pdata, &amdgpu_atombios_encoder_backlight_ops, &props); + pdata, &amdgpu_atombios_encoder_backlight_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) { DRM_ERROR("Backlight registration failed\n"); goto error; diff --git a/drivers/gpu/drm/bridge/parade-ps8622.c b/drivers/gpu/drm/bridge/parade-ps8622.c index 5cd8dd7e5904..14dea711b474 100644 --- a/drivers/gpu/drm/bridge/parade-ps8622.c +++ b/drivers/gpu/drm/bridge/parade-ps8622.c @@ -608,7 +608,8 @@ static int ps8622_probe(struct i2c_client *client, if (!of_find_property(dev->of_node, "use-external-pwm", NULL)) { ps8622->bl = backlight_device_register("ps8622-backlight", dev, ps8622, &ps8622_backlight_ops, - NULL); + NULL, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(ps8622->bl)) { DRM_ERROR("failed to register backlight\n"); ret = PTR_ERR(ps8622->bl); diff --git a/drivers/gpu/drm/gma500/cdv_device.c b/drivers/gpu/drm/gma500/cdv_device.c index 8745971a7680..d2b4d645b4db 100644 --- a/drivers/gpu/drm/gma500/cdv_device.c +++ b/drivers/gpu/drm/gma500/cdv_device.c @@ -163,7 +163,8 @@ static int cdv_backlight_init(struct drm_device *dev) props.type = BACKLIGHT_PLATFORM; cdv_backlight_device = backlight_device_register("psb-bl", - NULL, (void *)dev, &cdv_ops, &props); + NULL, (void *)dev, &cdv_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(cdv_backlight_device)) return PTR_ERR(cdv_backlight_device); diff --git a/drivers/gpu/drm/gma500/mdfld_device.c b/drivers/gpu/drm/gma500/mdfld_device.c index e2ab858122f9..2e24ecccfd39 100644 --- a/drivers/gpu/drm/gma500/mdfld_device.c +++ b/drivers/gpu/drm/gma500/mdfld_device.c @@ -130,7 +130,8 @@ static int mdfld_backlight_init(struct drm_device *dev) props.max_brightness = BRIGHTNESS_MAX_LEVEL; props.type = BACKLIGHT_PLATFORM; mdfld_backlight_device = backlight_device_register("mdfld-bl", - NULL, (void *)dev, &mdfld_ops, &props); + NULL, (void *)dev, &mdfld_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(mdfld_backlight_device)) return PTR_ERR(mdfld_backlight_device); diff --git a/drivers/gpu/drm/gma500/oaktrail_device.c b/drivers/gpu/drm/gma500/oaktrail_device.c index ba30b43a3412..034553a524ac 100644 --- a/drivers/gpu/drm/gma500/oaktrail_device.c +++ b/drivers/gpu/drm/gma500/oaktrail_device.c @@ -155,7 +155,8 @@ static int oaktrail_backlight_init(struct drm_device *dev) props.type = BACKLIGHT_PLATFORM; oaktrail_backlight_device = backlight_device_register("oaktrail-bl", - NULL, (void *)dev, &oaktrail_ops, &props); + NULL, (void *)dev, &oaktrail_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(oaktrail_backlight_device)) return PTR_ERR(oaktrail_backlight_device); diff --git a/drivers/gpu/drm/gma500/psb_device.c b/drivers/gpu/drm/gma500/psb_device.c index dc0f8527570c..0c1385d64839 100644 --- a/drivers/gpu/drm/gma500/psb_device.c +++ b/drivers/gpu/drm/gma500/psb_device.c @@ -131,7 +131,8 @@ static int psb_backlight_init(struct drm_device *dev) props.type = BACKLIGHT_PLATFORM; psb_backlight_device = backlight_device_register("psb-bl", - NULL, (void *)dev, &psb_ops, &props); + NULL, (void *)dev, &psb_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(psb_backlight_device)) return PTR_ERR(psb_backlight_device); diff --git a/drivers/gpu/drm/i915/intel_panel.c b/drivers/gpu/drm/i915/intel_panel.c index 3c0b97f0bfae..acf6395b9f33 100644 --- a/drivers/gpu/drm/i915/intel_panel.c +++ b/drivers/gpu/drm/i915/intel_panel.c @@ -1201,7 +1201,8 @@ int intel_backlight_device_register(struct intel_connector *connector) backlight_device_register("intel_backlight", connector->base.kdev, connector, - &intel_backlight_device_ops, &props); + &intel_backlight_device_ops, &props, + 0); if (IS_ERR(panel->backlight.device)) { DRM_ERROR("Failed to register backlight: %ld\n", diff --git a/drivers/gpu/drm/nouveau/nouveau_backlight.c b/drivers/gpu/drm/nouveau/nouveau_backlight.c index f5101be806cb..5fd7e7498f13 100644 --- a/drivers/gpu/drm/nouveau/nouveau_backlight.c +++ b/drivers/gpu/drm/nouveau/nouveau_backlight.c @@ -82,7 +82,8 @@ nv40_backlight_init(struct drm_connector *connector) props.type = BACKLIGHT_RAW; props.max_brightness = 31; bd = backlight_device_register("nv_backlight", connector->kdev, drm, - &nv40_bl_ops, &props); + &nv40_bl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) return PTR_ERR(bd); drm->backlight = bd; @@ -204,7 +205,8 @@ nv50_backlight_init(struct drm_connector *connector) props.type = BACKLIGHT_RAW; props.max_brightness = 100; bd = backlight_device_register("nv_backlight", connector->kdev, - nv_encoder, ops, &props); + nv_encoder, ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) return PTR_ERR(bd); diff --git a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c b/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c index 1b0cf2d8224b..10511bdd9936 100644 --- a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c +++ b/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c @@ -1260,7 +1260,8 @@ static int dsicm_probe(struct platform_device *pdev) props.type = BACKLIGHT_RAW; bldev = backlight_device_register(dev_name(dev), - dev, ddata, &dsicm_bl_ops, &props); + dev, ddata, &dsicm_bl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bldev)) { r = PTR_ERR(bldev); goto err_bl; diff --git a/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c b/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c index 157c512205d1..9f3622910511 100644 --- a/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c +++ b/drivers/gpu/drm/omapdrm/displays/panel-sony-acx565akm.c @@ -817,7 +817,8 @@ static int acx565akm_probe(struct spi_device *spi) props.type = BACKLIGHT_RAW; bldev = backlight_device_register("acx565akm", &ddata->spi->dev, - ddata, &acx565akm_bl_ops, &props); + ddata, &acx565akm_bl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bldev)) { r = PTR_ERR(bldev); goto err_reg_bl; diff --git a/drivers/gpu/drm/radeon/atombios_encoders.c b/drivers/gpu/drm/radeon/atombios_encoders.c index 587cae4e73c9..3676ba6e16ee 100644 --- a/drivers/gpu/drm/radeon/atombios_encoders.c +++ b/drivers/gpu/drm/radeon/atombios_encoders.c @@ -214,7 +214,8 @@ void radeon_atom_backlight_init(struct radeon_encoder *radeon_encoder, snprintf(bl_name, sizeof(bl_name), "radeon_bl%d", dev->primary->index); bd = backlight_device_register(bl_name, drm_connector->kdev, - pdata, &radeon_atom_backlight_ops, &props); + pdata, &radeon_atom_backlight_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) { DRM_ERROR("Backlight registration failed\n"); goto error; diff --git a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c b/drivers/gpu/drm/radeon/radeon_legacy_encoders.c index 868c3ba2efaa..27908624c818 100644 --- a/drivers/gpu/drm/radeon/radeon_legacy_encoders.c +++ b/drivers/gpu/drm/radeon/radeon_legacy_encoders.c @@ -393,7 +393,8 @@ void radeon_legacy_backlight_init(struct radeon_encoder *radeon_encoder, snprintf(bl_name, sizeof(bl_name), "radeon_bl%d", dev->primary->index); bd = backlight_device_register(bl_name, drm_connector->kdev, - pdata, &radeon_backlight_ops, &props); + pdata, &radeon_backlight_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) { DRM_ERROR("Backlight registration failed\n"); goto error; diff --git a/drivers/gpu/drm/shmobile/shmob_drm_backlight.c b/drivers/gpu/drm/shmobile/shmob_drm_backlight.c index 33dd41afea0e..1ff10faed3a7 100644 --- a/drivers/gpu/drm/shmobile/shmob_drm_backlight.c +++ b/drivers/gpu/drm/shmobile/shmob_drm_backlight.c @@ -68,7 +68,8 @@ int shmob_drm_backlight_init(struct shmob_drm_connector *scon) return 0; backlight = backlight_device_register(bdata->name, dev->dev, scon, - &shmob_drm_backlight_ops, NULL); + &shmob_drm_backlight_ops, NULL, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(backlight)) { dev_err(dev->dev, "unable to register backlight device: %ld\n", PTR_ERR(backlight)); diff --git a/drivers/hid/hid-picolcd_backlight.c b/drivers/hid/hid-picolcd_backlight.c index 808807ad388f..06597f50c32b 100644 --- a/drivers/hid/hid-picolcd_backlight.c +++ b/drivers/hid/hid-picolcd_backlight.c @@ -77,7 +77,8 @@ int picolcd_init_backlight(struct picolcd_data *data, struct hid_report *report) props.type = BACKLIGHT_RAW; props.max_brightness = 0xff; bdev = backlight_device_register(dev_name(dev), dev, data, - &picolcd_blops, &props); + &picolcd_blops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bdev)) { dev_err(dev, "failed to register backlight\n"); return PTR_ERR(bdev); diff --git a/drivers/macintosh/via-pmu-backlight.c b/drivers/macintosh/via-pmu-backlight.c index 6f68537c93ce..da0fb2e87f75 100644 --- a/drivers/macintosh/via-pmu-backlight.c +++ b/drivers/macintosh/via-pmu-backlight.c @@ -160,7 +160,8 @@ void __init pmu_backlight_init() props.type = BACKLIGHT_PLATFORM; props.max_brightness = FB_BACKLIGHT_LEVELS - 1; bd = backlight_device_register(name, NULL, NULL, &pmu_backlight_data, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) { printk(KERN_ERR "PMU Backlight registration failed\n"); return; diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c index 79d64ea00bfb..0b17c5146175 100644 --- a/drivers/platform/x86/acer-wmi.c +++ b/drivers/platform/x86/acer-wmi.c @@ -1419,7 +1419,8 @@ static int acer_backlight_init(struct device *dev) props.type = BACKLIGHT_PLATFORM; props.max_brightness = max_brightness; bd = backlight_device_register("acer-wmi", dev, NULL, &acer_bl_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) { pr_err("Could not register Acer backlight device\n"); acer_backlight_device = NULL; diff --git a/drivers/platform/x86/apple-gmux.c b/drivers/platform/x86/apple-gmux.c index 4034d2d4c507..e041bbe14df5 100644 --- a/drivers/platform/x86/apple-gmux.c +++ b/drivers/platform/x86/apple-gmux.c @@ -698,7 +698,8 @@ static int gmux_probe(struct pnp_dev *pnp, const struct pnp_device_id *id) props.max_brightness = GMUX_MAX_BRIGHTNESS; bdev = backlight_device_register("gmux_backlight", &pnp->dev, - gmux_data, &gmux_bl_ops, &props); + gmux_data, &gmux_bl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bdev)) { ret = PTR_ERR(bdev); goto err_release; diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index 15f131146501..98f26cff9c96 100644 --- a/drivers/platform/x86/asus-laptop.c +++ b/drivers/platform/x86/asus-laptop.c @@ -831,7 +831,8 @@ static int asus_backlight_init(struct asus_laptop *asus) bd = backlight_device_register(ASUS_LAPTOP_FILE, &asus->platform_device->dev, asus, - &asusbl_ops, &props); + &asusbl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) { pr_err("Could not register asus backlight device\n"); asus->backlight_device = NULL; diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c index a26dca3640ea..ca897bc94626 100644 --- a/drivers/platform/x86/asus-wmi.c +++ b/drivers/platform/x86/asus-wmi.c @@ -1565,7 +1565,8 @@ static int asus_wmi_backlight_init(struct asus_wmi *asus) props.max_brightness = max; bd = backlight_device_register(asus->driver->name, &asus->platform_device->dev, asus, - &asus_wmi_bl_ops, &props); + &asus_wmi_bl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) { pr_err("Could not register backlight device\n"); return PTR_ERR(bd); diff --git a/drivers/platform/x86/classmate-laptop.c b/drivers/platform/x86/classmate-laptop.c index 55cf10bc7817..60cf7a0c7170 100644 --- a/drivers/platform/x86/classmate-laptop.c +++ b/drivers/platform/x86/classmate-laptop.c @@ -970,7 +970,8 @@ static int cmpc_ipml_add(struct acpi_device *acpi) props.max_brightness = 7; ipml->bd = backlight_device_register("cmpc_bl", &acpi->dev, acpi->handle, &cmpc_bl_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(ipml->bd)) { retval = PTR_ERR(ipml->bd); goto out_bd; diff --git a/drivers/platform/x86/compal-laptop.c b/drivers/platform/x86/compal-laptop.c index e1c2b6d4b24a..9a675d3b6fe5 100644 --- a/drivers/platform/x86/compal-laptop.c +++ b/drivers/platform/x86/compal-laptop.c @@ -1008,7 +1008,8 @@ static int __init compal_init(void) compalbl_device = backlight_device_register(DRIVER_NAME, NULL, NULL, &compalbl_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(compalbl_device)) return PTR_ERR(compalbl_device); } diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index 2c2f02b2e08a..57712a970f8d 100644 --- a/drivers/platform/x86/dell-laptop.c +++ b/drivers/platform/x86/dell-laptop.c @@ -2035,7 +2035,8 @@ static int __init dell_init(void) &platform_device->dev, NULL, &dell_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(dell_backlight_device)) { ret = PTR_ERR(dell_backlight_device); diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c index 8cdf315f9730..da8ada2ba429 100644 --- a/drivers/platform/x86/eeepc-laptop.c +++ b/drivers/platform/x86/eeepc-laptop.c @@ -1159,7 +1159,8 @@ static int eeepc_backlight_init(struct eeepc_laptop *eeepc) props.max_brightness = 15; bd = backlight_device_register(EEEPC_LAPTOP_FILE, &eeepc->platform_device->dev, eeepc, - &eeepcbl_ops, &props); + &eeepcbl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) { pr_err("Could not register eeepc backlight device\n"); eeepc->backlight_device = NULL; diff --git a/drivers/platform/x86/fujitsu-laptop.c b/drivers/platform/x86/fujitsu-laptop.c index ce41bc34288d..b54e7ea2e968 100644 --- a/drivers/platform/x86/fujitsu-laptop.c +++ b/drivers/platform/x86/fujitsu-laptop.c @@ -1167,7 +1167,8 @@ static int __init fujitsu_init(void) fujitsu->bl_device = backlight_device_register("fujitsu-laptop", NULL, NULL, &fujitsubl_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(fujitsu->bl_device)) { ret = PTR_ERR(fujitsu->bl_device); fujitsu->bl_device = NULL; diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c index d1a091b93192..99de02efd971 100644 --- a/drivers/platform/x86/ideapad-laptop.c +++ b/drivers/platform/x86/ideapad-laptop.c @@ -726,7 +726,8 @@ static int ideapad_backlight_init(struct ideapad_private *priv) &priv->platform_device->dev, priv, &ideapad_backlight_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(blightdev)) { pr_err("Could not register backlight device\n"); return PTR_ERR(blightdev); diff --git a/drivers/platform/x86/intel_oaktrail.c b/drivers/platform/x86/intel_oaktrail.c index 6aa33c4a809f..303e8e27a0b9 100644 --- a/drivers/platform/x86/intel_oaktrail.c +++ b/drivers/platform/x86/intel_oaktrail.c @@ -253,7 +253,8 @@ static int oaktrail_backlight_init(void) bd = backlight_device_register(DRIVER_NAME, &oaktrail_device->dev, NULL, &oaktrail_bl_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) { oaktrail_bl_device = NULL; diff --git a/drivers/platform/x86/msi-laptop.c b/drivers/platform/x86/msi-laptop.c index 42317704629d..81990bdab229 100644 --- a/drivers/platform/x86/msi-laptop.c +++ b/drivers/platform/x86/msi-laptop.c @@ -1078,7 +1078,8 @@ static int __init msi_init(void) props.max_brightness = MSI_LCD_LEVEL_MAX - 1; msibl_device = backlight_device_register("msi-laptop-bl", NULL, NULL, &msibl_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(msibl_device)) return PTR_ERR(msibl_device); } diff --git a/drivers/platform/x86/msi-wmi.c b/drivers/platform/x86/msi-wmi.c index 978e6d640572..5174572a7859 100644 --- a/drivers/platform/x86/msi-wmi.c +++ b/drivers/platform/x86/msi-wmi.c @@ -247,7 +247,8 @@ static int __init msi_wmi_backlight_setup(void) props.max_brightness = ARRAY_SIZE(backlight_map) - 1; backlight = backlight_device_register(DRV_NAME, NULL, NULL, &msi_backlight_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(backlight)) return PTR_ERR(backlight); diff --git a/drivers/platform/x86/panasonic-laptop.c b/drivers/platform/x86/panasonic-laptop.c index 3f870972247c..00679814d8c3 100644 --- a/drivers/platform/x86/panasonic-laptop.c +++ b/drivers/platform/x86/panasonic-laptop.c @@ -618,7 +618,8 @@ static int acpi_pcc_hotkey_add(struct acpi_device *device) props.type = BACKLIGHT_PLATFORM; props.max_brightness = pcc->sinf[SINF_AC_MAX_BRIGHT]; pcc->backlight = backlight_device_register("panasonic", NULL, pcc, - &pcc_backlight_ops, &props); + &pcc_backlight_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(pcc->backlight)) { result = PTR_ERR(pcc->backlight); goto out_input; diff --git a/drivers/platform/x86/samsung-laptop.c b/drivers/platform/x86/samsung-laptop.c index 8c146e2b6727..09868706dfd6 100644 --- a/drivers/platform/x86/samsung-laptop.c +++ b/drivers/platform/x86/samsung-laptop.c @@ -1200,7 +1200,8 @@ static int __init samsung_backlight_init(struct samsung_laptop *samsung) bd = backlight_device_register("samsung", &samsung->platform_device->dev, samsung, &backlight_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) return PTR_ERR(bd); diff --git a/drivers/platform/x86/samsung-q10.c b/drivers/platform/x86/samsung-q10.c index e6aac725a0af..cc25d0416236 100644 --- a/drivers/platform/x86/samsung-q10.c +++ b/drivers/platform/x86/samsung-q10.c @@ -60,7 +60,8 @@ static int samsungq10_probe(struct platform_device *pdev) props.type = BACKLIGHT_PLATFORM; props.max_brightness = SAMSUNGQ10_BL_MAX_INTENSITY; bd = backlight_device_register("samsung", &pdev->dev, NULL, - &samsungq10_bl_ops, &props); + &samsungq10_bl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) return PTR_ERR(bd); diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c index 1dba3598cfcb..a20f30621e5f 100644 --- a/drivers/platform/x86/sony-laptop.c +++ b/drivers/platform/x86/sony-laptop.c @@ -3158,7 +3158,8 @@ static void sony_nc_backlight_setup(void) props.max_brightness = max_brightness; sony_bl_props.dev = backlight_device_register("sony", NULL, &sony_bl_props, - ops, &props); + ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(sony_bl_props.dev)) { pr_warn("unable to register backlight device\n"); diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index b65ce7519411..987ef89b11da 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c @@ -6821,7 +6821,8 @@ static int __init brightness_init(struct ibm_init_struct *iibm) ibm_backlight_device = backlight_device_register(TPACPI_BACKLIGHT_DEV_NAME, NULL, NULL, &ibm_backlight_data, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(ibm_backlight_device)) { int rc = PTR_ERR(ibm_backlight_device); ibm_backlight_device = NULL; diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c index 01e12d221a8b..6b0f23360094 100644 --- a/drivers/platform/x86/toshiba_acpi.c +++ b/drivers/platform/x86/toshiba_acpi.c @@ -2840,7 +2840,8 @@ static int toshiba_acpi_setup_backlight(struct toshiba_acpi_dev *dev) &dev->acpi_dev->dev, dev, &toshiba_backlight_data, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(dev->backlight_dev)) { ret = PTR_ERR(dev->backlight_dev); pr_err("Could not register toshiba backlight device\n"); diff --git a/drivers/staging/fbtft/fb_ssd1351.c b/drivers/staging/fbtft/fb_ssd1351.c index cef33e439f46..6a194faf6448 100644 --- a/drivers/staging/fbtft/fb_ssd1351.c +++ b/drivers/staging/fbtft/fb_ssd1351.c @@ -210,7 +210,8 @@ static void register_onboard_backlight(struct fbtft_par *par) bl_props.power = FB_BLANK_POWERDOWN; bd = backlight_device_register(dev_driver_string(par->info->device), - par->info->device, par, &bl_ops, &bl_props); + par->info->device, par, &bl_ops, &bl_props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) { dev_err(par->info->device, "cannot register backlight device (%ld)\n", diff --git a/drivers/staging/fbtft/fb_watterott.c b/drivers/staging/fbtft/fb_watterott.c index f8cb610a7b69..b24913688014 100644 --- a/drivers/staging/fbtft/fb_watterott.c +++ b/drivers/staging/fbtft/fb_watterott.c @@ -259,7 +259,8 @@ static void register_chip_backlight(struct fbtft_par *par) bl_props.brightness = DEFAULT_BRIGHTNESS; bd = backlight_device_register(dev_driver_string(par->info->device), - par->info->device, par, &bl_ops, &bl_props); + par->info->device, par, &bl_ops, &bl_props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) { dev_err(par->info->device, "cannot register backlight device (%ld)\n", diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbtft/fbtft-core.c index 0c1a77cafe14..61c67b079b90 100644 --- a/drivers/staging/fbtft/fbtft-core.c +++ b/drivers/staging/fbtft/fbtft-core.c @@ -299,7 +299,8 @@ void fbtft_register_backlight(struct fbtft_par *par) bl_props.state |= BL_CORE_DRIVER1; bd = backlight_device_register(dev_driver_string(par->info->device), - par->info->device, par, &fbtft_bl_ops, &bl_props); + par->info->device, par, &fbtft_bl_ops, &bl_props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) { dev_err(par->info->device, "cannot register backlight device (%ld)\n", diff --git a/drivers/staging/olpc_dcon/olpc_dcon.c b/drivers/staging/olpc_dcon/olpc_dcon.c index f45b2ef05f48..385c7adeaa26 100644 --- a/drivers/staging/olpc_dcon/olpc_dcon.c +++ b/drivers/staging/olpc_dcon/olpc_dcon.c @@ -643,7 +643,8 @@ static int dcon_probe(struct i2c_client *client, const struct i2c_device_id *id) /* Add the backlight device for the DCON */ dcon_bl_props.brightness = dcon->bl_val; dcon->bl_dev = backlight_device_register("dcon-bl", &dcon_device->dev, - dcon, &dcon_bl_ops, &dcon_bl_props); + dcon, &dcon_bl_ops, &dcon_bl_props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(dcon->bl_dev)) { dev_err(&client->dev, "cannot register backlight dev (%ld)\n", PTR_ERR(dcon->bl_dev)); diff --git a/drivers/usb/misc/appledisplay.c b/drivers/usb/misc/appledisplay.c index a0a3827b4aff..97c0829711a8 100644 --- a/drivers/usb/misc/appledisplay.c +++ b/drivers/usb/misc/appledisplay.c @@ -293,7 +293,8 @@ static int appledisplay_probe(struct usb_interface *iface, props.type = BACKLIGHT_RAW; props.max_brightness = 0xff; pdata->bd = backlight_device_register(bl_name, NULL, pdata, - &appledisplay_bl_data, &props); + &appledisplay_bl_data, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(pdata->bd)) { dev_err(&iface->dev, "Backlight registration failed\n"); retval = PTR_ERR(pdata->bd); diff --git a/drivers/video/backlight/88pm860x_bl.c b/drivers/video/backlight/88pm860x_bl.c index 6d8dc2c77520..e0d8212aebc0 100644 --- a/drivers/video/backlight/88pm860x_bl.c +++ b/drivers/video/backlight/88pm860x_bl.c @@ -242,7 +242,8 @@ static int pm860x_backlight_probe(struct platform_device *pdev) props.type = BACKLIGHT_RAW; props.max_brightness = MAX_BRIGHTNESS; bl = devm_backlight_device_register(&pdev->dev, name, &pdev->dev, data, - &pm860x_backlight_ops, &props); + &pm860x_backlight_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl)) { dev_err(&pdev->dev, "failed to register backlight\n"); return PTR_ERR(bl); diff --git a/drivers/video/backlight/aat2870_bl.c b/drivers/video/backlight/aat2870_bl.c index 50774e657700..a4cbc33bd6c2 100644 --- a/drivers/video/backlight/aat2870_bl.c +++ b/drivers/video/backlight/aat2870_bl.c @@ -152,7 +152,8 @@ static int aat2870_bl_probe(struct platform_device *pdev) props.type = BACKLIGHT_RAW; bd = devm_backlight_device_register(&pdev->dev, "aat2870-backlight", &pdev->dev, aat2870_bl, &aat2870_bl_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) { dev_err(&pdev->dev, "Failed allocate memory for backlight device\n"); diff --git a/drivers/video/backlight/adp5520_bl.c b/drivers/video/backlight/adp5520_bl.c index dd88ba1d71ce..03093fbee414 100644 --- a/drivers/video/backlight/adp5520_bl.c +++ b/drivers/video/backlight/adp5520_bl.c @@ -315,7 +315,8 @@ static int adp5520_bl_probe(struct platform_device *pdev) props.max_brightness = ADP5020_MAX_BRIGHTNESS; bl = devm_backlight_device_register(&pdev->dev, pdev->name, data->master, data, &adp5520_bl_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl)) { dev_err(&pdev->dev, "failed to register backlight\n"); return PTR_ERR(bl); diff --git a/drivers/video/backlight/adp8860_bl.c b/drivers/video/backlight/adp8860_bl.c index 510e559c060e..88982ed257d9 100644 --- a/drivers/video/backlight/adp8860_bl.c +++ b/drivers/video/backlight/adp8860_bl.c @@ -718,7 +718,8 @@ static int adp8860_probe(struct i2c_client *client, bl = devm_backlight_device_register(&client->dev, dev_driver_string(&client->dev), - &client->dev, data, &adp8860_bl_ops, &props); + &client->dev, data, &adp8860_bl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl)) { dev_err(&client->dev, "failed to register backlight\n"); return PTR_ERR(bl); diff --git a/drivers/video/backlight/adp8870_bl.c b/drivers/video/backlight/adp8870_bl.c index 21acac90fd77..5284f7f3cdd3 100644 --- a/drivers/video/backlight/adp8870_bl.c +++ b/drivers/video/backlight/adp8870_bl.c @@ -894,7 +894,8 @@ static int adp8870_probe(struct i2c_client *client, props.max_brightness = props.brightness = ADP8870_MAX_BRIGHTNESS; bl = devm_backlight_device_register(&client->dev, dev_driver_string(&client->dev), - &client->dev, data, &adp8870_bl_ops, &props); + &client->dev, data, &adp8870_bl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl)) { dev_err(&client->dev, "failed to register backlight\n"); return PTR_ERR(bl); diff --git a/drivers/video/backlight/ams369fg06.c b/drivers/video/backlight/ams369fg06.c index 5cca8ce45d4d..1bd656141c1e 100644 --- a/drivers/video/backlight/ams369fg06.c +++ b/drivers/video/backlight/ams369fg06.c @@ -484,7 +484,8 @@ static int ams369fg06_probe(struct spi_device *spi) bd = devm_backlight_device_register(&spi->dev, "ams369fg06-bl", &spi->dev, lcd, - &ams369fg06_backlight_ops, &props); + &ams369fg06_backlight_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) return PTR_ERR(bd); diff --git a/drivers/video/backlight/apple_bl.c b/drivers/video/backlight/apple_bl.c index d84329676689..ee2e92d58512 100644 --- a/drivers/video/backlight/apple_bl.c +++ b/drivers/video/backlight/apple_bl.c @@ -182,7 +182,8 @@ static int apple_bl_add(struct acpi_device *dev) props.type = BACKLIGHT_PLATFORM; props.max_brightness = 15; apple_backlight_device = backlight_device_register("apple_backlight", - NULL, NULL, &hw_data->backlight_ops, &props); + NULL, NULL, &hw_data->backlight_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(apple_backlight_device)) { release_region(hw_data->iostart, hw_data->iolen); diff --git a/drivers/video/backlight/as3711_bl.c b/drivers/video/backlight/as3711_bl.c index 734a9158946b..5f3a40bc8a85 100644 --- a/drivers/video/backlight/as3711_bl.c +++ b/drivers/video/backlight/as3711_bl.c @@ -244,7 +244,8 @@ static int as3711_bl_register(struct platform_device *pdev, su->type == AS3711_BL_SU1 ? "as3711-su1" : "as3711-su2", &pdev->dev, su, - &as3711_bl_ops, &props); + &as3711_bl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl)) { dev_err(&pdev->dev, "failed to register backlight\n"); return PTR_ERR(bl); diff --git a/drivers/video/backlight/backlight.c b/drivers/video/backlight/backlight.c index 288318ad21dd..1a25273576e8 100644 --- a/drivers/video/backlight/backlight.c +++ b/drivers/video/backlight/backlight.c @@ -319,13 +319,15 @@ EXPORT_SYMBOL(backlight_force_update); * @devdata: an optional pointer to be stored for private driver use. The * methods may retrieve it by using bl_get_data(bd). * @ops: the backlight operations structure. + * @flags: bitmask to control backlight registration * * Creates and registers new backlight device. Returns either an * ERR_PTR() or a pointer to the newly allocated device. */ struct backlight_device *backlight_device_register(const char *name, struct device *parent, void *devdata, const struct backlight_ops *ops, - const struct backlight_properties *props) + const struct backlight_properties *props, + unsigned long flags) { struct backlight_device *new_bd; int rc; @@ -363,10 +365,12 @@ struct backlight_device *backlight_device_register(const char *name, return ERR_PTR(rc); } - rc = backlight_register_fb(new_bd); - if (rc) { - device_unregister(&new_bd->dev); - return ERR_PTR(rc); + if (flags & BACKLIGHT_REGISTER_FB_CLIENT) { + rc = backlight_register_fb(new_bd); + if (rc) { + device_unregister(&new_bd->dev); + return ERR_PTR(rc); + } } new_bd->ops = ops; @@ -494,6 +498,7 @@ EXPORT_SYMBOL(backlight_unregister_notifier); * @devdata: an optional pointer to be stored for private driver use * @ops: the backlight operations structure * @props: the backlight properties + * @flags: bitmask to control backlight registration * * @return a struct backlight on success, or an ERR_PTR on error * @@ -504,7 +509,8 @@ EXPORT_SYMBOL(backlight_unregister_notifier); struct backlight_device *devm_backlight_device_register(struct device *dev, const char *name, struct device *parent, void *devdata, const struct backlight_ops *ops, - const struct backlight_properties *props) + const struct backlight_properties *props, + unsigned long flags) { struct backlight_device **ptr, *backlight; @@ -514,7 +520,7 @@ struct backlight_device *devm_backlight_device_register(struct device *dev, return ERR_PTR(-ENOMEM); backlight = backlight_device_register(name, parent, devdata, ops, - props); + props, flags); if (!IS_ERR(backlight)) { *ptr = backlight; devres_add(dev, ptr); diff --git a/drivers/video/backlight/bd6107.c b/drivers/video/backlight/bd6107.c index fdb2f7e2c6b5..a8ecd7a2f2a4 100644 --- a/drivers/video/backlight/bd6107.c +++ b/drivers/video/backlight/bd6107.c @@ -163,7 +163,8 @@ static int bd6107_probe(struct i2c_client *client, backlight = devm_backlight_device_register(&client->dev, dev_name(&client->dev), &bd->client->dev, bd, - &bd6107_backlight_ops, &props); + &bd6107_backlight_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(backlight)) { dev_err(&client->dev, "failed to register backlight\n"); return PTR_ERR(backlight); diff --git a/drivers/video/backlight/corgi_lcd.c b/drivers/video/backlight/corgi_lcd.c index d7c239ea3d09..006e171256a0 100644 --- a/drivers/video/backlight/corgi_lcd.c +++ b/drivers/video/backlight/corgi_lcd.c @@ -562,7 +562,8 @@ static int corgi_lcd_probe(struct spi_device *spi) props.max_brightness = pdata->max_intensity; lcd->bl_dev = devm_backlight_device_register(&spi->dev, "corgi_bl", &spi->dev, lcd, &corgi_bl_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(lcd->bl_dev)) return PTR_ERR(lcd->bl_dev); diff --git a/drivers/video/backlight/cr_bllcd.c b/drivers/video/backlight/cr_bllcd.c index 3e3880fc8c8e..cf7c5d35dd63 100644 --- a/drivers/video/backlight/cr_bllcd.c +++ b/drivers/video/backlight/cr_bllcd.c @@ -197,7 +197,8 @@ static int cr_backlight_probe(struct platform_device *pdev) props.type = BACKLIGHT_RAW; bdp = devm_backlight_device_register(&pdev->dev, "cr-backlight", &pdev->dev, NULL, &cr_backlight_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bdp)) { pci_dev_put(lpc_dev); return PTR_ERR(bdp); diff --git a/drivers/video/backlight/da903x_bl.c b/drivers/video/backlight/da903x_bl.c index f793738f06fb..d6019aebfa42 100644 --- a/drivers/video/backlight/da903x_bl.c +++ b/drivers/video/backlight/da903x_bl.c @@ -146,7 +146,8 @@ static int da903x_backlight_probe(struct platform_device *pdev) props.max_brightness = max_brightness; bl = devm_backlight_device_register(&pdev->dev, pdev->name, data->da903x_dev, data, - &da903x_backlight_ops, &props); + &da903x_backlight_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl)) { dev_err(&pdev->dev, "failed to register backlight\n"); return PTR_ERR(bl); diff --git a/drivers/video/backlight/da9052_bl.c b/drivers/video/backlight/da9052_bl.c index fd2be417aa64..96738c2e8a09 100644 --- a/drivers/video/backlight/da9052_bl.c +++ b/drivers/video/backlight/da9052_bl.c @@ -127,7 +127,8 @@ static int da9052_backlight_probe(struct platform_device *pdev) bl = devm_backlight_device_register(&pdev->dev, pdev->name, wleds->da9052->dev, wleds, - &da9052_backlight_ops, &props); + &da9052_backlight_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl)) { dev_err(&pdev->dev, "Failed to register backlight\n"); return PTR_ERR(bl); diff --git a/drivers/video/backlight/ep93xx_bl.c b/drivers/video/backlight/ep93xx_bl.c index 0067931821c6..7fe2549969a1 100644 --- a/drivers/video/backlight/ep93xx_bl.c +++ b/drivers/video/backlight/ep93xx_bl.c @@ -93,7 +93,8 @@ static int ep93xxbl_probe(struct platform_device *dev) props.type = BACKLIGHT_RAW; props.max_brightness = EP93XX_MAX_BRIGHT; bl = devm_backlight_device_register(&dev->dev, dev->name, &dev->dev, - ep93xxbl, &ep93xxbl_ops, &props); + ep93xxbl, &ep93xxbl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl)) return PTR_ERR(bl); diff --git a/drivers/video/backlight/generic_bl.c b/drivers/video/backlight/generic_bl.c index 67dfb939a514..717318e12f87 100644 --- a/drivers/video/backlight/generic_bl.c +++ b/drivers/video/backlight/generic_bl.c @@ -76,7 +76,8 @@ static int genericbl_probe(struct platform_device *pdev) props.type = BACKLIGHT_RAW; props.max_brightness = machinfo->max_intensity; bd = devm_backlight_device_register(&pdev->dev, name, &pdev->dev, - NULL, &genericbl_ops, &props); + NULL, &genericbl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) return PTR_ERR(bd); diff --git a/drivers/video/backlight/gpio_backlight.c b/drivers/video/backlight/gpio_backlight.c index 18134416b154..d0b6f5155f86 100644 --- a/drivers/video/backlight/gpio_backlight.c +++ b/drivers/video/backlight/gpio_backlight.c @@ -132,7 +132,8 @@ static int gpio_backlight_probe(struct platform_device *pdev) props.max_brightness = 1; bl = devm_backlight_device_register(&pdev->dev, dev_name(&pdev->dev), &pdev->dev, gbl, &gpio_backlight_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl)) { dev_err(&pdev->dev, "failed to register backlight\n"); return PTR_ERR(bl); diff --git a/drivers/video/backlight/hp680_bl.c b/drivers/video/backlight/hp680_bl.c index 8ea42b8d9bc8..a75b2d0d489a 100644 --- a/drivers/video/backlight/hp680_bl.c +++ b/drivers/video/backlight/hp680_bl.c @@ -111,7 +111,8 @@ static int hp680bl_probe(struct platform_device *pdev) props.type = BACKLIGHT_RAW; props.max_brightness = HP680_MAX_INTENSITY; bd = devm_backlight_device_register(&pdev->dev, "hp680-bl", &pdev->dev, - NULL, &hp680bl_ops, &props); + NULL, &hp680bl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) return PTR_ERR(bd); diff --git a/drivers/video/backlight/ipaq_micro_bl.c b/drivers/video/backlight/ipaq_micro_bl.c index 347dc11d4ceb..834ccc8a7291 100644 --- a/drivers/video/backlight/ipaq_micro_bl.c +++ b/drivers/video/backlight/ipaq_micro_bl.c @@ -60,7 +60,8 @@ static int micro_backlight_probe(struct platform_device *pdev) bd = devm_backlight_device_register(&pdev->dev, "ipaq-micro-backlight", &pdev->dev, micro, µ_bl_ops, - µ_bl_props); + µ_bl_props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) return PTR_ERR(bd); diff --git a/drivers/video/backlight/jornada720_bl.c b/drivers/video/backlight/jornada720_bl.c index 7e6ff5346892..e173c5b60e9e 100644 --- a/drivers/video/backlight/jornada720_bl.c +++ b/drivers/video/backlight/jornada720_bl.c @@ -118,7 +118,8 @@ static int jornada_bl_probe(struct platform_device *pdev) bd = devm_backlight_device_register(&pdev->dev, S1D_DEVICENAME, &pdev->dev, NULL, &jornada_bl_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) { ret = PTR_ERR(bd); dev_err(&pdev->dev, "failed to register device, err=%x\n", ret); diff --git a/drivers/video/backlight/kb3886_bl.c b/drivers/video/backlight/kb3886_bl.c index 84a110a719cb..eb619c4a7a39 100644 --- a/drivers/video/backlight/kb3886_bl.c +++ b/drivers/video/backlight/kb3886_bl.c @@ -153,7 +153,8 @@ static int kb3886bl_probe(struct platform_device *pdev) kb3886_backlight_device = devm_backlight_device_register(&pdev->dev, "kb3886-bl", &pdev->dev, NULL, &kb3886bl_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(kb3886_backlight_device)) return PTR_ERR(kb3886_backlight_device); diff --git a/drivers/video/backlight/ld9040.c b/drivers/video/backlight/ld9040.c index 677f8abba27c..c28e91fec54f 100644 --- a/drivers/video/backlight/ld9040.c +++ b/drivers/video/backlight/ld9040.c @@ -722,7 +722,8 @@ static int ld9040_probe(struct spi_device *spi) props.max_brightness = MAX_BRIGHTNESS; bd = devm_backlight_device_register(&spi->dev, "ld9040-bl", &spi->dev, - lcd, &ld9040_backlight_ops, &props); + lcd, &ld9040_backlight_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) return PTR_ERR(bd); diff --git a/drivers/video/backlight/lm3533_bl.c b/drivers/video/backlight/lm3533_bl.c index 0e2337f367b6..f6345a2cd076 100644 --- a/drivers/video/backlight/lm3533_bl.c +++ b/drivers/video/backlight/lm3533_bl.c @@ -312,7 +312,8 @@ static int lm3533_bl_probe(struct platform_device *pdev) props.brightness = pdata->default_brightness; bd = devm_backlight_device_register(&pdev->dev, pdata->name, pdev->dev.parent, bl, &lm3533_bl_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) { dev_err(&pdev->dev, "failed to register backlight device\n"); return PTR_ERR(bd); diff --git a/drivers/video/backlight/lm3630a_bl.c b/drivers/video/backlight/lm3630a_bl.c index 60d6c2ac87aa..a62a09510fe3 100644 --- a/drivers/video/backlight/lm3630a_bl.c +++ b/drivers/video/backlight/lm3630a_bl.c @@ -338,7 +338,8 @@ static int lm3630a_backlight_register(struct lm3630a_chip *pchip) pchip->bleda = devm_backlight_device_register(pchip->dev, "lm3630a_leda", pchip->dev, pchip, - &lm3630a_bank_a_ops, &props); + &lm3630a_bank_a_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(pchip->bleda)) return PTR_ERR(pchip->bleda); } @@ -350,7 +351,8 @@ static int lm3630a_backlight_register(struct lm3630a_chip *pchip) pchip->bledb = devm_backlight_device_register(pchip->dev, "lm3630a_ledb", pchip->dev, pchip, - &lm3630a_bank_b_ops, &props); + &lm3630a_bank_b_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(pchip->bledb)) return PTR_ERR(pchip->bledb); } diff --git a/drivers/video/backlight/lm3639_bl.c b/drivers/video/backlight/lm3639_bl.c index cd50df5807ea..4aaf0c3f9eee 100644 --- a/drivers/video/backlight/lm3639_bl.c +++ b/drivers/video/backlight/lm3639_bl.c @@ -349,7 +349,8 @@ static int lm3639_probe(struct i2c_client *client, pchip->bled = devm_backlight_device_register(pchip->dev, "lm3639_bled", pchip->dev, pchip, &lm3639_bled_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(pchip->bled)) { dev_err(&client->dev, "fail : backlight register\n"); ret = PTR_ERR(pchip->bled); diff --git a/drivers/video/backlight/locomolcd.c b/drivers/video/backlight/locomolcd.c index 6c3ec4259a60..126a4df5fd12 100644 --- a/drivers/video/backlight/locomolcd.c +++ b/drivers/video/backlight/locomolcd.c @@ -200,7 +200,8 @@ static int locomolcd_probe(struct locomo_dev *ldev) props.max_brightness = 4; locomolcd_bl_device = backlight_device_register("locomo-bl", &ldev->dev, NULL, - &locomobl_data, &props); + &locomobl_data, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(locomolcd_bl_device)) return PTR_ERR(locomolcd_bl_device); diff --git a/drivers/video/backlight/lp855x_bl.c b/drivers/video/backlight/lp855x_bl.c index e5b14f52628f..6ef51c6540a6 100644 --- a/drivers/video/backlight/lp855x_bl.c +++ b/drivers/video/backlight/lp855x_bl.c @@ -299,7 +299,8 @@ static int lp855x_backlight_register(struct lp855x *lp) props.brightness = pdata->initial_brightness; bl = devm_backlight_device_register(lp->dev, name, lp->dev, lp, - &lp855x_bl_ops, &props); + &lp855x_bl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl)) return PTR_ERR(bl); diff --git a/drivers/video/backlight/lp8788_bl.c b/drivers/video/backlight/lp8788_bl.c index cf869ec90cce..734677bef739 100644 --- a/drivers/video/backlight/lp8788_bl.c +++ b/drivers/video/backlight/lp8788_bl.c @@ -214,7 +214,8 @@ static int lp8788_backlight_register(struct lp8788_bl *bl) name = pdata->name; bl_dev = backlight_device_register(name, bl->lp->dev, bl, - &lp8788_bl_ops, &props); + &lp8788_bl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl_dev)) return PTR_ERR(bl_dev); diff --git a/drivers/video/backlight/lv5207lp.c b/drivers/video/backlight/lv5207lp.c index 8ab7297b118a..ebd41edcd936 100644 --- a/drivers/video/backlight/lv5207lp.c +++ b/drivers/video/backlight/lv5207lp.c @@ -120,7 +120,8 @@ static int lv5207lp_probe(struct i2c_client *client, backlight = devm_backlight_device_register(&client->dev, dev_name(&client->dev), &lv->client->dev, - lv, &lv5207lp_backlight_ops, &props); + lv, &lv5207lp_backlight_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(backlight)) { dev_err(&client->dev, "failed to register backlight\n"); return PTR_ERR(backlight); diff --git a/drivers/video/backlight/max8925_bl.c b/drivers/video/backlight/max8925_bl.c index 7b738d60ecc2..aa1d39ab9977 100644 --- a/drivers/video/backlight/max8925_bl.c +++ b/drivers/video/backlight/max8925_bl.c @@ -165,7 +165,8 @@ static int max8925_backlight_probe(struct platform_device *pdev) props.max_brightness = MAX_BRIGHTNESS; bl = devm_backlight_device_register(&pdev->dev, "max8925-backlight", &pdev->dev, data, - &max8925_backlight_ops, &props); + &max8925_backlight_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl)) { dev_err(&pdev->dev, "failed to register backlight\n"); return PTR_ERR(bl); diff --git a/drivers/video/backlight/omap1_bl.c b/drivers/video/backlight/omap1_bl.c index 546d94df21d5..c587a4ec89a2 100644 --- a/drivers/video/backlight/omap1_bl.c +++ b/drivers/video/backlight/omap1_bl.c @@ -148,7 +148,8 @@ static int omapbl_probe(struct platform_device *pdev) props.type = BACKLIGHT_RAW; props.max_brightness = OMAPBL_MAX_INTENSITY; dev = devm_backlight_device_register(&pdev->dev, "omap-bl", &pdev->dev, - bl, &omapbl_ops, &props); + bl, &omapbl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(dev)) return PTR_ERR(dev); diff --git a/drivers/video/backlight/ot200_bl.c b/drivers/video/backlight/ot200_bl.c index 3acdb9f646ed..36d71b32b9cd 100644 --- a/drivers/video/backlight/ot200_bl.c +++ b/drivers/video/backlight/ot200_bl.c @@ -120,7 +120,8 @@ static int ot200_backlight_probe(struct platform_device *pdev) bl = devm_backlight_device_register(&pdev->dev, dev_name(&pdev->dev), &pdev->dev, data, &ot200_backlight_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl)) { dev_err(&pdev->dev, "failed to register backlight\n"); retval = PTR_ERR(bl); diff --git a/drivers/video/backlight/pandora_bl.c b/drivers/video/backlight/pandora_bl.c index 5d8bb8b20183..b654543ea895 100644 --- a/drivers/video/backlight/pandora_bl.c +++ b/drivers/video/backlight/pandora_bl.c @@ -115,7 +115,8 @@ static int pandora_backlight_probe(struct platform_device *pdev) props.max_brightness = MAX_USER_VALUE; props.type = BACKLIGHT_RAW; bl = devm_backlight_device_register(&pdev->dev, pdev->name, &pdev->dev, - NULL, &pandora_backlight_ops, &props); + NULL, &pandora_backlight_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl)) { dev_err(&pdev->dev, "failed to register backlight\n"); return PTR_ERR(bl); diff --git a/drivers/video/backlight/pcf50633-backlight.c b/drivers/video/backlight/pcf50633-backlight.c index 85bd573b6d15..8f3dd6b22088 100644 --- a/drivers/video/backlight/pcf50633-backlight.c +++ b/drivers/video/backlight/pcf50633-backlight.c @@ -129,7 +129,8 @@ static int pcf50633_bl_probe(struct platform_device *pdev) pcf_bl->bl = devm_backlight_device_register(&pdev->dev, pdev->name, &pdev->dev, pcf_bl, - &pcf50633_bl_ops, &bl_props); + &pcf50633_bl_ops, &bl_props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(pcf_bl->bl)) return PTR_ERR(pcf_bl->bl); diff --git a/drivers/video/backlight/pm8941-wled.c b/drivers/video/backlight/pm8941-wled.c index 0b6d21955d91..85035f2f784f 100644 --- a/drivers/video/backlight/pm8941-wled.c +++ b/drivers/video/backlight/pm8941-wled.c @@ -408,7 +408,8 @@ static int pm8941_wled_probe(struct platform_device *pdev) props.max_brightness = PM8941_WLED_REG_VAL_MAX; bl = devm_backlight_device_register(&pdev->dev, wled->name, &pdev->dev, wled, - &pm8941_wled_ops, &props); + &pm8941_wled_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); return PTR_ERR_OR_ZERO(bl); }; diff --git a/drivers/video/backlight/pwm_bl.c b/drivers/video/backlight/pwm_bl.c index b2b366bb0f97..98655fce462c 100644 --- a/drivers/video/backlight/pwm_bl.c +++ b/drivers/video/backlight/pwm_bl.c @@ -330,7 +330,8 @@ static int pwm_backlight_probe(struct platform_device *pdev) props.type = BACKLIGHT_RAW; props.max_brightness = data->max_brightness; bl = backlight_device_register(dev_name(&pdev->dev), &pdev->dev, pb, - &pwm_backlight_ops, &props); + &pwm_backlight_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl)) { dev_err(&pdev->dev, "failed to register backlight\n"); ret = PTR_ERR(bl); diff --git a/drivers/video/backlight/s6e63m0.c b/drivers/video/backlight/s6e63m0.c index 3c4a22a3063a..60bc88075e68 100644 --- a/drivers/video/backlight/s6e63m0.c +++ b/drivers/video/backlight/s6e63m0.c @@ -748,7 +748,8 @@ static int s6e63m0_probe(struct spi_device *spi) bd = devm_backlight_device_register(&spi->dev, "s6e63m0bl-bl", &spi->dev, lcd, &s6e63m0_backlight_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) return PTR_ERR(bd); diff --git a/drivers/video/backlight/sky81452-backlight.c b/drivers/video/backlight/sky81452-backlight.c index d414c7a3acf5..9abdbcf71fef 100644 --- a/drivers/video/backlight/sky81452-backlight.c +++ b/drivers/video/backlight/sky81452-backlight.c @@ -294,7 +294,8 @@ static int sky81452_bl_probe(struct platform_device *pdev) props.max_brightness = SKY81452_MAX_BRIGHTNESS, name = pdata->name ? pdata->name : SKY81452_DEFAULT_NAME; bd = devm_backlight_device_register(dev, name, dev, regmap, - &sky81452_bl_ops, &props); + &sky81452_bl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) { dev_err(dev, "failed to register. err=%ld\n", PTR_ERR(bd)); return PTR_ERR(bd); diff --git a/drivers/video/backlight/tosa_bl.c b/drivers/video/backlight/tosa_bl.c index 83742d806391..755a61727ca1 100644 --- a/drivers/video/backlight/tosa_bl.c +++ b/drivers/video/backlight/tosa_bl.c @@ -107,7 +107,8 @@ static int tosa_bl_probe(struct i2c_client *client, props.max_brightness = 512 - 1; data->bl = devm_backlight_device_register(&client->dev, "tosa-bl", &client->dev, data, &bl_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(data->bl)) { ret = PTR_ERR(data->bl); goto err_reg; diff --git a/drivers/video/backlight/tps65217_bl.c b/drivers/video/backlight/tps65217_bl.c index fd524ad860a5..0ac55b9a773c 100644 --- a/drivers/video/backlight/tps65217_bl.c +++ b/drivers/video/backlight/tps65217_bl.c @@ -306,7 +306,8 @@ static int tps65217_bl_probe(struct platform_device *pdev) tps65217_bl->bl = devm_backlight_device_register(&pdev->dev, pdev->name, tps65217_bl->dev, tps65217_bl, - &tps65217_bl_ops, &bl_props); + &tps65217_bl_ops, &bl_props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(tps65217_bl->bl)) { dev_err(tps65217_bl->dev, "registration of backlight device failed: %d\n", rc); diff --git a/drivers/video/backlight/wm831x_bl.c b/drivers/video/backlight/wm831x_bl.c index 6eab0d6c262a..8b92a277f83b 100644 --- a/drivers/video/backlight/wm831x_bl.c +++ b/drivers/video/backlight/wm831x_bl.c @@ -197,7 +197,8 @@ static int wm831x_backlight_probe(struct platform_device *pdev) props.type = BACKLIGHT_RAW; props.max_brightness = max_isel; bl = devm_backlight_device_register(&pdev->dev, "wm831x", &pdev->dev, - data, &wm831x_backlight_ops, &props); + data, &wm831x_backlight_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl)) { dev_err(&pdev->dev, "failed to register backlight\n"); return PTR_ERR(bl); diff --git a/drivers/video/fbdev/atmel_lcdfb.c b/drivers/video/fbdev/atmel_lcdfb.c index 669ecc755fa9..d6c46d670622 100644 --- a/drivers/video/fbdev/atmel_lcdfb.c +++ b/drivers/video/fbdev/atmel_lcdfb.c @@ -244,7 +244,8 @@ static void init_backlight(struct atmel_lcdfb_info *sinfo) props.type = BACKLIGHT_RAW; props.max_brightness = 0xff; bl = backlight_device_register("backlight", &sinfo->pdev->dev, sinfo, - &atmel_lcdc_bl_ops, &props); + &atmel_lcdc_bl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl)) { dev_err(&sinfo->pdev->dev, "error %ld on backlight register\n", PTR_ERR(bl)); diff --git a/drivers/video/fbdev/aty/aty128fb.c b/drivers/video/fbdev/aty/aty128fb.c index 0a4626886b00..dae8734870c9 100644 --- a/drivers/video/fbdev/aty/aty128fb.c +++ b/drivers/video/fbdev/aty/aty128fb.c @@ -1871,7 +1871,8 @@ static void aty128_bl_init(struct aty128fb_par *par) props.type = BACKLIGHT_RAW; props.max_brightness = FB_BACKLIGHT_LEVELS - 1; bd = backlight_device_register(name, info->dev, par, &aty128_bl_data, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) { info->bl_dev = NULL; printk(KERN_WARNING "aty128: Backlight registration failed\n"); diff --git a/drivers/video/fbdev/aty/atyfb_base.c b/drivers/video/fbdev/aty/atyfb_base.c index f34ed47fcaf8..918ec8f946aa 100644 --- a/drivers/video/fbdev/aty/atyfb_base.c +++ b/drivers/video/fbdev/aty/atyfb_base.c @@ -2242,7 +2242,8 @@ static void aty_bl_init(struct atyfb_par *par) props.type = BACKLIGHT_RAW; props.max_brightness = FB_BACKLIGHT_LEVELS - 1; bd = backlight_device_register(name, info->dev, par, &aty_bl_data, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) { info->bl_dev = NULL; printk(KERN_WARNING "aty: Backlight registration failed\n"); diff --git a/drivers/video/fbdev/aty/radeon_backlight.c b/drivers/video/fbdev/aty/radeon_backlight.c index 301d6d6aeead..a8c9ef618e42 100644 --- a/drivers/video/fbdev/aty/radeon_backlight.c +++ b/drivers/video/fbdev/aty/radeon_backlight.c @@ -155,7 +155,8 @@ void radeonfb_bl_init(struct radeonfb_info *rinfo) props.type = BACKLIGHT_RAW; props.max_brightness = FB_BACKLIGHT_LEVELS - 1; bd = backlight_device_register(name, rinfo->info->dev, pdata, - &radeon_bl_data, &props); + &radeon_bl_data, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) { rinfo->info->bl_dev = NULL; printk("radeonfb: Backlight registration failed\n"); diff --git a/drivers/video/fbdev/bf537-lq035.c b/drivers/video/fbdev/bf537-lq035.c index ef29fb425122..77b6f98d2182 100644 --- a/drivers/video/fbdev/bf537-lq035.c +++ b/drivers/video/fbdev/bf537-lq035.c @@ -765,7 +765,8 @@ static int bfin_lq035_probe(struct platform_device *pdev) props.type = BACKLIGHT_RAW; props.max_brightness = MAX_BRIGHENESS; bl_dev = backlight_device_register("bf537-bl", NULL, NULL, - &bfin_lq035fb_bl_ops, &props); + &bfin_lq035fb_bl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); lcd_dev = lcd_device_register(KBUILD_MODNAME, &pdev->dev, NULL, &bfin_lcd_ops); diff --git a/drivers/video/fbdev/bf54x-lq043fb.c b/drivers/video/fbdev/bf54x-lq043fb.c index 8f1f97c75619..4001f3c9c40c 100644 --- a/drivers/video/fbdev/bf54x-lq043fb.c +++ b/drivers/video/fbdev/bf54x-lq043fb.c @@ -652,7 +652,8 @@ static int bfin_bf54x_probe(struct platform_device *pdev) props.type = BACKLIGHT_RAW; props.max_brightness = 255; bl_dev = backlight_device_register("bf54x-bl", NULL, NULL, - &bfin_lq043fb_bl_ops, &props); + &bfin_lq043fb_bl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl_dev)) { printk(KERN_ERR DRIVER_NAME ": unable to register backlight.\n"); diff --git a/drivers/video/fbdev/bfin-t350mcqb-fb.c b/drivers/video/fbdev/bfin-t350mcqb-fb.c index e5ee4d9677f7..6c1c64f48432 100644 --- a/drivers/video/fbdev/bfin-t350mcqb-fb.c +++ b/drivers/video/fbdev/bfin-t350mcqb-fb.c @@ -549,7 +549,8 @@ static int bfin_t350mcqb_probe(struct platform_device *pdev) props.type = BACKLIGHT_RAW; props.max_brightness = 255; bl_dev = backlight_device_register("bf52x-bl", NULL, NULL, - &bfin_lq043fb_bl_ops, &props); + &bfin_lq043fb_bl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl_dev)) { printk(KERN_ERR DRIVER_NAME ": unable to register backlight.\n"); diff --git a/drivers/video/fbdev/exynos/s6e8ax0.c b/drivers/video/fbdev/exynos/s6e8ax0.c index de2f3e793786..a78c6effab97 100644 --- a/drivers/video/fbdev/exynos/s6e8ax0.c +++ b/drivers/video/fbdev/exynos/s6e8ax0.c @@ -796,7 +796,8 @@ static int s6e8ax0_probe(struct mipi_dsim_lcd_device *dsim_dev) } lcd->bd = devm_backlight_device_register(lcd->dev, "s6e8ax0-bl", - lcd->dev, lcd, &s6e8ax0_backlight_ops, NULL); + lcd->dev, lcd, &s6e8ax0_backlight_ops, NULL, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(lcd->bd)) { dev_err(lcd->dev, "failed to register backlight ops.\n"); return PTR_ERR(lcd->bd); diff --git a/drivers/video/fbdev/mx3fb.c b/drivers/video/fbdev/mx3fb.c index f91b1db262b0..c13c365e6622 100644 --- a/drivers/video/fbdev/mx3fb.c +++ b/drivers/video/fbdev/mx3fb.c @@ -319,7 +319,8 @@ static void mx3fb_init_backlight(struct mx3fb_data *fbd) sdc_set_brightness(fbd, fbd->backlight_level); bl = backlight_device_register("mx3fb-bl", fbd->dev, fbd, - &mx3fb_lcdc_bl_ops, &props); + &mx3fb_lcdc_bl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl)) { dev_err(fbd->dev, "error %ld on backlight register\n", PTR_ERR(bl)); diff --git a/drivers/video/fbdev/nvidia/nv_backlight.c b/drivers/video/fbdev/nvidia/nv_backlight.c index 5c151b2ea683..fdb91547b02f 100644 --- a/drivers/video/fbdev/nvidia/nv_backlight.c +++ b/drivers/video/fbdev/nvidia/nv_backlight.c @@ -108,7 +108,8 @@ void nvidia_bl_init(struct nvidia_par *par) props.type = BACKLIGHT_RAW; props.max_brightness = FB_BACKLIGHT_LEVELS - 1; bd = backlight_device_register(name, info->dev, par, &nvidia_bl_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) { info->bl_dev = NULL; printk(KERN_WARNING "nvidia: Backlight registration failed\n"); diff --git a/drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c b/drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c index b58012b82b6f..2c5fccf81391 100644 --- a/drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c +++ b/drivers/video/fbdev/omap2/omapfb/displays/panel-dsi-cm.c @@ -1259,7 +1259,8 @@ static int dsicm_probe(struct platform_device *pdev) props.type = BACKLIGHT_RAW; bldev = backlight_device_register(dev_name(dev), - dev, ddata, &dsicm_bl_ops, &props); + dev, ddata, &dsicm_bl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bldev)) { r = PTR_ERR(bldev); goto err_bl; diff --git a/drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c b/drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c index 468560a6daae..8d7821e8bb0a 100644 --- a/drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c +++ b/drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c @@ -816,7 +816,8 @@ static int acx565akm_probe(struct spi_device *spi) props.type = BACKLIGHT_RAW; bldev = backlight_device_register("acx565akm", &ddata->spi->dev, - ddata, &acx565akm_bl_ops, &props); + ddata, &acx565akm_bl_ops, &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bldev)) { r = PTR_ERR(bldev); goto err_reg_bl; diff --git a/drivers/video/fbdev/riva/fbdev.c b/drivers/video/fbdev/riva/fbdev.c index 2ef26ad99341..6dc05da50609 100644 --- a/drivers/video/fbdev/riva/fbdev.c +++ b/drivers/video/fbdev/riva/fbdev.c @@ -343,7 +343,8 @@ static void riva_bl_init(struct riva_par *par) props.type = BACKLIGHT_RAW; props.max_brightness = FB_BACKLIGHT_LEVELS - 1; bd = backlight_device_register(name, info->dev, par, &riva_bl_ops, - &props); + &props, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bd)) { info->bl_dev = NULL; printk(KERN_WARNING "riva: Backlight registration failed\n"); diff --git a/drivers/video/fbdev/sh_mobile_lcdcfb.c b/drivers/video/fbdev/sh_mobile_lcdcfb.c index 82c0a8caa9b8..2000ed98b380 100644 --- a/drivers/video/fbdev/sh_mobile_lcdcfb.c +++ b/drivers/video/fbdev/sh_mobile_lcdcfb.c @@ -2314,7 +2314,8 @@ static struct backlight_device *sh_mobile_lcdc_bl_probe(struct device *parent, struct backlight_device *bl; bl = backlight_device_register(ch->cfg->bl_info.name, parent, ch, - &sh_mobile_lcdc_bl_ops, NULL); + &sh_mobile_lcdc_bl_ops, NULL, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl)) { dev_err(parent, "unable to register backlight device: %ld\n", PTR_ERR(bl)); diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index a9c45c89b15e..a8a7ba4acde6 100644 --- a/drivers/video/fbdev/ssd1307fb.c +++ b/drivers/video/fbdev/ssd1307fb.c @@ -673,7 +673,8 @@ static int ssd1307fb_probe(struct i2c_client *client, snprintf(bl_name, sizeof(bl_name), "ssd1307fb%d", info->node); bl = backlight_device_register(bl_name, &client->dev, par, - &ssd1307fb_bl_ops, NULL); + &ssd1307fb_bl_ops, NULL, + BACKLIGHT_REGISTER_FB_CLIENT); if (IS_ERR(bl)) { ret = PTR_ERR(bl); dev_err(&client->dev, "unable to register backlight device: %d\n", diff --git a/include/linux/backlight.h b/include/linux/backlight.h index 5f2fd61ef4fb..79af3ccabeca 100644 --- a/include/linux/backlight.h +++ b/include/linux/backlight.h @@ -129,13 +129,16 @@ static inline int backlight_update_status(struct backlight_device *bd) return ret; } +#define BACKLIGHT_REGISTER_FB_CLIENT 0x1 extern struct backlight_device *backlight_device_register(const char *name, struct device *dev, void *devdata, const struct backlight_ops *ops, - const struct backlight_properties *props); + const struct backlight_properties *props, + unsigned long flags); extern struct backlight_device *devm_backlight_device_register( struct device *dev, const char *name, struct device *parent, void *devdata, const struct backlight_ops *ops, - const struct backlight_properties *props); + const struct backlight_properties *props, + unsigned long flags); extern void backlight_device_unregister(struct backlight_device *bd); extern void devm_backlight_device_unregister(struct device *dev, struct backlight_device *bd);