Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 952535 Details for
Bug 1158204
Booting Xen HVM 32 guest under AMD crashes with IP: [<c042e905>] load_microcode_amd+0x25/0x4a0
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
test patch
diff (text/plain), 1.42 KB, created by
Borislav Petkov
on 2014-10-31 16:05:13 UTC
(
hide
)
Description:
test patch
Filename:
MIME Type:
Creator:
Borislav Petkov
Created:
2014-10-31 16:05:13 UTC
Size:
1.42 KB
patch
obsolete
>diff --git a/arch/x86/kernel/cpu/microcode/amd_early.c b/arch/x86/kernel/cpu/microcode/amd_early.c >index 617a9e284245..36225c455f75 100644 >--- a/arch/x86/kernel/cpu/microcode/amd_early.c >+++ b/arch/x86/kernel/cpu/microcode/amd_early.c >@@ -348,6 +348,7 @@ int __init save_microcode_in_initrd_amd(void) > { > unsigned long cont; > enum ucode_state ret; >+ u8 *cont_va; > u32 eax; > > if (!container) >@@ -355,15 +356,20 @@ int __init save_microcode_in_initrd_amd(void) > > #ifdef CONFIG_X86_32 > get_bsp_sig(); >- cont = (unsigned long)container; >+ cont = (unsigned long)container; >+ cont_va = __va(container); > #else > /* > * We need the physical address of the container for both bitness since > * boot_params.hdr.ramdisk_image is a physical address. > */ >- cont = __pa(container); >+ cont = __pa(container); >+ cont_va = container; > #endif > >+ printk("cont: 0x%lx, cont_va: 0x%p, ramdisk: 0x%llx\n", >+ cont, cont_va, relocated_ramdisk); >+ > /* > * Take into account the fact that the ramdisk might get relocated and > * therefore we need to recompute the container's position in virtual >@@ -372,6 +378,10 @@ int __init save_microcode_in_initrd_amd(void) > if (relocated_ramdisk) > container = (u8 *)(__va(relocated_ramdisk) + > (cont - boot_params.hdr.ramdisk_image)); >+ else >+ container = cont_va; >+ >+ printk("final container: 0x%p\n", container); > > if (ucode_new_rev) > pr_info("microcode: updated early to new patch_level=0x%08x\n",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1158204
:
951519
|
952289
|
952290
|
952526
|
952527
| 952535 |
952587