24 Jun, 2005

40 commits

  • The below patch passes samples from anonymous regions to userspace instead
    of just dropping them. This provides the support needed for reporting
    anonymous-region code samples (today: basic accumulated results; later:
    Java and other dynamically compiled code).

    As this changes the format, an upgrade to the just-released 0.9 release of
    the userspace tools is required.

    This patch is based upon an earlier one by Will Cohen

    Signed-off-by: John Levon
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    John Levon
     
  • tuner-core.c, tuner.h:

    - tuner-core changed to support multiple I2C devices used on some
    adapters;

    - Kconfig now has an option (CONFIG_TUNER_MULTI_I2C) to enable this new
    behavor;

    - By default, even enabling CONFIG_TUNER_MULTI_I2C, tuner-core emulates
    the old behavor, using first I2C device for both FM and TV;

    - There is a new i2c command (TUNER_SET_ADDR) to allow tuner clients to
    select I2C address for FM or TV tuner;

    - Tuner I2C dettach now generates a warning on syslog if failed.

    tuner-simple.c:

    - TVision TVF-8531MF and TVF-5533 MF tuner included. It uses, by
    default, I2C on 0xC2 address for TV and on 0xC0 for Radio. Both TV and
    FM Radio mode are working.

    Signed-off-by: Mauro Carvalho Chehab
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mauro Carvalho Chehab
     
  • Added support for the Broadcom BCM3510 ATSC (8VSB/16VSB & ITU J83 AnnexB FEC
    QAM64/256) demodulator used in the first generation of Air2PC ATSC
    PCI-cards/USB-boxes made by B2C2.

    Signed-off-by: Patrick Boettcher
    Signed-off-by: Johannes Stezenbach
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Johannes Stezenbach
     
  • Use time_after() macro.

    Signed-off-by: Marcelo Feitoza Parisi
    Signed-off-by: Domen Puncer
    Signed-off-by: Johannes Stezenbach
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Johannes Stezenbach
     
  • Fix error checking during initialization. Thanks to Gerolf Wendland for
    discovering.

    Signed-off-by: Patrick Boettcher
    Signed-off-by: Johannes Stezenbach
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Johannes Stezenbach
     
  • Add generalized dvb-usb driver which supports a wide variety of devices.

    Signed-off-by: Patrick Boettcher
    Signed-off-by: Johannes Stezenbach
    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Johannes Stezenbach
     
  • Remove the dibusb driver which has been obsoleted by the generalized dvb-usb
    driver.

    Signed-off-by: Patrick Boettcher
    Signed-off-by: Johannes Stezenbach
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Johannes Stezenbach
     
  • This patch updates all the device attribute callbacks that weren't
    updated with the new parameter, I guess because they weren't in Greg's
    tree (including drivers/pcmcia/ds.c). Without the patch these
    callbacks are probably broken (and generate a warning along the lines
    of "assignment from incompatible pointer type").

    Please see http://lkml.org/lkml/2005/5/19/40 for the scripts I used to
    update the attributes automatically.

    Signed-off-by: Yani Ioannou
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Yani Ioannou
     
  • LD .tmp_vmlinux1
    drivers/built-in.o: In function `i2o_cfg_parms':
    config-osm.c:(.text+0x12764a): undefined reference to `i2o_parm_issue'

    Cc: Markus Lidel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     
  • Set max sectors to 256 for Promise controllers.

    Signed-off-by: Markus Lidel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Markus Lidel
     
  • Lindent run and replaced printk() through the corresponding osm_*() function

    Signed-off-by: Markus Lidel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Markus Lidel
     
  • Changes:
    - Added header "core.h" for i2o_core.ko internal definitions
    - More sparse fixes
    - Changed display of TID's in sysfs attributes from XXX to 0xXXX
    - Use the right functions for accessing I/O and normal memory
    - Removed error handling of SCSI device errors and let the SCSI layer
    take care of it
    - Added new device / removed device handling to SCSI-OSM
    - Make status access volatile
    - Cleaned up activation of I2O controller
    - Removed unnecessary wmb() and rmb() calls
    - Use own struct i2o_io for I/O memory instead of struct i2o_dma

    Signed-off-by: Markus Lidel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Markus Lidel
     
  • Changes:
    - Provide SG_IO access to BLOCK and EXECUTIVE class on Adaptec
    controllers
    - Use PRIVATE messages in SCSI-OSM because on some controllers normal
    SCSI class commands like READ or READ CAPACITY cause errors
    - Use new DMA and SG list creation function
    - Added workaround to limit sectors per request for Adaptec 2400A
    controllers

    Signed-off-by: Markus Lidel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Markus Lidel
     
  • Changes:
    - Added Bus-OSM which could be used by user space programs to reset a
    channel on the controller
    - Make ioctl's in Config-OSM obsolete in prefer for sysfs attributes and
    move those to its own file
    - Added sysfs attribute for firmware read and write access for I2O
    controllers
    - Added special handling of firmware read and write access for Adaptec
    controllers
    - Added vendor id and product id as sysfs-attribute to Executive classes
    - Added automatic notification of LCT change handling to Exec-OSM
    - Added flushing function to Block-OSM for later barrier implementation
    - Use PRIVATE messages for Block access on Adaptec controllers, which are
    faster then BLOCK class access
    - Cleaned up support for Promise controller
    - New messages are now detected using the IRQ status register as
    suggested by the I2O spec
    - Added i2o_dma_high() and i2o_dma_low() functions
    - Added facility for SG tablesize calculation when using 32-bit and
    64-bit DMA addresses
    - Added i2o_dma_map_single() and i2o_dma_map_sg() which could build the
    SG list for 32-bit as well as 64-bit DMA addresses

    Signed-off-by: Markus Lidel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Markus Lidel
     
  • Changes:

    - Removed unnecessary checking of NULL before calling kfree()
    - Make some functions static
    - Changed pr_debug() into osm_debug()
    - Use i2o_msg_in_to_virt() for getting a pointer to the message frame
    - Cleaned up some comments
    - Changed some le32_to_cpu() into readl() where necessary
    - Make error messages of OSM's look the same
    - Cleaned up error handling in i2o_block_end_request()
    - Removed unused error handling of failed messages in Block-OSM, which
    are not allowed by the I2O spec
    - Corrected the blocksize detection in i2o_block
    - Added hrt and lct sysfs-attribute to controller
    - Call done() function in SCSI-OSM after freeing DMA buffers
    - Removed unneeded variable for message size calculation in
    i2o_scsi_queuecommand()
    - Make some changes to remove sparse warnings
    - Reordered some functions
    - Cleaned up controller initialization
    - Replaced some magic numbers by defines
    - Removed unnecessary dma_sync_single_for_cpu() call on coherent DMA
    - Removed some unused fields in i2o_controller and removed some unused
    functions

    Signed-off-by: Markus Lidel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Markus Lidel
     
  • Changes:

    - Fixed sysfs bug where user and parent links where added to the I2O
    device itself
    - Fixed bug when calculating TID for the event handler and cleaned up the
    workflow of i2o_driver_dispatch()
    - Fixed oops when no I2O device could be found for an event delivered to
    Exec-OSM
    - Fixed initialization of spinlock in Exec-OSM
    - Fixed memory leak in i2o_cfg_passthru() and i2o_cfg_passthru()
    - Removed MTRR support
    - Added PCI ID of Promise SX6000 with firmware >= 1.20.x.x
    - Turn of caching for ioremapped memory of in_queue
    - Added initialization sequence for Promise controllers
    - Moved definition of u8 / u16 / u32 for raidutils before first use

    Signed-off-by: Markus Lidel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Markus Lidel
     
  • Since after reconsideration this is more debug output than an error (the
    TPM is operating correctly given the current state) I have changed the
    statements to dbg rather than err.

    Also this patch corrects a memory leak if the error path is taken in the
    tpm_show_pubek function.

    Signed-off-by: Kylene Hall
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kylene Jo Hall
     
  • Signed-off-by: Kylene Hall
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kylene Hall
     
  • Realized the tpm_lpc_init function isn't really necessary. Replaced it
    with vendor specific logic to find out the address the BIOS mapped the TPM
    to. This patch removes the tpm_lpc_init function, enums associated with it
    and calls to it. The patch also implements the replacement functionality.

    Signed-off-by: Kylene Hall
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kylene Hall
     
  • Add support for TPMs on additional LPC buses.

    Signed-off-by: Kylene Hall
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kylene Hall
     
  • Add a missing lock in the register hardware and fix a misplaced lock release
    release.

    Signed-off-by: Kylene Hall
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kylene Hall
     
  • This patch provides the logic to check if an operation has been canceled while
    waiting for the response to arrive.

    Signed-off-by: Kylene Hall
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kylene Hall
     
  • In the current driver all sysfs files end up owned by the base driver module
    rather than the module that actually owns the device this is a problem if the
    module is unloaded and the file is open. This patch fixes all that and lumps
    the files into an attribute_group.

    Signed-off-by: Kylene Hall
    Signed-off-by: Yani Ioannou
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kylene Hall
     
  • Remove the unnecessary use of __force.

    Signed-off-by: Kylene Hall
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kylene Hall
     
  • Changes the container_of calls to 'to_pci_dev' as suggested previously.

    Signed-off-by: Kylene Hall
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kylene Hall
     
  • Fix the timer to be inited and modified properly. This work depends on the
    fixing of the msleep stuff which in patch 1 of this set.

    Signed-of-by: Kylene Hall

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

    Kylene Hall
     
  • Remove some large objects be declared on the the stack.

    Signed-off-by: Kylene Hall
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kylene Hall
     
  • Replace an erroneous return code for the read function when no data is
    available.

    Signed-of-by: Kylene Hall

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

    Kylene Hall
     
  • Description: Remove unnecessary (empty) module definitions.

    Signed-off-by: Kylene Hall
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kylene Hall
     
  • Add "const" to several static arrays that were missing it in their
    definitions.

    Signed-off-by: Kylene Hall
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kylene Hall
     
  • Convert #defines to named enums where that preference has been indicated by
    other kernel developers.

    Signed-off-by: Kylene Hall
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Kylene Hall
     
  • The TPM driver unnecessarily uses timers when it simply needs to maintain a
    maximum delay via time_before(). msleep() is used instead of
    schedule_timeout() to guarantee the task delays as expected. While
    compile-testing, I found a typo in the driver, using tpm_chp instead of
    tpm_chip. Remove the now unused timer callback function and change
    TPM_TIMEOUT's units to milliseconds. Patch is compile-tested.

    Signed-off-by: Nishanth Aravamudan
    Acked-by: Kylene Hall
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Nishanth Aravamudan
     
  • )

    From: Corey Minyard

    This contains the patch for supporting 32-bit compatible ioctls on x86_64
    systems. The current x86_64 driver will not work with 32-bit applications.

    Signed-off-by: Jordan Hargave
    Signed-off-by: Corey Minyard
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     
  • Don't use semaphores for IPC in the poweroff code, use completions instead.

    Signed-off-by: Corey Minyard
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Corey Minyard
     
  • This patch to adds "power cycle" functionality to the IPMI power off module
    ipmi_poweroff. It also contains changes to support procfs control of the
    feature.

    The power cycle action is considered an optional chassis control in the IPMI
    specification. However, it is definitely useful when the hardware supports
    it. A power cycle is usually required in order to reset a firmware in a bad
    state. This action is critical to allow remote management of servers.

    The implementation adds power cycle as optional to the ipmi_poweroff module.
    It can be modified dynamically through the proc entry mentioned above. During
    a power down and enabled, the power cycle command is sent to the BMC firmware.
    If it fails either due to non-support or some error, it will retry to send
    the command as power off.

    Signed-off-by: Christopher A. Poblete
    Signed-off-by: Corey Minyard
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Corey Minyard
     
  • Clean up the timer shutdown handling in the IPMI driver.

    Signed-off-by: Corey Minyard
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Corey Minyard
     
  • This cleans up the IPMI documentation to fix some problems and make it more
    accurate for the current drivers.

    Signed-off-by: Corey Minyard
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Corey Minyard
     
  • Make reiserfs BUG() when somebody tries to start a larger transaction than
    it's allowed (currently the code just silently deadlocks).

    Signed-off-by: Jan Kara
    Acked-by: Chris Mason
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Kara
     
  • The attached patches provides part 8 of an architecture implementation
    for the Tensilica Xtensa CPU series.

    Signed-off-by: Chris Zankel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Chris Zankel
     
  • The attached patches provides part 7 of an architecture implementation for the
    Tensilica Xtensa CPU series.

    Signed-off-by: Chris Zankel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Chris Zankel