Received: by 10.213.65.68 with SMTP id h4csp479579imn; Sun, 25 Mar 2018 04:52:51 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/Hncq8SGvhc9P56tbHB2QcEOrJvpuIhw2EgXPp6PizMfIuoqcB2x0sNDq43zflqGQOaqHT X-Received: by 10.99.121.134 with SMTP id u128mr3054866pgc.360.1521978771739; Sun, 25 Mar 2018 04:52:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521978771; cv=none; d=google.com; s=arc-20160816; b=JScS53MUSQtPT+4eYn4cd/+8bJ1jPyelrSopcAMIUkctVaEbYqwsoqC45pFLLm/p0w plPcECc1BaciUAgdnS0msZXmdd/CsEDK0c05atS2hVEqzM0Qj5t1RD59Oq+5oVk1Zjsd OBH+tywrhKTX7JnnVEjci1a3gk3CfeFVDLGxtzgWDTCUEohiPEO7TgZ2YFGgU2bVxjcF NEIvzr1aeARboF+wnJEbHEkLO8PsngaddeYZM94NkUuWOZ0F5VEWnBOjDtuVj/bZWHkW vM3ACkeFMXhiP7v5Wa14Y92aq3q+64rJa/EZS20b2Jb5PIfat24mgttojaOUuFcGPFpc N3iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=KFqEBeXlzSbZ5Ep1lmKvCwfJwVraIGzkhS/2B7J0xOE=; b=RPj13HGfq/VKtU84CN9CaosSU7KPR0KdhDQQtXWGJB/k3LurwerpPZ9Ka0xLSlVkuA 0Kwu7W048tmPn0wWwhiaOBJ1rjT6N5X7zY6hueBBAkUNDl2sKYfF3MS65ixJLofk7ycu FFE6uZp/l46H3G9JVULmDNEhqDyCigIaoKtNTZGG0czZNHQzsM0BogeZtHEkxzDzsEMv yYfxHr8PgPpyWg0OWWuhCS6M2LWo9WP4TDkBRSG+U6vdgH08RDSXMMhwKScfS0hakAG+ Q3omFXDWi7HyFWIwxCOi0dCz/O0fFMRnGlIf1dit8j/7HyocpE6b4b/JOSy1t71vZqvI WOPA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p1si9854168pfp.213.2018.03.25.04.52.31; Sun, 25 Mar 2018 04:52:51 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752496AbeCYLuw (ORCPT + 99 others); Sun, 25 Mar 2018 07:50:52 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:43711 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752004AbeCYLuv (ORCPT ); Sun, 25 Mar 2018 07:50:51 -0400 Received: from p4fea5f09.dip0.t-ipconnect.de ([79.234.95.9] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1f04Ab-0001Y3-5X; Sun, 25 Mar 2018 13:50:41 +0200 Date: Sun, 25 Mar 2018 13:50:40 +0200 (CEST) From: Thomas Gleixner To: Anshuman Gupta cc: glx@linutronix.de, x86@kernel.org, mingo@redhat.com, hpa@zytor.com, rjw@rjwysocki.net, andriy.shevchenko@linux.intel.com, alan@linux.intel.com, linux-kernel@vger.kernel.org, rajneesh.bhardwaj@intel.com Subject: Re: [PATCH v3] x86: i8237: Register based on FADT legacy boot flag In-Reply-To: <1521714118-31282-1-git-send-email-anshuman.gupta@intel.com> Message-ID: References: <1521714118-31282-1-git-send-email-anshuman.gupta@intel.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 22 Mar 2018, Anshuman Gupta wrote: > From: Rajneesh Bhardwaj > > >From Skylake onwards, the platform controller hub (Sunrisepoint PCH) does > not support legacy DMA operations to IO ports 81h-83h, 87h, 89h-8Bh, 8Fh. > Currently this driver registers as syscore ops and its resume function is > called on every resume from S3. On Skylake and Kabylake, this causes a > resume delay of around 100ms due to port IO operations, which is a problem. > > This change allows to load the driver only when the platform bios > explicitly supports such devices or has a cut-off date earlier than 2017. Please explain WHY 2017 is the cut-off date. I still have no clue how that is decided aside of being a random number. Thanks, tglx