Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-12-10 Thread H. Peter Anvin
On 12/10/2012 06:39 PM, Yinghai Lu wrote: No, you should not copy that several times. just pre-allocate some kbytes in BRK, and copy to there one time. He doesn't copy it several times. He just saves an offset into the initrd blob. -hpa -- To unsubscribe from this list: send

Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-12-10 Thread Yinghai Lu
On Mon, Dec 10, 2012 at 7:41 PM, H. Peter Anvin h...@zytor.com wrote: On 12/10/2012 06:39 PM, Yinghai Lu wrote: No, you should not copy that several times. just pre-allocate some kbytes in BRK, and copy to there one time. He doesn't copy it several times. He just saves an offset into the

Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-12-10 Thread H. Peter Anvin
On 12/10/2012 07:55 PM, Yinghai Lu wrote: And my suggestion is: after scan and find the ucode, save it to BRK, so don't need to adjust pointer again, and don't need to copy the blob and update the pointer again. That doesn't work if the microcode is replaced at runtime. However, vmalloc

Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-12-10 Thread Yinghai Lu
On Mon, Dec 10, 2012 at 10:34 PM, H. Peter Anvin h...@zytor.com wrote: That doesn't work if the microcode is replaced at runtime. However, vmalloc doesn't work either since 32 bits needs any one blob to be physically contiguous. I have suggested Fenghua replace it with a linked list of

RE: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-12-03 Thread Yu, Fenghua
> From: yhlu.ker...@gmail.com [mailto:yhlu.ker...@gmail.com] On Behalf Of > Yinghai Lu > On Fri, Nov 30, 2012 at 4:25 PM, tip-bot for Fenghua Yu > wrote: > > Commit-ID: 474355fe313391de2429ae225e0fb02f67ec6c31 > > Gitweb: > http://git.kernel.org/tip/474355fe313391de2429ae225e0fb02f67ec6c31 > >

RE: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-12-03 Thread Yu, Fenghua
From: yhlu.ker...@gmail.com [mailto:yhlu.ker...@gmail.com] On Behalf Of Yinghai Lu On Fri, Nov 30, 2012 at 4:25 PM, tip-bot for Fenghua Yu fenghua...@intel.com wrote: Commit-ID: 474355fe313391de2429ae225e0fb02f67ec6c31 Gitweb:

Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-11-30 Thread Yinghai Lu
On Fri, Nov 30, 2012 at 4:25 PM, tip-bot for Fenghua Yu wrote: > Commit-ID: 474355fe313391de2429ae225e0fb02f67ec6c31 > Gitweb: http://git.kernel.org/tip/474355fe313391de2429ae225e0fb02f67ec6c31 > Author: Fenghua Yu > AuthorDate: Thu, 29 Nov 2012 17:47:43 -0800 > Committer: H. Peter

[tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-11-30 Thread tip-bot for Fenghua Yu
Commit-ID: 474355fe313391de2429ae225e0fb02f67ec6c31 Gitweb: http://git.kernel.org/tip/474355fe313391de2429ae225e0fb02f67ec6c31 Author: Fenghua Yu AuthorDate: Thu, 29 Nov 2012 17:47:43 -0800 Committer: H. Peter Anvin CommitDate: Fri, 30 Nov 2012 15:18:16 -0800

[tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-11-30 Thread tip-bot for Fenghua Yu
Commit-ID: 474355fe313391de2429ae225e0fb02f67ec6c31 Gitweb: http://git.kernel.org/tip/474355fe313391de2429ae225e0fb02f67ec6c31 Author: Fenghua Yu fenghua...@intel.com AuthorDate: Thu, 29 Nov 2012 17:47:43 -0800 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Fri, 30 Nov 2012

Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-11-30 Thread Yinghai Lu
On Fri, Nov 30, 2012 at 4:25 PM, tip-bot for Fenghua Yu fenghua...@intel.com wrote: Commit-ID: 474355fe313391de2429ae225e0fb02f67ec6c31 Gitweb: http://git.kernel.org/tip/474355fe313391de2429ae225e0fb02f67ec6c31 Author: Fenghua Yu fenghua...@intel.com AuthorDate: Thu, 29 Nov 2012

<    1   2   3