Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp1792879pxb; Wed, 9 Feb 2022 04:44:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJzdTksnwAfhiwqZgm+YVr3pSbP0b1KrIVD8EB1YspNcDTtD94hbB7T+It1q34vugdsF1AsL X-Received: by 2002:a05:6a00:21c6:: with SMTP id t6mr2067351pfj.81.1644410696125; Wed, 09 Feb 2022 04:44:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644410696; cv=none; d=google.com; s=arc-20160816; b=meU6d4i4MU+05HYzdk/Ra+r2NaYJpy463MVZO6FWOLSfo/JCv/h43ABOHrYYfkLi2V rYyhgJbjdXUk92G5cetkpInGbdndPdg5v3nVDQJCPnzhXZ9jT+ahOFlNW/3QTC4ziTT/ RX/zV4DVvBuBeX16yOkBXH2miXHd7JrS3Qzq2zDpVBqiERZTh4mnOzPriH22LxrAbyYn Ue3bRrgHHeyHcZb3i0C51CorPzqJRwRu1v5O9aSYct38p//Tfmw/PhwRc1VpPgTgKYTs h2LwGWS57HkWFMoE5zHRW5EbHMJjWp/1WscjMj2Yo2M8clHECQZPz3IPjGQkYnYS6wOr VfVw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature:dkim-signature; bh=I1UxFXVDdtsCDjZgHFf5AxR7egC3Pit8xnNYveVWhAc=; b=YVRt/j1bVab752F61JiD+hO/RmXWFRLUvDxc3WUPrtKomFkzqLOyaE+71KPi92A61R Z3dD2whdcww3wM/VZ9F9/tHaWq+7ROu7iyAfYS3iAthN66qQyg3FNSzHeleBnO4hpfYt bEPyrXQR+ADlCWKV++GjUHwRWmGd2fDjQ/4whvMjUY1Otf9kN7VRbY0jCuQa9/sIrlhg G1hlIilFnAJCFVAwYqwiwMDWi82WlCEeZ5eAZWjgQzvpwIyK33pgJPxkKOwq8CnT4GqO GmXSXr036NPBKmwpkp1aCK8phW6um3AfWNsgf4RKcY7pLBAO/g1mu2tQ2yB3V9gQGXw9 CgJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=j+9Jdm6o; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=Jp+95xuu; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id i6si4929758pgo.770.2022.02.09.04.44.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Feb 2022 04:44:56 -0800 (PST) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=j+9Jdm6o; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=Jp+95xuu; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EF8EBE051121; Wed, 9 Feb 2022 02:27:28 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235727AbiBIHEP (ORCPT + 99 others); Wed, 9 Feb 2022 02:04:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235596AbiBIHEK (ORCPT ); Wed, 9 Feb 2022 02:04:10 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE184C0613CB; Tue, 8 Feb 2022 23:04:13 -0800 (PST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 8AF6A1F390; Wed, 9 Feb 2022 07:04:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1644390252; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I1UxFXVDdtsCDjZgHFf5AxR7egC3Pit8xnNYveVWhAc=; b=j+9Jdm6onqPTFjKCVI/vgmxCixrmBCPIPSs9hcZJ6QhQyR2P2njU8D4k7eh+89C8Pm/AbO yXN75K04SjBYTM7YPgq4xjd1Apn/J9pdlCslZ6oqIFXDF6GkxP4OQFbUoSQiE3D/pVFvst iDB+sBufU64r0Ek4BR/FB4Aqrwfq9xc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1644390252; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=I1UxFXVDdtsCDjZgHFf5AxR7egC3Pit8xnNYveVWhAc=; b=Jp+95xuu4T8ipI1FBSyp5W5LN9QQESji3skTAg1hN2dQc6d2qagkl1dRhZu0585/ic2+eI faQEpSFsGgRBuXCQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 0149913487; Wed, 9 Feb 2022 07:04:11 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id FNi2OWtnA2L0fQAAMHmgww (envelope-from ); Wed, 09 Feb 2022 07:04:11 +0000 Date: Wed, 9 Feb 2022 08:04:10 +0100 From: Jean Delvare To: Terry Bowman Cc: linux@roeck-us.net, linux-watchdog@vger.kernel.org, linux-i2c@vger.kernel.org, wsa@kernel.org, andy.shevchenko@gmail.com, rafael.j.wysocki@intel.com, linux-kernel@vger.kernel.org, wim@linux-watchdog.org, rrichter@amd.com, thomas.lendacky@amd.com, sudheesh.mavila@amd.com, Nehal-bakulchandra.Shah@amd.com, Basavaraj.Natikar@amd.com, Shyam-sundar.S-k@amd.com, Mario.Limonciello@amd.com Subject: Re: [PATCH v4 0/9] i2c: piix4: Replace cd6h/cd7h port I/O accesses with MMIO accesses Message-ID: <20220209080410.1e7dddd9@endymion.delvare> In-Reply-To: <27e60021-30cb-3b1c-f429-2618bf891e5e@amd.com> References: <20220130184130.176646-1-terry.bowman@amd.com> <20220208181114.180a99ba@endymion.delvare> <4ae57999-0f23-7578-008d-2009bc36d46b@amd.com> <20220208224653.6a62ba22@endymion.delvare> <27e60021-30cb-3b1c-f429-2618bf891e5e@amd.com> Organization: SUSE Linux X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, 8 Feb 2022 17:03:09 -0600, Terry Bowman wrote: > On 2/8/22 15:46, Jean Delvare wrote: > > If so, while there's indeed nothing to be done for the most recent > > systems where only MMIO access is possible, you may still need to > > enable MMIO access through legacy I/O if you try to use MMIO on > > chipsets where both are possible. I'm not sure what exactly where you > > set the limit. In the last patch you say that 0x51 is the first > > revision of the family 17h CPUs, but is family 17h the first where MMIO > > is available, or the first where legacy I/O isn't? > > Family 17h, SMBus PCI ID >= 0x51 is the first where cd6h/cd7h port I/O is disabled. > If SMBus PCI ID < 0x51 then cd6h/cd7h port I/O is used. OK, we are safe then :-) -- Jean Delvare SUSE L3 Support