18 Jul, 2007

5 commits

  • Tested on Xilinx Virtex ppc405, Katmai 440SPe, and Microblaze

    Signed-off-by: Grant Likely
    Acked-by: Stefan Roese
    Cc: Jens Axboe
    Cc: John William
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Grant Likely
     
  • Rolling forward PCMCIA driver, it was discovered that the indentation in
    existing one, as well as in BSP side are very odd. This patch is just result
    of Lindent run ontop of culprit files.

    Signed-off-by: Vitaly Bordug
    Cc: Arnd Bergmann
    Cc: Olof Johansson
    Cc: Dominik Brodowski
    Cc: Paul Mackerras
    Cc: Benjamin Herrenschmidt
    Cc: Kumar Gala
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Vitaly Bordug
     
  • Currently, the freezer treats all tasks as freezable, except for the kernel
    threads that explicitly set the PF_NOFREEZE flag for themselves. This
    approach is problematic, since it requires every kernel thread to either
    set PF_NOFREEZE explicitly, or call try_to_freeze(), even if it doesn't
    care for the freezing of tasks at all.

    It seems better to only require the kernel threads that want to or need to
    be frozen to use some freezer-related code and to remove any
    freezer-related code from the other (nonfreezable) kernel threads, which is
    done in this patch.

    The patch causes all kernel threads to be nonfreezable by default (ie. to
    have PF_NOFREEZE set by default) and introduces the set_freezable()
    function that should be called by the freezable kernel threads in order to
    unset PF_NOFREEZE. It also makes all of the currently freezable kernel
    threads call set_freezable(), so it shouldn't cause any (intentional)
    change of behaviour to appear. Additionally, it updates documentation to
    describe the freezing of tasks more accurately.

    [akpm@linux-foundation.org: build fixes]
    Signed-off-by: Rafael J. Wysocki
    Acked-by: Nigel Cunningham
    Cc: Pavel Machek
    Cc: Oleg Nesterov
    Cc: Gautham R Shenoy
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rafael J. Wysocki
     
  • kmalloc_node() and kmem_cache_alloc_node() were not available in a zeroing
    variant in the past. But with __GFP_ZERO it is possible now to do zeroing
    while allocating.

    Use __GFP_ZERO to remove the explicit clearing of memory via memset whereever
    we can.

    Signed-off-by: Christoph Lameter
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christoph Lameter
     
  • Signed-off-by: Yoann Padioleau
    Cc: Jean Delvare
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Yoann Padioleau
     

17 Jul, 2007

35 commits

  • * 'drm-patches' of ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
    drm: add idr_init to drm_stub.c
    drm: fix problem with SiS typedef with sisfb enabled.

    Linus Torvalds
     
  • Brown paper bag for me this patch chunk didn't make it in the first application

    Signed-off-by: Dave Airlie

    Dave Airlie
     
  • Reported by: Avuton Olrich

    Signed-off-by: Dave Airlie

    Dave Airlie
     
  • * 'drm-patches' of ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
    drm: convert drawable code to using idr
    drm: convert drm context code to use Linux idr

    Linus Torvalds
     
  • This converts the code for allocating drawables to the Linux idr,

    Fixes from: Michel Dänzer , Kristian Høgsberg

    Signed-off-by: Dave Airlie

    Dave Airlie
     
  • This converts the drm context allocator to an idr, using the new idr
    interface features from Kristian.

    Fixes from Kristian Hoegsberg

    Signed-off-by: Dave Airlie

    Dave Airlie
     
  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (209 commits)
    [POWERPC] Create add_rtc() function to enable the RTC CMOS driver
    [POWERPC] Add H_ILLAN_ATTRIBUTES hcall number
    [POWERPC] xilinxfb: Parameterize xilinxfb platform device registration
    [POWERPC] Oprofile support for Power 5++
    [POWERPC] Enable arbitary speed tty ioctls and split input/output speed
    [POWERPC] Make drivers/char/hvc_console.c:khvcd() static
    [POWERPC] Remove dead code for preventing pread() and pwrite() calls
    [POWERPC] Remove unnecessary #undef printk from prom.c
    [POWERPC] Fix typo in Ebony default DTS
    [POWERPC] Check for NULL ppc_md.init_IRQ() before calling
    [POWERPC] Remove extra return statement
    [POWERPC] pasemi: Don't auto-select CONFIG_EMBEDDED
    [POWERPC] pasemi: Rename platform
    [POWERPC] arch/powerpc/kernel/sysfs.c: Move NUMA exports
    [POWERPC] Add __read_mostly support for powerpc
    [POWERPC] Modify sched_clock() to make CONFIG_PRINTK_TIME more sane
    [POWERPC] Create a dummy zImage if no valid platform has been selected
    [POWERPC] PS3: Bootwrapper support.
    [POWERPC] powermac i2c: Use mutex
    [POWERPC] Schedule removal of arch/ppc
    ...

    Fixed up conflicts manually in:

    Documentation/feature-removal-schedule.txt
    arch/powerpc/kernel/pci_32.c
    arch/powerpc/kernel/pci_64.c
    include/asm-powerpc/pci.h

    and asked the powerpc people to double-check the result..

    Linus Torvalds
     
  • * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (37 commits)
    forcedeth bug fix: realtek phy
    forcedeth bug fix: vitesse phy
    forcedeth bug fix: cicada phy
    atl1: reorder atl1_main functions
    atl1: fix excessively indented code
    atl1: cleanup atl1_main
    atl1: header file cleanup
    atl1: remove irq_sem
    cdc-subset to support new vendor/product ID
    8139cp: implement the missing dev->tx_timeout
    myri10ge: Remove nonsensical limit in the tx done routine
    gianfar: kill unused header
    EP93XX_ETH must select MII
    macb: Add multicast capability
    macb: Use generic PHY layer
    s390: add barriers to qeth driver
    s390: scatter-gather for inbound traffic in qeth driver
    eHEA: Introducing support vor DLPAR memory add
    Fix a potential NULL pointer dereference in free_shared_mem() in drivers/net/s2io.c
    [PATCH] softmac: Fix ESSID problem
    ...

    Linus Torvalds
     
  • Mixing putchar() and write() hvcalls does not work %100
    correctly. But we should be using write() all the time
    if we can, even from ->start_tx(), anyways.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • This patch contains errata fixes for the realtek phy.

    Signed-off-by: Ayaz Abdulla
    Signed-off-by: Jeff Garzik

    Ayaz Abdulla
     
  • This patch contains errata fixes for the vitesse phy.

    Signed-off-by: Ayaz Abdulla
    Signed-off-by: Jeff Garzik

    Ayaz Abdulla
     
  • This patch contains errata fixes for the cicada phy. It only renamed the
    defines to be phy specific.

    Signed-off-by: Ayaz Abdulla
    Signed-off-by: Jeff Garzik

    Ayaz Abdulla
     
  • Reorder functions in atl1_main into more logical groupings to make the
    code easier to follow. This patch is large, but it's harmless; it neither
    adds nor removes any functionality whatsoever.

    Signed-off-by: Jay Cliburn
    Signed-off-by: Jeff Garzik

    Jay Cliburn
     
  • Move excessively indented code to separate functions. Also move ring
    pointer initialization to its own function.

    Signed-off-by: Jay Cliburn
    Signed-off-by: Jeff Garzik

    Jay Cliburn
     
  • Fix indentation, remove dead code, improve some comments, change dev_dbg to
    dev_printk.

    Signed-off-by: Jay Cliburn
    Signed-off-by: Jeff Garzik

    Jay Cliburn
     
  • Remove unused structure members, improve comments, break long comment lines,
    rename a constant to be consistent with others in the file.

    Signed-off-by: Jay Cliburn
    Signed-off-by: Jeff Garzik

    Jay Cliburn
     
  • Remove unnecessary irq_sem code.

    Signed-off-by: Chris Snook
    Signed-off-by: Jay Cliburn
    Signed-off-by: Jeff Garzik

    Jay Cliburn
     
  • This patch is for cdc subset to support Mavell vendor/product ID.

    Signed-off-by: Jing Xiang
    Signed-off-by: Jeff Garzik

    jing xiang
     
  • Signed-off-by: Mika Lansirinne
    Signed-off-by: Jeff Garzik

    Francois Romieu
     
  • Remove nonsensical limit in the tx done routine. Specifically,
    the loop will always terminate after processing
    Signed-off-by: Jeff Garzik

    Brice Goglin
     
  • A long time ago we used OCP with the gianfar driver. Eventually when
    we kill arch/ppc including this will cause issues so lets just kill it now.

    Signed-off-by: Kumar Gala
    Signed-off-by: Jeff Garzik

    Kumar Gala
     
  • CONFIG_EP93XX_ETH=y, CONFIG_MII=n results in an obvious link error.

    Signed-off-by: Adrian Bunk
    Signed-off-by: Jeff Garzik

    John Donoghue
     
  • Add multicast capability to Atmel ethernet macb driver.

    Signed-off-by: Patrice Vilchez
    Signed-off-by: Haavard Skinnemoen
    Signed-off-by: Jeff Garzik

    Patrice Vilchez
     
  • Convert the macb driver to use the generic PHY layer in
    drivers/net/phy.

    Signed-off-by: Frederic RODO
    Signed-off-by: Haavard Skinnemoen
    Signed-off-by: Jeff Garzik

    frederic RODO
     
  • Add barrier to loop where atomic variable is evaluated.

    Signed-off-by: Frank Blaschka
    Signed-off-by: Ursula Braun
    Signed-off-by: Frank Pavlic
    Signed-off-by: Jeff Garzik

    Frank Blaschka
     
  • For large incoming packets > PAGE_SIZE/2 qeth creates a fragmented skb
    by adding pointers to qdio pages to the fragment list of the skb.
    This avoids allocating big chunks of consecutive memory. Also copying
    data from the qdio buffer to the skb is economized.

    Signed-off-by: Frank Blaschka
    Signed-off-by: Ursula Braun
    Signed-off-by: Frank Pavlic
    Signed-off-by: Jeff Garzik

    Frank Blaschka
     
  • This patch adds support for DLPAR memory add to the eHEA driver. To detect
    whether memory was added the driver uses its own memory mapping table and
    checks for kernel addresses whether they're located in already known memory
    sections. If not the function ehea_rereg_mrs() is triggered which performs
    a rebuild of the mapping table and a re-registration of the global memory
    region.

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

    Thomas Klein
     
  • …/linville/wireless-2.6 into upstream

    Jeff Garzik
     
  • This patch fixes a potential null dereference bug where we dereference
    nic before a null check. This patch simply moves the dereferencing
    after the null check.

    Signed-off-by: Micah Gruber < micah.gruber@gmail.com>
    Signed-off-by: Jeff Garzik

    Micah Gruber
     
  • * 'drm-patches' of ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
    drm: remove core typedefs from the ioc32 wrappers
    drm: remove sarea typedefs
    drm: detypedef the hashtab and more of sman
    drm: de-typedef sman
    drm: detypedeffing continues...
    drm: detypef waitlist/freelist/buf_entry/device_dma/drm_queue structs
    drm: drop drm_vma_entry_t, drm_magic_entry_t
    drm: drop drm_buf_t typedef
    drm: fixup other drivers for typedef removals
    drm: remove drm_file_t, drm_device_t and drm_head_t typedefs
    drm: remove a bunch of typedefs on the userspace interface
    r300: updates register header
    radeon: add support for vblank on crtc2
    drm: cleanup list initialisation
    drm: fix typo on code drm getsarea
    drm: remove DRM_GETSAREA and replace with drm_getsarea function
    drm: cleanup use of Linux list handling macros

    Linus Torvalds
     
  • This corrects the following compile error introduced by the merge of the
    new bsg layer in commit e245befce7af0a1e1347079ed62695b059594bd4:

    caglar@zangetsu linux-2.6 $ make
    CHK include/linux/version.h
    CHK include/linux/utsrelease.h
    CALL scripts/checksyscalls.sh
    CHK include/linux/compile.h
    LD drivers/block/built-in.o
    CC [M] drivers/block/cciss.o
    drivers/block/cciss.c: In function `cciss_ioctl':
    drivers/block/cciss.c:1173: warning: passing arg 2 of `scsi_cmd_ioctl' from incompatible pointer type
    drivers/block/cciss.c:1173: warning: passing arg 3 of `scsi_cmd_ioctl' makes pointer from integer without a cast
    drivers/block/cciss.c:1173: warning: passing arg 4 of `scsi_cmd_ioctl' makes integer from pointer without a cast
    drivers/block/cciss.c:1173: error: too few arguments to function `scsi_cmd_ioctl'
    ...
    make[2]: *** [drivers/block/cciss.o] Hata 1
    make[1]: *** [drivers/block] Hata 2
    make: *** [drivers] Hata 2

    Signed-off-by: S.Çağlar Onur
    Cc: Jens Axboe
    Signed-off-by: Linus Torvalds

    S.Çağlar Onur
     
  • * 'bsg' of git://git.kernel.dk/data/git/linux-2.6-block: (25 commits)
    bsg: Kconfig updates
    bsg: add SCSI transport-level request support
    bsg: add bidi support
    add a struct request pointer to the request structure
    bsg: fix the deadlock on discarding done commands
    bsg: fix a blocking read bug
    bsg: minor bug fixes
    improve bsg device allocation
    bind bsg to all SCSI devices
    bsg: bind bsg to request_queue instead of gendisk
    bsg: add a request_queue argument to scsi_cmd_ioctl()
    bsg: simplify __bsg_alloc_command failpath
    bsg: add cheasy error checks for sysfs stuff
    Add queue resizing support
    Replace s32, u32 and u64 with __s32, __u32 and __u64 in bsg.h for userspace
    bsg: silence a bogus gcc warning
    bsg: style cleanup
    bsg: use u32 etc instead of uint32_t
    bsg: add SG_IO to SG v4
    bsg: replace SG v3 with SG v4
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.dk/data/git/linux-2.6-block:
    splice: direct splicing updates ppos twice
    more ACSI removal
    umem: Fix match of pci_ids in umem driver
    umem: Remove references to dead CONFIG_MM_MAP_MEMORY variable
    remove the documentation for the legacy CDROM drivers

    Linus Torvalds
     
  • * 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6: (26 commits)
    [SPARC64]: Fix UP build.
    [SPARC64]: dr-cpu unconfigure support.
    [SERIAL]: Fix console write locking in sparc drivers.
    [SPARC64]: Give more accurate errors in dr_cpu_configure().
    [SPARC64]: Clear cpu_{core,sibling}_map[] in smp_fill_in_sib_core_maps()
    [SPARC64]: Fix leak when DR added cpu does not bootup.
    [SPARC64]: Add ->set_affinity IRQ handlers.
    [SPARC64]: Process dr-cpu events in a kthread instead of workqueue.
    [SPARC64]: More sensible udelay implementation.
    [SPARC64]: SMP build fixes.
    [SPARC64]: mdesc.c needs linux/mm.h
    [SPARC64]: Fix build regressions added by dr-cpu changes.
    [SPARC64]: Unconditionally register vio_bus_type.
    [SPARC64]: Initial LDOM cpu hotplug support.
    [SPARC64]: Fix setting of variables in LDOM guest.
    [SPARC64]: Fix MD property lifetime bugs.
    [SPARC64]: Abstract out mdesc accesses for better MD update handling.
    [SPARC64]: Use more mearningful names for IRQ registry.
    [SPARC64]: Initial domain-services driver.
    [SPARC64]: Export powerd facilities for external entities.
    ...

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/lethal/sh-2.6: (68 commits)
    sh: sh-rtc support for SH7709.
    sh: Revert __xdiv64_32 size change.
    sh: Update r7785rp defconfig.
    sh: Export div symbols for GCC 4.2 and ST GCC.
    sh: fix race in parallel out-of-tree build
    sh: Kill off dead mach.c for hp6xx.
    sh: hd64461.h cleanup and added comments.
    sh: Update the alignment when 4K stacks are used.
    sh: Add a .bss.page_aligned section for 4K stacks.
    sh: Don't let SH-4A clobber SH-4 CFLAGS.
    sh: Add parport stub for SuperIO ports.
    sh: Drop -Wa,-dsp for DSP tuning.
    sh: Update dreamcast defconfig.
    fb: pvr2fb: A few more __devinit annotations for PCI.
    fb: pvr2fb: Fix up section mismatch warnings.
    sh: Select IPR-IRQ for SH7091.
    sh: Correct __xdiv64_32/div64_32 return value size.
    sh: Fix timer-tmu build for SH-3.
    sh: Add cpu and mach links to CLEAN_FILES.
    sh: Preliminary support for the SH-X3 CPU.
    ...

    Linus Torvalds