Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3269599ybi; Fri, 5 Jul 2019 04:43:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqwsa7qCyLR/hnqM4DxsdK5BTRAhHb9C8tXVE/d2r2wkGo/F+l0TpQUnR3T8vvrbKnJxQnZP X-Received: by 2002:a65:6216:: with SMTP id d22mr4725540pgv.404.1562326996279; Fri, 05 Jul 2019 04:43:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562326996; cv=none; d=google.com; s=arc-20160816; b=lJNoRTlnw3RY0AFFV9LHk0RdBxpw+0xNCgsHIhIHRuxdwQh2CHWxf7sVQultLMo9kh feY8+Al5zTIyjnbV1vwAD9hdDR3oElwyte4Ikaz5otm54GcjOq3nVCijgIjktWufGIf7 xA3rLsvn1s0UfAlRB5o/FAWt75y2np3sm2kffJSGHnz/zQWKYsroE0UBeKO/D8bu9hLb sRPIfy9uQsl7p8i22NpcwT9LqZz1cESQO4vUtJ5QhNFeTfAF/tKqVXCO89ULDCLRm4W2 VMUIFLE5foy6OAbhyXFe1zo8FXX5pk/Z9d3T2qP9GgOTBEShDM9rN128VTvGHGxfHeXx NfgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=6sEiHvFZ8w/eeu3FBZ5CcG/Z8gGC/SRpiiIQBNepynk=; b=km6AinEN6AqSygDS3JLmCYpHY6rH6naWX/bnrLkwzmFKD01PN9SrB5cUlXwy7q0UhV 6O37g1kLayW9SWTm2ZNM2BY1IFKoSzkUunrs8RdMpT/Y14bxWRGae2lHl6I/sFBA9Rim heCR+oajc69yjLRamC1tp8drgUUL7EuL+7+in5w+GrMCzkHz3iwSFnXEDGDbZcFKHNqj NiXUArE0qgnaapOXnfcl0gfEaFeMFgzSjIEABQ8bQUtvriI3rbvezQ8Hn2v3KTBmvMmr KOV8lPd0vN9iZ4umvTGAjbXVB6dtbUGVTg7/KEiZIOu+OBnEYh71Yxr7tlV9HgiTFOEP YJQA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y2si8158046pgp.284.2019.07.05.04.43.00; Fri, 05 Jul 2019 04:43:16 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728724AbfGEK6V (ORCPT + 99 others); Fri, 5 Jul 2019 06:58:21 -0400 Received: from mga14.intel.com ([192.55.52.115]:64051 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728715AbfGEK6U (ORCPT ); Fri, 5 Jul 2019 06:58:20 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Jul 2019 03:58:19 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,454,1557212400"; d="scan'208";a="185152474" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.157]) by fmsmga001.fm.intel.com with SMTP; 05 Jul 2019 03:58:16 -0700 Received: by lahna (sSMTP sendmail emulation); Fri, 05 Jul 2019 13:58:15 +0300 Date: Fri, 5 Jul 2019 13:58:15 +0300 From: Mika Westerberg To: Yehezkel Bernat Cc: LKML , Andreas Noever , Michael Jamet , "Rafael J . Wysocki" , Len Brown , Lukas Wunner , Mario Limonciello , Anthony Wong , linux-acpi@vger.kernel.org Subject: Re: [PATCH 2/8] thunderbolt: Move NVM upgrade support flag to struct icm Message-ID: <20190705105815.GT2640@lahna.fi.intel.com> References: <20190705095800.43534-1-mika.westerberg@linux.intel.com> <20190705095800.43534-3-mika.westerberg@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 05, 2019 at 01:52:49PM +0300, Yehezkel Bernat wrote: > > @@ -2054,6 +2059,7 @@ struct tb *icm_probe(struct tb_nhi *nhi) > > case PCI_DEVICE_ID_INTEL_TITAN_RIDGE_2C_NHI: > > case PCI_DEVICE_ID_INTEL_TITAN_RIDGE_4C_NHI: > > icm->max_boot_acl = ICM_AR_PREBOOT_ACL_ENTRIES; > > + icm->can_upgrade_nvm = true; > > Shouldn't this be also !x86_apple_machine just like AR? > (For FR, we don't use ICM on Apple machines, as much as I remember, so it's fine > to enable it there unconditionally for ICM code path.) Yes, good point. I'll fix it up.