Re: [PATCH V2 3/9] edac, mce_amd_inj: Modify flags attrigute to use string arguments

From: Aravind Gopalakrishnan
Date: Wed Jun 03 2015 - 12:24:41 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/