29 Jul, 2007

17 commits

  • A non-periodic clock_event_device and the "jiffies" clock don't mix well:
    tick_handle_periodic() can go into an infinite loop.

    Currently lguest guests use the jiffies clock when the TSC is
    unusable. Instead, make the Host write the current time into the lguest
    page on every interrupt. This doesn't cost much but is more precise
    and at least as accurate as the jiffies clock. It also gets rid of
    the GET_WALLCLOCK hypercall.

    Also, delay setting sched_clock until our clock is set up, otherwise
    the early printk timestamps can go backwards (not harmful, just ugly).

    Signed-off-by: Rusty Russell
    Signed-off-by: Linus Torvalds

    Rusty Russell
     
  • Jason Yeh sent his crashing .config: bzImages made with
    CONFIG_RELOCATABLE=y put the relocs where the BSS is expected, and we
    crash with unusual results such as:

    lguest: unhandled trap 14 at 0xc0122ae1 (0xa9)

    Relying on BSS being zero was merely laziness on my part, and
    unfortunately, lguest doesn't go through the normal startup path (which
    does this in asm).

    Signed-off-by: Rusty Russell
    Signed-off-by: Linus Torvalds

    Rusty Russell
     
  • Removed unused dead crap from machdep.h header.

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Greg Ungerer
     
  • Make declaration of mach_sched_init match definition
    (which is in arch/m68knommu/kernel/setup.c).

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Greg Ungerer
     
  • It is important to only provide the compat_ioctl method
    if the downstream de->proc_fops does too, otherwise this
    utterly confuses the logic in fs/compat_ioctl.c and we
    end up doing the wrong thing.

    Signed-off-by: David S. Miller
    Acked-by: Alexey Dobriyan
    Signed-off-by: Linus Torvalds

    David Miller
     
  • copy_from_user() returns the number of bytes not copied, hence 0 is the
    expected output.

    axi->mm might not be valid anymore when not equal to current->mm, do not
    dereference before checking that - thanks to Al for spotting that.

    Signed-off-by: Peter Zijlstra
    Tested-by: Steve Grubb
    Signed-off-by: Linus Torvalds

    Peter Zijlstra
     
  • Signed-off-by: Al Viro
    Acked-by: Jeff Garzik
    Signed-off-by: Linus Torvalds

    Al Viro
     
  • #x blocks expansion of macro argument, but it won't do you any
    good if it's already been expanded... As it is, RFALSE(cond, ....)
    ended up with stringified _expanded_ cond. Real fun when cond contains
    something like le32_to_cpu() and you are on a big-endian box...

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

    Al Viro
     
  • ... because somebody had added preempt.h -> list.h, resulting in
    asm/system.h -> hardirq.h -> preempt.h -> list.h -> asm/system.h on m68k,
    with smp_wmb() used in list.h and defined in asm/system.h below the include
    of hardirq.h.

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

    Al Viro
     
  • * 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6:
    [S390] Fix sclp_vt220 error handling.
    [S390] cio: Reorganize initialization.
    [S390] cio: Make CIO_* macros safe if dbfs are not available.
    [S390] cio: Clean up messages.
    [S390] Fix IRQ tracing.
    [S390] vmur: fix diag14_read.
    [S390] Wire up sys_fallocate.
    [S390] add types.h include to s390_ext.h
    [S390] cio: Remove deprecated rdc/rcd.
    [S390] Get rid of new section mismatch warnings.
    [S390] sclp: kill unused SCLP config option.
    [S390] cio: Remove remains of _ccw_device_get_device_number().
    [S390] cio: css_sch_device_register() can be made static.
    [S390] Improve __smp_call_function_map.
    [S390] Convert to smp_call_function_single.

    Linus Torvalds
     
  • * 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/cooloney/blackfin-2.6:
    Input Serio: Blackfin doesnt support I8042 - make sure it doesnt get selected
    Blackfin arch: add BF54x I2C/TWI TWI0 driver support
    Blackfin On-Chip RTC driver update for supporting BF54x
    Blackfin Ethernet MAC driver: fix bug Report returned -ENOMEM upwards (in case L1/uncached memory alloc fails)
    Blackfin arch: add error message when IRQ no available
    Blackfin arch: Initialize the exception vectors early in the boot process
    Blackfin arch: fix a compiling warning about dma-mapping
    Blackfin arch: switch to using proper defines this time THREAD_SIZE and PAGE_SIZE instead of just PAGE_SIZE everywhere
    Blackfin arch: fix bug which unaligns the init thread's stack and causes the current macro to fail.
    Blackfin arch: Load P0 before storing through it
    Blackfin arch: fix KGDB bug, dont forget last parameter.
    Blackfin arch: add selections for BF544 and BF542
    Blackfin arch: use bfin_read_SWRST() now that BF561 provides it
    Blackfin arch: setup aliases for some core Core A MMRs

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.dk/linux-2.6-block:
    docbook: add pipes, other fixes
    blktrace: use cpu_clock() instead of sched_clock()
    bsg: Fix build for CONFIG_BLOCK=n
    [patch] QUEUE_FLAG_READFULL QUEUE_FLAG_WRITEFULL comment fix

    Linus Torvalds
     
  • * 'agp-patches' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/agp-2.6:
    agp: AMD AGP is used on UP1100 & UP1500 alpha boxen
    intel_agp: really fix 945/965GME
    agp: don't lock pages
    AGP: document boot options
    Fix "use after free" / "double free" bug in ati_create_gatt_pages / ati_free_gatt_pages

    Linus Torvalds
     
  • * master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] 4527/1: pxa: fix pxa27x ac97 cold reset in ASoC due to CKEN change
    [ARM] 4530/1: MXC: fix elf_hwcap compile breakage as in iop13xx
    [ARM] 4529/1: [HP Jornada 7XX] - Fix jornada720.c to use SSP driver
    [ARM] 4528/1: [HP Jornada 7XX] - Fix typo in jornada720_ssp.c
    [ARM] Remove CONFIG_IGNORE_FIQ
    [ARM] 4526/1: pxa: make ARCH_PXA select GENERIC_CLOCKEVENTS
    [ARM] setup_profiling_timer must not be __init

    Linus Torvalds
     
  • due to CKEN_xxx definition and pxa_set_cken() change, the pxa27x
    ac97 cold reset is broken in ASoC, fixed to use bit index instead
    of bit mask

    Signed-off-by: eric miao
    Signed-off-by: Russell King

    Eric Miao
     
  • 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
     
  • This fixes the jornada720.c file :

    * ifdef for CONFIG_SA1100_JORNADA720_SSP since we dont want to include anything not selected in menyconfig.
    * add documentation for init for future reference
    * change platform driver name from jornada720_mcu ->
    jornada_ssp.
    * change maintainer in file.

    Signed-off-by: Kristoffer Ericson
    Signed-off-by: Russell King

    Kristoffer Ericson
     

28 Jul, 2007

3 commits


27 Jul, 2007

20 commits