Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp4393685pxb; Tue, 25 Jan 2022 09:22:45 -0800 (PST) X-Google-Smtp-Source: ABdhPJzn2mSh743VMHDLIkBItlJo/5gDcO/64VfH7SwDFVyu8jAnoUMXcXdoub7qDrdBmPeJfcoC X-Received: by 2002:aa7:db8d:: with SMTP id u13mr21466635edt.111.1643131364736; Tue, 25 Jan 2022 09:22:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643131364; cv=none; d=google.com; s=arc-20160816; b=kRXw6jABmkarSC3TWXC1iJTU7nwKIcV2rRJPvVKBnkefVKBMgGCB0gg3Ioye/i2pg/ eRYl8JHP1yaARR5aMpRzQYCXkCZLon2OMi2x8vfy3L64KLN/J8k5TUNAvIwfI0j78exg Hze3vdVSU24WEMv9iOiN0EGuSaygCz2/JQaUfeMtTNC2cD1wgAbHnQwGuJ4JJIULdnjO KXVgjy/9IbXyp18PDDeZGHD5xTfmGGMpCe1Ba6me0jSJlhdcQaQ6Tzq4QE0O2S4/ovK6 By9qt6gYlrmEt+IsyFKbSL5jzYeGTQZwhmtXgejbP/bFIngrj3Wkd3pCPICQYK22OSkW Xp/A== 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=GuvCUoMQeQ8ExblQico0vSd8Fo9ymvlCDvFGhydQyJE=; b=m+X72yUOoJYkWZFUjng+1og/qVcJWaZdxUfvG+SSW8d1G5eLDe/pBLiBnkQRUxqxpo chVt7afPfJUNqJl6nqURQeW+E3uA/X5Z1WNR1orRQ6gRvJt52HHBGz0/h2Dxi1GhRZnA eY1Fqt8qo2UDSHv3p/iCzujf4hPV84PrdxK0sojVeId7krebZNJhRagxRRp1iu1JmYfR KlbJgi693aIYS62o82+w5oFswYGjmrdU+dgcNjSDS5qzk1l53zwXEDBoGfQ5L3fbRYcH sEVsGCqH8L0Ov+Btm7YAp/jcRRQD+I73TTAEoUNaHZf5k71SaitAiS4fJ2SirawNnHWT F31Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=MsNUYOFz; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id he40si2002334ejc.403.2022.01.25.09.22.03; Tue, 25 Jan 2022 09:22:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=MsNUYOFz; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1456350AbiAYMq7 (ORCPT + 99 others); Tue, 25 Jan 2022 07:46:59 -0500 Received: from smtp-out2.suse.de ([195.135.220.29]:55548 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1453870AbiAYMn6 (ORCPT ); Tue, 25 Jan 2022 07:43:58 -0500 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 BA5371F397; Tue, 25 Jan 2022 12:43:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1643114636; 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=GuvCUoMQeQ8ExblQico0vSd8Fo9ymvlCDvFGhydQyJE=; b=MsNUYOFzaYK8fFUv9rsEs+L91soobIR+Z5Nk6qLIJ4bNdQxaFInuDAFKjWtBETwaJxB3mW ymtAtBlIrWsv2kX1E77BcQ3fJzrgwzAQrNAe5ggi7Eoy+bsNvfMXsuj+5rseyvoaw30HfQ 2c5GOooX/NoYlkMc7+RInt9pt0nMDZc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1643114636; 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=GuvCUoMQeQ8ExblQico0vSd8Fo9ymvlCDvFGhydQyJE=; b=XZ0/saN2AncO8DnvNKQYgk/IDQqAmpvhai0UuDniXnMAi2x0luXmY+2cSAXOaXQVEZUTWu 3AFjaegWR7lrSIAg== 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 0842013DDC; Tue, 25 Jan 2022 12:43:55 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 9B88O4vw72HvNAAAMHmgww (envelope-from ); Tue, 25 Jan 2022 12:43:55 +0000 Date: Tue, 25 Jan 2022 13:43:54 +0100 From: Jean Delvare To: Terry Bowman Cc: , , , , , , , , , , , , , Subject: Re: [PATCH v3 4/4] Watchdog: sp5100_tco: Enable Family 17h+ CPUs Message-ID: <20220125134354.4db24118@endymion> In-Reply-To: <20220118202234.410555-5-terry.bowman@amd.com> References: <20220118202234.410555-1-terry.bowman@amd.com> <20220118202234.410555-5-terry.bowman@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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Terry, On Tue, 18 Jan 2022 14:22:34 -0600, Terry Bowman wrote: > The driver currently uses a CPU family match of 17h to determine > EFCH_PM_DECODEEN_WDT_TMREN register support. This family check will not > support future AMD CPUs and instead will require driver updates to add > support. > > Remove the family 17h family check and add a check for SMBus PCI > revision ID 0x51 or greater. The MMIO access method has been available > since at least SMBus controllers using PCI revision 0x51. This revision > check will support family 17h and future AMD processors including EFCH > functionality without requiring driver changes. > > Co-developed-by: Robert Richter > Signed-off-by: Robert Richter > Signed-off-by: Terry Bowman > To: Guenter Roeck > To: linux-watchdog@vger.kernel.org > To: Jean Delvare > To: linux-i2c@vger.kernel.org > To: Wolfram Sang > To: Andy Shevchenko > To: Rafael J. Wysocki > Cc: linux-kernel@vger.kernel.org > Cc: Wim Van Sebroeck > Cc: Robert Richter > Cc: Thomas Lendacky > --- > drivers/watchdog/sp5100_tco.c | 16 ++++------------ > drivers/watchdog/sp5100_tco.h | 1 + > 2 files changed, 5 insertions(+), 12 deletions(-) > (...) Looks good to me. Reviewed-by: Jean Delvare -- Jean Delvare SUSE L3 Support