29 Jul, 2007

1 commit

  • MXC needs the same change as IOP. See [ARM] 4494/1
    or commit 7dea1b20066cd30fb54da7e686b16b5e38b46b2d

    An undefined reference to elf_hwcap prevents linkage, due
    to changes made by f884b1cf578e079f01682514ae1ae64c74586602
    and d1cbbd6b413510c6512f4f80ffd48db1a8dd554a

    Removing processor.h removes the extern definition of
    elf_hwcap, which fixes the link issue, but forgets cpu_relax().
    So, instead, we'll call barrier() directly.

    Cc: Lennert Buytenhek
    Cc: Catalin Marinas
    Acked-by: Ross Wille
    Signed-off-by: Quinn Jensen
    Signed-off-by: Russell King

    Quinn Jensen
     

23 Jul, 2007

22 commits

  • Now that the last inlined instances are gone, all that is left to do
    is turning disable_irq_nosync on arm26 and m68k from defines to aliases
    and we are all set - we can make these externs in linux/interrupt.h
    uncoditional and kill remaining instances in asm/irq.h

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

    Al Viro
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (60 commits)
    [SCSI] libsas: make ATA functions selectable by a config option
    [SCSI] bsg: unexport sg v3 helper functions
    [SCSI] bsg: fix bsg_unregister_queue
    [SCSI] bsg: make class backlinks
    [SCSI] 3w-9xxx: add support for 9690SA
    [SCSI] bsg: fix bsg_register_queue error path
    [SCSI] ESP: Increase ESP_BUS_TIMEOUT to 275.
    [SCSI] libsas: fix scr_read/write users and update the libata documentation
    [SCSI] mpt fusion: update Kconfig help
    [SCSI] scsi_transport_sas: add destructor for bsg
    [SCSI] iscsi_tcp: buggered kmalloc()
    [SCSI] qla2xxx: Update version number to 8.02.00-k2.
    [SCSI] qla2xxx: Add ISP25XX support.
    [SCSI] qla2xxx: Use pci_try_set_mwi().
    [SCSI] qla2xxx: Use PCI-X/PCI-Express read control interfaces.
    [SCSI] qla2xxx: Re-factor isp_operations to static structures.
    [SCSI] qla2xxx: Validate mid-layer 'underflow' during check-condition handling.
    [SCSI] qla2xxx: Correct setting of 'current' and 'supported' speeds during FDMI registration.
    [SCSI] qla2xxx: Generalize iIDMA support.
    [SCSI] qla2xxx: Generalize FW-Interface-2 support.
    ...

    Linus Torvalds
     
  • Not everyone wants libsas automatically to pull in libata. This patch
    makes the behaviour configurable, so you can build libsas with or
    without ATA support.

    Signed-off-by: James Bottomley

    James Bottomley
     
  • * 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (60 commits)
    [ARM] 4524/1: S3C: Move register out of include/asm-arm/arch-s3c2410
    [ARM] 4523/1: S3C: Remove FIFO_MAX from uncompression headers
    [ARM] 4522/1: S3C: split include/asm-arm/arch/memory.h
    [ARM] 4521/2: S3C: Reorganise VA mapping headers
    [ARM] 4520/1: S3C: Remove old VA values from static map
    [ARM] 4519/1: S3C: split S3C2400 values out of S3C24XX map.h
    [ARM] 4518/1: S3C: Rename watchdog configuration options
    [ARM] 4517/1: S3C: Fix debug macros for ARM926 output
    [ARM] 4516/1: S3C: Fix uncompressor serial output for ARM926
    [ARM] 4515/1: S3C: Move uncompress code to plat-s3c
    [ARM] 4514/1: S3C: Rename DEBUG_S3C2410_PORT and DEBUG_S3C_UART
    [ARM] 4513/1: S3C: Rename CONFIG_S3C2410_LOWLEVEL_UART_PORT
    [ARM] 4512/1: S3C: rename the debug macros for per-cpu updates
    [ARM] 4511/1: S3C: updated LLSERIAL Kconfig defines for CPU support
    [ARM] 4510/1: S3C: split debug-macro support into plat-s3c
    [ARM] 4509/1: S3C: Create initial arch/arm/plat-s3c
    [ARM] 4508/1: S3C: Move items to include/asm-arm/plat-s3c
    [ARM] 4461/1: MXC platform and i.MX31ADS core support
    [ARM] 4507/1: pxa2xx clock_event_device
    [ARM] 4497/1: Only allow safe cache configurations on ARMv6 and later
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.o-hand.com/linux-rpurdie-leds:
    leds: Convert from struct class_device to struct device
    leds: leds-gpio for ngw100
    leds: Add warning printks in error paths
    leds: Fix trigger unregister_simple if register_simple fails
    leds: Use menuconfig objects II - LED
    leds: Teach leds-gpio to handle timer-unsafe GPIOs
    leds: Add generic GPIO LED driver

    Linus Torvalds
     
  • * 'for-linus' of git://git.o-hand.com/linux-rpurdie-backlight:
    leds: cr_bllcd.c: build fix
    backlight: Convert from struct class_device to struct device
    backlight: Fix order of Kconfig entries

    Linus Torvalds
     
  • * 'audit.b39' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit-current:
    [PATCH] get rid of AVC_PATH postponed treatment
    [PATCH] allow audit filtering on bit & operations
    [PATCH] audit: fix broken class-based syscall audit
    [PATCH] Make IPC mode consistent

    Linus Torvalds
     
  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc:
    [POWERPC] Clean up duplicate includes in drivers/macintosh/
    [POWERPC] Quiet section mismatch warning on pcibios_setup
    [POWERPC] init and exit markings for hvc_iseries
    [POWERPC] Quiet section mismatch in hvc_rtas.c
    [POWERPC] Constify of_platform_driver match_table
    [POWERPC] hvcs: Make some things static and const
    [POWERPC] Constify of_platform_driver name
    [POWERPC] MPIC protected sources
    [POWERPC] of_detach_node()'s device node argument cannot be const
    [POWERPC] Fix ARCH=ppc builds
    [POWERPC] mv64x60: Use mutex instead of semaphore
    [POWERPC] Allow smp_call_function_single() to current cpu
    [POWERPC] Allow exec faults on readable areas on classic 32-bit PowerPC
    [POWERPC] Fix future firmware feature fixups function failure
    [POWERPC] fix showing xmon help
    [POWERPC] Make xmon_write accept a const buffer
    [POWERPC] Fix misspelled "CONFIG_CHECK_CACHE_COHERENCY" Kconfig option.
    [POWERPC] cell: CONFIG_SPE_BASE is a typo

    Linus Torvalds
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (77 commits)
    ACPI: Populate /sys/firmware/acpi/tables/
    ACPI: create CONFIG_ACPI_DEBUG_FUNC_TRACE
    ACPI: update ACPI proc I/F removal schedule
    ACPI: update feature-removal-schedule.txt, /sys/firmware/acpi/namespace is gone
    ACPI: export ACPI events via acpi_mc_group multicast group
    ACPI: fix empty macros found by -Wextra
    ACPI: drivers/acpi/pci_link.c: lower printk severity
    sony-laptop: Fix event reading in sony-laptop
    sony-laptop: Add Vaio FE to the special init sequence
    sony-laptop: Make the driver use MSC_SCAN and a setkeycode and getkeycode key table.
    sony-laptop: Invoke _INI for SNC devices that provide it
    sony-laptop: Add support for recent Vaios Fn keys (C series for now)
    sony-laptop: map wireless switch events to KEY_WLAN
    sony-laptop: add new SNC handlers
    ACPI: thinkpad-acpi: add locking to brightness subdriver
    ACPI: thinkpad-acpi: bump up version to 0.15
    ACPI: thinkpad-acpi: make EC-based thermal readings non-experimental
    ACPI: thinkpad-acpi: make sure DSDT TMPx readings don't return +128
    ACPI: thinkpad-acpi: react to Lenovo ThinkPad differences in hot key
    ACPI: thinkpad-acpi: allow use of CMOS NVRAM for brightness control
    ...

    Linus Torvalds
     
  • They are identical

    Indirectly pointed out by Thomas Gleixner

    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Andi Kleen
     
  • Previously lock was unconditionally used, but shouldn't be needed on
    UP systems.

    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Andi Kleen
     
  • Due to index register access ordering problems, when using macros a line
    like this fails (and does nothing):

    setCx86(CX86_CCR2, getCx86(CX86_CCR2) | 0x88);

    With inlined functions this line will work as expected.

    Note about a side effect: Seems on Geode GX1 based systems the
    "suspend on halt power saving feature" was never enabled due to this
    wrong macro expansion. With inlined functions it will be enabled, but
    this will stop the TSC when the CPU runs into a HLT instruction.
    Kernel output something like this:
    Clocksource tsc unstable (delta = -472746897 ns)

    This is the 3rd version of this patch.

    - Adding missed arch/i386/kernel/cpu/mtrr/state.c
    Thanks to Andres Salomon
    - Adding some big fat comments into the new header file
    Suggested by Andi Kleen

    AK: fixed x86-64 compilation

    Signed-off-by: Juergen Beisert
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Juergen Beisert
     
  • local_cmpxchg() should not use any LOCK prefix. This change probably
    got lost in the move to cmpxchg.h.

    Signed-off-by: Mathieu Desnoyers
    Acked-by: Christoph Lameter
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Mathieu Desnoyers
     
  • When a machine check or NMI occurs while multiple byte code is patched
    the CPU could theoretically see an inconsistent instruction and crash.
    Prevent this by temporarily disabling MCEs and returning early in the
    NMI handler.

    Based on discussion with Mathieu Desnoyers.

    Cc: Mathieu Desnoyers
    Cc: Jeremy Fitzhardinge
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Andi Kleen
     
  • Reenable kprobes and alternative patching when the kernel text is write
    protected by DEBUG_RODATA

    Add a general utility function to change write protected text. The new
    function remaps the code using vmap to write it and takes care of CPU
    synchronization. It also does CLFLUSH to make icache recovery faster.

    There are some limitations on when the function can be used, see the
    comment.

    This is a newer version that also changes the paravirt_ops code.
    text_poke also supports multi byte patching now.

    Contains bug fixes from Zach Amsden and suggestions from Mathieu
    Desnoyers.

    Cc: Jan Beulich
    Cc: Jeremy Fitzhardinge
    Cc: Mathieu Desnoyers
    Cc: Zach Amsden
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Andi Kleen
     
  • This patch uses the read and write functions provided at system.h
    for control registers instead of writting raw assembly over and
    over again in .c files. Functions to manipulate cr2 and cr8 were
    provided, as they were lacking.

    Also, removed some extra space after closing brackets

    Signed-off-by: Glauber de Oliveira Costa
    Signed-off-by: Andi Kleen
    Signed-off-by: Linus Torvalds

    Glauber de Oliveira Costa
     
  • This patch makes the i386 behave the same way that x86_64 does when a
    segfault happens. A line gets printed to the kernel log so that tools
    that need to check for failures can behave more uniformly between
    debug.show_unhandled_signals sysctl variable to 0 (or by doing echo 0 >
    /proc/sys/debug/exception-trace)

    Also, all of the lines being printed are now using printk_ratelimit() to
    deny the ability of DoS from a local user with a program like the
    following:

    main()
    {
    while (1)
    if (!fork()) *(int *)0 = 0;
    }

    This new revision also includes the fix that Andrew did which got rid of
    new sysctl that was added to the system in earlier versions of this.
    Also, 'show-unhandled-signals' sysctl has been renamed back to the old
    'exception-trace' to avoid breakage of people's scripts.

    AK: Enabling by default for i386 will be likely controversal, but let's see what happens
    AK: Really folks, before complaining just fix your segfaults
    AK: I bet this will find a lot of silent issues

    Signed-off-by: Masoud Sharbiani
    Signed-off-by: Andi Kleen
    [ Personally, I've found the complaints useful on x86-64, so I'm all for
    this. That said, I wonder if we could do it more prettily.. -Linus ]
    Signed-off-by: Linus Torvalds

    Masoud Asgharifard Sharbiani
     
  • Russell King
     
  • Move register and other definitions out of the
    include/asm-arm/arch-s3c2410 into the the arch
    directories of include/asm-arm/plat-s3c24xx and
    include/asm-arm/plat-s3c.

    This move is in preperation of the merging of
    s3c2400 and s3c6400.

    The following git mv commands are needed before
    this patch can be applied:

    git mv include/asm-arm/arch-s3c2410/regs-ac97.h include/asm-arm/plat-s3c/regs-ac97.h
    git mv include/asm-arm/arch-s3c2410/regs-adc.h include/asm-arm/plat-s3c/regs-adc.h
    git mv include/asm-arm/arch-s3c2410/regs-iis.h include/asm-arm/plat-s3c24xx/regs-iis.h
    git mv include/asm-arm/arch-s3c2410/regs-spi.h include/asm-arm/plat-s3c24xx/regs-spi.h
    git mv include/asm-arm/arch-s3c2410/regs-udc.h include/asm-arm/plat-s3c24xx/regs-udc.h
    git mv include/asm-arm/arch-s3c2410/udc.h include/asm-arm/plat-s3c24xx/udc.h

    Signed-off-by: Ben Dooks
    Signed-off-by: Russell King

    Ben Dooks
     
  • We've fixed up a number of faults with the uncompressors
    so remove the now unused FIFO_MAX as it is not needed.

    Signed-off-by: Ben Dooks
    Signed-off-by: Russell King

    Ben Dooks
     
  • Split the S3C2400 out of S3C2410 memory.h files
    ready for S3C2400 support to be added.

    Signed-off-by: Ben Dooks
    Signed-off-by: Russell King

    Ben Dooks
     
  • Reorganise the definition of the virtual addresses
    used into a common header and update the users to
    rename S3C2410 items into a more common S3C defined
    macros.

    Signed-off-by: Ben Dooks
    Signed-off-by: Russell King

    Ben Dooks
     

22 Jul, 2007

17 commits