Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757892AbbFCQYj (ORCPT ); Wed, 3 Jun 2015 12:24:39 -0400 Received: from mail-bn1bon0143.outbound.protection.outlook.com ([157.56.111.143]:44352 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754797AbbFCQYb convert rfc822-to-8bit (ORCPT ); Wed, 3 Jun 2015 12:24:31 -0400 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; X-WSS-ID: 0NPDMWR-07-KWN-02 X-M-MSG: Message-ID: <556F2A37.9020102@amd.com> Date: Wed, 3 Jun 2015 11:24:23 -0500 From: Aravind Gopalakrishnan User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Borislav Petkov CC: , , , , Subject: Re: [PATCH V2 3/9] edac, mce_amd_inj: Modify flags attrigute to use string arguments References: <1433277362-10911-1-git-send-email-Aravind.Gopalakrishnan@amd.com> <1433277362-10911-4-git-send-email-Aravind.Gopalakrishnan@amd.com> <20150603145001.GL4403@pd.tnic> <556F1E9A.7030601@amd.com> <20150603160000.GN4403@pd.tnic> In-Reply-To: <20150603160000.GN4403@pd.tnic> Content-Type: text/plain; charset="utf-8"; format=flowed X-Originating-IP: [10.180.168.240] Content-Transfer-Encoding: 8BIT X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD055;1:vkCelpgUSt0lhIIf0FC+ysxguzy7too9ih5r6ML0gGeUO/9E0n7+czWrFmeXH1Zvtr4amToDqrL0IgUiobcs4VmF0DbZj6Off3OueOWGcgtl0yitXY5qqgpCwE6f7qB/pIjuUcSryAA701ZT/J3gGwFBTRNN2hX2ofOJ6oI3NGljlbE6aO9HKfL+WrMMKxA1BBUhyeqYhjRwmktNql9wBL68Mo50XrvaEHhPOtwHTUXoBAnPcEZxc8jF+equ+sR0k5MCfhfvNClxiUIjLUvw8A== X-Forefront-Antispam-Report: CIP:165.204.84.221;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(428002)(24454002)(479174004)(164054003)(199003)(189002)(51704005)(377454003)(33656002)(47776003)(65956001)(93886004)(83506001)(65816999)(19580395003)(120886001)(23676002)(65806001)(105586002)(64706001)(59896002)(50466002)(106466001)(54356999)(87266999)(101416001)(87936001)(2950100001)(68736005)(77096005)(110136002)(64126003)(4001540100001)(80316001)(50986999)(97736004)(5001860100001)(36756003)(5001920100001)(86362001)(4001350100001)(77156002)(62966003)(46102003)(5001830100001)(189998001)(92566002)(76176999);DIR:OUT;SFP:1102;SCL:1;SRVR:CY1PR02MB1120;H:atltwp01.amd.com;FPR:;SPF:None;PTR:InfoDomainNonexistent;A:1;MX:1;LANG:en; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR02MB1120; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(520003)(3002001);SRVR:CY1PR02MB1120;BCL:0;PCL:0;RULEID:;SRVR:CY1PR02MB1120; X-Forefront-PRVS: 05961EBAFC X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jun 2015 16:24:27.4278 (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.221];Helo=[atltwp01.amd.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR02MB1120 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1385 Lines: 38 On 6/3/2015 11:00 AM, Borislav Petkov wrote: > On Wed, Jun 03, 2015 at 10:34:50AM -0500, Aravind Gopalakrishnan wrote: >> Oddly, No. The only thing I got was: >> arch/x86/kernel/cpu/microcode/intel_early.c: In function >> âget_matching_model_microcode.isra.2.constprop.7â: >> arch/x86/kernel/cpu/microcode/intel_early.c:348:1: warning: the frame size >> of 1064 bytes is larger than 1024 bytes [-Wframe-larger-than=] >> } >> ^ > 32-bit? > > Because on 64-bit, that frame size is relaxed to 2K. > > config FRAME_WARN > int "Warn for stack frames larger than (needs gcc 4.4)" > range 0 8192 > default 1024 if !64BIT > default 2048 if 64BIT > Nope. But it's still set to 1K for me, and I think I know where the problem might have originated from.. I used a generic distro (Ubuntu) config as base when I first built the kernel, and I see that on Ubuntu's 'generic' configs, the value for FRAME_WARN is 1K. (Btw, I did install a 64-bit version of the distro on the system to begin with.. guess they just set it to 1K always) When I do make defconfig, this is set to 2K properly. Thanks, -Aravind -- 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/