11 Jul, 2009

2 commits


24 Jun, 2009

1 commit

  • When the aes-intel module is loaded on a system that does not have the
    AES instructions, it prints

    Intel AES-NI instructions are not detected.

    at level KERN_ERR. Since aes-intel is aliased to "aes" it will be tried
    whenever anything uses AES and spam the console. This doesn't match
    existing practice for how to handle "no hardware" when initializing a
    module, so downgrade the message to KERN_INFO.

    Signed-off-by: Roland Dreier
    Signed-off-by: Herbert Xu

    Roland Dreier
     

18 Jun, 2009

12 commits

  • Just started running fips cavs test vectors through an s390x system
    for giggles, and discovered that I missed patching s390's arch-specific
    des3 implementation w/an earlier des3 patch to permit weak keys.

    This change adds the same flag tweaks as
    ad79cdd77fc1466e45cf923890f66bcfe7c43f12 (crypto: des3_ede - permit
    weak keys unless REQ_WEAK_KEY set) for s390's des3 implementation,
    yields expected test results now.

    Signed-off-by: Jarod Wilson
    Signed-off-by: Herbert Xu

    Jarod Wilson
     
  • kernel_fpu_begin/end used preempt_disable/enable, so sleep should be
    prevented between kernel_fpu_begin/end.

    Signed-off-by: Huang Ying
    Signed-off-by: Herbert Xu

    Huang Ying
     
  • Because AES-NI instructions will touch XMM state, corresponding code
    must be enclosed within kernel_fpu_begin/end, which used
    preempt_disable/enable. So sleep should be prevented between
    kernel_fpu_begin/end.

    Signed-off-by: Huang Ying
    Signed-off-by: Herbert Xu

    Huang Ying
     
  • Original implementation of aesni_cbc_dec do not save IV if input
    length % 4 == 0. This will make decryption of next block failed.

    Signed-off-by: Huang Ying
    Signed-off-by: Herbert Xu

    Huang Ying
     
  • ia64 was assigning resources to root busses after allocations had
    been made for child busses. Calling pcibios_setup_root_windows() from
    pcibios_fixup_bus() solves this problem by assigning the resources to
    the root bus before child busses are scanned.

    Signed-off-by: Matthew Wilcox
    Tested-by: Andrew Patterson
    Signed-off-by: Linus Torvalds

    Matthew Wilcox
     
  • Instead of open-coding pci_find_parent_resource and request_resource,
    just call pci_claim_resource.

    Signed-off-by: Matthew Wilcox
    Signed-off-by: Linus Torvalds

    Matthew Wilcox
     
  • This function was only used by pci_claim_resource(), and the last commit
    deleted that use.

    Signed-off-by: Matthew Wilcox
    Signed-off-by: Linus Torvalds

    Matthew Wilcox
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux-2.6:
    [IA64] Convert ia64 to use int-ll64.h
    [IA64] Fix build error in paravirt_patchlist.c
    [IA64] ia64 does not need umount2() syscall
    [IA64] hook up new rt_tgsigqueueinfo syscall
    [IA64] msi_ia64.c dmar_msi_type should be static
    [IA64] remove obsolete hw_interrupt_type
    [IA64] remove obsolete irq_desc_t typedef
    [IA64] remove obsolete no_irq_type
    [IA64] unexport fpswa.h

    Linus Torvalds
     
  • * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq:
    [CPUFREQ] cpumask: new cpumask operators for arch/x86/kernel/cpu/cpufreq/powernow-k8.c
    [CPUFREQ] cpumask: avoid playing with cpus_allowed in powernow-k8.c
    [CPUFREQ] cpumask: avoid cpumask games in arch/x86/kernel/cpu/cpufreq/speedstep-centrino.c
    [CPUFREQ] cpumask: avoid playing with cpus_allowed in speedstep-ich.c
    [CPUFREQ] powernow-k8: get drv data for correct CPU
    [CPUFREQ] powernow-k8: read P-state from HW
    [CPUFREQ] reduce scope of ACPI_PSS_BIOS_BUG_MSG[]
    [CPUFREQ] Clean up convoluted code in arch/x86/kernel/tsc.c:time_cpufreq_notifier()
    [CPUFREQ] minor correction to cpu-freq documentation
    [CPUFREQ] powernow-k8.c: mess cleanup
    [CPUFREQ] Only set sampling_rate_max deprecated, sampling_rate_min is useful
    [CPUFREQ] powernow-k8: Set transition latency to 1 if ACPI tables export 0
    [CPUFREQ] ondemand: Uncouple minimal sampling rate from HZ in NO_HZ case

    Linus Torvalds
     
  • Tony Luck
     
  • It is generally agreed that it would be beneficial for u64 to be an
    unsigned long long on all architectures. ia64 (in common with several
    other 64-bit architectures) currently uses unsigned long. Migrating
    piecemeal is too painful; this giant patch fixes all compilation warnings
    and errors that come as a result of switching to use int-ll64.h.

    Note that userspace will still see __u64 defined as unsigned long. This
    is important as it affects C++ name mangling.

    [Updated by Tony Luck to change efi.h:efi_freemem_callback_t to use
    u64 for start/end rather than unsigned long]

    Signed-off-by: Matthew Wilcox
    Signed-off-by: Tony Luck

    Matthew Wilcox
     
  • Andrew cleaned up some #include tangles in:
    commit 0d9c25dde878a636ee9a9b53923569171bf9a55b
    headers: move module_bug_finalize()/module_bug_cleanup() definitions into module.h

    which resulted in this build error for ia64:
    CC arch/ia64/kernel/paravirt_patchlist.o
    arch/ia64/kernel/paravirt_patchlist.c:43: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__initdata'
    arch/ia64/kernel/paravirt_patchlist.c:54: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'paravirt_get_gate_patchlist'
    arch/ia64/kernel/paravirt_patchlist.c:76: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'paravirt_get_gate_section'
    make[1]: *** [arch/ia64/kernel/paravirt_patchlist.o] Error 1

    The problem was that paravirt_patchlist.c was relying on some of the
    nested includes (specifically that linux/bug.h included linux/module.h

    Signed-off-by: Jes Sorensen
    Signed-off-by: Tony Luck

    Jes Sorensen
     

17 Jun, 2009

25 commits