13 Dec, 2009

1 commit

  • * 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (151 commits)
    powerpc: Fix usage of 64-bit instruction in 32-bit altivec code
    MAINTAINERS: Add PowerPC patterns
    powerpc/pseries: Track previous CPPR values to correctly EOI interrupts
    powerpc/pseries: Correct pseries/dlpar.c build break without CONFIG_SMP
    powerpc: Make "intspec" pointers in irq_host->xlate() const
    powerpc/8xx: DTLB Miss cleanup
    powerpc/8xx: Remove DIRTY pte handling in DTLB Error.
    powerpc/8xx: Start using dcbX instructions in various copy routines
    powerpc/8xx: Restore _PAGE_WRITETHRU
    powerpc/8xx: Add missing Guarded setting in DTLB Error.
    powerpc/8xx: Fixup DAR from buggy dcbX instructions.
    powerpc/8xx: Tag DAR with 0x00f0 to catch buggy instructions.
    powerpc/8xx: Update TLB asm so it behaves as linux mm expects.
    powerpc/8xx: Invalidate non present TLBs
    powerpc/pseries: Serialize cpu hotplug operations during deactivate Vs deallocate
    pseries/pseries: Add code to online/offline CPUs of a DLPAR node
    powerpc: stop_this_cpu: remove the cpu from the online map.
    powerpc/pseries: Add kernel based CPU DLPAR handling
    sysfs/cpu: Add probe/release files
    powerpc/pseries: Kernel DLPAR Infrastructure
    ...

    Linus Torvalds
     

10 Dec, 2009

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (42 commits)
    tree-wide: fix misspelling of "definition" in comments
    reiserfs: fix misspelling of "journaled"
    doc: Fix a typo in slub.txt.
    inotify: remove superfluous return code check
    hdlc: spelling fix in find_pvc() comment
    doc: fix regulator docs cut-and-pasteism
    mtd: Fix comment in Kconfig
    doc: Fix IRQ chip docs
    tree-wide: fix assorted typos all over the place
    drivers/ata/libata-sff.c: comment spelling fixes
    fix typos/grammos in Documentation/edac.txt
    sysctl: add missing comments
    fs/debugfs/inode.c: fix comment typos
    sgivwfb: Make use of ARRAY_SIZE.
    sky2: fix sky2_link_down copy/paste comment error
    tree-wide: fix typos "couter" -> "counter"
    tree-wide: fix typos "offest" -> "offset"
    fix kerneldoc for set_irq_msi()
    spidev: fix double "of of" in comment
    comment typo fix: sybsystem -> subsystem
    ...

    Linus Torvalds
     

09 Dec, 2009

1 commit


04 Dec, 2009

2 commits

  • That is "success", "unknown", "through", "performance", "[re|un]mapping"
    , "access", "default", "reasonable", "[con]currently", "temperature"
    , "channel", "[un]used", "application", "example","hierarchy", "therefore"
    , "[over|under]flow", "contiguous", "threshold", "enough" and others.

    Signed-off-by: André Goddard Rosa
    Signed-off-by: Jiri Kosina

    André Goddard Rosa
     
  • Only files where David Miller is the primary git-signer.
    wireless, wimax, ixgbe, etc are not modified.

    Compile tested x86 allyesconfig only
    Not all files compiled (not x86 compatible)

    Added a few > 80 column lines, which I ignored.
    Existing checkpatch complaints ignored.

    Signed-off-by: Joe Perches
    Signed-off-by: David S. Miller

    Joe Perches
     

24 Nov, 2009

1 commit


14 Oct, 2009

1 commit


25 Sep, 2009

1 commit


23 Sep, 2009

2 commits

  • Originally, walk_memory_resource() was introduced to traverse all memory
    of "System RAM" for detecting memory hotplug/unplug range. For doing so,
    flags of IORESOUCE_MEM|IORESOURCE_BUSY was used and this was enough for
    memory hotplug.

    But for using other purpose, /proc/kcore, this may includes some firmware
    area marked as IORESOURCE_BUSY | IORESOUCE_MEM. This patch makes the
    check strict to find out busy "System RAM".

    Note: PPC64 keeps their own walk_memory_resouce(), which walk through
    ppc64's lmb informaton. Because old kclist_add() is called per lmb, this
    patch makes no difference in behavior, finally.

    And this patch removes CONFIG_MEMORY_HOTPLUG check from this function.
    Because pfn_valid() just show "there is memmap or not* and cannot be used
    for "there is physical memory or not", this function is useful in generic
    to scan physical memory range.

    Signed-off-by: KAMEZAWA Hiroyuki
    Cc: Ralf Baechle
    Cc: Benjamin Herrenschmidt
    Cc: WANG Cong
    Cc: Américo Wang
    Cc: David Rientjes
    Cc: Roland Dreier
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    KAMEZAWA Hiroyuki
     
  • The definitions of vnet_ops and ehea_netdev_ops have initializations of a
    local function and eth_change_mtu for their respective ndo_change_mtu
    fields. This change uses only the local function.

    The semantic match that finds this problem is as follows:
    (http://coccinelle.lip6.fr/)

    //
    @r@
    identifier I, s, fld;
    position p0,p;
    expression E;
    @@

    struct I s =@p0 { ... .fld@p = E, ...};

    @s@
    identifier I, s, r.fld;
    position r.p0,p;
    expression E;
    @@

    struct I s =@p0 { ... .fld@p = E, ...};

    @script:python@
    p0 << r.p0;
    fld << r.fld;
    ps << s.p;
    pr << r.p;
    @@

    if int(ps[0].line)!=int(pr[0].line) or int(ps[0].column)!=int(pr[0].column):
    cocci.print_main(fld,p0)
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: David S. Miller

    Julia Lawall
     

05 Aug, 2009

1 commit


13 Jul, 2009

2 commits


15 Jun, 2009

1 commit


13 Jun, 2009

1 commit


08 May, 2009

1 commit


05 May, 2009

2 commits


15 Apr, 2009

1 commit


14 Mar, 2009

1 commit


20 Feb, 2009

1 commit


12 Feb, 2009

1 commit


27 Jan, 2009

1 commit


22 Jan, 2009

4 commits


13 Jan, 2009

1 commit


07 Jan, 2009

1 commit

  • ehea_plpar_hcall9() takes an "unsigned long" array to return its results,
    so change the arrays we pass to it to match. This is currently only
    64 bit code, so the transformation is actually a noop, but because
    ehea_plpar_hcall9() copies the values of registers into the array,
    if this was ported to a 32 bit hypervisor interface "unsigned long"
    would probably still be the correct type.

    Signed-off-by: Stephen Rothwell
    Signed-off-by: David S. Miller

    Stephen Rothwell
     

06 Jan, 2009

1 commit

  • The flags field of struct ehea_port is only used with test_bit(),
    clear_bit() and set_bit() and these interfaces only work on
    "unsigned long"s, so change the field to be an "unsigned long". Also,
    this field only has two bits defined for it (0 and 1) so will still be
    fine if someone builds this driver for a 32 bit arch (at least as far as
    this flags field is concerned).

    Also note that ehea_driver_flags is only used in ehca_main.c, so make it
    static in there.

    Signed-off-by: Stephen Rothwell
    Signed-off-by: David S. Miller

    Stephen Rothwell
     

29 Dec, 2008

1 commit


26 Dec, 2008

2 commits

  • With slub debug enabled, I see the following errors and crash with
    2.6.28-rc9:

    IBM eHEA ethernet device driver (Release EHEA_0095)
    ehea: Error in ehea_h_register_rpage_mr: not on pageboundary
    ehea: Error in ehea_reg_mr_section: register_rpage_mr failed
    ehea: Error in ehea_reg_kernel_mr: registering mr failed
    ehea: Error in ehea_setup_ports: creating MR failed
    ehea 23c00100.lhea: setup_ports failed
    Unable to handle kernel paging request for data at address 0x6b6b6b6b6b6bbdcb
    Faulting instruction address: 0xd000000000064a24
    cpu 0x0: Vector: 300 (Data Access) at [c0000000740e7190]
    pc: d000000000064a24: .ehea_update_firmware_handles+0x84/0x47c [ehea]
    lr: d00000000006df34: .ehea_probe_adapter+0x35c/0x39c [ehea]
    sp: c0000000740e7410
    msr: 8000000000009032
    dar: 6b6b6b6b6b6bbdcb
    dsisr: 40000000
    current = 0xc000000074233780
    paca = 0xc0000000008a3300
    pid = 2046, comm = modprobe
    enter ? for help
    [c0000000740e74f0] d00000000006df34 .ehea_probe_adapter+0x35c/0x39c [ehea]
    [c0000000740e75a0] c00000000041d5a4 .of_platform_device_probe+0x78/0xb0
    [c0000000740e7630] c0000000002d8b38 .driver_probe_device+0x13c/0x200
    [c0000000740e76c0] c0000000002d8c90 .__driver_attach+0x94/0xd8
    [c0000000740e7750] c0000000002d7d64 .bus_for_each_dev+0x80/0xd8
    [c0000000740e7800] c0000000002d889c .driver_attach+0x28/0x40
    [c0000000740e7880] c0000000002d8340 .bus_add_driver+0xd4/0x284
    [c0000000740e7920] c0000000002d90a0 .driver_register+0xc4/0x198
    [c0000000740e79d0] c00000000041d45c .of_register_driver+0x4c/0x60
    [c0000000740e7a50] c000000000020ef8 .ibmebus_register_driver+0x30/0x4c
    [c0000000740e7ae0] d00000000006e108 .ehea_module_init+0x194/0x208c [ehea]
    [c0000000740e7b90] c000000000009028 .do_one_initcall+0x90/0x1ac
    [c0000000740e7d90] c00000000008619c .sys_init_module+0xc4/0x200
    [c0000000740e7e30] c0000000000084ac syscall_exit+0x0/0x40

    (When slub debug is disabled it works fine.)

    PAGE_SIZE allocations via slab are not guaranteed to be page-aligned;
    use get_zeroed_page for the 'pt' buffer (I don't really know what this
    is, only that it is passed to firmware and that the first error
    message complains about its alignment). This allows the system to
    boot.

    Signed-off-by: Nathan Lynch
    Signed-off-by: David S. Miller

    Nathan Lynch
     
  • In each case, vpage is checked not to be NULL just after it is initialized
    at the beginning of each loop iteration.

    A simplified version of the semantic patch that makes this change is as
    follows: (http://www.emn.fr/x-info/coccinelle/)

    //
    @r exists@
    local idexpression x;
    expression E;
    position p1,p2;
    @@

    if (x@p1 == NULL || ...) { ... when forall
    return ...; }
    ... when != \(x=E\|x--\|x++\|--x\|++x\|x-=E\|x+=E\|x|=E\|x&=E\|&x\)
    (
    x@p2 == NULL
    |
    x@p2 != NULL
    )

    // another path to the test that is not through p1?
    @s exists@
    local idexpression r.x;
    position r.p1,r.p2;
    @@

    ... when != x@p1
    (
    x@p2 == NULL
    |
    x@p2 != NULL
    )

    @fix depends on !s@
    position r.p1,r.p2;
    expression x,E;
    statement S1,S2;
    @@

    (
    - if ((x@p2 != NULL) || ...)
    S1
    |
    - if ((x@p2 == NULL) && ...) S1
    |
    - BUG_ON(x@p2 == NULL);
    )
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: David S. Miller

    Julia Lawall
     

23 Dec, 2008

1 commit

  • When the napi api was changed to separate its 1:1 binding to the net_device
    struct, the netif_rx_[prep|schedule|complete] api failed to remove the now
    vestigual net_device structure parameter. This patch cleans up that api by
    properly removing it..

    Signed-off-by: Neil Horman
    Signed-off-by: David S. Miller

    Neil Horman
     

06 Nov, 2008

1 commit


04 Nov, 2008

1 commit


28 Oct, 2008

1 commit

  • All kernel memory which is used for kernel/hardware data transfer must
    be registered with firmware using "memory regions". 16GB hugepages
    may not be part of a memory region due to firmware restrictions.
    This patch modifies the walk_memory_resource callback fn to filter
    hugepages and add only standard memory to the busmap which is later
    on used for MR registration.

    Signed-off-by: Thomas Klein
    Signed-off-by: Jeff Garzik

    Thomas Klein
     

22 Oct, 2008

1 commit

  • This patch implements the memory notifier to update the busmap
    instantly instead of rebuilding the whole map. This is necessary
    because walk_memory_resource provides different information than
    required during memory hotplug.

    Signed-off-by: Hannes Hering
    Signed-off-by: Jeff Garzik

    Hannes Hering
     

26 Sep, 2008

1 commit


25 Sep, 2008

1 commit