11 Jan, 2009

1 commit


10 Jan, 2009

39 commits

  • …git/tip/linux-2.6-tip

    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (36 commits)
    x86: fix section mismatch warnings in mcheck/mce_amd_64.c
    x86: offer frame pointers in all build modes
    x86: remove duplicated #include's
    x86: k8 numa register active regions later
    x86: update Alan Cox's email addresses
    x86: rename all fields of mpc_table mpc_X to X
    x86: rename all fields of mpc_oemtable oem_X to X
    x86: rename all fields of mpc_bus mpc_X to X
    x86: rename all fields of mpc_cpu mpc_X to X
    x86: rename all fields of mpc_intsrc mpc_X to X
    x86: rename all fields of mpc_lintsrc mpc_X to X
    x86: rename all fields of mpc_iopic mpc_X to X
    x86: irqinit_64.c init_ISA_irqs should be static
    Documentation/x86/boot.txt: payload length was changed to payload_length
    x86: setup_percpu.c fix style problems
    x86: irqinit_64.c fix style problems
    x86: irqinit_32.c fix style problems
    x86: i8259.c fix style problems
    x86: irq_32.c fix style problems
    x86: ioport.c fix style problems
    ...

    Linus Torvalds
     
  • * 'cpus4096-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    [IA64] fix typo in cpumask_of_pcibus()
    x86: fix x86_32 builds for summit and es7000 arch's
    cpumask: use work_on_cpu in acpi-cpufreq.c for read_measured_perf_ctrs
    cpumask: use work_on_cpu in acpi-cpufreq.c for drv_read and drv_write
    cpumask: use cpumask_var_t in acpi-cpufreq.c
    cpumask: use work_on_cpu in acpi/cstate.c
    cpumask: convert struct cpufreq_policy to cpumask_var_t
    cpumask: replace CPUMASK_ALLOC etc with cpumask_var_t
    x86: cleanup remaining cpumask_t ops in smpboot code
    cpumask: update pci_bus_show_cpuaffinity to use new cpumask API
    cpumask: update local_cpus_show to use new cpumask API
    ia64: cpumask fix for is_affinity_mask_valid()

    Linus Torvalds
     
  • Commit c4be0c1dc4cdc37b175579be1460f15ac6495e9a added the ability for
    write_super_lockfs to return errors, and renamed them to match. But
    btrfs didn't get converted.

    Do the minimal conversion to make it compile again.

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • The 'rb_first()', 'rb_last()', 'rb_next()' and 'rb_prev()' calls
    take a pointer to an RB node or RB root. They do not change the
    pointed objects, so add a 'const' qualifier in order to make life
    of the users of these functions easier.

    Indeed, if I have my own constant pointer &const struct my_type *p,
    and I call 'rb_next(&p->rb)', I get a GCC warning:

    warning: passing argument 1 of ‘rb_next’ discards qualifiers from pointer target type

    Signed-off-by: Artem Bityutskiy
    Signed-off-by: David Woodhouse
    Signed-off-by: Linus Torvalds

    Artem Bityutskiy
     
  • The sensor can be accessed via various buses. In particular, SPI, I²C
    and, on HP laptops, via a specific ACPI API (the only one currently
    supported). Separate this latest platform from the core of the sensor
    driver to allow support for the other bus type. The second, and more
    direct goal is actually to be able to merge this part with the
    hp-disk-leds driver, which has the same ACPI PNP number.

    Signed-off-by: Pavel Machek
    Signed-off-by: Eric Piel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Eric Piel
     
  • It removes XFS specific ioctl interfaces and request codes
    for freeze feature.

    This patch has been supplied by David Chinner.

    Signed-off-by: Dave Chinner
    Signed-off-by: Takashi Sato
    Cc: Dave Chinner
    Cc:
    Cc:
    Cc: Christoph Hellwig
    Cc: Dave Kleikamp
    Cc: Alasdair G Kergon
    Cc: Al Viro
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Takashi Sato
     
  • The ioctls for the generic freeze feature are below.
    o Freeze the filesystem
    int ioctl(int fd, int FIFREEZE, arg)
    fd: The file descriptor of the mountpoint
    FIFREEZE: request code for the freeze
    arg: Ignored
    Return value: 0 if the operation succeeds. Otherwise, -1

    o Unfreeze the filesystem
    int ioctl(int fd, int FITHAW, arg)
    fd: The file descriptor of the mountpoint
    FITHAW: request code for unfreeze
    arg: Ignored
    Return value: 0 if the operation succeeds. Otherwise, -1
    Error number: If the filesystem has already been unfrozen,
    errno is set to EINVAL.

    [akpm@linux-foundation.org: fix CONFIG_BLOCK=n]
    Signed-off-by: Takashi Sato
    Signed-off-by: Masayuki Hamaguchi
    Cc:
    Cc:
    Cc: Christoph Hellwig
    Cc: Dave Kleikamp
    Cc: Dave Chinner
    Cc: Alasdair G Kergon
    Cc: Al Viro
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Takashi Sato
     
  • Currently, ext3 in mainline Linux doesn't have the freeze feature which
    suspends write requests. So, we cannot take a backup which keeps the
    filesystem's consistency with the storage device's features (snapshot and
    replication) while it is mounted.

    In many case, a commercial filesystem (e.g. VxFS) has the freeze feature
    and it would be used to get the consistent backup.

    If Linux's standard filesystem ext3 has the freeze feature, we can do it
    without a commercial filesystem.

    So I have implemented the ioctls of the freeze feature.
    I think we can take the consistent backup with the following steps.
    1. Freeze the filesystem with the freeze ioctl.
    2. Separate the replication volume or create the snapshot
    with the storage device's feature.
    3. Unfreeze the filesystem with the unfreeze ioctl.
    4. Take the backup from the separated replication volume
    or the snapshot.

    This patch:

    VFS:
    Changed the type of write_super_lockfs and unlockfs from "void"
    to "int" so that they can return an error.
    Rename write_super_lockfs and unlockfs of the super block operation
    freeze_fs and unfreeze_fs to avoid a confusion.

    ext3, ext4, xfs, gfs2, jfs:
    Changed the type of write_super_lockfs and unlockfs from "void"
    to "int" so that write_super_lockfs returns an error if needed,
    and unlockfs always returns 0.

    reiserfs:
    Changed the type of write_super_lockfs and unlockfs from "void"
    to "int" so that they always return 0 (success) to keep a current behavior.

    Signed-off-by: Takashi Sato
    Signed-off-by: Masayuki Hamaguchi
    Cc:
    Cc:
    Cc: Christoph Hellwig
    Cc: Dave Kleikamp
    Cc: Dave Chinner
    Cc: Alasdair G Kergon
    Cc: Al Viro
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Takashi Sato
     
  • The code was shifting the endianness appropriately everywhere, annotate
    the structs to avoid the sparse warnings when assigning the endian types
    to the struct members, or passing them to be[16|32]_to_cpu:

    drivers/memstick/core/mspro_block.c:331:4: warning: cast to restricted __be16
    drivers/memstick/core/mspro_block.c:333:4: warning: cast to restricted __be16
    drivers/memstick/core/mspro_block.c:335:4: warning: cast to restricted __be16
    drivers/memstick/core/mspro_block.c:337:4: warning: cast to restricted __be16
    drivers/memstick/core/mspro_block.c:341:4: warning: cast to restricted __be16
    drivers/memstick/core/mspro_block.c:347:4: warning: cast to restricted __be32
    drivers/memstick/core/mspro_block.c:356:4: warning: cast to restricted __be16
    drivers/memstick/core/mspro_block.c:358:4: warning: cast to restricted __be16
    drivers/memstick/core/mspro_block.c:364:4: warning: cast to restricted __be16
    drivers/memstick/core/mspro_block.c:367:4: warning: cast to restricted __be16
    drivers/memstick/core/mspro_block.c:369:4: warning: cast to restricted __be16
    drivers/memstick/core/mspro_block.c:371:4: warning: cast to restricted __be16
    drivers/memstick/core/mspro_block.c:377:4: warning: cast to restricted __be16
    drivers/memstick/core/mspro_block.c:478:4: warning: cast to restricted __be16
    drivers/memstick/core/mspro_block.c:480:4: warning: cast to restricted __be16
    drivers/memstick/core/mspro_block.c:482:4: warning: cast to restricted __be16
    drivers/memstick/core/mspro_block.c:484:4: warning: cast to restricted __be16
    drivers/memstick/core/mspro_block.c:486:4: warning: cast to restricted __be16
    drivers/memstick/core/mspro_block.c:689:22: expected unsigned int [unsigned] [assigned] data_address
    drivers/memstick/core/mspro_block.c:689:22: got restricted __be32 [usertype]
    drivers/memstick/core/mspro_block.c:697:3: warning: cast to restricted __be32
    drivers/memstick/core/mspro_block.c:960:17: warning: incorrect type in initializer (different base types)
    drivers/memstick/core/mspro_block.c:960:17: expected unsigned short [unsigned] data_count
    drivers/memstick/core/mspro_block.c:960:17: got restricted __be16 [usertype]
    drivers/memstick/core/mspro_block.c:993:6: warning: cast to restricted __be16
    drivers/memstick/core/mspro_block.c:995:28: warning: cast to restricted __be16

    Signed-off-by: Harvey Harrison
    Cc: Alex Dubov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Compilation of the HP WMI hotkeys code results in the following:

    CC [M] drivers/platform/x86/hp-wmi.o
    drivers/platform/x86/hp-wmi.c: In function hp_wmi_bios_setup:
    drivers/platform/x86/hp-wmi.c:431: warning: ignoring return value of rfkill_register,
    declared with attribute warn_unused_result
    drivers/platform/x86/hp-wmi.c:441: warning: ignoring return value of rfkill_register,
    declared with attribute warn_unused_result
    drivers/platform/x86/hp-wmi.c:450: warning: ignoring return value of rfkill_register,
    declared with attribute warn_unused_result

    Signed-off-by: Larry Finger
    Cc: Matthew Garrett
    Cc: Len Brown
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Larry Finger
     
  • Requested by C. Lameter

    Signed-off-by: Andi Kleen
    Cc: Christoph Lameter
    Cc: Andi Kleen
    Cc: Rusty Russell
    Cc: Stephen Rothwell
    Cc: Mike Travis
    Cc: Ingo Molnar
    Cc: Richard Henderson
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andi Kleen
     
  • Kernels that don't support ELF coredumps at all surely can't be supporting
    new partial-segment flavored ELF coredumps ... don't make folk answer
    Kconfig questions about that flavor.

    Signed-off-by: David Brownell
    Acked-by: Roland McGrath
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Brownell
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/arjan/linux-2.6-async-2:
    async: make async a command line option for now
    partial revert of asynchronous inode delete

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6:
    Revert "driver core: create a private portion of struct device"
    Revert "driver core: move klist_children into private structure"
    Revert "driver core: move knode_driver into private structure"
    Revert "driver core: move knode_bus into private structure"

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
    firewire: core: fix sleep in atomic context due to driver core change

    Linus Torvalds
     
  • * git://git.infradead.org/mtd-2.6:
    [JFFS2] remove junk prototypes

    Linus Torvalds
     
  • * 'for_2.6.29' of git://git.kernel.org/pub/scm/linux/kernel/git/kkeil/ISDN-2.6: (28 commits)
    mISDN: Add HFC USB driver
    mISDN: Add layer1 prim MPH_INFORMATION_REQ
    mISDN: Fix kernel crash when doing hardware conference with more than two members
    mISDN: Added missing create_l1() call
    mISDN: Add MODULE_DEVICE_TABLE() to hfcpci
    mISDN: Minor cleanups
    mISDN: Create /sys/class/mISDN
    mISDN: Add missing release functions
    mISDN: Add different different timer settings for hfc-pci
    mISDN: Minor fixes
    mISDN: Correct busy device detection
    mISDN: Fix deactivation, if peer IP is removed from l1oip instance.
    mISDN: Add ISDN_P_TE_UP0 / ISDN_P_NT_UP0
    mISDN: Fix irq detection
    mISDN: Add ISDN sample clock API to mISDN core
    mISDN: Return error on E-channel access
    mISDN: Add E-Channel logging features
    mISDN: Use protocol to detect D-channel
    mISDN: Fixed more indexing bugs
    mISDN: Make debug output a little bit more verbose
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/pkl/squashfs-linus:
    MAINTAINERS: squashfs entry
    Squashfs: documentation
    Squashfs: initrd support
    Squashfs: Kconfig entry
    Squashfs: Makefiles
    Squashfs: header files
    Squashfs: block operations
    Squashfs: cache operations
    Squashfs: uid/gid lookup operations
    Squashfs: fragment block operations
    Squashfs: export operations
    Squashfs: super block operations
    Squashfs: symlink operations
    Squashfs: regular file operations
    Squashfs: directory readdir operations
    Squashfs: directory lookup operations
    Squashfs: inode operations

    Linus Torvalds
     
  • This reverts commit 2831fe6f9cc4e16c103504ee09a47a084297c0f3.

    Turns out that device_initialize shouldn't fail silently.
    This series needs to be reworked in order to get into proper
    shape.

    Reported-by: Stefan Richter
    Cc: Alan Cox
    Cc: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • This reverts commit 11c3b5c3e08f4d855cbef52883c266b9ab9df879.

    Turns out that device_initialize shouldn't fail silently.
    This series needs to be reworked in order to get into proper
    shape.

    Reported-by: Stefan Richter
    Cc: Alan Cox
    Cc: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • This reverts commit 93e746db183b3bdbbda67900f79b5835f9cb388f.

    Turns out that device_initialize shouldn't fail silently.
    This series needs to be reworked in order to get into proper
    shape.

    Reported-by: Stefan Richter
    Cc: Alan Cox
    Cc: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • This reverts commit b9daa99ee533578e3f88231e7a16784dcb44ec42.

    Turns out that device_initialize shouldn't fail silently.
    This series needs to be reworked in order to get into proper
    shape.

    Reported-by: Stefan Richter
    Cc: Alan Cox
    Cc: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • Due to commit 2831fe6f9cc4e16c103504ee09a47a084297c0f3, "driver core:
    create a private portion of struct device", device_initialize() can no
    longer be called from atomic contexts.

    We now defer it until after config ROM probing. This requires changes
    to the bus manager code because this may use a device before it was
    probed.

    Reported-by: Jay Fenlason
    Signed-off-by: Stefan Richter

    Stefan Richter
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-2.6-nommu:
    NOMMU: Support XIP on initramfs
    NOMMU: Teach kobjsize() about VMA regions.
    FLAT: Don't attempt to expand the userspace stack to fill the space allocated
    FDPIC: Don't attempt to expand the userspace stack to fill the space allocated
    NOMMU: Improve procfs output using per-MM VMAs
    NOMMU: Make mmap allocation page trimming behaviour configurable.
    NOMMU: Make VMAs per MM as for MMU-mode linux
    NOMMU: Delete askedalloc and realalloc variables
    NOMMU: Rename ARM's struct vm_region
    NOMMU: Fix cleanup handling in ramfs_nommu_get_umapped_area()

    Linus Torvalds
     
  • …s/security-testing-2.6

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6:
    CRED: Fix commit_creds() on a process that has no mm

    Linus Torvalds
     
  • * 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6:
    [S390] update documentation for hvc_iucv kernel parameter.
    [S390] hvc_iucv: Special handling of IUCV HVC devices
    [S390] hvc_iucv: Refactor console and device initialization
    [S390] hvc_iucv: Update function documentation
    [S390] hvc_iucv: Limit rate of outgoing IUCV messages
    [S390] hvc_iucv: Change IUCV term id and use one device as default
    [S390] Use unsigned long long for u64 on 64bit.
    [S390] qdio: fix broken pointer in case of CONFIG_DEBUG_FS is disabled
    [S390] vdso: compile fix
    [S390] remove code for oldselect system call
    [S390] types: add/fix types.h include in header files
    [S390] dasd: add device attribute to disable blocking on lost paths
    [S390] dasd: send change uevents for dasd block devices
    [S390] tape block: fix dependencies
    [S390] asm-s390/posix_types.h: drop __USE_ALL usage
    [S390] gettimeofday.S: removed duplicated #includes
    [S390] ptrace: no extern declarations for userspace

    Linus Torvalds
     
  • * 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds:
    leds: ledtrig-timer - on deactivation hardware blinking should be disabled
    leds: Add suspend/resume to the core class
    leds: Add WM8350 LED driver
    leds: leds-pcs9532 - Move i2c work to a workqueque
    leds: leds-pca9532 - fix memory leak and properly handle errors
    leds: Fix wrong loop direction on removal in leds-ams-delta
    leds: fix Cobalt Raq LED dependency
    leds: Fix sparse warning in leds-ams-delta
    leds: Fixup kdoc comment to match parameter names
    leds: Make header variable naming consistent
    leds: eds-pca9532: mark pca9532_event() static
    leds: ALIX.2 LEDs driver

    Linus Torvalds
     
  • * 'for-linus' of git://git.o-hand.com/linux-rpurdie-backlight:
    backlight: Rename the corgi backlight driver to generic
    backlight: add support for Toppoly TDO35S series to tdo24m lcd driver
    backlight: Add suspend/resume support to the backlight core
    bd->props.brightness doesn't reflect the actual backlight level.
    backlight: Support VGA/QVGA mode switching in tosa_lcd
    backlight: Catch invalid input in sysfs attributes
    backlight: Value of ILI9320_RGB_IF2 register should not be hardcoded
    backlight: crbllcd_bl - Use platform_device_register_simple()
    backlight: progear_bl - Use platform_device_register_simple()
    backlight: hp680_bl - Use platform_device_register_simple()

    Linus Torvalds
     
  • Enable support for USB ISDN TAs with Cologne Chip AG's
    HFC-S USB ISDN Controller.

    Signed-off-by: Martin Bachem
    Signed-off-by: Karsten Keil

    Karsten Keil
     
  • MPH_INFORMATION provides full D- and B-Channel status overview

    - new layer1 primitive: MPF_INFORMATON_REQ
    - layer1 replies with MPH_INFORMATION_IND containing
    - dch->[state,Flags,nrbchan]
    - bch[]->[protocol,Flags]
    - hardware driver should send MPH_INFORMATION_IND
    on all ph state changes and BChannel state changes to MISDN_ID_ANY

    Signed-off-by: Martin Bachem
    Signed-off-by: Karsten Keil

    Martin Bachem
     
  • Fix kernel crash when doing hardware conference with more than two members.
    Removed DTMF threshold notice when debugging is disabled.

    Signed-off-by: Andreas Eversberg
    Signed-off-by: Karsten Keil

    Andreas Eversberg
     
  • create_l1() was missed when changing mode to TE.

    Signed-off-by: Andreas Eversberg
    Signed-off-by: Karsten Keil

    Andreas Eversberg
     
  • Add missed table.

    Signed-off-by: Matthias Urlichs
    Signed-off-by: Karsten Keil

    Matthias Urlichs
     
  • Signed-off-by: Andreas Eversberg
    Signed-off-by: Karsten Keil

    Andreas Eversberg
     
  • Create /sys/class/mISDN and implement functions to handle
    device renames.

    Signed-Off-By: Matthias Urlichs
    Signed-off-by: Karsten Keil

    Matthias Urlichs
     
  • Add missing release function of ec-devices. Each device require a relase
    function now. All destruction (memory and list entry) must be done within
    the given release function of device, rather than after unregistering device.

    Signed-off-by: Andreas Eversberg
    Signed-off-by: Karsten Keil

    Andreas Eversberg
     
  • - Poll-timer can now be set from 8 to 256 samples, depending on your kernel.
    - If default or 128 is used, the normal controller's clock is used as before.
    Usage: modprobe hfcpci poll=XXX
    - Added some debug code for dsp buffer size. (CMX_DELAY_DEBUG)

    Signed-off-by: Andreas Eversberg
    Signed-off-by: Karsten Keil

    Andreas Eversberg
     
  • minor typo fix
    compiler warning fix

    Signed-off-by: Andreas Eversberg
    Signed-off-by: Karsten Keil

    Andreas Eversberg
     
  • Correct busy device detection.
    This fix belongs to last commit.

    Signed-off-by: Andreas Eversberg
    Signed-off-by: Karsten Keil

    Andreas Eversberg