02 Feb, 2006

6 commits

  • tpm_bios.c needs securityfs_xyz() functions.

    Does include/linux/security.h need stubs for these, or should
    char/tpm/Makefile just be modified to say:

    ifdef CONFIG_ACPI
    ifdef CONFIG_SECURITY
    obj-$(CONFIG_TCG_TPM) += tpm_bios.o
    endif
    endif

    drivers/char/tpm/tpm_bios.c:494: warning: implicit declaration of function 'securityfs_create_dir'
    drivers/char/tpm/tpm_bios.c:494: warning: assignment makes pointer from integer without a cast
    drivers/char/tpm/tpm_bios.c:499: warning: implicit declaration of function 'securityfs_create_file'
    drivers/char/tpm/tpm_bios.c:501: warning: assignment makes pointer from integer without a cast
    drivers/char/tpm/tpm_bios.c:508: warning: assignment makes pointer from integer without a cast
    drivers/char/tpm/tpm_bios.c:523: warning: implicit declaration of function 'securityfs_remove'
    *** Warning: "securityfs_create_file" [drivers/char/tpm/tpm_bios.ko] undefined!
    *** Warning: "securityfs_create_dir" [drivers/char/tpm/tpm_bios.ko] undefined!
    *** Warning: "securityfs_remove" [drivers/char/tpm/tpm_bios.ko] undefined!

    There are also some gcc and sparse warnings that could be fixed.
    (see http://www.xenotime.net/linux/doc/build-tpm.out)

    Signed-off-by: Randy Dunlap
    Cc: Serge Hallyn
    Cc: Greg KH
    Cc: Kylene Jo Hall
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • On alpha-jensen:

    CC drivers/base/platform.o
    In file included from include/linux/dma-mapping.h:24,
    from drivers/base/platform.c:16:
    include/asm/dma-mapping.h:36: warning: "struct scatterlist" declared inside parameter list
    include/asm/dma-mapping.h:36: warning: its scope is only this definition or declaration, which is probably not what you want

    Signed-off-by: Alexey Dobriyan
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexey Dobriyan
     
  • drivers/md/dm-table.c:500: warning: comparison of distinct pointer types lacks a cast

    Signed-off-by: Alasdair G Kergon
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alasdair G Kergon
     
  • Make the platform function interrupt functions actually work. Calls
    irq_enable() for the first in the list, and irq_disable() for the last.

    Added *func to struct irq_client so the the user can pass just that to
    pmf_unregister_irq_client().

    Signed-off-by: Ben Collins
    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ben Collins
     
  • While asynchronous reads mean a performance improvement in most cases, if
    the filesystem assumed that reads are synchronous, then async reads may
    degrade performance (filesystem may receive reads out of order, which can
    confuse it's own readahead logic).

    With sshfs a 1.5 to 4 times slowdown can be measured.

    There's also a need for userspace filesystems to know whether asynchronous
    reads are supported by the kernel or not.

    To achive these, negotiate in the INIT request whether async reads will be
    used and the maximum readahead value. Update interface version to 7.6

    If userspace uses a version earlier than 7.6, then disable async reads, and
    set maximum readahead value to the maximum read size, as done in previous
    versions.

    Signed-off-by: Miklos Szeredi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Miklos Szeredi
     
  • Here's the follow-up patch which introduces the prototypes for the new
    syscalls. There was also a typo in one of the new symbols.

    Signed-off-by: Ulrich Drepper
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ulrich Drepper
     

01 Feb, 2006

19 commits


28 Jan, 2006

1 commit


27 Jan, 2006

2 commits

  • Introduce PRF_DEVICE_FLUSH_LIST flag for older PROMs.

    Signed-off-by: Prarit Bhargava
    Signed-off-by: Tony Luck

    Prarit Bhargava
     
  • When the scsi_execute_async interface was added it ended up reducing
    the flexibility of userspace to send arbitrary scsi commands through
    sg using SG_IO. The SG_IO interface allows userspace to specify the
    CDB length. This is now ignored in scsi_execute_async and it is
    guessed using the COMMAND_SIZE macro, which is not always correct,
    particularly for vendor specific commands. This patch adds a cmd_len
    parameter to the scsi_execute_async interface to allow the caller
    to specify the length of the CDB.

    Signed-off-by: Brian King
    Signed-off-by: James Bottomley

    brking@us.ibm.com
     

26 Jan, 2006

2 commits


25 Jan, 2006

2 commits


24 Jan, 2006

2 commits


22 Jan, 2006

5 commits


21 Jan, 2006

1 commit

  • x86 defines __alignof__(long long) as 8 yet it gives 4
    for a struct containing a long long, ho hum... so my
    simplified form doesn't work everywhere.

    So use Harald Welte's original patch, which should work
    on all platforms.

    Signed-off-by: David S. Miller

    David S. Miller