Received: by 10.213.65.68 with SMTP id h4csp702599imn; Wed, 4 Apr 2018 05:58:28 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/+cZnMcfyVKzlsioCD6bnuhl6VSJuV7NBoX4l6qjCuWG839kyXcHusGidShhxAZ+N5SWS1 X-Received: by 10.99.124.8 with SMTP id x8mr12138386pgc.37.1522846708864; Wed, 04 Apr 2018 05:58:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522846708; cv=none; d=google.com; s=arc-20160816; b=OHloS52pjMXQ+Ye9mB8ujLJqIDoCf16ieUP2aadvLegB0/3Kezn2BMIH/HhsB78x6c cjSiqr2CSgxbgFspCubcT5JYyYsZT4L3tBaRCOCG2eMn1hSx86S2sTGwxYnhDNuwzv86 wPGdvQIb1WaLx3bHAcOBW413YzDouX/cuDaZSi9Mvx3vpeQenINZ3egnWn0ZkuzxRbYt 48ISR8clltMhjDnRbgUgnuE1QV0PCniG0Fcq7SIcs7by3fB6/Y4+Ph8IGAzZhSs0GVb1 ZLSpINJLwXZWcOLjuXwuvwf2Ck6W9+OBu/45q7ndPlJnaBv3GzxuDp0UfRAXKA2BkpYi hrYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=BZqbYKO3SJEIby7ag7xGIdH24LGbpMKu3R8d3BVdWHo=; b=jySvmMdTIGDPSOA4blMZjPzCzNYG3rGZiqN4jr1RQYxyFZCbL60cGVUYLN2llcAOH5 kOt5Z7+NF9xakW50Nlye7P1lrydWOMVTG3pXccdUagPppwoHMB6BV3jkRy6yOdmPdV4N OBW8WqGxnuBLw2LBeMYJ+ntXxJz57NxjXGRjWD3X/cDXd+H0jkxxewmfE6UMLR52ygJQ /EVldS4VpNuCsdNVV2iodWzaC66JeMM46CRt/G2ou3fsQN9Da8iZ2/oAKkArsthLrLTJ 4NVAnStbSBxR4ThvTuB09pPIvfNYoSkovAqaFCQMplraq4A5vePHnmem3iecyrCgfhJY 2ISw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cSDgcp2X; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u7si2633682pgv.251.2018.04.04.05.58.14; Wed, 04 Apr 2018 05:58:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=cSDgcp2X; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751403AbeDDMzY (ORCPT + 99 others); Wed, 4 Apr 2018 08:55:24 -0400 Received: from mail-wm0-f47.google.com ([74.125.82.47]:52298 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750842AbeDDMzW (ORCPT ); Wed, 4 Apr 2018 08:55:22 -0400 Received: by mail-wm0-f47.google.com with SMTP id g8so16904245wmd.2; Wed, 04 Apr 2018 05:55:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=BZqbYKO3SJEIby7ag7xGIdH24LGbpMKu3R8d3BVdWHo=; b=cSDgcp2Xc8uKmG5Hu0dfcvv0ttrGsZWnFmBav6j4b+M/z5eYOc69KSixKXwWzMsP+n 54RGGHi1oYplAw6ScxGLtdozTEeGBQwRg+KPS03dxXKCXHZsWxwdk3o8ePBU5/5XieLm BRK2M11c3Xt9BB+mkXdbar/74+LDKyBuxIc795LNsXzIPuk0Y2t6CoskWq3dUyk2dC/Z 2iogIlDs2yWxEL/N7wjJSWn0dV6p9Pe0vGJ1XwqGq5Gmm7pfN6WOZEpPEdihwZ4sNM5W pcRG/aTJ1bBq5/Vo/Y8btm1ElUp330M33Su2TiZ6WGObCK/ezxNacq8tXGRkgL2eHm3a dx6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=BZqbYKO3SJEIby7ag7xGIdH24LGbpMKu3R8d3BVdWHo=; b=U1BcR7QQsYc0kpPh29qVNqcdK4L3GDURZQApI0+o/A9+93epSjiCqiqpvmFCwWrkej fbX+jLd9aMdlrqqbgU+HLQ8msh99ES2gOZkMJVzbtEqWZJRARLA970J6tMTGym/dYEfs 1xTrUOs8OmSsPBu8tNbLS7FNO5z1sVsJo+ClaE7fSmojqxjwvFDQn5hghsNi19PfZRpw NmOh3xXKG0ND8GVRy/DqOAtXZv1jpp/xAg+mt9u5zE6+75/ipat7IKH8L+j94CND2GNf dM2dhch9cFIoIh2N3c4mXP+iikMY/RNbge+830WUH1nt/3Q7fShKt4pOIw94NLIxFbRe crgw== X-Gm-Message-State: ALQs6tBoe0VijlsaBZ33ZCFuomCTKF7tfjcur1T5xnvBLHDDVZcqI16a C6mx3SdbHWqC8iRSMof18FpeJZRVj13s0dOr1+4= X-Received: by 10.46.137.138 with SMTP id c10mr140856lji.0.1522846521023; Wed, 04 Apr 2018 05:55:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.80.18 with HTTP; Wed, 4 Apr 2018 05:55:20 -0700 (PDT) In-Reply-To: <20180403211326.4907f1bc@laptop64.home> References: <20180402122536.5083-1-jandryuk@gmail.com> <20180402123435.5587-1-jandryuk@gmail.com> <20180403211326.4907f1bc@laptop64.home> From: Jason Andryuk Date: Wed, 4 Apr 2018 08:55:20 -0400 Message-ID: Subject: Re: [PATCH v2] i2c: i801: blacklist Host Notify on HP EliteBook G3 850 To: Andreas Radke Cc: Jean Delvare , Wolfram Sang , benjamin.tissoires@redhat.com, aduggan@synaptics.com, linux-i2c@vger.kernel.org, open list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 3, 2018 at 3:13 PM, Andreas Radke wrote: > Am Mon, 2 Apr 2018 08:34:35 -0400 > schrieb Jason Andryuk : > >> The HP EliteBook G3 850 has a weird bug where a subsequent cold boot >> hangs while plugged in if Linux enables the Host Notify features of >> i2c-i801. The cold boot hang depends on how the system boots. It >> does not hang on UEFI Grub text boot or legacy Grub text boot. But >> it does hang on legacy Grub graphical boot and Intel Boot Agent PXE >> text boot. Booting unplugged is not affected. >> >> Disabling the Host Notify feature with disable_feature=0x20 works >> around the bug, so automatically do so based on DMI information. >> >> More information can be found here: >> https://www.spinics.net/lists/linux-i2c/msg33938.html > > I'm faced with similar cold boot issues on my HP ProBook 430 G4 model. > Trying your hint with adding > "options i2c_i801 disable_features=0x20" > to /etc/modprobe.d/i2c_i801.conf doesn't seem to solve it for me. Maybe verify the option is set by checking /sys/module/i2c_i801/parameters/disable_features ? Looks like dmesg should also report "SMBus Host Notify disabled by user" when disabled. I run with i801 built-in, so I was specifying the option on the kernel command line. > My system boots legacy grub in text mode (KMS) and seems to keep hanging > even with that option set. Your cold boot hang is in legacy grub itself? Legacy grub text mode actually doesn't hang my G3 850 - it was switching to the graphical splash screen that seemed to do it. PXE booting via F12 was another consistent way to hang. It was very early in the PXE boot code - before it checked the link status. So you could try that with it just plugged into a switch even if you don't have a PXE boot setup. From my previous post: """ The Boot Agent hang prints "Client Mac Addr 00-11-22-33-44-55" and hangs. A normal boot prints a GUID on the same line and continues. """ Otherwise, unfortunately, it might just be a different issue. > Do you have any further idea? For the G3 850, I bisected to the commit introducing i801 Host Notify support. It's time consuming, but you could do the same. I first noticed the issue when I moved from a working stable 4.4 to stable 4.14. I tried some fedora kernels in between which narrowed down the bisect range. You could similarly grab and test pre-compiled kernels to more quickly hone in on the regression range. Regards, Jason