08 Apr, 2011

1 commit


04 Apr, 2011

1 commit

  • Only the e500v1/v2 cores have HID1[RXFE] so we should attempt to set or
    clear this register bit on them. Otherwise we get crashes like:

    NIP: c0579f84 LR: c006d550 CTR: c0579f84
    REGS: ef857ec0 TRAP: 0700 Not tainted (2.6.38.2-00072-gf15ba3c)
    MSR: 00021002 CR: 22044022 XER: 00000000
    TASK = ef8559c0[1] 'swapper' THREAD: ef856000 CPU: 0
    GPR00: c006d538 ef857f70 ef8559c0 00000000 00000004 00000000 00000000 00000000
    GPR08: c0590000 c30170a8 00000000 c30170a8 00000001 0fffe000 00000000 00000000
    GPR16: 00000000 7ffa0e60 00000000 00000000 7ffb0bd8 7ff3b844 c05be000 00000000
    GPR24: 00000000 00000000 c05c28b0 c0579fac 00000000 00029002 00000000 c0579f84
    NIP [c0579f84] mpc85xx_mc_clear_rfxe+0x0/0x28
    LR [c006d550] on_each_cpu+0x34/0x50
    Call Trace:
    [ef857f70] [c006d538] on_each_cpu+0x1c/0x50 (unreliable)
    [ef857f90] [c057a070] mpc85xx_mc_init+0xc4/0xdc
    [ef857fa0] [c0001cd4] do_one_initcall+0x34/0x1a8
    [ef857fd0] [c055d9d8] kernel_init+0x17c/0x218
    [ef857ff0] [c000cda4] kernel_thread+0x4c/0x68
    Instruction dump:
    40be0018 3c60c052 3863c70c 4be9baad 3be0ffed 4bd7c99d 80010014 7fe3fb78
    83e1000c 38210010 7c0803a6 4e800020 54290024 81290008
    3d60c06e
    Oops: Exception in kernel mode, sig: 4 [#2]
    ---[ end trace 49ff3b8f93efde1a ]---

    Also use the HID1_RFXE define rather than a magic number.

    Signed-off-by: Kumar Gala

    Kumar Gala
     

31 Mar, 2011

1 commit


30 Mar, 2011

1 commit

  • We check the pointers together but at least one of them could be invalid
    due to failed allocation. Since we cannot continue if either of the two
    allocations has failed, exit early by freeing them both.

    Cc: # 38.x
    Reported-by: Mauro Carvalho Chehab
    Signed-off-by: Borislav Petkov

    Borislav Petkov
     

19 Mar, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (47 commits)
    doc: CONFIG_UNEVICTABLE_LRU doesn't exist anymore
    Update cpuset info & webiste for cgroups
    dcdbas: force SMI to happen when expected
    arch/arm/Kconfig: remove one to many l's in the word.
    asm-generic/user.h: Fix spelling in comment
    drm: fix printk typo 'sracth'
    Remove one to many n's in a word
    Documentation/filesystems/romfs.txt: fixing link to genromfs
    drivers:scsi Change printk typo initate -> initiate
    serial, pch uart: Remove duplicate inclusion of linux/pci.h header
    fs/eventpoll.c: fix spelling
    mm: Fix out-of-date comments which refers non-existent functions
    drm: Fix printk typo 'failled'
    coh901318.c: Change initate to initiate.
    mbox-db5500.c Change initate to initiate.
    edac: correct i82975x error-info reported
    edac: correct i82975x mci initialisation
    edac: correct commented info
    fs: update comments to point correct document
    target: remove duplicate include of target/target_core_device.h from drivers/target/target_core_hba.c
    ...

    Trivial conflict in fs/eventpoll.c (spelling vs addition)

    Linus Torvalds
     

18 Mar, 2011

2 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile: (27 commits)
    arch/tile: support newer binutils assembler shift semantics
    arch/tile: fix deadlock bugs in rwlock implementation
    drivers/edac: provide support for tile architecture
    tile on-chip network driver: sync up with latest fixes
    arch/tile: support 4KB page size as well as 64KB
    arch/tile: add some more VMSPLIT options and use consistent naming
    arch/tile: fix some comments and whitespace
    arch/tile: export some additional module symbols
    arch/tile: enhance existing finv_buffer_remote() routine
    arch/tile: fix two bugs in the backtracer code
    arch/tile: use extended assembly to inline __mb_incoherent()
    arch/tile: use a cleaner technique to enable interrupt for cpu_idle()
    arch/tile: sync up with and changes
    arch/tile: fix reversed test of strict_strtol() return value
    arch/tile: avoid a simulator warning during bootup
    arch/tile: export to userspace
    arch/tile: warn and retry if an IPI is not accepted by the target cpu
    arch/tile: stop disabling INTCTRL_1 interrupts during hypervisor downcalls
    arch/tile: fix __ndelay etc to work better
    arch/tile: bug fix: exec'ed task thought it was still single-stepping
    ...

    Fix up trivial conflict in arch/tile/kernel/vmlinux.lds.S (percpu
    alignment vs section naming convention fix)

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp: (38 commits)
    amd64_edac: Fix decode_syndrome types
    amd64_edac: Fix DCT argument type
    amd64_edac: Fix ranges signedness
    amd64_edac: Drop local variable
    amd64_edac: Fix PCI config addressing types
    amd64_edac: Fix DRAM base macros
    amd64_edac: Fix node id signedness
    amd64_edac: Drop redundant declarations
    amd64_edac: Enable driver on F15h
    amd64_edac: Adjust ECC symbol size to F15h
    amd64_edac: Simplify scrubrate setting
    PCI: Rename CPU PCI id define
    amd64_edac: Improve DRAM address mapping
    amd64_edac: Sanitize ->read_dram_ctl_register
    amd64_edac: Adjust sys_addr to chip select conversion routine to F15h
    amd64_edac: Beef up early exit reporting
    amd64_edac: Revamp online spare handling
    amd64_edac: Fix channel interleave removal
    amd64_edac: Correct node interleaving removal
    amd64_edac: Add support for interleaved region swapping
    ...

    Fix up trivial conflict in include/linux/pci_ids.h due to
    AMD_15H_NB_MISC being renamed as AMD_15H_NB_F3 next to the new
    AMD_15H_NB_LINK entry.

    Linus Torvalds
     

17 Mar, 2011

33 commits