|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH V3] x86, amd_ucode: Support multiple container files appended together
On 6/26/2014 11:01 AM, Boris Ostrovsky wrote: Neither will work as we will need to first advance buf 4 bytes.. (but I get your point) Regardless, this is not necessary. Let me clarify (below) But we don't actually need to parse the second container for reasons given in the previous thread. Example scenarios-1. Order of containers in initrd: f15h container, container for remaining families.
- equiv_cpu_id match for first container (surely you are on a f15h model)
- parse this container, find correct patch and try to apply
- No need to parse second container as it will not have patches for
f15h.
- no match for 1st container, but match on 2nd, then current
processor is in set [f10h,f14h]
- parse this container, find correct patch and try to apply
- no match on both.
- borked containers. So, abort.
2. Order of containers: container for families from f10h-f14h; container
for f15h
- equiv_cpu_id match for 1st container (surely you are on some family
in the set of [f10h, f14h])
- Parse container, find patch, try to apply
- No need to parse second container as it will not have patches for
f10h-f14h
- found match on 2nd, then current processor is a f15h model,
- parse container, find patch, try to apply
- no match
- borked container. So abort.
The process(,scripts) to create containers ensure that we only have
patches for f10h-f14h on 'microcode_amd.bin'
and patches for f15h models (could be different model/stepping values)
on microcode_amd_fam15h.bin
So it is safe to assume that we we only have a matching equiv_id in only one of the containers. -Aravind. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |