Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp1165634rwl; Fri, 4 Nov 2022 10:29:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6z18eUUGxn3FIh5YHVlsU0qSTqw2Z2QhmqwUJBxBNJ2kvu9QU57wdIM5DdJQvqBL3u4+lv X-Received: by 2002:a17:90a:9a8f:b0:212:ea8d:dc34 with SMTP id e15-20020a17090a9a8f00b00212ea8ddc34mr56696416pjp.30.1667582955111; Fri, 04 Nov 2022 10:29:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667582955; cv=none; d=google.com; s=arc-20160816; b=AruNCsukro302i9CKp+bA9l1DQv3KI3TgaVFpykGl1mIOFAuR4t/DmNAtBC4dL9YxU qB0brIAhQ0eCJhtIpn3Orueh1ly2CPh5A78cpMuCc7R9vLds9CbXZeAaYvSInYG+wKK/ +IwY586Qtn4RHMvtZSERrDLWvzfJ0VQistSuh/zLaQ+Boab5FTMVUDu/uMEDTDzHnmoW Wp95ynZnEXgh6O7FCX75S7LxhYXcF91JnnJtHVdJiowM8+mIIZl2AHr6Q9BeRBpFniiX 6ezprIXrtoX6Piql3dzPK1bDZ7VZRrQUpVgGul2OXozKBW2EuJF5Pg2GiojKY6NgUrzq Ngpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=wgR2j5P13jHYPriKSk82BoOr1v52lamhI7VtUKWpGaI=; b=p5pKKMFN0MisAtlSvxwegh0PoklGEX5APidRRCnUWG7mB7hKD4aqMFW4UqaQBlhSIY 3eEeEYH10+7hMc3+esZTfxldS0H1n3Ai+WJz6/X5/K7RuK+KJ1bpscf4l+vxF3XU5yxd P4TSWeoCAdfdC4+T/QNqK1hs5e/YbTo3Uq4LiuUh+WdF0eAaOaqJOigCbaCE98k1tBXH bxNw9j4XkgqNeSTzf07l3eD6/AD6A0F6iO8uAz/RpxK9/8+IzHbQMoMezLDIVVfuWRQz utxlxOLz6w6X4GGtHM83todzsKgpKj0wsNolVGSUQK3CRl+xzJH4V8UGQaGb/P7aEyHB 7SuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Pd+JiAoP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i3-20020a6551c3000000b0046b2bef339csi55830pgq.257.2022.11.04.10.29.02; Fri, 04 Nov 2022 10:29:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=Pd+JiAoP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230193AbiKDRX2 (ORCPT + 97 others); Fri, 4 Nov 2022 13:23:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231443AbiKDRXD (ORCPT ); Fri, 4 Nov 2022 13:23:03 -0400 Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2E854386F; Fri, 4 Nov 2022 10:22:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1667582556; x=1699118556; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=efPIZNMJfQFj5AFyIXMUtT8fAkFrSQrZCsQAcNWzKCI=; b=Pd+JiAoPrudQZKx0vCNv37Xc5aP/USBTJDjpHxRByekMEZN0pYAf8LH7 xzdByA0wNxQAslSe7cki48ROzpCcgIwjWHcqWr8SxC4gZVJR2GrYlVA+9 UpP1olSBH6AQSVBfSAj4Mo9/EA9rTiOmpxFpof8RowhAWQhpcq+eaYpEP D0wqwcR4Ifadmr/czXk84QIAHZTq311ofmaDsKC/gsaMbzoWSPQRMdSlH 0FX5bF48o3/T+jKQcubyo/Hk/F1GBEq+pmnghtQZwda+sj8UvHJrNmuDL 51ONjkPP7JQbdCZtAelrHOZSWw1ks1onVUrgi5vOV+XyFbh5kZNnfP9bE g==; X-IronPort-AV: E=McAfee;i="6500,9779,10521"; a="290411543" X-IronPort-AV: E=Sophos;i="5.96,138,1665471600"; d="scan'208";a="290411543" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2022 10:22:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10521"; a="704159400" X-IronPort-AV: E=Sophos;i="5.96,138,1665471600"; d="scan'208";a="704159400" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga004.fm.intel.com with ESMTP; 04 Nov 2022 10:22:34 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1or0On-007T0L-0o; Fri, 04 Nov 2022 19:22:33 +0200 Date: Fri, 4 Nov 2022 19:22:32 +0200 From: Andy Shevchenko To: "Limonciello, Mario" Cc: Hans de Goede , "platform-driver-x86@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Mark Gross , Jarkko Nikula Subject: Re: [PATCH v1 1/1] platform/x86: p2sb: Don't fail if unknown CPU is found Message-ID: References: <20221104154916.35231-1-andriy.shevchenko@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 X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Nov 04, 2022 at 03:58:22PM +0000, Limonciello, Mario wrote: > > -----Original Message----- > > From: Andy Shevchenko > > Sent: Friday, November 4, 2022 10:49 ... > > We have accessing P2SB from a very few places for quite known hardware. > > > > When a new SoC appears in intel-family.h it's not obvious that it needs > > to be added to p2sb.c as well. Instead, provide default BDF and refactor > > p2sb_get_devfn() to always succeed. If in the future we would need to > > exclude something, we may add a list of unsupported IDs. > > > > Without this change the iTCO on Intel Commet Lake SoCs became > > Isn't it "Comet Lake"? Right, thanks! In any case I would like to have Jarkko's Tested-by before proceeding with this. Hence v2 is warranted to appear. > > unavailable: > > > > i801_smbus 0000:00:1f.4: failed to create iTCO device -- With Best Regards, Andy Shevchenko