Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161878AbbKTCgH (ORCPT ); Thu, 19 Nov 2015 21:36:07 -0500 Received: from mail-bl2on0062.outbound.protection.outlook.com ([65.55.169.62]:53280 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934659AbbKTCgE (ORCPT ); Thu, 19 Nov 2015 21:36:04 -0500 Authentication-Results: spf=none (sender IP is 165.204.84.221) 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: 0NY3DVX-07-TF4-02 X-M-MSG: Date: Fri, 20 Nov 2015 10:33:23 +0800 From: Huang Rui To: Denis Turischev , Guenter Roeck CC: Wim Van Sebroeck , "linux-watchdog@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Borislav Petkov , Vincent Wan Subject: Re: [PATCH] sp5100_tco: Add AMD Mullins platform support Message-ID: <20151120023322.GB21619@hr-amur2> References: <564D9CB0.1090209@compulab.co.il> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <564D9CB0.1090209@compulab.co.il> User-Agent: Mutt/1.5.21 (2010-09-15) X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:165.204.84.221;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(2980300002)(428002)(199003)(164054003)(189002)(377424004)(24454002)(92566002)(76176999)(19580395003)(54356999)(23726002)(50466002)(586003)(19580405001)(77096005)(50986999)(2950100001)(33716001)(15975445007)(97736004)(86362001)(5007970100001)(101416001)(97756001)(5001770100001)(5008740100001)(46406003)(33656002)(87936001)(4001350100001)(105586002)(47776003)(4001150100001)(189998001)(83506001)(106466001)(107986001);DIR:OUT;SFP:1101;SCL:1;SRVR:SN1PR12MB0863;H:atltwp01.amd.com;FPR:;SPF:None;PTR:InfoDomainNonexistent;A:1;M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Sfs5IOHaHRgeQ5z97LaDeP2P6Ska0p1z+q0xMRrSk7Fsom5PT0M0l/10YNKwl7CMXAQkUmqVTPFKzuqgmnYxyTrrGXh0mbjYspzVSm6meYysPNRjzWMSxFRKrsD75DEVc12940mzWYelvgbZ7CfjZ6vLEYWIUdoJ9eUoftsxa9rTDqN8p5wGD2kkgrAmTcGKHPFwzjP4JuhgNuT8EqAig/oW9++ht8xpWP5ihcFFuGbXm720iF6NAA7Pz7/pAZrFo+aa19C931KfgHcQ6iUpExs9PS4ynXnSf6eW2Fx8M/GrQo4r2S67VJwNuVFc/NP3Yd23QvWrJBKA72f;4:qE6hfUrmZ83c7EJEF3PUrU5pmA6sUn+cdwipjTuEIKBkaUbZEO5rDd/5+6vRTwkH8RbhvkX/QZxSatvD85Qi7k0i2c7MHlsR4j7vs8CAKH+i278wP0oiBQxKBafPusavBjhLYIF4D+Sc8YW2owOzJRbA1/qAxAL1z/yD0mG4FEePAGGTxGvTOd/W+BZebdDAgI49yOLjePJWjwM9tWJ4sOAna7rQjIFNnYJz4hZxyUOn68eXYtMAC56F4higYzffZMcj9nD64NvScGaQXyQTWlKC8AEt3ZJMmvWX8jGX1yeJb/iB3JLkGf2ecKBgldfqRVYBfxRuqw+x/pvkEl5OWPImVwBqW7PFCM/DfUKFV5o8ZUTizRtyY26YhTTeVzUU/n9lAj7XrMHIh+FPLENKbQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(520078)(5005006)(10201501046)(3002001);SRVR:SN1PR12MB0863;BCL:0;PCL:0;RULEID:;SRVR:SN1PR12MB0863; X-Forefront-PRVS: 07665BE9D1 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;SN1PR12MB0863;23:U7eohbQSXx5dvgcTBkYLEmwFf2Cv0NlnEMz1nwleZ?= =?us-ascii?Q?qd9LpebNZEjMN23jGU9wsLnIC17py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vbn1EGWskrfvY5IOGggxaT7Dp/9PCo2TB4fRC0+54/EMSSWFSFKay1hKCiP?= =?us-ascii?Q?KUuQCU7c5fzR/fY42uLkHBhHcxmom+iX+/Z4mbyokzeCXkrANbUcgnFirhaC?= =?us-ascii?Q?xPgX5LcDdEEmdeb+KcLTwZgUF1R?= X-Microsoft-Exchange-Diagnostics: 1;SN1PR12MB0863;5:DyiMTHN2h8/b6QdPSpqFvg3L/rU2CQuTaF57qq/tULDTJiKOzqdKU3CislQnW+8p+EU6rajknFaqGgKZiEzALZtiw0nUsc7DeWGuIxClQPUhNY/RbkiTqfNDaOp8/rH0HmuYi7wF9dH9dFlPejjH8g==;24:J+/v7g1yFL9syujIEKWx34rtTT+iRs8i0+S5aAqOw7HY907jk8J6olAvoX1GweK4bDH85TXTUJMpt8UK518RKaKGLhecyYqGSA9DlUBMk/w=;20:9m1oLOf2in7oHA3SZuh3uV8th55rWN5UCmKAeJDsXzGjL+hih935Bs9U/4xvYhlXsCsgpgA0SiSYCp1PdWdYRPVpqD89Ho1bNvs4QNrhcnukwbf9Dkbeh0D37rfPn/Fjo/1rJCXgUVtwr4fYBkedK0mGQm1ZIkweXb2KAr7xzQcKKmaCDOt2YnK9IoncZJlONhmVks0JvN2mQLjhY4KwDJIrf8xg6o0a6VVP+vYBjCJXKaBjzKTftYng/rT/Ohpb SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Nov 2015 02:35:58.8375 (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.221];Helo=[atltwp01.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB0863 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1639 Lines: 39 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. :) Thanks, Rui > Signed-off-by: Denis Turischev > > diff -Nru linux-4.3.orig/drivers/watchdog/sp5100_tco.c linux-4.3/drivers/watchdog/sp5100_tco.c > --- linux-4.3.orig/drivers/watchdog/sp5100_tco.c 2015-11-02 02:05:25.000000000 +0200 > +++ linux-4.3/drivers/watchdog/sp5100_tco.c 2015-11-19 11:08:06.272777718 +0200 > @@ -306,6 +306,8 @@ > static const struct pci_device_id sp5100_tco_pci_tbl[] = { > { PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SBX00_SMBUS, PCI_ANY_ID, > PCI_ANY_ID, }, > + { PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_HUDSON2_SMBUS, PCI_ANY_ID, > + PCI_ANY_ID, }, > { 0, }, /* End of list */ > }; > MODULE_DEVICE_TABLE(pci, sp5100_tco_pci_tbl); > -- > 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/ -- 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/