From patchwork Mon Sep 16 18:18:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Bell, Bryan J" X-Patchwork-Id: 2899251 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 851BA9F1C0 for ; Mon, 16 Sep 2013 18:29:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B14E42024C for ; Mon, 16 Sep 2013 18:29:40 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 577192022D for ; Mon, 16 Sep 2013 18:29:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 281E9E7071 for ; Mon, 16 Sep 2013 11:29:39 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTP id 02A7CE603A for ; Mon, 16 Sep 2013 11:18:29 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 16 Sep 2013 11:18:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.90,917,1371106800"; d="scan'208";a="404179233" Received: from fmsmsx106.amr.corp.intel.com ([10.19.9.37]) by orsmga002.jf.intel.com with ESMTP; 16 Sep 2013 11:18:29 -0700 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX106.amr.corp.intel.com (10.19.9.37) with Microsoft SMTP Server (TLS) id 14.3.123.3; Mon, 16 Sep 2013 11:18:29 -0700 Received: from fmsmsx107.amr.corp.intel.com ([169.254.9.141]) by FMSMSX109.amr.corp.intel.com ([169.254.5.212]) with mapi id 14.03.0123.003; Mon, 16 Sep 2013 11:18:28 -0700 From: "Bell, Bryan J" To: "Widawsky, Benjamin" , "intel-gfx@lists.freedesktop.org" Thread-Topic: [PATCH 10/16] intel_l3_parity: Assert all GEN7+ support Thread-Index: AQHOsEIsdJJRE3v6eEC6kS1vqkv0qZnIsWDA Date: Mon, 16 Sep 2013 18:18:28 +0000 Message-ID: <45EA1CA55A8B924B8A73C0520E7232CB62FE874B@FMSMSX107.amr.corp.intel.com> References: <1379050122-12774-1-git-send-email-benjamin.widawsky@intel.com> <1379050122-12774-11-git-send-email-benjamin.widawsky@intel.com> In-Reply-To: <1379050122-12774-11-git-send-email-benjamin.widawsky@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.1.200.107] MIME-Version: 1.0 Cc: Ben Widawsky , "Widawsky, Benjamin" , "Venkatesh, Vishnu" Subject: Re: [Intel-gfx] [PATCH 10/16] intel_l3_parity: Assert all GEN7+ support X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP L3 dynamic parity is not supported on VLV. Please add the check for VLV. I can send you the email thread, if needed. --Thanks Bryan -----Original Message----- From: Ben Widawsky [mailto:benjamin.widawsky@intel.com] Sent: Thursday, September 12, 2013 10:29 PM To: intel-gfx@lists.freedesktop.org Cc: Venkatesh, Vishnu; Bell, Bryan J; Widawsky, Benjamin; Ben Widawsky Subject: [PATCH 10/16] intel_l3_parity: Assert all GEN7+ support Signed-off-by: Ben Widawsky --- tools/intel_l3_parity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.8.4 diff --git a/tools/intel_l3_parity.c b/tools/intel_l3_parity.c index 970dcd6..a3d268b 100644 --- a/tools/intel_l3_parity.c +++ b/tools/intel_l3_parity.c @@ -120,7 +120,7 @@ int main(int argc, char *argv[]) assert(ret != -1); fd = open(path, O_RDWR); - if (fd == -1 && IS_IVYBRIDGE(devid)) { + if (fd == -1 && intel_gen(devid) > 6) { perror("Opening sysfs"); exit(EXIT_FAILURE); } else if (fd == -1)