25 Apr, 2008

2 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney/blackfin-2.6: (85 commits)
    Blackfin char driver for Blackfin on-chip OTP memory (v3)
    Blackfin Serial Driver: fix bug - use mod_timer to replace only add_timer.
    Blackfin Serial Driver: the uart break anomaly has been given its own number, so switch to it
    Blackfin Serial Driver: use BFIN_UART_NR_PORTS to help SIR driver in uart port.
    Blackfin Serial Driver: Fix bug - kernel hangs when accessing uart 0 on bf537 when booting u-boot and linux on uart 1
    Blackfin Serial Driver: punt unused lsr variable
    Blackfin Serial Driver: Enable IR function when user application (irattach /dev/ttyBFx -s) call TIOCSETD ioctl with line discipline N_IRDA
    [Blackfin] arch: add include/boot .gitignore files
    [Blackfin] arch: Functional power management support: Add support for cpu frequency scaling
    [Blackfin] arch: Functional power management support: Remove broken cpu frequency scaling drivers
    [Blackfin] arch: Equalize include files: Add PLL_DIV Masks
    [Blackfin] arch: Add a warning about the value of CLKIN.
    [Blackfin] arch: take DDR DEVWD into consideration as well for BF548
    [Blackfin] arch: Remove the circular buffering mechanism for exceptions
    [Blackfin] arch: lose unnecessary dependency on CONFIG_BFIN_ICACHE for MPU
    [Blackfin] arch: fix bug - before assign new channel to the map register, need clear the bits first.
    [Blackfin] arch: add Blackfin on-chip SIR IrDA driver support
    [Blackfin] arch: BF54x memsizes are in mbits, not mbytes
    [Blackfin] arch: try to remove condition that causes double fault, by checking current before it gets dereferenced
    [Blackfin] arch: Update anomaly list.
    ...

    Linus Torvalds
     
  • initial char driver for otp memory
    (only read supported atm ... needs real examples/docs for write support)

    v2-v3:
    - fixup __initdata with __initconst, as we are heading for 2.6.26

    Signed-off-by: Mike Frysinger
    Signed-off-by: Bryan Wu
    Acked-by: Jiri Slaby

    Mike Frysinger
     

24 Apr, 2008

1 commit

  • The recent irq cleanups for arch/arm/mach-integrator/time.c and
    drivers/char/mwave/tp3780i.c changed the request_irq() dev_id
    parameter, but neglected to change the matching free_irq() parameter,
    thus creating a bug upon irq de-registration.

    Given that the impetus for the changes is not yet accepted upstream,
    it is best to revert the irq cleanups.

    Mostly. A comment is added to time.c to reduce future confusion,
    of type that led to my time.c cleanup in the first place.

    Signed-off-by: Jeff Garzik

    Jeff Garzik
     

22 Apr, 2008

7 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/juhl/trivial: (24 commits)
    DOC: A couple corrections and clarifications in USB doc.
    Generate a slightly more informative error msg for bad HZ
    fix typo "is" -> "if" in Makefile
    ext*: spelling fix prefered -> preferred
    DOCUMENTATION: Use newer DEFINE_SPINLOCK macro in docs.
    KEYS: Fix the comment to match the file name in rxrpc-type.h.
    RAID: remove trailing space from printk line
    DMA engine: typo fixes
    Remove unused MAX_NODES_SHIFT
    MAINTAINERS: Clarify access to OCFS2 development mailing list.
    V4L: Storage class should be before const qualifier (sn9c102)
    V4L: Storage class should be before const qualifier
    sonypi: Storage class should be before const qualifier
    intel_menlow: Storage class should be before const qualifier
    DVB: Storage class should be before const qualifier
    arm: Storage class should be before const qualifier
    ALSA: Storage class should be before const qualifier
    acpi: Storage class should be before const qualifier
    firmware_sample_driver.c: fix coding style
    MAINTAINERS: Add ati_remote2 driver
    ...

    Fixed up trivial conflicts in firmware_sample_driver.c

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
    [HWRNG] omap: Minor updates
    [CRYPTO] kconfig: Ordering cleanup
    [CRYPTO] all: Clean up init()/fini()
    [CRYPTO] padlock-aes: Use generic setkey function
    [CRYPTO] aes: Export generic setkey
    [CRYPTO] api: Make the crypto subsystem fully modular
    [CRYPTO] cts: Add CTS mode required for Kerberos AES support
    [CRYPTO] lrw: Replace all adds to big endians variables with be*_add_cpu
    [CRYPTO] tcrypt: Change the XTEA test vectors
    [CRYPTO] tcrypt: Shrink the tcrypt module
    [CRYPTO] tcrypt: Change the usage of the test vectors
    [CRYPTO] api: Constify function pointer tables
    [CRYPTO] aes-x86-32: Remove unused return code
    [CRYPTO] tcrypt: Shrink speed templates
    [CRYPTO] tcrypt: Group common speed templates
    [CRYPTO] sha512: Rename sha512 to sha512_generic
    [CRYPTO] sha384: Hardware acceleration for s390
    [CRYPTO] sha512: Hardware acceleration for s390
    [CRYPTO] s390: Generic sha_update and sha_final
    [CRYPTO] api: Switch to proc_create()

    Linus Torvalds
     
  • …l/git/jgarzik/misc-2.6

    * 'irq-cleanups-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/misc-2.6:
    [ISDN] minor irq handler cleanups
    drivers/char: minor irq handler cleanups
    [PPC] minor irq handler cleanups
    [BLACKFIN] minor irq handler cleanups
    [SPARC] minor irq handler cleanups
    ARM minor irq handler cleanup: avoid passing unused info to irq

    Linus Torvalds
     
  • * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (202 commits)
    [POWERPC] Fix compile breakage for 64-bit UP configs
    [POWERPC] Define copy_siginfo_from_user32
    [POWERPC] Add compat handler for PTRACE_GETSIGINFO
    [POWERPC] i2c: Fix build breakage introduced by OF helpers
    [POWERPC] Optimize fls64() on 64-bit processors
    [POWERPC] irqtrace support for 64-bit powerpc
    [POWERPC] Stacktrace support for lockdep
    [POWERPC] Move stackframe definitions to common header
    [POWERPC] Fix device-tree locking vs. interrupts
    [POWERPC] Make pci_bus_to_host()'s struct pci_bus * argument const
    [POWERPC] Remove unused __max_memory variable
    [POWERPC] Simplify xics direct/lpar irq_host setup
    [POWERPC] Use pseries_setup_i8259_cascade() in pseries_mpic_init_IRQ()
    [POWERPC] Turn xics_setup_8259_cascade() into a generic pseries_setup_i8259_cascade()
    [POWERPC] Move xics_setup_8259_cascade() into platforms/pseries/setup.c
    [POWERPC] Use asm-generic/bitops/find.h in bitops.h
    [POWERPC] 83xx: mpc8315 - fix USB UTMI Host setup
    [POWERPC] 85xx: Fix the size of qe muram for MPC8568E
    [POWERPC] 86xx: mpc86xx_hpcn - Temporarily accept old dts node identifier.
    [POWERPC] 86xx: mark functions static, other minor cleanups
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-2.6: (36 commits)
    SCSI: convert struct class_device to struct device
    DRM: remove unused dev_class
    IB: rename "dev" to "srp_dev" in srp_host structure
    IB: convert struct class_device to struct device
    memstick: convert struct class_device to struct device
    driver core: replace remaining __FUNCTION__ occurrences
    sysfs: refill attribute buffer when reading from offset 0
    PM: Remove destroy_suspended_device()
    Firmware: add iSCSI iBFT Support
    PM: Remove legacy PM (fix)
    Kobject: Replace list_for_each() with list_for_each_entry().
    SYSFS: Explicitly include required header file slab.h.
    Driver core: make device_is_registered() work for class devices
    PM: Convert wakeup flag accessors to inline functions
    PM: Make wakeup flags available whenever CONFIG_PM is set
    PM: Fix misuse of wakeup flag accessors in serial core
    Driver core: Call device_pm_add() after bus_add_device() in device_add()
    PM: Handle device registrations during suspend/resume
    block: send disk "change" event for rescan_partitions()
    sysdev: detect multiple driver registrations
    ...

    Fixed trivial conflict in include/linux/memory.h due to semaphore header
    file change (made irrelevant by the change to mutex).

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6: (25 commits)
    avr32: Add hardware power-down function call
    avr32: add include/asm-avr32/serial.h
    avr32: don't offer PARPORT_PC
    avr32: don't offer CONFIG_GEN_RTC
    avr32: don't offer CONFIG_RTC
    add include/asm-avr32/xor.h
    avr32: Remove two unused #defines from mm/init.c
    avr32: Implement set_rate(), set_parent() and mode() for pll1
    avr32: Generic clockevents support
    avr32: Move sleep code into mach-at32ap
    avr32: Use constants from sysreg.h in asm.h
    avr32: Delete mostly unused header asm/intc.h
    avr32: start clocksource cleanup
    avr32: pass i2c board info through at32_add_device_twi
    avr32: cleanup - use _AC macro to define PAGE_SIZE
    Generate raw keyboard codes for AVR32 architecture
    atmel_usba_udc: Add support for AT91CAP9 UDPHS
    atmel_usba_udc: Add missing kfree() in usba_udc_remove()
    atmel_usba_udc: move endpoint declarations into platform data.
    atmel_usba_udc: Kill GPIO_PIN_NONE
    ...

    Linus Torvalds
     
  • The C99 specification states in section 6.11.5:

    The placement of a storage-class specifier other than at the
    beginning of the declaration specifiers in a declaration is an
    obsolescent feature.

    Signed-off-by: Tobias Klauser
    Signed-off-by: Jesper Juhl

    Tobias Klauser
     

21 Apr, 2008

2 commits

  • Minor cleanups to the OMAP RNG:

    - Comment update re RNG status:
    * yes, it works on 16xx; "rngtest" is quite happy
    * it's fast enough that polling vs IRQ is a non-issue
    - Get rid of BUG_ON
    - Help GCC not be stupid about inlining (object code shrink)
    - Remove "sparse" warning
    - Cope with new hotplug rule requiring "platform:" modalias

    And make the file header match kernel conventions.

    Signed-off-by: David Brownell
    Signed-off-by: Herbert Xu

    David Brownell
     
  • - remove always-false tests

    - don't overload 'irq' argument, pass data properly via dev_id

    - remove pointless casts from void*

    Signed-off-by: Jeff Garzik

    Jeff Garzik
     

20 Apr, 2008

5 commits

  • The struct class_device *dev_class is not used in the struct drm_head
    structure at all, so remove it as class_device is being removed entirely
    from the kernel.

    Cc: David Airlie
    Cc: Tony Jones
    Cc: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • After 2.6.24 there was a plan to make the PM core acquire all device
    semaphores during a suspend/hibernation to protect itself from
    concurrent operations involving device objects. That proved to be
    too heavy-handed and we found a better way to achieve the goal, but
    before it happened, we had introduced the functions
    device_pm_schedule_removal() and destroy_suspended_device() to allow
    drivers to "safely" destroy a suspended device and we had adapted some
    drivers to use them. Now that these functions are no longer necessary,
    it seems reasonable to remove them and modify their users to use the
    normal device unregistration instead.

    Signed-off-by: Rafael J. Wysocki
    Acked-by: Pavel Machek
    Signed-off-by: Greg Kroah-Hartman

    Rafael J. Wysocki
     
  • This patch fixes the following compile error:

    ...
    CC [M] drivers/char/genrtc.o
    /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/char/genrtc.c:58:21: error: asm/rtc.h: No such file or directory
    ...
    make[3]: *** [drivers/char/genrtc.o] Error 1

    Signed-off-by: Adrian Bunk
    Signed-off-by: Haavard Skinnemoen

    Adrian Bunk
     
  • This patch fixes the following compile error:

    ...
    CC [M] drivers/char/rtc.o
    In file included from /home/bunk/linux/kernel-2.6/git/linux-2.6/drivers/char/rtc.c:70:
    /home/bunk/linux/kernel-2.6/git/linux-2.6/include/linux/mc146818rtc.h:16:59: error: asm/mc146818rtc.h: No such file or directory
    ...
    make[3]: *** [drivers/char/rtc.o] Error 1

    Signed-off-by: Adrian Bunk
    Signed-off-by: Haavard Skinnemoen

    Adrian Bunk
     
  • This patchs adds the AVR32 architecture to the list of archs to generate a
    table of raw keyboard keycodes.

    Signed-off-by: Hans-Christian Egtvedt
    Signed-off-by: Haavard Skinnemoen

    Hans-Christian Egtvedt
     

19 Apr, 2008

2 commits


18 Apr, 2008

2 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/mingo/linux-2.6-kgdb:
    kgdb: always use icache flush for sw breakpoints
    kgdb: fix SMP NMI kgdb_handle_exception exit race
    kgdb: documentation fixes
    kgdb: allow static kgdbts boot configuration
    kgdb: add documentation
    kgdb: Kconfig fix
    kgdb: add kgdb internal test suite
    kgdb: fix several kgdb regressions
    kgdb: kgdboc pl011 I/O module
    kgdb: fix optional arch functions and probe_kernel_*
    kgdb: add x86 HW breakpoints
    kgdb: print breakpoint removed on exception
    kgdb: clocksource watchdog
    kgdb: fix NMI hangs
    kgdb: fix kgdboc dynamic module configuration
    kgdb: document parameters
    x86: kgdb support
    consoles: polling support, kgdboc
    kgdb: core
    uaccess: add probe_kernel_write()

    Linus Torvalds
     
  • polled console handling support, to access a console in an irq-less
    way while in debug or irq context.

    absolutely zero impact as long as CONFIG_CONSOLE_POLL is disabled.
    (which is the default)

    [ jan.kiszka@siemens.com: lots of cleanups ]
    [ mingo@elte.hu: redesign, splitups, cleanups. ]

    Signed-off-by: Jason Wessel
    Signed-off-by: Ingo Molnar
    Signed-off-by: Jan Kiszka
    Reviewed-by: Thomas Gleixner

    Jason Wessel
     

17 Apr, 2008

2 commits

  • The api for hardware random number generators is currently limited to
    devices that never fail. If the hardware is registered as a source for
    random numbers it has to work. This prevents the use of i/o based
    random number devices where the i/o might fail.

    Add a check for errors after the read from a hardware random number device.

    This patch is required to support large random numbers retrieved
    from the CEX2C cards on System z.

    Signed-off-by: Ralph Wuerthner
    Signed-off-by: Martin Schwidefsky
    Signed-off-by: Heiko Carstens

    Ralph Wuerthner
     
  • This fixes a potential bug at drivers/char/hvc_beat.c.
    - hvc_put_term_char routine will decrement "rest" variable twice,
    and forget to advance "buf" pointer by "nlen" bytes.
    This bug was not hit previously because the output handler in
    drivers/char/hvc_console.c splits given output into 16 bytes
    at maximum.

    Reported-by: Timur Tabi
    Signed-off-by: Kou Ishizaki
    Acked-by: Arnd Bergmann
    Signed-off-by: Paul Mackerras

    Ishizaki Kou
     

14 Apr, 2008

1 commit


07 Apr, 2008

1 commit

  • Now that we're mapping registers in the DRM driver at load time, the
    driver actually checks the PCI ID, so we need to make sure the macros
    have all the right bits (and longer term use the DRM headers as the sole
    copy of the PCI & register definitions).

    This patch adds 945GME support to the DRM headers, fixing a regression
    reported in http://bugzilla.kernel.org/show_bug.cgi?id=10395.

    Tested-by: Alexander Oltu
    Signed-off-by: Jesse Barnes
    Signed-off-by: Linus Torvalds

    Jesse Barnes
     

05 Apr, 2008

1 commit

  • The commits:

    commit 37a47db8d7f0f38dac5acf5a13abbc8f401707fa
    Author: Balaji Rao
    Date: Wed Jan 30 13:30:03 2008 +0100

    x86: assign IRQs to HPET timers, fix

    and

    commit e3f37a54f690d3e64995ea7ecea08c5ab3070faf
    Author: Balaji Rao
    Date: Wed Jan 30 13:30:03 2008 +0100

    x86: assign IRQs to HPET timers

    have been identified to cause a regression on some platforms due to
    the assignement of legacy IRQs which makes the legacy devices
    connected to those IRQs disfunctional.

    Revert them.

    This fixes http://bugzilla.kernel.org/show_bug.cgi?id=10382

    Signed-off-by: Thomas Gleixner
    Signed-off-by: Ingo Molnar

    Thomas Gleixner
     

03 Apr, 2008

2 commits


31 Mar, 2008

3 commits


30 Mar, 2008

4 commits

  • This patch fixes bits of the DRM so to make the radeon DRI work on
    non-cache coherent PCI DMA variants of the PowerPC processors.

    It moves the few places that needs change to wrappers to that
    other architectures with similar issues can easily add their
    own changes to those wrappers, at least until we have more useful
    generic kernel API.

    Signed-off-by: Benjamin Herrenschmidt
    Cc: "David S. Miller"
    Cc: "Luck, Tony"
    Signed-off-by: Andrew Morton
    Signed-off-by: Dave Airlie

    Benjamin Herrenschmidt
     
  • drivers/char/drm/radeon_mem.c:91:23: warning: Using plain integer as NULL pointer
    drivers/char/drm/radeon_mem.c:116:28: warning: Using plain integer as NULL pointer
    drivers/char/drm/radeon_mem.c:124:28: warning: Using plain integer as NULL pointer
    drivers/char/drm/radeon_mem.c:177:26: warning: Using plain integer as NULL pointer
    drivers/char/drm/radeon_mem.c:177:53: warning: Using plain integer as NULL pointer

    Signed-off-by: Harvey Harrison
    Signed-off-by: Andrew Morton
    Signed-off-by: Dave Airlie

    Harvey Harrison
     
  • From Kernel BZ 10289 - not sure why anyone would boot an intel with no agp
    but it shouldn't crash.

    Signed-off-by: Dave Airlie

    Dave Airlie
     
  • This interface was originally designed wrong, confusing bit-fields and
    integers, major brown paper bag going back many years...

    But userspace only ever used 4 values so fix the interface for new
    users and fix the implementation to deal with the 4 values userspace
    has ever emitted (0x1, 0x2, 0x3, 0x6).

    Signed-off-by: Dave Airlie

    Dave Airlie
     

29 Mar, 2008

1 commit


26 Mar, 2008

3 commits

  • Major 259 has been assigned by lanana. Use it. Also, publish
    /dev/icap[0-k] as the device entries, and register platform devices
    named 'icap' to be consistent.

    Signed-off-by: Stephen Neuendorffer
    Acked-by: Grant Likely
    Signed-off-by: Josh Boyer

    Stephen Neuendorffer
     
  • It appears that in some cases, the sync word might not be recognized
    by the hardware correctly. If this happens, then attempting to read
    from the port results in an unrecoverable error because of the design
    of the FPGA core. This patch updates the code to check the status of
    the device before reading the IDCODE, in order to avoid entering this
    unrecoverable state. This patch also adds additional NOOP commands
    into the sychronization sequence, which appears to be necessary to
    avoid the condition on some hardware.

    Signed-off-by: Stephen Neuendorffer
    Acked-by: Grant Likely
    Signed-off-by: Josh Boyer

    Stephen Neuendorffer
     
  • Both the buffer-based and fifo-based icap cores have a status
    register. Previously, this was only used internally to check whether
    transactions have completed. However, the status can be useful to the
    main driver as well. This patch exposes these status functions to the
    main driver along with some masks for the differnet bits.

    Signed-off-by: Stephen Neuendorffer
    Acked-by: Grant Likely
    Signed-off-by: Josh Boyer

    Stephen Neuendorffer
     

25 Mar, 2008

1 commit

  • Update documentation for the hw_random support to be current:

    - Documentation/hw_random.txt has been updated to reflect the
    current code: it's a framework now, a "core" with a small
    sysfs interface, that hardware-specific drivers plug in to.
    Text specific to Intel hardware is now at the end.

    - Kconfig now references the Documentation/hw_random.txt file
    and better explains what this really does.

    Both chunks of documentation now higlight the fact that the kernel entropy
    pool is maintained by "rngd", and this driver has nothing directly to do with
    that important task.

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

    David Brownell