15 Mar, 2007

13 commits


14 Mar, 2007

5 commits


13 Mar, 2007

21 commits

  • These pte loops all assume the passed in address is HPAGE
    aligned, make sure that is actually true.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • sys_mbind
    sys_get_mempolicy
    sys_set_mempolicy
    sys_kexec_load
    sys_move_pages
    sys_getcpu
    sys_epoll_pwait

    This work is largely a result of David Woodhouse's most
    excellent missing syscalls patch.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • * 'merge' of master.kernel.org:/pub/scm/linux/kernel/git/paulus/powerpc:
    [POWERPC] sys_move_pages should be callable from an SPU
    [POWERPC] Wire up sys_epoll_pwait
    [POWERPC] Allocate syscall number for sys_getcpu
    [POWERPC] update cell_defconfig
    [POWERPC] ps3: always make sure were running on a PS3
    [POWERPC] Fix spu SLB invalidations
    [POWERPC] avoid SPU_ACTIVATE_NOWAKE optimization
    [POWERPC] spufs: fix possible memory corruption is spufs_mem_write

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
    [SPARC]: Fix TIF_USEDFPU flag atomicity
    [SPARC64]: Fix atomicity of TIF update in flush_thread()
    [BW2]: Fix section mismatch warnings.
    [CG14]: Fix section mismatch warnings.
    [SPARC]: We do not need OLD_GETRLIMIT.

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6:
    [XFRM]: Fix missing protocol comparison of larval SAs.
    [WANROUTER]: Delete superfluous source file "net/wanrouter/af_wanpipe.c".
    [IPV4]: Fix warning in ip_mc_rejoin_group.
    [ROSE]: Socket locking is a great invention.
    [ROSE]: Remove ourselves from waitqueue when receiving a signal
    [NetLabel]: parse the CIPSO ranged tag on incoming packets

    Linus Torvalds
     
  • I noticed that in xfrm_state_add we look for the larval SA in a few
    places without checking for protocol match. So when using both
    AH and ESP, whichever one gets added first, deletes the larval SA.
    It seems AH always gets added first and ESP is always the larval
    SA's protocol since the xfrm->tmpl has it first. Thus causing the
    additional km_query()

    Adding the check eliminates accidental double SA creation.

    Signed-off-by: Joy Latten
    Signed-off-by: David S. Miller

    Joy Latten
     
  • From: William Lee Irwin III

    Signed-off-by: David S. Miller

    William Lee Irwin III
     
  • Delete the apparently superfluous source file
    net/wanrouter/af_wanpipe.c.

    Signed-off-by: Robert P. J. Day
    Signed-off-by: David S. Miller

    Robert P. J. Day
     
  • Kill warning about unused variable `in_dev' when CONFIG_IP_MULTICAST
    is not set.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: David S. Miller

    Geert Uytterhoeven
     
  • Some gcc put this function in .init.text because the header didn't
    match.

    Signed-off-by: Linus Torvalds

    Zachary Amsden
     
  • VMI is broken under COMPAT_VDSO, as Xen and other non hardware assisted
    hypervisors will be. I have been working on a fix for this which works
    for older glibcs that panic when the new relocatable VDSO is used.

    However, I believe at this time that the fix is going to be too radical
    to consider at this stage in the release of 2.6.21. We don't expect
    this config option to be turned on by vendors for new distributions, so
    at this point we are willing to drop support for it when VMI is compiled
    in, and work on a patch for 2.6.22 which more fully addresses the
    problem.

    Signed-off-by: Zachary Amsden
    Acked-by: Ingo Molnar
    Signed-off-by: Linus Torvalds

    Zachary Amsden
     
  • Because we do not reserve space for the pci-x and pci-e state in struct
    pci dev we need to dynamically allocate it. However because we need
    to support restore being called multiple times after a single save
    it is never safe to free the buffers we have allocated to hold the
    state.

    So this patch modifies the save routines to first check to see
    if we have already allocated a state buffer before allocating
    a new one. Then the restore routines are modified to not free
    the state after restoring it. Simple and it fixes some subtle
    error path handling bugs, that are hard to test for.

    Signed-off-by: Eric W. Biederman
    Signed-off-by: Greg Kroah-Hartman
    Acked-by: Auke Kok
    Signed-off-by: Linus Torvalds

    Eric W. Biederman
     
  • There are two ways pci_save_state and pci_restore_state are used. As
    helper functions during suspend/resume, and as helper functions around
    a hardware reset event. When used as helper functions around a hardware
    reset event there is no reason to believe the calls will be paired, nor
    is there a good reason to believe that if we restore the msi state from
    before the reset that it will match the current msi state. Since arch
    code may change the msi message without going through the driver, drivers
    currently do not have enough information to even know when to call
    pci_save_state to ensure they will have msi state in sync with the other
    kernel irq reception data structures.

    It turns out the solution is straight forward, cache the state in the
    existing msi data structures (not the magic pci saved things) and
    have the msi code update the cached state each time we write to the hardware.
    This means we never need to read the hardware to figure out what the hardware
    state should be.

    By modifying the caching in this manner we get to remove our save_state
    routines and only need to provide restore_state routines.

    The only fields that were at all tricky to regenerate were the msi and msi-x
    control registers and the way we regenerate them currently is a bit dependent
    upon assumptions on how we use the allow msi registers to be configured and used
    making the code a little bit brittle. If we ever change what cases we allow
    or how we configure the msi bits we can address the fragility then.

    Signed-off-by: Eric W. Biederman
    Signed-off-by: Greg Kroah-Hartman
    Acked-by: Auke Kok
    Signed-off-by: Linus Torvalds

    Eric W. Biederman
     
  • Especially if you actually try to do it ;-)

    Signed-off-by: Ralf Baechle
    Signed-off-by: David S. Miller

    Ralf Baechle
     
  • Signed-off-by: Ralf Baechle
    Signed-off-by: David S. Miller

    Ralf Baechle
     
  • Commit 484b366932be0b73a22c74a82748ca10a721643e added support for the CIPSO
    ranged categories tag. However, it appears that I made a mistake when rebasing
    then patch to the latest upstream sources for submission and dropped the part
    of the patch that actually parses the tag on incoming packets. This patch
    fixes this mistake by adding the required function call to the
    cipso_v4_skbuff_getattr() function.

    I've run this patch over the weekend and have not noticed any problems.

    Signed-off-by: Paul Moore
    Acked-by: James Morris
    Signed-off-by: David S. Miller

    Paul Moore
     
  • * master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] 4263/1: fix IXP4XX_NPE[ABC]_BASE_VIRT address
    [ARM] 4256/1: i.MX/MX1 SDHC fix/workaround of SD card recognition problems
    [ARM] 4255/1: i.MX/MX1 Correct MPU PLL reference clock value.
    [ARM] 4254/1: i.MX/MX1 CPU Frequency scaling honor boot loader set BCLK_DIV.
    [ARM] 4251/1: Fix sharpsl_pm dependency
    [ARM] 4250/1: Fix locomo backlight conversion error/compile failure
    [ARM] 4249/1: Fix tosa compile failure
    [ARM] 4248/1: lh7a40x: fix missing definitions for get_irqnr_preamble
    [ARM] 4247/1: Fix long name for cc9p9360dev
    ARM: OMAP: Fix OMAP2 dss2 so clk_set_parent works
    ARM: OMAP: Fix missing workqueue include in board-h2.c
    ARM: OMAP: Include missing header

    Linus Torvalds
     
  • This fixs address defines for IXP4XX_NPE[ABC]_BASE_VIRT.
    They are defined as (IXP4XX_PERIPHERAL_BASE_PHYS + 0x[678]000) now,
    but they should be defined as (IXP4XX_PERIPHERAL_BASE_VIRT + 0x[678]000). Note PHYS vs VIRT in IXP4XX_PERIPHERAL_BASE...

    Signed-off-by: Milan Svoboda
    Signed-off-by: Russell King

    Milan Svoboda
     
  • The SDHC controllers cannot process shorter transfers.
    They has to be handled as longer ones, but it such case CRC
    error is evaluated. There was a case in the code still,
    where this error is not ignored as it should to be process
    these transfers.

    Signed-off-by: Pavel Pisa
    Signed-off-by: Russell King

    Pavel Pisa
     
  • Only System PLL clock source is selectable by CSCR_SYSTEM_SEL
    bit. MPU PLL is driven by 512*CLK32 for each case.

    Signed-off-by: Pavel Pisa
    Signed-off-by: Russell King

    Pavel Pisa
     
  • The minimal bus clock prescaler should be kept at value
    selected by the board / boot loader designer.
    Switching frequency above startup limit could
    lead to the external memory/devices misbehave.

    Signed-off-by: Pavel Pisa
    Signed-off-by: Russell King

    Pavel Pisa
     

12 Mar, 2007

1 commit