Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933086AbbFIQey (ORCPT ); Tue, 9 Jun 2015 12:34:54 -0400 Received: from mail-by2on0110.outbound.protection.outlook.com ([207.46.100.110]:6112 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932843AbbFIQep (ORCPT ); Tue, 9 Jun 2015 12:34:45 -0400 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; X-WSS-ID: 0NPORDP-08-UF6-02 X-M-MSG: From: Aravind Gopalakrishnan To: , , CC: , , Subject: [PATCH 0/3] Updates to EDAC mce_amd_inj Date: Tue, 9 Jun 2015 11:45:14 -0500 Message-ID: <1433868317-18417-1-git-send-email-Aravind.Gopalakrishnan@amd.com> X-Mailer: git-send-email 2.4.0 MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11OLC010;1:xWs4L2LEZ4P4dUk7vZOlFWZ7TmR17H0V0anhGnT4uVHPivDGFaxFlHsbr+48vvoQ8CawuALLdfwetcC2ZIEvrC4dQj5VyWktvKQw0uMqiZH9K8pmYUuIqX9iPpTzrLOyJ9M/1VbA/tTeDs610bFePRXLqlpI0X02wJGmAZFAJNxN0cLgEx729119MgNRaSQKVbPkr3HZ8ziBuOUWuY3m4yYh/IU2Ymk8qDlAk/MtJzn74wcpVuKx7qWMIU0i9ltbNCGiLj5DLNuElJ5Jk3MHH87GwKF64f8wTF3LJvkeSY2NXTbtkESBvSWtw+IzUBKP X-Forefront-Antispam-Report: CIP:165.204.84.222;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(428002)(209900001)(189002)(199003)(15395725005)(5001770100001)(15975445007)(2420400003)(48376002)(50466002)(87936001)(53416004)(229853001)(106466001)(7110500001)(46102003)(36756003)(189998001)(62966003)(77156002)(50986999)(2201001)(19580395003)(86362001)(47776003)(77096005)(101416001)(50226001)(92566002)(105586002)(6606295002);DIR:OUT;SFP:1102;SCL:1;SRVR:BN3PR02MB1110;H:atltwp02.amd.com;FPR:;SPF:None;MLV:sfv;MX:1;A:1;LANG:en; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR02MB1110; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(520003)(5005006)(3002001);SRVR:BN3PR02MB1110;BCL:0;PCL:0;RULEID:;SRVR:BN3PR02MB1110; X-Forefront-PRVS: 06022AA85F X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2015 16:34:42.4615 (UTC) X-MS-Exchange-CrossTenant-Id: fde4dada-be84-483f-92cc-e026cbee8e96 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fde4dada-be84-483f-92cc-e026cbee8e96;Ip=[165.204.84.222];Helo=[atltwp02.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR02MB1110 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1950 Lines: 46 This is basically a V3 of the final 3 patches of an earlier patchset to update injection interfaces in mce_amd_inj. Here's a link to V2 of the original series: http://marc.info/?l=linux-edac&m=143327677901235&w=2 Patches 1-6 of above are currently in 'for-next' of bp.git Spinning this as a separate series as they needed to be rebased on top of CONFIG_X86_HT removal patch which made it into tip. Patch 1: Store number of nodes as a static global in amd.c No functional change. Patch 2: Provide accessor function to obtain the number of nodes per processor Patch 3: Modify injection mechanism for bank 4 errors. Since they are typically logged or reported only on NBC, we make sure that we inject on the correct core here. Since the earlier patches are split across tip and bp.git, this series is based on top of tip with EDAC patches merged from 'for-next' of bp.git Changes wrt V2 of the original series: - Rebase on top of CONFIG_X86_HT removal patch - Remove unnecessary amd_set_num_nodes() function (from patch 7 of original series) and simplify code. Current changes are in Patch 1 - And reword the commit message. - checkpatch with --strict threw couple of checks on Patch 3, fixed them - Update copyright info in mce_amd_inj.c Aravind Gopalakrishnan (3): x86, amd: Store number of nodes in a static global variable x86, amd: Provide accessor for number of nodes edac, mce_amd_inj: Inject errors on NBC for bank 4 errors arch/x86/include/asm/processor.h | 1 + arch/x86/kernel/cpu/amd.c | 23 ++++++++++++---- drivers/edac/mce_amd_inj.c | 57 +++++++++++++++++++++++++++++++++++++++- 3 files changed, 75 insertions(+), 6 deletions(-) -- 2.4.0 -- 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/