15 Sep, 2009

4 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/suspend-2.6: (23 commits)
    at_hdmac: Rework suspend_late()/resume_early()
    PM: Reset transition_started at dpm_resume_noirq
    PM: Update kerneldoc comments in drivers/base/power/main.c
    PM: Add convenience macro to make switching to dev_pm_ops less error-prone
    hp-wmi: Switch driver to dev_pm_ops
    floppy: Switch driver to dev_pm_ops
    PM: Trivial fixes
    PM / Hibernate / Memory hotplug: Always use for_each_populated_zone()
    PM/Hibernate: Do not try to allocate too much memory too hard (rev. 2)
    PM/Hibernate: Do not release preallocated memory unnecessarily (rev. 2)
    PM/Hibernate: Rework shrinking of memory
    PM: Fix typo in label name s/Platofrm_finish/Platform_finish/
    PM: Run-time PM platform device bus support
    PM: Introduce core framework for run-time PM of I/O devices (rev. 17)
    Driver Core: Make PM operations a const pointer
    PM: Remove platform device suspend_late()/resume_early() V2
    USB: Rework musb suspend()/resume_early()
    I2C: Rework i2c-s3c2410 suspend_late()/resume() V2
    I2C: Rework i2c-pxa suspend_late()/resume_early()
    DMA: Rework txx9dmac suspend_late()/resume_early()
    ...

    Fix trivial conflict in drivers/base/platform.c (due to same
    constification patch being merged in both sides, along with some other
    PM work in the PM branch)

    Linus Torvalds
     
  • * 'kvm-updates/2.6.32' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (202 commits)
    MAINTAINERS: update KVM entry
    KVM: correct error-handling code
    KVM: fix compile warnings on s390
    KVM: VMX: Check cpl before emulating debug register access
    KVM: fix misreporting of coalesced interrupts by kvm tracer
    KVM: x86: drop duplicate kvm_flush_remote_tlb calls
    KVM: VMX: call vmx_load_host_state() only if msr is cached
    KVM: VMX: Conditionally reload debug register 6
    KVM: Use thread debug register storage instead of kvm specific data
    KVM guest: do not batch pte updates from interrupt context
    KVM: Fix coalesced interrupt reporting in IOAPIC
    KVM guest: fix bogus wallclock physical address calculation
    KVM: VMX: Fix cr8 exiting control clobbering by EPT
    KVM: Optimize kvm_mmu_unprotect_page_virt() for tdp
    KVM: Document KVM_CAP_IRQCHIP
    KVM: Protect update_cr8_intercept() when running without an apic
    KVM: VMX: Fix EPT with WP bit change during paging
    KVM: Use kvm_{read,write}_guest_virt() to read and write segment descriptors
    KVM: x86 emulator: Add adc and sbb missing decoder flags
    KVM: Add missing #include
    ...

    Linus Torvalds
     
  • Rafael J. Wysocki
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6: (1623 commits)
    netxen: update copyright
    netxen: fix tx timeout recovery
    netxen: fix file firmware leak
    netxen: improve pci memory access
    netxen: change firmware write size
    tg3: Fix return ring size breakage
    netxen: build fix for INET=n
    cdc-phonet: autoconfigure Phonet address
    Phonet: back-end for autoconfigured addresses
    Phonet: fix netlink address dump error handling
    ipv6: Add IFA_F_DADFAILED flag
    net: Add DEVTYPE support for Ethernet based devices
    mv643xx_eth.c: remove unused txq_set_wrr()
    ucc_geth: Fix hangs after switching from full to half duplex
    ucc_geth: Rearrange some code to avoid forward declarations
    phy/marvell: Make non-aneg speed/duplex forcing work for 88E1111 PHYs
    drivers/net/phy: introduce missing kfree
    drivers/net/wan: introduce missing kfree
    net: force bridge module(s) to be GPL
    Subject: [PATCH] appletalk: Fix skb leak when ipddp interface is not loaded
    ...

    Fixed up trivial conflicts:

    - arch/x86/include/asm/socket.h

    converted to in the x86 tree. The generic
    header has the same new #define's, so that works out fine.

    - drivers/net/tun.c

    fix conflict between 89f56d1e9 ("tun: reuse struct sock fields") that
    switched over to using 'tun->socket.sk' instead of the redundantly
    available (and thus removed) 'tun->sk', and 2b980dbd ("lsm: Add hooks
    to the TUN driver") which added a new 'tun->sk' use.

    Noted in 'next' by Stephen Rothwell.

    Linus Torvalds
     

14 Sep, 2009

1 commit

  • * 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86/i386: Put aligned stack-canary in percpu shared_aligned section
    x86/i386: Make sure stack-protector segment base is cache aligned
    x86: Detect stack protector for i386 builds on x86_64
    x86: allow "=rm" in native_save_fl()
    x86: properly annotate alternatives.c
    x86: Introduce GDT_ENTRY_INIT(), initialize bad_bios_desc statically
    x86, 32-bit: Use generic sys_pipe()
    x86: Introduce GDT_ENTRY_INIT(), fix APM
    x86: Introduce GDT_ENTRY_INIT()
    x86: Introduce set_desc_base() and set_desc_limit()
    x86: Remove unused patch_espfix_desc()
    x86: Use get_desc_base()

    Linus Torvalds
     

10 Sep, 2009

1 commit


04 Sep, 2009

1 commit


13 Aug, 2009

1 commit


10 Aug, 2009

1 commit

  • This moves flush_write_buffers() in
    asm-generic/dma-mapping-common.h to
    arch/x86/kernel/pci-nommu.c.

    The purpose of this patch is that, we can avoid defining NULL
    flush_write_buffers() on IA64 and SPARC.

    dma-mapping-common.h is used by X86 and IA64 (and SPARC soon)
    but only X86 with CONFIG_X86_OOSTORE or CONFIG_X86_PPRO_FENCE
    actually uses flush_write_buffers(). CONFIG_X86_OOSTORE or
    CONFIG_X86_PPRO_FENCE is usable with only kernel/pci-nommu.c
    (that is, not usable with other X86 IOMMU implementations such
    as SWIOTLB, VT-d, etc) so we can safely move
    flush_write_buffers() in asm-generic/dma-mapping-common.h to
    arch/x86/kernel/pci-nommu.c.

    The further discussion is:

    http://lkml.org/lkml/2009/6/28/104

    Signed-off-by: Arnd Bergmann
    Acked-by: FUJITA Tomonori
    Cc: davem@davemloft.net
    Cc: tony.luck@intel.com
    Cc: fenghua.yu@intel.com
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Arnd Bergmann
     

06 Aug, 2009

2 commits

  • This sockopt goes in line with SO_TYPE and SO_PROTOCOL. It makes it
    possible for userspace programs to pass around file descriptors — I
    am referring to arguments-to-functions, but it may even work for the
    fd passing over UNIX sockets — without needing to also pass the
    auxiliary information (PF_INET6/IPPROTO_TCP).

    Signed-off-by: Jan Engelhardt
    Signed-off-by: David S. Miller

    Jan Engelhardt
     
  • Similar to SO_TYPE returning the socket type, SO_PROTOCOL allows to
    retrieve the protocol used with a given socket.

    I am not quite sure why we have that-many copies of socket.h, and why
    the values are not the same on all arches either, but for where hex
    numbers dominate, I use 0x1029 for SO_PROTOCOL as that seems to be
    the next free unused number across a bunch of operating systems, or
    so Google results make me want to believe. SO_PROTOCOL for others
    just uses the next free Linux number, 38.

    Signed-off-by: Jan Engelhardt
    Signed-off-by: David S. Miller

    Jan Engelhardt
     

30 Jul, 2009

1 commit


28 Jul, 2009

1 commit

  • mm: Pass virtual address to [__]p{te,ud,md}_free_tlb()

    Upcoming paches to support the new 64-bit "BookE" powerpc architecture
    will need to have the virtual address corresponding to PTE page when
    freeing it, due to the way the HW table walker works.

    Basically, the TLB can be loaded with "large" pages that cover the whole
    virtual space (well, sort-of, half of it actually) represented by a PTE
    page, and which contain an "indirect" bit indicating that this TLB entry
    RPN points to an array of PTEs from which the TLB can then create direct
    entries. Thus, in order to invalidate those when PTE pages are deleted,
    we need the virtual address to pass to tlbilx or tlbivax instructions.

    The old trick of sticking it somewhere in the PTE page struct page sucks
    too much, the address is almost readily available in all call sites and
    almost everybody implemets these as macros, so we may as well add the
    argument everywhere. I added it to the pmd and pud variants for consistency.

    Signed-off-by: Benjamin Herrenschmidt
    Acked-by: David Howells [MN10300 & FRV]
    Acked-by: Nick Piggin
    Acked-by: Martin Schwidefsky [s390]
    Signed-off-by: Linus Torvalds

    Benjamin Herrenschmidt
     

22 Jul, 2009

1 commit

  • Allow architecture specific data in struct platform_device V3.

    With this patch struct pdev_archdata is added to struct
    platform_device, similar to struct dev_archdata in found in
    struct device. Useful for architecture code that needs to
    keep extra data associated with each platform device.

    Struct pdev_archdata is different from dev.platform_data, the
    convention is that dev.platform_data points to driver-specific
    data. It may or may not be required by the driver. The format
    of this depends on driver but is the same across architectures.

    The structure pdev_archdata is a place for architecture specific
    data. This data is handled by architecture specific code (for
    example runtime PM), and since it is architecture specific it
    should _never_ be touched by device driver code. Exactly like
    struct dev_archdata but for platform devices.

    [rjw: This change is for power management mostly and that's why it
    goes through the suspend tree.]

    Signed-off-by: Magnus Damm
    Acked-by: Kevin Hilman
    Acked-by: Greg Kroah-Hartman
    Signed-off-by: Rafael J. Wysocki

    Magnus Damm
     

18 Jul, 2009

1 commit

  • The BSS section macros in vmlinux.lds.h currently place the .sbss
    input section outside the bounds of [__bss_start, __bss_end]. On all
    architectures except for microblaze that handle both .sbss and
    __bss_start/__bss_end, this is wrong: the .sbss input section is
    within the range [__bss_start, __bss_end]. Relatedly, the example
    code at the top of the file actually has __bss_start/__bss_end defined
    twice; I believe the right fix here is to define them in the
    BSS_SECTION macro but not in the BSS macro.

    Another problem with the current macros is that several
    architectures have an ALIGN(4) or some other small number just before
    __bss_stop in their linker scripts. The BSS_SECTION macro currently
    hardcodes this to 4; while it should really be an argument. It also
    ignores its sbss_align argument; fix that.

    mn10300 is the only user at present of any of the macros touched by
    this patch. It looks like mn10300 actually was incorrectly converted
    to use the new BSS() macro (the alignment of 4 prior to conversion was
    a __bss_stop alignment, but the argument to the BSS macro is a start
    alignment). So fix this as well.

    I'd like acks from Sam and David on this one. Also CCing Paul, since
    he has a patch from me which will need to be updated to use
    BSS_SECTION(0, PAGE_SIZE, 4) once this gets merged.

    Signed-off-by: Tim Abbott
    Cc: Paul Mundt
    Cc: David Howells
    Signed-off-by: Sam Ravnborg

    Tim Abbott
     

05 Jul, 2009

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes:
    kbuild: finally remove the obsolete variable $TOPDIR
    gitignore: ignore scripts/ihex2fw
    Kbuild: Disable the -Wformat-security gcc flag
    gitignore: ignore gcov output files
    kbuild: deb-pkg ship changelog
    Add new __init_task_data macro to be used in arch init_task.c files.
    asm-generic/vmlinux.lds.h: shuffle INIT_TASK* macro names in vmlinux.lds.h
    Add new macros for page-aligned data and bss sections.
    asm-generic/vmlinux.lds.h: Fix up RW_DATA_SECTION definition.

    Linus Torvalds
     

01 Jul, 2009

2 commits

  • alpha percpu access requires custom SHIFT_PERCPU_PTR() definition for
    modules to work around addressing range limitation. This is done via
    generating inline assembly using C preprocessing which forces the
    assembler to generate external reference. This happens behind the
    compiler's back and makes the compiler think that static percpu variables
    in modules are unused.

    This used to be worked around by using __unused attribute for percpu
    variables which prevent the compiler from omitting the variable; however,
    recent declare/definition attribute unification change broke this as
    __used can't be used for declaration. Also, in the process,
    PER_CPU_ATTRIBUTES definition in alpha percpu.h got broken.

    This patch adds PER_CPU_DEF_ATTRIBUTES which is only used for definitions
    and make alpha use it to add __used for percpu variables in modules. This
    also fixes the PER_CPU_ATTRIBUTES double definition bug.

    Signed-off-by: Tejun Heo
    Tested-by: maximilian attems
    Acked-by: Ivan Kokshaysky
    Cc: Richard Henderson
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tejun Heo
     
  • The ctors section for each object file is eight byte aligned (on 64 bit).
    However the __ctors_start symbol starts at an arbitrary address dependent
    on the size of the previous sections.

    Therefore the linker may add some zeroes after __ctors_start to make sure
    the ctors contents are properly aligned. However the extra zeroes at the
    beginning aren't expected by the code. When walking the functions
    pointers contained in there and extra zeroes are added this may result in
    random jumps. So make sure that the __ctors_start symbol is always
    aligned as well.

    Fixes this crash on an allyesconfig on s390:

    [ 0.582482] Kernel BUG at 0000000000000012 [verbose debug info unavailable]
    [ 0.582489] illegal operation: 0001 [#1] SMP DEBUG_PAGEALLOC
    [ 0.582496] Modules linked in:
    [ 0.582501] CPU: 0 Tainted: G W 2.6.31-rc1-dirty #273
    [ 0.582506] Process swapper (pid: 1, task: 000000003f218000, ksp: 000000003f2238e8)
    [ 0.582510] Krnl PSW : 0704200180000000 0000000000000012 (0x12)
    [ 0.582518] R:0 T:1 IO:1 EX:1 Key:0 M:1 W:0 P:0 AS:0 CC:2 PM:0 EA:3
    [ 0.582524] Krnl GPRS: 0000000000036727 0000000000000010 0000000000000001 0000000000000001
    [ 0.582529] 00000000001dfefa 0000000000000000 0000000000000000 0000000000000040
    [ 0.582534] 0000000001fff0f0 0000000001790628 0000000002296048 0000000002296048
    [ 0.582540] 00000000020c438e 0000000001786000 0000000002014a66 000000003f223e60
    [ 0.582553] Krnl Code:>0000000000000012: 0000 unknown
    [ 0.582559] 0000000000000014: 0000 unknown
    [ 0.582564] 0000000000000016: 0000 unknown
    [ 0.582570] 0000000000000018: 0000 unknown
    [ 0.582575] 000000000000001a: 0000 unknown
    [ 0.582580] 000000000000001c: 0000 unknown
    [ 0.582585] 000000000000001e: 0000 unknown
    [ 0.582591] 0000000000000020: 0000 unknown
    [ 0.582596] Call Trace:
    [ 0.582599] ([] kernel_init+0x622/0x7a0)
    [ 0.582607] [] kernel_thread_starter+0x6/0xc
    [ 0.582615] [] kernel_thread_starter+0x0/0xc
    [ 0.582621] INFO: lockdep is turned off.
    [ 0.582624] Last Breaking-Event-Address:
    [ 0.582627] [] kernel_init+0x640/0x7a0

    Cc: Peter Oberparleiter
    Cc: Ingo Molnar
    Cc: Martin Schwidefsky
    Signed-off-by: Heiko Carstens
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Heiko Carstens
     

27 Jun, 2009

2 commits

  • We recently added a INIT_TASK(align) in include/asm-generic/vmlinux.lds.h,
    but there is already a macro INIT_TASK in include/linux/init_task.h, which
    is quite confusing. We should switch the macro in the linker script to
    INIT_TASK_DATA. (Sorry that I missed this in reviewing the patch). Since
    the macros are new, there is only one user of the INIT_TASK in
    vmlinux.lds.h, arch/mn10300/kernel/vmlinux.lds.S.

    However, we are currently using INIT_TASK_DATA for laying down an entire
    .data.init_task section. So rename that to INIT_TASK_DATA_SECTION.

    I would be worried about changing the meaning of INIT_TASK_DATA, but the
    old INIT_TASK_DATA implementation had no users, and in fact if anyone had
    tried to use it, it would have failed to compile because it didn't pass
    the alignment to the old INIT_TASK.

    Signed-off-by: Tim Abbott
    Cc: David Howells
    Cc: Jesper Nilsson

    Tim Abbott
     
  • RW_DATA_SECTION is defined to take 4 different alignment parameters,
    while NOSAVE_DATA currently uses a fixed PAGE_SIZE alignment as noted
    in the comments.

    There are presently no in-tree users of this at present, and I just
    stumbled across this while implementing the simplified script on a new
    architecture port, which subsequently resulted in a syntax error.

    Signed-off-by: Paul Mundt
    Signed-off-by: Sam Ravnborg

    Paul Mundt
     

24 Jun, 2009

1 commit


23 Jun, 2009

2 commits

  • Most architectures now provide a pgprot_noncached(), the
    remaining ones can simply use an dummy default implementation,
    except for cris and xtensa, which should override the
    default appropriately.

    Signed-off-by: Arnd Bergmann
    Cc: Jesper Nilsson
    Cc: Chris Zankel
    Cc: Magnus Damm

    Paul Mundt
     
  • In asm-generic/vmlinux.lds.h, name INIT_RAM_FS consistently, no matter the
    setting of CONFIG_BLK_DEV_INITRD. This corrects:

    commit ef53dae8658cf0e93d380983824a661067948d87
    Author: Sam Ravnborg
    Date: Sun Jun 7 20:46:37 2009 +0200
    Subject: Improve vmlinux.lds.h support for arch specific linker scripts

    Signed-off-by: David Howells
    Acked-by: Sam Ravnborg
    Signed-off-by: Linus Torvalds

    David Howells
     

21 Jun, 2009

1 commit

  • …x/kernel/git/tip/linux-2.6-tip

    * 'perfcounters-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (49 commits)
    perfcounter: Handle some IO return values
    perf_counter: Push perf_sample_data through the swcounter code
    perf_counter tools: Define and use our own u64, s64 etc. definitions
    perf_counter: Close race in perf_lock_task_context()
    perf_counter, x86: Improve interactions with fast-gup
    perf_counter: Simplify and fix task migration counting
    perf_counter tools: Add a data file header
    perf_counter: Update userspace callchain sampling uses
    perf_counter: Make callchain samples extensible
    perf report: Filter to parent set by default
    perf_counter tools: Handle lost events
    perf_counter: Add event overlow handling
    fs: Provide empty .set_page_dirty() aop for anon inodes
    perf_counter: tools: Makefile tweaks for 64-bit powerpc
    perf_counter: powerpc: Add processor back-end for MPC7450 family
    perf_counter: powerpc: Make powerpc perf_counter code safe for 32-bit kernels
    perf_counter: powerpc: Change how processor-specific back-ends get selected
    perf_counter: powerpc: Use unsigned long for register and constraint values
    perf_counter: powerpc: Enable use of software counters on 32-bit powerpc
    perf_counter tools: Add and use isprint()
    ...

    Linus Torvalds
     

19 Jun, 2009

6 commits

  • sys_rt_tgsigqueueinfo and sys_perf_counter_open
    have been added in 2.6.31, so hook them up in the
    generic unistd.h file.

    Since the file is now in the mainline kernel, we
    are no longer reordering the numbers but just add
    system calls at the end.

    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     
  • Architechtures normally don't need to set a HARDIRQ_BITS
    unless they have hardcoded a specific value in assembly.
    This drops the definition from asm-generic/hardirq.h, which
    results in linux/hardirq.h setting its default of 10.

    Both the old default of 8 and the linux/hardirq.h default
    of 10 are sufficient because they only limit the number
    of nested hardirqs, and we normally run out of stack space
    much earlier than exceeding 256 or even 1024 nested interrupts.

    Reported-by: Mike Frysinger
    Acked-by: Steven Rostedt
    Signed-off-by: Arnd Bergmann

    Arnd Bergmann
     
  • There's no reason that I can see to use the short __access_ok() form
    directly when the access_ok() is clearer in intent and for most people,
    expands to the same C code (i.e. always specify the first field -- access
    type). Not all no-mmu systems lack memory protection, so the read/write
    could feasibly be checked.

    Signed-off-by: Mike Frysinger
    Signed-off-by: Arnd Bergmann

    Mike Frysinger
     
  • The strnlen_user() function was missing a access_ok() check on the pointer
    given. We've had cases on Blackfin systems where test programs caused
    kernel crashes here because userspace passed up a NULL/-1 pointer and the
    kernel gladly attempted to run strlen() on it.

    Signed-off-by: Mike Frysinger
    Signed-off-by: Arnd Bergmann

    Mike Frysinger
     
  • We unified x86 and IA64's handling of multiple dma mapping operations
    (struct dma_map_ops in linux/dma-mapping.h) so we can remove duplication
    in their arch/include/asm/dma-mapping.h.

    This patchset adds include/asm-generic/dma-mapping-common.h that provides
    some generic dma mapping function definitions for the users of struct
    dma_map_ops. This enables us to remove about 100 lines. This also
    enables us to easily add CONFIG_DMA_API_DEBUG support, which only x86
    supports for now. The 4th patch adds CONFIG_DMA_API_DEBUG support to IA64
    by adding only 8 lines.

    This patch:

    This header file provides some mapping function definitions that the users
    of struct dma_map_ops can use.

    Signed-off-by: FUJITA Tomonori
    Acked-by: Joerg Roedel
    Cc: Ingo Molnar
    Cc: "Luck, Tony"
    Cc: Arnd Bergmann
    Cc: James Bottomley
    Cc: "David S. Miller"
    Cc: Catalin Marinas
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    FUJITA Tomonori
     
  • Call constructors (gcc-generated initcall-like functions) during kernel
    start and module load. Constructors are e.g. used for gcov data
    initialization.

    Disable constructor support for usermode Linux to prevent conflicts with
    host glibc.

    Signed-off-by: Peter Oberparleiter
    Acked-by: Rusty Russell
    Acked-by: WANG Cong
    Cc: Sam Ravnborg
    Cc: Jeff Dike
    Cc: Andi Kleen
    Cc: Huang Ying
    Cc: Li Wei
    Cc: Michael Ellerman
    Cc: Ingo Molnar
    Cc: Heiko Carstens
    Cc: Martin Schwidefsky
    Cc: Al Viro
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Peter Oberparleiter
     

18 Jun, 2009

1 commit


17 Jun, 2009

4 commits

  • Conflicts:
    arch/x86/include/asm/kmap_types.h
    include/linux/mm.h

    include/asm-generic/kmap_types.h

    Merge reason: We crossed changes with kmap_types.h cleanups in mainline.

    Signed-off-by: Ingo Molnar

    Ingo Molnar
     
  • * akpm: (182 commits)
    fbdev: bf54x-lq043fb: use kzalloc over kmalloc/memset
    fbdev: *bfin*: fix __dev{init,exit} markings
    fbdev: *bfin*: drop unnecessary calls to memset
    fbdev: bfin-t350mcqb-fb: drop unused local variables
    fbdev: blackfin has __raw I/O accessors, so use them in fb.h
    fbdev: s1d13xxxfb: add accelerated bitblt functions
    tcx: use standard fields for framebuffer physical address and length
    fbdev: add support for handoff from firmware to hw framebuffers
    intelfb: fix a bug when changing video timing
    fbdev: use framebuffer_release() for freeing fb_info structures
    radeon: P2G2CLK_ALWAYS_ONb tested twice, should 2nd be P2G2CLK_DAC_ALWAYS_ONb?
    s3c-fb: CPUFREQ frequency scaling support
    s3c-fb: fix resource releasing on error during probing
    carminefb: fix possible access beyond end of carmine_modedb[]
    acornfb: remove fb_mmap function
    mb862xxfb: use CONFIG_OF instead of CONFIG_PPC_OF
    mb862xxfb: restrict compliation of platform driver to PPC
    Samsung SoC Framebuffer driver: add Alpha Channel support
    atmel-lcdc: fix pixclock upper bound detection
    offb: use framebuffer_alloc() to allocate fb_info struct
    ...

    Manually fix up conflicts due to kmemcheck in mm/slab.c

    Linus Torvalds
     
  • Convert most arches to use asm-generic/kmap_types.h.

    Move the KM_FENCE_ macro additions into asm-generic/kmap_types.h,
    controlled by __WITH_KM_FENCE from each arch's kmap_types.h file.

    Would be nice to be able to add custom KM_types per arch, but I don't yet
    see a nice, clean way to do that.

    Built on x86_64, i386, mips, sparc, alpha(tonyb), powerpc(tonyb), and
    68k(tonyb).

    Note: avr32 should be able to remove KM_PTE2 (since it's not used) and
    then just use the generic kmap_types.h file. Get avr32 maintainer
    approval.

    Signed-off-by: Randy Dunlap
    Cc:
    Acked-by: Mike Frysinger
    Cc: Richard Henderson
    Cc: Ivan Kokshaysky
    Cc: Bryan Wu
    Cc: Mikael Starvik
    Cc: Hirokazu Takata
    Cc: "Luck Tony"
    Cc: Geert Uytterhoeven
    Cc: Ralf Baechle
    Cc: David Howells
    Cc: Kyle McMartin
    Cc: Martin Schwidefsky
    Cc: Paul Mundt
    Cc: "David S. Miller"
    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Cc: "H. Peter Anvin"
    Cc: Arnd Bergmann
    Cc: Peter Zijlstra
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc: (38 commits)
    ps3flash: Always read chunks of 256 KiB, and cache them
    ps3flash: Cache the last accessed FLASH chunk
    ps3: Replace direct file operations by callback
    ps3: Switch ps3_os_area_[gs]et_rtc_diff to EXPORT_SYMBOL_GPL()
    ps3: Correct debug message in dma_ioc0_map_pages()
    drivers/ps3: Add missing annotations
    ps3fb: Use ps3_system_bus_[gs]et_drvdata() instead of direct access
    ps3flash: Use ps3_system_bus_[gs]et_drvdata() instead of direct access
    ps3: shorten ps3_system_bus_[gs]et_driver_data to ps3_system_bus_[gs]et_drvdata
    ps3: Use dev_[gs]et_drvdata() instead of direct access for system bus devices
    block/ps3: remove driver_data direct access of struct device
    ps3vram: Make ps3vram_priv.reports a void *
    ps3vram: Remove no longer used ps3vram_priv.ddr_base
    ps3vram: Replace mutex by spinlock + bio_list
    block: Add bio_list_peek()
    powerpc: Use generic atomic64_t implementation on 32-bit processors
    lib: Provide generic atomic64_t implementation
    powerpc: Add compiler memory barrier to mtmsr macro
    powerpc/iseries: Mark signal_vsp_instruction() as maybe unused
    powerpc/iseries: Fix unused function warning in iSeries DT code
    ...

    Linus Torvalds
     

15 Jun, 2009

4 commits

  • Conflicts:
    Documentation/feature-removal-schedule.txt
    drivers/scsi/fcoe/fcoe.c
    net/core/drop_monitor.c
    net/core/net-traces.c

    David S. Miller
     
  • Many processor architectures have no 64-bit atomic instructions, but
    we need atomic64_t in order to support the perf_counter subsystem.

    This adds an implementation of 64-bit atomic operations using hashed
    spinlocks to provide atomicity. For each atomic operation, the address
    of the atomic64_t variable is hashed to an index into an array of 16
    spinlocks. That spinlock is taken (with interrupts disabled) around the
    operation, which can then be coded non-atomically within the lock.

    On UP, all the spinlock manipulation goes away and we simply disable
    interrupts around each operation. In fact gcc eliminates the whole
    atomic64_lock variable as well.

    Signed-off-by: Paul Mackerras
    Signed-off-by: Benjamin Herrenschmidt

    Paul Mackerras
     
  • * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-next: (53 commits)
    .gitignore: ignore *.lzma files
    kbuild: add generic --set-str option to scripts/config
    kbuild: simplify argument loop in scripts/config
    kbuild: handle non-existing options in scripts/config
    kallsyms: generalize text region handling
    kallsyms: support kernel symbols in Blackfin on-chip memory
    documentation: make version fix
    kbuild: fix a compile warning
    gitignore: Add GNU GLOBAL files to top .gitignore
    kbuild: fix delay in setlocalversion on readonly source
    README: fix misleading pointer to the defconf directory
    vmlinux.lds.h update
    kernel-doc: cleanup perl script
    Improve vmlinux.lds.h support for arch specific linker scripts
    kbuild: fix headers_exports with boolean expression
    kbuild/headers_check: refine extern check
    kbuild: fix "Argument list too long" error for "make headers_check",
    ignore *.patch files
    Remove bashisms from scripts
    menu: fix embedded menu presentation
    ...

    Linus Torvalds
     
  • Updated after review by Tim Abbott.
    - Use HEAD_TEXT_SECTION
    - Drop use of section-names.h and delete file
    - Introduce EXIT_CALL

    Deleting section-names.h required a few simple
    updates of init.h

    Signed-off-by: Sam Ravnborg
    Cc: Tim Abbott

    Sam Ravnborg
     

12 Jun, 2009

1 commit