Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753299AbbKWDgD (ORCPT ); Sun, 22 Nov 2015 22:36:03 -0500 Received: from mail-by2on0059.outbound.protection.outlook.com ([207.46.100.59]:35360 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753060AbbKWDf7 (ORCPT ); Sun, 22 Nov 2015 22:35:59 -0500 Authentication-Results: spf=none (sender IP is 165.204.84.222) smtp.mailfrom=amd.com; alien8.de; dkim=none (message not signed) header.d=none;alien8.de; dmarc=permerror action=none header.from=amd.com; X-WSS-ID: 0NY90NU-08-DHQ-02 X-M-MSG: Date: Mon, 23 Nov 2015 11:35:51 +0800 From: Huang Rui To: Denis Turischev CC: Guenter Roeck , Wim Van Sebroeck , "linux-watchdog@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Borislav Petkov" , Vincent Wan , Tony Li Subject: Re: [PATCH] sp5100_tco: Add AMD Mullins platform support Message-ID: <20151123033549.GA2666@hr-amur2> References: <564D9CB0.1090209@compulab.co.il> <20151120023322.GB21619@hr-amur2> <565182B0.9070604@compulab.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <565182B0.9070604@compulab.co.il> User-Agent: Mutt/1.5.21 (2010-09-15) X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:165.204.84.222;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(428002)(243025005)(479174004)(189002)(199003)(24454002)(377454003)(5008740100001)(19580395003)(19580405001)(110136002)(23726003)(97756001)(586003)(50986999)(83506001)(87936001)(16799955002)(50466002)(189998001)(105586002)(76176999)(46406003)(4001350100001)(54356999)(33656002)(33716001)(86362001)(101416001)(5007970100001)(2950100001)(77096005)(15975445007)(97736004)(92566002)(11100500001)(106466001)(47776003)(107986001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN4PR12MB0852;H:atltwp02.amd.com;FPR:;SPF:None;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BN4PR12MB0852;2:eYJzQ5L/wfsX9JH6eK09tiePQvy1Sn11mtOw1aN1gI95clS5PgXvCqSBwvypcIFsvsmMaOmLTFO5mZtgPgpOtzrcaixtUsxAmZvrI1gJVUMdhVnOA4/V/uix3bIAVYmOj3uWBUU0w9h40Y09g4B3Xw==;3:G6MDbfiuqcMZOjw2hLPpYPclxWCH9ME71zLjmsCO9TcDGV3Ik4J+34UQbNygbuQ/cUyIZE/Wq79Ynp9BaQ/gcU1ntOJuKjqWsk4fvpv4E66GblAn9wm637YbTcc3lDHALFMNfeVC3/n/MaYkyPdWnpdlVRZu81qerUykQuamX3ByWZGgAlJ3SH2BNylSCyrQlWJ9HhhSRExBhMitFT4NH5tJ8CmWnSQtbuUFC/ZYoi0=;25:BDsMY+wsQfD7TEkt7aRHo6PzjLLBllarCwDP5nGV0ki7VfqLH/+46MB0lP9H4Yxa6rx+G/svfpUsYOPUo+BfakdD63V0VSUzy7WejeOVkl9UACyS269e1+cJNW3PQTipCVykih4QG8Pryk/8RIrqA88i+048QkRAFTo8l2zhd1dDft+tXOIWpyWlgQ9hVREhBwDCU1lcv8K2m1SINwoBfUzJH308fqW8UqisY5HsylacqLAxqZu6lWWFV5OhYimpO6qy0CPR/pPSPke90WH+Iw== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN4PR12MB0852; X-Microsoft-Exchange-Diagnostics: 1;BN4PR12MB0852;20:a7cHeI+bCYJarSg1oFnSEEyGQLuYDTb9bMIAVkzCd4buoUzcyzC65vKeY6AIbygmrqfnl7ZjuDKTmL20w6rYjmcXSiVpUayzbXAvsZQcxnMro4JL8rh0yFcaPt4R4+TfZm8RS+yADltmgbqzfdH+lKmslQP2KJXn8QSfvson+vJoJX0rkm+/YLMS+XeQfK/Ult8rN9+34A5JaZ9k6Ex1c4CeTfo4NBE5GCpGSlisyLAA5xTDHYV393Rqqj3JOruhb5YqQdJyE31FlbucXbjZ7SgqGX6iSTzInvAz6q0eCfg4TtAYGICTomyB0QmixGiiv44jPhLqEYfGdK+E0//+EeeIO5vDA36N8VIqyhZQunkF8N+17BX9O1ixqve1xiOlDz9sgMZVuBspQgWId7iqoNN2bRPhSB3pnbrUlLLcbkLKMU9ocE75u4jla/jf7QTE+enmuCgGUXErknH5JcQtJT8NvpbCOxt838Oogsh7KiyxBBe9VahdFDWefoCoqoj4;4:KzcyVNc52QFEp0d8aKAySE8aOXgPMmak1zUscXbgjg3NgEEfzX/2Tkh24NQUdTYoO0Gj5NnFx/9llPkQEMJGw1cdrajpbSMxiWab0V1VPpWX8vjR+HBwD14tDGDzJ8E7+ngXiPgw/dsEXDB/3NUFx+7Hr6g1WytjXpu9YsU1A8fGvpt33gIjblkhFcyUxGzoEElDZky0sA7vzDHeN8phEcqDXU95fNUZYwPyhh1Knj60wyckioysCX0gT9LYkjnNFxWxv47GVqJIYftR2HjBrnx9KfEqRCFwJGAUoUwtdRAsXlJUTw8E6627tTrferm83XX+AeOBnq17GWmZ+fm6X33O5TBgKUjxziGmkYFt93h6SblHEUixMXnsNaZXPzuAazyxLgQKkNgCPcAlJguNZU6KBKaqU/ryD7SdPellFLE= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(5005006)(520078)(8121501046)(3002001)(10201501046);SRVR:BN4PR12MB0852;BCL:0;PCL:0;RULEID:;SRVR:BN4PR12MB0852; X-Forefront-PRVS: 07697999E6 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN4PR12MB0852;23:FVSsPHpxHxj4dsz5knUjEtgabZX8TjTz1b1yXhhZF?= =?us-ascii?Q?g9M0n4mMyPslBnfRbUWqYN3W3fWrZebI7dmNbZjt2AE8g1QIyNesn/EhWs6W?= =?us-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r0ybuhUzgVVXpI7z?= =?us-ascii?Q?BZbKnqzgXw9sMtpazU6YIQikwgx5CrHisJXNvdj8qe76VgwxftscRmsCqWWT?= =?us-ascii?Q?b5X4jBlNEOUKb4A4niU+6lXgfP+Spmrf2Kgi7uh147VK1JYJA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;BN4PR12MB0852;5:egDSKwq4Z62X7vztKQmdXCZp1eC9A69+7xSOG0dD8ji52C8LhqdAYwXUV1xCUDbA6HjEoD/6rDsDgFPVB7onXNluJxbVI+IjI7wh9N5Cp7G6WsREyyv+EH8vaWhWO9t2aN5E/2uewyNZ8AUfe6RCqA==;24:sHzng/dphgAy1yeA2WIG77ulIVuxL0JNrfssQ9S+SGZRg9Q6FdlY/Ldpc6pjwF2DL6UmmspgDMh77LzP2/GPAt6pwcdnge9AhGe8VRh/rk4=;20:C175PEVO4sMFlu9H3sX9LCWhOuw1GZt8ifF8Lk/hF/zw47sKBkiE0mJbEOwXEMLAH4sp0yjiLbwiEwfgbc2RRcr/KHj/fa1HvpdU7OkHk5wMN2LVsyKZ5faKRoVKuHPfmV3/BEYUT7v5g0r/hia7igd0Oxf1QGjcg9kdCpcrUMMkukD7w4re0jgJFsRPPqb6uyzb2IL5RxTEjBytN82S4KABmxUVLDK/rWpnfEx/1QGJF+lV6leaL4nN8vUquuiD SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Nov 2015 03:35:56.6096 (UTC) X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.222];Helo=[atltwp02.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN4PR12MB0852 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1626 Lines: 39 On Sun, Nov 22, 2015 at 10:54:08AM +0200, Denis Turischev wrote: > Hi Rui, > > On 11/20/2015 04:33 AM, Huang Rui wrote: > > Hi Denis, > > > > On Thu, Nov 19, 2015 at 05:56:00PM +0800, Denis Turischev wrote: > >> AMD Mullins watchdog is fully compatible to the previous Hudson chipset, > >> reuse the existent sp5100_tco driver. > >> > > > > Thank you to add this support! > > Actually, PCI_DEVICE_ID_AMD_HUDSON2_SMBUS is only the SMBus device id > > on AMD mullins but also on many other AMD platforms. Could you please > > share some test method to me, that I am glad to do some quick tests. :) > > My device is Compulabs's fitlet. It's a fanless mini PC, also known as mintbox mini. > http://fit-pc.com/wiki/index.php/Fit-PC_Product_Line:_fitlet > Processor's datasheet: > http://support.amd.com/TechDocs/52740_16h_Models_30h-3Fh_BKDG.pdf > > The dmesg output: > sp5100_tco: SP5100/SB800 TCO WatchDog Timer Driver v0.05 > sp5100_tco: PCI Revision ID: 0x42 > sp5100_tco: Using 0xfeb00000 for watchdog MMIO address > sp5100_tco: Last reboot was not triggered by watchdog. > sp5100_tco: initialized (0xffffc90000702000). heartbeat=60 sec (nowayout=0) > I verified it in my side. Thank you. :) And found AMD new Carrizo platform also supported sp5100_tco watchdog. I will send a patch to add support to KernCZ(Carrizo) chipset later. Tested-by: Huang Rui -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/