Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751514AbdFGPUv (ORCPT ); Wed, 7 Jun 2017 11:20:51 -0400 Received: from www.llwyncelyn.cymru ([82.70.14.225]:41574 "EHLO fuzix.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750920AbdFGPUu (ORCPT ); Wed, 7 Jun 2017 11:20:50 -0400 Date: Wed, 7 Jun 2017 16:20:44 +0100 From: Alan Cox To: linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, mika.westerberg@linux.intel.com Subject: Two regressions in 4.12-rc on Baytrail/T: #1 Pinctrol or WMI Message-ID: <20170607162044.4d6ba233@llwyncelyn.cymru> Organization: is over-rated X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 6665 Lines: 94 ASUS T100TA, BIOS 3.07, machine version is the variant with the windows logo on the frame and no Energy Star logo. The first one is in the pin controller (or I guess WMI) which now spews the (non fatal) [ 22.491352] Potential Error: Setting GPIO with direct_irq_en to output [ 22.491377] ------------[ cut here ]------------ [ 22.491387] WARNING: CPU: 3 PID: 372 at drivers/pinctrl/intel/pinctrl-baytrail.c:1035 byt_gpio_set_direction+0xa2/0xb0 [ 22.491388] Modules linked in: asus_nb_wmi(+) hid_multitouch(+) asus_wmi gpio_keys sparse_keymap asix(+) usbnet mii intel_rapl intel_soc_dts_thermal intel_powerclamp coretemp kvm_intel kvm brcmfmac irqbypass punit_atom_debug brcmutil cfg80211 crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc aesni_intel snd_intel_sst_acpi aes_x86_64 snd_intel_sst_core crypto_simd snd_soc_rt5670 glue_helper snd_soc_sst_atom_hifi2_platform snd_soc_rt5645 ak8975 cryptd snd_soc_rt5640 snd_soc_sst_match snd_soc_rl6231 industrialio_triggered_buffer snd_soc_core kfifo_buf industrialio hci_uart snd_compress btbcm snd_pcm_dmaengine ac97_bus mei_txe btqca mei btintel snd_pcm bluetooth lpc_ich snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device snd_timer ecdh_generic mac_hid snd soc_button_array tpm_crb [ 22.491456] dw_dmac soundcore processor_thermal_device int3403_thermal int3402_thermal int3400_thermal 8250_dw intel_soc_dts_iosf int340x_thermal_zone acpi_thermal_rel i2c_designware_platform i2c_designware_core spi_pxa2xx_platform pwm_lpss_platform acpi_pad pwm_lpss ib_iser rdma_cm iw_cm ib_cm ib_core configfs iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi parport_pc ppdev lp parport autofs4 btrfs xor raid6_pq usbhid uas usb_storage mmc_block i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm wmi video i2c_hid hid sdhci_acpi sdhci [ 22.491510] CPU: 3 PID: 372 Comm: systemd-udevd Not tainted 4.12.0-rc4 #10 [ 22.491512] Hardware name: ASUSTeK COMPUTER INC. T100TA/T100TA, BIOS T100TA.307 05/09/2014 [ 22.491514] task: ffff98c51fb41a80 task.stack: ffffadd280944000 [ 22.491518] RIP: 0010:byt_gpio_set_direction+0xa2/0xb0 [ 22.491519] RSP: 0000:ffffadd280947488 EFLAGS: 00010082 [ 22.491522] RAX: 000000000000003a RBX: ffff98c57611a998 RCX: ffffffffbce57408 [ 22.491524] RDX: 0000000000000000 RSI: 0000000000000082 RDI: 0000000000000047 [ 22.491526] RBP: ffffadd2809474b8 R08: 000000000000003a R09: 0000000000000278 [ 22.491527] R10: 0000000000000001 R11: 000000000000003a R12: 0000000000000000 [ 22.491529] R13: ffffadd280425260 R14: ffffadd280425268 R15: 0000000000000000 [ 22.491532] FS: 00007f4df9ff68c0(0000) GS:ffff98c578780000(0000) knlGS:0000000000000000 [ 22.491533] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 22.491535] CR2: 000000c820127000 CR3: 000000001f1ed000 CR4: 00000000001006e0 [ 22.491537] Call Trace: [ 22.491546] pinmux_gpio_direction+0x20/0x30 [ 22.491549] pinctrl_gpio_direction+0x7d/0xa0 [ 22.491553] pinctrl_gpio_direction_output+0x10/0x20 [ 22.491555] byt_gpio_direction_output+0x25/0x50 [ 22.491558] ? byt_gpio_get_direction+0x4d/0x70 [ 22.491562] _gpiod_direction_output_raw+0xa8/0x290 [ 22.491565] gpiod_direction_output+0x47/0xb0 [ 22.491569] acpi_gpio_adr_space_handler+0x1ee/0x300 [ 22.491573] ? acpi_can_fallback_to_crs.part.10+0x100/0x100 [ 22.491578] acpi_ev_address_space_dispatch+0x1fb/0x25a [ 22.491582] acpi_ex_access_region+0x1ea/0x265 [ 22.491585] acpi_ex_write_data_to_field+0x1a9/0x213 [ 22.491588] ? acpi_ds_init_object_from_op+0x33/0x262 [ 22.491591] acpi_ex_store_object_to_node+0x153/0x183 [ 22.491595] acpi_ex_store+0xca/0x266 [ 22.491597] ? acpi_ds_create_operands+0x87/0xee [ 22.491600] acpi_ex_opcode_1A_1T_1R+0x3ee/0x522 [ 22.491603] ? acpi_ex_resolve_operands+0x20e/0x4d4 [ 22.491606] acpi_ds_exec_end_op+0xcb/0x3e6 [ 22.491610] acpi_ps_parse_loop+0x52d/0x5a3 [ 22.491613] ? acpi_ut_remove_reference+0x2e/0x31 [ 22.491616] acpi_ps_parse_aml+0x98/0x27b [ 22.491620] acpi_ps_execute_method+0x14d/0x184 [ 22.491623] acpi_ns_evaluate+0x1c6/0x252 [ 22.491625] acpi_evaluate_object+0x148/0x258 [ 22.491633] wmi_evaluate_method+0x125/0x140 [wmi] [ 22.491642] asus_wmi_evaluate_method+0x63/0xd0 [asus_wmi] [ 22.491647] asus_wmi_probe+0xe6/0xe76 [asus_wmi] [ 22.491652] ? sysfs_do_create_link_sd.isra.2+0x70/0xb0 [ 22.491656] platform_drv_probe+0x3b/0xa0 [ 22.491661] driver_probe_device+0x29c/0x450 [ 22.491664] __driver_attach+0xdf/0xf0 [ 22.491668] ? driver_probe_device+0x450/0x450 [ 22.491671] bus_for_each_dev+0x6c/0xc0 [ 22.491675] driver_attach+0x1e/0x20 [ 22.491678] bus_add_driver+0x170/0x270 [ 22.491682] driver_register+0x60/0xe0 [ 22.491684] __platform_driver_probe+0x62/0x110 [ 22.491688] __platform_create_bundle+0xaf/0xd0 [ 22.491692] ? fan1_input_show+0x90/0x90 [asus_wmi] [ 22.491695] ? 0xffffffffc03ec000 [ 22.491699] asus_wmi_register_driver+0x59/0x70 [asus_wmi] [ 22.491705] asus_nb_wmi_init+0x10/0x1000 [asus_nb_wmi] [ 22.491709] do_one_initcall+0x52/0x1a0 [ 22.491714] ? kfree+0x14a/0x160 [ 22.491717] ? kfree+0x14a/0x160 [ 22.491719] ? kmem_cache_alloc_trace+0x142/0x190 [ 22.491724] do_init_module+0x5f/0x209 [ 22.491728] load_module+0x2892/0x2ce0 [ 22.491733] ? ima_post_read_file+0x7e/0xa0 [ 22.491738] ? security_kernel_post_read_file+0x6b/0x80 [ 22.491742] SYSC_finit_module+0xdf/0x110 [ 22.491745] ? SYSC_finit_module+0xdf/0x110 [ 22.491749] SyS_finit_module+0xe/0x10 [ 22.491753] entry_SYSCALL_64_fastpath+0x1e/0xa9 [ 22.491755] RIP: 0033:0x7f4df8e828e9 [ 22.491757] RSP: 002b:00007ffdd6be3168 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 [ 22.491760] RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 00007f4df8e828e9 [ 22.491762] RDX: 0000000000000000 RSI: 00007f4df9378e2a RDI: 0000000000000010 [ 22.491763] RBP: 00007ffdd6be2170 R08: 0000000000000000 R09: 0000000000000000 [ 22.491765] R10: 0000000000000010 R11: 0000000000000246 R12: 000055a5d9c65b60 [ 22.491766] R13: 00007ffdd6be2150 R14: 0000000000000005 R15: 000000000aba9500 [ 22.491769] Code: 95 e0 44 00 48 83 c4 08 31 c0 5b 41 5c 41 5d 41 5e 41 5f 5d c3 41 83 cc 02 eb de 48 c7 c7 28 62 cf bc 48 89 75 d0 e8 9b 5e d4 ff <0f> ff 48 8b 75 d0 eb c6 66 0f 1f 44 00 00 0f 1f 44 00 00 55 48 [ 22.491822] ---[ end trace 4a736a02fc1b141c ]--- [ 22.491979] asus_wmi: Initialization: 0x1 [ 22.492081] asus_wmi: BIOS WMI version: 7.9 [ 22.492160] asus_wmi: SFUN value: 0x37 [ 22.495319] input: Asus WMI hotkeys as /devices/platform/asus-nb-wmi/input/input4 [ 22.496529] asus_wmi: Number of fans: 1