Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751799AbcDRRzA (ORCPT ); Mon, 18 Apr 2016 13:55:00 -0400 Received: from mail-oi0-f53.google.com ([209.85.218.53]:32814 "EHLO mail-oi0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751047AbcDRRy7 (ORCPT ); Mon, 18 Apr 2016 13:54:59 -0400 MIME-Version: 1.0 In-Reply-To: <20160418174855.GA1919607@devbig084.prn1.facebook.com> References: <09c4f19409012995595db6fd0a12f326c292af1a.1460422356.git.shli@fb.com> <20160418173253.GA1892997@devbig084.prn1.facebook.com> <20160418174855.GA1919607@devbig084.prn1.facebook.com> Date: Mon, 18 Apr 2016 10:54:58 -0700 Message-ID: Subject: Re: [RFC 1/2] time: workaround crappy hpet From: John Stultz To: Shaohua Li Cc: lkml , Thomas Gleixner , calvinowens@fb.com Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 922 Lines: 21 On Mon, Apr 18, 2016 at 10:48 AM, Shaohua Li wrote: > On Mon, Apr 18, 2016 at 10:42:38AM -0700, John Stultz wrote: >> I'm sort of on the edge of just adding a blacklist entry for the HPET >> on this hardware. I'm not sure its something that can be easily >> handled generically. I *hope* you only see this issue on one sort of >> hardware? > > Blacklist is a option for sure. We saw the issue in several machines, > but seems they are the same type. I hope we can have a defensive way to > handle such problem if it happens in other hardware. Yea. I'm not sure what can be done. Filtering -1 values from the HPET seems problematic for latency reasons. I'm not sure we should punish all the fine hardware w/o the issue just to try to detect the case where its bad. Especially as this is something particularly problematic to detect separately from other more common well known bad hardware. thanks -john