23 Sep, 2006

8 commits

  • * master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq:
    [CPUFREQ] sw_any_bug_dmi_table can be used on resume, so it isn't initdata
    [CPUFREQ] Fix some more CPU hotplug locking.
    [CPUFREQ] Workaround for BIOS bug in software coordination of frequency
    [CPUFREQ] Longhaul - Add voltage scaling to driver
    [CPUFREQ] Fix sparse warning in ondemand
    [CPUFREQ] make drivers/cpufreq/cpufreq_ondemand.c:powersave_bias_target() static
    [CPUFREQ] Longhaul - Add ignore_latency option
    [CPUFREQ] Longhaul - Disable arbiter
    [CPUFREQ][2/2] ondemand: updated add powersave_bias tunable
    [CPUFREQ][1/2] ondemand: updated tune for hardware coordination
    [CPUFREQ] Fix typo.

    Linus Torvalds
     
  • iommu_init() and iounit_init() are never called for sun4, but that's not
    enough - these calls should be ifdefed out since the functions in question
    simply do not exist for CONFIG_SUN4 kernel.

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     
  • Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     
  • Back when pci_dev had base_address[], loop of form
    base = &...->base_address[0];
    for (.....) {
    ...
    *base++ = addr;
    }
    was fine, but when that array got spread in ->resource[...].start
    replacing the initialization with
    base = &...->resource[0].start;
    was not a sufficient modification. IOW this code got broken for cases
    when there had been more than one resource to fill. All way back in
    2.3.41-pre3...

    Signed-off-by: Al Viro
    Signed-off-by: Linus Torvalds

    Al Viro
     
  • sw_any_bug_dmi_table can be used on resume, so it isn't initdata.

    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Dave Jones

    Jeremy Fitzhardinge
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (64 commits)
    [BLOCK] dm-crypt: trivial comment improvements
    [CRYPTO] api: Deprecate crypto_digest_* and crypto_alg_available
    [CRYPTO] padlock: Convert padlock-sha to use crypto_hash
    [CRYPTO] users: Use crypto_comp and crypto_has_*
    [CRYPTO] api: Add crypto_comp and crypto_has_*
    [CRYPTO] users: Use crypto_hash interface instead of crypto_digest
    [SCSI] iscsi: Use crypto_hash interface instead of crypto_digest
    [CRYPTO] digest: Remove old HMAC implementation
    [CRYPTO] doc: Update documentation for hash and me
    [SCTP]: Use HMAC template and hash interface
    [IPSEC]: Use HMAC template and hash interface
    [CRYPTO] tcrypt: Use HMAC template and hash interface
    [CRYPTO] hmac: Add crypto template implementation
    [CRYPTO] digest: Added user API for new hash type
    [CRYPTO] api: Mark parts of cipher interface as deprecated
    [PATCH] scatterlist: Add const to sg_set_buf/sg_init_one pointer argument
    [CRYPTO] drivers: Remove obsolete block cipher operations
    [CRYPTO] users: Use block ciphers where applicable
    [SUNRPC] GSS: Use block ciphers where applicable
    [IPSEC] ESP: Use block ciphers where applicable
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6: (44 commits)
    [S390] hypfs crashes with invalid mount option.
    [S390] cio: subchannel evaluation function operates without lock
    [S390] cio: always query all paths on path verification.
    [S390] cio: update path groups on logical CHPID changes.
    [S390] cio: subchannels in no-path state.
    [S390] Replace nopav-message on VM.
    [S390] set modalias for ccw bus uevents.
    [S390] Get rid of DBG macro.
    [S390] Use alternative user-copy operations for new hardware.
    [S390] Make user-copy operations run-time configurable.
    [S390] Cleanup in signal handling code.
    [S390] Cleanup in page table related code.
    [S390] Linux API for writing z/VM APPLDATA Monitor records.
    [S390] xpram off by one error.
    [S390] Remove kexec experimental flag.
    [S390] cleanup appldata.
    [S390] fix typo in vmcp.
    [S390] Kernel stack overflow handling.
    [S390] qdio slsb processing state.
    [S390] Missing initialization in common i/o layer.
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (114 commits)
    [POWERPC] Fix ohare IDE irq workaround on old powermacs
    [POWERPC] EEH: Power4 systems sometimes need multiple resets.
    [POWERPC] Include in arch/powerpc/sysdev/fsl_soc.h for phys_addr_t.
    [POWERPC] Demacrofy arch/powerpc/platforms/maple/pci.c
    [POWERPC] Maple U3 HT - reject inappropriate config space access
    [POWERPC] Fix IPIC pending register assignments
    [POWERPC] powerpc: fix building gdb against asm/ptrace.h
    [POWERPC] Remove DISCONTIGMEM cruft from page.h
    [POWERPC] Merge iSeries i/o operations with the rest
    [POWERPC] 40x: Fix debug status register defines
    [POWERPC] Fix compile error in sbc8560
    [POWERPC] EEH: support MMIO enable recovery step
    [POWERPC] EEH: enable MMIO/DMA on frozen slot
    [POWERPC] EEH: code comment cleanup
    [POWERPC] EEH: balance pcidev_get/put calls
    [POWERPC] PPC: Fix xmon stack frame address in backtrace
    [POWERPC] Add AT_PLATFORM value for Xilinx Virtex-4 FX
    [POWERPC] Start arch/powerpc/boot code reorganization
    [POWERPC] Define of_read_ulong helper
    [POWERPC] iseries: eliminate a couple of warnings
    ...

    Linus Torvalds
     

22 Sep, 2006

6 commits

  • On detection of an EEH error, some Power4 systems seem to occasionally
    want to be reset twice before they report themselves as fully recovered.
    This patch re-arranges the code to attempt additional resets if the first
    one doesn't take.

    Signed-off-by: Linas Vepstas
    Signed-off-by: Paul Mackerras

    Linas Vepstas
     
  • This patch causes fsl_soc.h to import the definition of phys_addr_t
    itself, rather than relying on its includer to do so.

    Signed-off-by: Scott Wood
    Signed-off-by: Paul Mackerras

    Scott Wood
     
  • Noticed that the U3_*CFA macros have some typos:

    #define U3_HT_CFA0(devfn, off) \
    ((((unsigned long)devfn) << 8) | offset)

    (refers to offset rather than off)

    #define U3_AGP_CFA0(devfn, off) \
    ((1 << (unsigned long)PCI_SLOT(dev_fn)) \
    | (((unsigned long)PCI_FUNC(dev_fn)) << 8) \

    (refers to dev_fn rather than devfn)

    Things happen to work, but there doesn't seem to be any reason these
    shouldn't be functions. Overall behavior should be unchanged.

    Signed-off-by: Nathan Lynch
    Signed-off-by: Paul Mackerras

    Nathan Lynch
     
  • When there is a PCI-X mode 2 capable device behind the HTPCI-X
    bridge, the pci core decides that the device has the extended 4K
    config space, even though the bus is not operating in mode 2. This is
    because the u3_ht pci ops silently accept offsets greater than 255 but
    use only the 8 least significant bits, which means reading at offset
    0x100 gets the data at offset 0x0, and causes confusion for lspci.

    Reject accesses to configuration space offsets greater than 255.

    Signed-off-by: Nathan Lynch
    Signed-off-by: Paul Mackerras

    Nathan Lynch
     
  • This patch fixes the assignment of pending registers to IRQ numbers for
    the IPIC; the code previously assigned all IRQs to the high pending word
    regardless of which word the interrupt belonged to.

    Signed-off-by: Scott Wood
    Signed-off-by: Paul Mackerras

    Scott Wood
     
  • This patch changes the io operations so that they are out of line if
    CONFIG_PPC_ISERIES is set and includes a firmware feature check in
    that case.

    Signed-off-by: Stephen Rothwell
    Signed-off-by: Paul Mackerras

    Stephen Rothwell
     

21 Sep, 2006

13 commits

  • The following fixes compile errors in sbc8560.

    Signed-off-by: Amy Fong
    Signed-off-by: Paul Mackerras

    Amy Fong
     
  • Update to the PowerPC PCI error recovery code.

    Add code to enable MMIO if a device driver reports that it is capable
    of recovering on its own. One anticipated use of this having a device
    driver enable MMIO so that it can take a register dump, which might
    then be followed by the device driver requesting a full reset.

    Signed-off-by: Linas Vepstas
    Signed-off-by: Paul Mackerras

    Linas Vepstas
     
  • Add wrapper around the rtas call to enable MMIO or DMA on a frozen pci
    slot.

    Signed-off-by: Linas Vepstas
    Signed-off-by: Paul Mackerras

    Linas Vepstas
     
  • Clean up subroutine documentation; mostly formatting changes, with
    some new content.

    Signed-off-by: Linas Vepstas
    Signed-off-by: Paul Mackerras

    Linas Vepstas
     
  • This corrects a pci_dev get/put imbalance that can occur only in
    highly unlikely situations (kmalloc failures, pci devices with
    overlapping resource addresses). No actual failures seen, this was
    spotted during code review.

    Signed-off-by: Linas Vepstas
    Signed-off-by: Paul Mackerras

    Linas Vepstas
     
  • The stack frame address was being printed incorrectly in the backtrace
    option of XMON on PPC. This patch fixes it to print the actual stack
    address instead of the address of the local variable that contains it.

    Signed-off-by: Josh Boyer
    Signed-off-by: Paul Mackerras

    Josh Boyer
     
  • Jakub noticed the cputable.c entry for Xilinx Virtex-4 FX was missing
    a .platform value, so the AT_PLATFORM value wouldn't be set correctly.
    This adds it.

    Signed-off-by: Peter Bergner
    Signed-off-by: Paul Mackerras

    Peter Bergner
     
  • This patch removes obsolete block operations of the simple cipher type
    from drivers. These were preserved so that existing users can make a
    smooth transition. Now that the transition is complete, they are no
    longer needed.

    Signed-off-by: Herbert Xu

    Herbert Xu
     
  • This patch adds block cipher algorithms for S390. Once all users of the
    old cipher type have been converted the existing CBC/ECB non-block cipher
    operations will be removed.

    Signed-off-by: Herbert Xu

    Herbert Xu
     
  • Accelerated versions of crypto algorithms must carry a distinct driver name
    and priority in order to distinguish themselves from their generic counter-
    part.

    Signed-off-by: Herbert Xu

    Herbert Xu
     
  • Now that the tfm is passed directly to setkey instead of the ctx, we no
    longer need to pass the &tfm->crt_flags pointer.

    This patch also gets rid of a few unnecessary checks on the key length
    for ciphers as the cipher layer guarantees that the key length is within
    the bounds specified by the algorithm.

    Rather than testing dia_setkey every time, this patch does it only once
    during crypto_alloc_tfm. The redundant check from crypto_digest_setkey
    is also removed.

    Signed-off-by: Herbert Xu

    Herbert Xu
     
  • The patch passed the trycpt tests and automated filesystem tests.
    This rewrite resulted in some nice perfomance increase over my last patch.

    Short summary of the tcrypt benchmarks:

    Twofish Assembler vs. Twofish C (256bit 8kb block CBC)
    encrypt: -27% Cycles
    decrypt: -23% Cycles

    Twofish Assembler vs. AES Assembler (128bit 8kb block CBC)
    encrypt: +18% Cycles
    decrypt: +15% Cycles

    Twofish Assembler vs. AES Assembler (256bit 8kb block CBC)
    encrypt: -9% Cycles
    decrypt: -8% Cycles

    Full Output:
    http://homepages.tu-darmstadt.de/~fritschi/twofish/tcrypt-speed-twofish-c-x86_64.txt
    http://homepages.tu-darmstadt.de/~fritschi/twofish/tcrypt-speed-twofish-asm-x86_64.txt
    http://homepages.tu-darmstadt.de/~fritschi/twofish/tcrypt-speed-aes-asm-x86_64.txt

    Here is another bonnie++ benchmark with encrypted filesystems. Most runs maxed
    out the hd. It should give some idea what the module can do for encrypted filesystem
    performance even though you can't see the full numbers.

    http://homepages.tu-darmstadt.de/~fritschi/twofish/output_20060610_130806_x86_64.html

    Signed-off-by: Joachim Fritschi
    Signed-off-by: Herbert Xu

    Joachim Fritschi
     
  • The patch passed the trycpt tests and automated filesystem tests.
    This rewrite resulted in some nice perfomance increase over my last patch.

    Short summary of the tcrypt benchmarks:

    Twofish Assembler vs. Twofish C (256bit 8kb block CBC)
    encrypt: -33% Cycles
    decrypt: -45% Cycles

    Twofish Assembler vs. AES Assembler (128bit 8kb block CBC)
    encrypt: +3% Cycles
    decrypt: -22% Cycles

    Twofish Assembler vs. AES Assembler (256bit 8kb block CBC)
    encrypt: -20% Cycles
    decrypt: -36% Cycles

    Full Output:
    http://homepages.tu-darmstadt.de/~fritschi/twofish/tcrypt-speed-twofish-asm-i586.txt
    http://homepages.tu-darmstadt.de/~fritschi/twofish/tcrypt-speed-twofish-c-i586.txt
    http://homepages.tu-darmstadt.de/~fritschi/twofish/tcrypt-speed-aes-asm-i586.txt

    Here is another bonnie++ benchmark with encrypted filesystems. All runs with
    the twofish assembler modules max out the drivespeed. It should give some
    idea what the module can do for encrypted filesystem performance even though
    you can't see the full numbers.

    http://homepages.tu-darmstadt.de/~fritschi/twofish/output_20060611_205432_x86.html

    Signed-off-by: Joachim Fritschi
    Signed-off-by: Herbert Xu

    Joachim Fritschi
     

20 Sep, 2006

13 commits