27 Sep, 2006

4 commits

  • IA32 manual says if micorcode update's size is 0, then the size is
    default size (2048 bytes). But this doesn't suggest all microcode
    update's size should be above 2048 bytes to me. We actually had a
    microcode update whose size is 1024 bytes. The patch just removed the
    check.

    Signed-off-by: Shaohua Li
    Cc: Tigran Aivazian
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Shaohua Li
     
  • Add sysfs support. Currently each CPU has three microcode related
    attributes. One is 'version' which shows current ucode version of CPU.
    Tools can use the attribute do validation or show CPU ucode status. one is
    'reload' which allows manually reloading ucode. Another is
    'processor_flags', which exports processor flags, so we can write tools to
    check if CPU has latest ucode. Also add suspend/resume and CPU hotplug
    support.

    [akpm@osdl.org: cleanups, build fix]
    [bunk@stusta.de: Kconfig fixes]
    Signed-off-by: Shaohua Li
    Acked-by: Tigran Aivazian
    Cc: Greg KH
    Signed-off-by: Adrian Bunk
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Shaohua Li
     
  • Using request_firmware to pull ucode from userspace, so we don't need the
    application 'microcode_ctl' to assist. We name each ucode file according
    to CPU's info as intel-ucode/family-model-stepping. In this way we could
    split ucode file as small one. This has a lot of advantages such as
    selectively update and validate microcode for specific models, better
    manage microcode file, easily write tools for administerators and so on.
    with the changes, we should put all intel-ucode/xx-xx-xx microcode files
    into the firmware dir (I had a tool to split previous big data file into
    small one and later we will release new style data file). The init script
    should be changed to just loading the driver without unloading

    Signed-off-by: Shaohua Li
    Acked-by: Tigran Aivazian
    Cc: Greg KH
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Shaohua Li
     
  • Clean up microcode update driver and make it more readable.

    [akpm@osdl.org: cleanups]
    Signed-off-by: Shaohua Li
    Acked-by: Tigran Aivazian
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Shaohua Li
     

27 Jun, 2006

1 commit


23 Jun, 2006

1 commit

  • When multiple updates matching a given CPU are found in the update file, the
    action taken by the microcode update driver was inappropriate:

    - when lower revision microcode was found before matching or higher revision
    one, the driver would needlessly complain that it would not downgrade the
    CPU
    - when microcode matching the currently installed revision was found before
    newer revision code, no update would actually take place

    To change this behavior, the driver now concludes about possibly updates and
    issues messages only when the entire input was parsed.

    Additionally, this adds back (in different places, and conditionalized upon
    a new module option) some messages removed by a previous patch.

    Signed-off-by: Jan Beulich
    Cc: "Siddha, Suresh B"
    Cc: Tigran Aivazian
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Beulich
     

29 Mar, 2006

1 commit


27 Mar, 2006

1 commit

  • Semaphore to mutex conversion.

    The conversion was generated via scripts, and the result was validated
    automatically via a script as well.

    Signed-off-by: Ingo Molnar
    Cc: Dave Jones
    Cc: Paul Mackerras
    Cc: Ralf Baechle
    Cc: Jens Axboe
    Cc: Neil Brown
    Acked-by: Alasdair G Kergon
    Cc: Greg KH
    Cc: Dominik Brodowski
    Cc: Adam Belay
    Cc: Martin Schwidefsky
    Cc: "David S. Miller"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     

26 Mar, 2006

1 commit


01 Mar, 2006

1 commit


12 Jan, 2006

2 commits


05 Sep, 2005

1 commit

  • i386 arch cleanup. Introduce the serialize macro to serialize processor
    state. Why the microcode update needs it I am not quite sure, since wrmsr()
    is already a serializing instruction, but it is a microcode update, so I will
    keep the semantic the same, since this could be a timing workaround. As far
    as I can tell, this has always been there since the original microcode update
    source.

    Signed-off-by: Zachary Amsden
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Zachary Amsden
     

17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds