15 Jul, 2008

37 commits

  • Manual fixup of:

    arch/powerpc/Kconfig

    Benjamin Herrenschmidt
     
  • Because the pte is now 64-bits the compiler was optimizing the update
    to always clear the upper 32-bits of the pte. We need to ensure the
    clr mask is treated as an unsigned long long to get the proper behavior.

    Signed-off-by: Kumar Gala
    Acked-by: Josh Boyer
    Signed-off-by: Benjamin Herrenschmidt

    Kumar Gala
     
  • The new dma_attrs support must only be enabled for 64 bits as it's not
    been implemented for 32 bits yet.

    Signed-off-by: Benjamin Herrenschmidt

    Takashi Iwai
     
  • This patch adds support to the RGMII handler in the EMAC driver for
    the MII PHY mode such that device tree entries of the form `phy-mode = "mii";'
    are recognized and handled appropriately.

    While logically, in software, "gmii" and "mii" modes are the same,
    they are wired differently, so it makes sense to allow DTS authors to
    specify each explicitly.

    Signed-off-by: Grant Erickson
    Acked-by: Stefan Roese
    Acked-by: Benjamin Herrenschmidt
    Acked-by: Jeff Garzik
    Signed-off-by: Benjamin Herrenschmidt

    Grant Erickson
     
  • Push the sync below the secondary smp init hold loop and comment its purpose.
    This should speed up boot by reducing global traffic during the single-threaded
    portion of boot.

    Signed-off-by: Sonny Rao
    Signed-off-by: Milton Miller
    Signed-off-by: Benjamin Herrenschmidt

    Sonny Rao
     
  • VSX loads and stores will take an alignment exception when the address
    is not on a 4 byte boundary.

    This add support for these alignment exceptions and will emulate the
    requested load or store.

    Signed-off-by: Michael Neuling
    Signed-off-by: Benjamin Herrenschmidt

    Michael Neuling
     
  • giveup_vsx didn't save the FPU and VMX regsiters. Change it to be
    like giveup_fpr/altivec which save these registers.

    Also update call sites where FPU and VMX are already saved to use the
    original giveup_vsx (renamed to __giveup_vsx).

    Signed-off-by: Michael Neuling
    Signed-off-by: Benjamin Herrenschmidt

    Michael Neuling
     
  • Implement save_stack_trace_tsk on powerpc, so that we can run with
    latencytop.

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Benjamin Herrenschmidt

    Arnd Bergmann
     
  • It is okay for both _PAGE_GUARDED and _PAGE_COHERENT (G and M) to be set
    in the same pte. In fact, even if that were not the case, there doesn't
    seem to be any place where G is set without also setting I (_PAGE_NO_CACHE),
    so the test for I is sufficient as a condition to clear _PAGE_COHERENT
    when filling the hash table.

    Signed-off-by: Dave Kleikamp
    Signed-off-by: Benjamin Herrenschmidt

    Dave Kleikamp
     
  • Background from Maynard Johnson:
    As of POWER6, a set of 32 common events is defined that must be
    supported on all future POWER processors. The main impetus for this
    compat set is the need to support partition migration, especially from
    processor P(n) to processor P(n+1), where performance software that's
    running in the new partition may not be knowledgeable about processor
    P(n+1). If a performance tool determines it does not support the
    physical processor, but is told (via the
    PPC_FEATURE_PSERIES_PERFMON_COMPAT bit) that the processor supports
    the notion of the PMU compat set, then the performance tool can
    surface just those events to the user of the tool.

    PPC_FEATURE_PSERIES_PERFMON_COMPAT indicates that the PMU supports at
    least this basic subset of events which is compatible across POWER
    processor lines.

    Signed-off-by: Nathan Lynch
    Signed-off-by: Benjamin Herrenschmidt

    Nathan Lynch
     
  • Adds a character driver for BSR support on IBM POWER systems including
    Power5 and Power6. The BSR is an optional processor facility not currently
    implemented by any other processors. It's primary purpose is fast large SMP
    synchronization. More details on the BSR are in comments to the code which
    follows. This patch adds BSR driver to pseries_defconfig.

    Signed-off-by: Sonny Rao
    Signed-off-by: Joel Schopp
    Signed-off-by: Benjamin Herrenschmidt

    Sonny Rao
     
  • Commit ef3d3246a0d06be622867d21af25f997aeeb105f ("powerpc/mm: Add Strong
    Access Ordering support") in the powerpc/{next,master} tree caused the
    following in a powerpc allmodconfig build:

    usr/include/asm/mman.h requires linux/mm.h, which does not exist in exported headers

    We should not use CONFIG_PPC64 in an unprotected (by __KERNEL__)
    section of an exported include file and linux/mm.h is not exported. So
    protect the whole section that is CONFIG_PPC64 with __KERNEL__ and put
    the two introduced includes in there as well.

    Signed-off-by: Stephen Rothwell
    Acked-by: Dave Kleikamp
    Signed-off-by: Benjamin Herrenschmidt

    Stephen Rothwell
     
  • Benjamin Herrenschmidt
     
  • Benjamin Herrenschmidt
     
  • * 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm: (241 commits)
    [ARM] 5171/1: ep93xx: fix compilation of modules using clocks
    [ARM] 5133/2: at91sam9g20 defconfig file
    [ARM] 5130/4: Support for the at91sam9g20
    [ARM] 5160/1: IOP3XX: gpio/gpiolib support
    [ARM] at91: Fix NAND FLASH timings for at91sam9x evaluation kits.
    [ARM] 5084/1: zylonite: Register AC97 device
    [ARM] 5085/2: PXA: Move AC97 over to the new central device declaration model
    [ARM] 5120/1: pxa: correct platform driver names for PXA25x and PXA27x UDC drivers
    [ARM] 5147/1: pxaficp_ir: drop pxa_gpio_mode calls, as pin setting
    [ARM] 5145/1: PXA2xx: provide api to control IrDA pins state
    [ARM] 5144/1: pxaficp_ir: cleanup includes
    [ARM] pxa: remove pxa_set_cken()
    [ARM] pxa: allow clk aliases
    [ARM] Feroceon: don't disable BPU on boot
    [ARM] Orion: LED support for HP mv2120
    [ARM] Orion: add RD88F5181L-FXO support
    [ARM] Orion: add RD88F5181L-GE support
    [ARM] Orion: add Netgear WNR854T support
    [ARM] s3c2410_defconfig: update for current build
    [ARM] Acer n30: Minor style and indentation fixes.
    ...

    Linus Torvalds
     
  • This includes PXA work up to the SPI changes for the initial merge,
    since e172274ccc55d20536fbdceb6131f38e288541e0 depends on the SPI
    tree being merged.

    Conflicts:

    arch/arm/configs/em_x270_defconfig
    arch/arm/configs/xm_x270_defconfig

    Russell King
     
  • * 'core/softirq' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    softirq: remove irqs_disabled warning from local_bh_enable
    softirq: remove initialization of static per-cpu variable
    Remove argument from open_softirq which is always NULL

    Linus Torvalds
     
  • * 'core/rodata' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    move BUG_TABLE into RODATA

    Linus Torvalds
     
  • * 'core/printk' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86, generic: mark early_printk as asmlinkage
    printk: export console_drivers
    printk: remember the message level for multi-line output
    printk: refactor processing of line severity tokens
    printk: don't prefer unsuited consoles on registration
    printk: clean up recursion check related static variables
    namespacecheck: more kernel/printk.c fixes
    namespacecheck: fix kernel printk.c

    Linus Torvalds
     
  • Even the help-text makes it clear that normal people shouldn't enable
    it.

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • * 'core/locking' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    lockdep: fix kernel/fork.c warning
    lockdep: fix ftrace irq tracing false positive
    lockdep: remove duplicate definition of STATIC_LOCKDEP_MAP_INIT
    lockdep: add lock_class information to lock_chain and output it
    lockdep: add lock_class information to lock_chain and output it
    lockdep: output lock_class key instead of address for forward dependency output
    __mutex_lock_common: use signal_pending_state()
    mutex-debug: check mutex magic before owner

    Fixed up conflict in kernel/fork.c manually

    Linus Torvalds
     
  • …linux/kernel/git/tip/linux-2.6-tip

    * 'sched/new-API-sched_setscheduler' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    sched: add new API sched_setscheduler_nocheck: add a flag to control access checks

    Linus Torvalds
     
  • * 'tracing/for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (228 commits)
    ftrace: build fix for ftraced_suspend
    ftrace: separate out the function enabled variable
    ftrace: add ftrace_kill_atomic
    ftrace: use current CPU for function startup
    ftrace: start wakeup tracing after setting function tracer
    ftrace: check proper config for preempt type
    ftrace: trace schedule
    ftrace: define function trace nop
    ftrace: move sched_switch enable after markers
    ftrace: prevent ftrace modifications while being kprobe'd, v2
    fix "ftrace: store mcount address in rec->ip"
    mmiotrace broken in linux-next (8-bit writes only)
    ftrace: avoid modifying kprobe'd records
    ftrace: freeze kprobe'd records
    kprobes: enable clean usage of get_kprobe
    ftrace: store mcount address in rec->ip
    ftrace: build fix with gcc 4.3
    namespacecheck: fixes
    ftrace: fix "notrace" filtering priority
    ftrace: fix printout
    ...

    Linus Torvalds
     
  • * 'bkl-removal' of git://git.lwn.net/linux-2.6: (146 commits)
    IB/umad: BKL is not needed for ib_umad_open()
    IB/uverbs: BKL is not needed for ib_uverbs_open()
    bf561-coreb: BKL unneeded for open()
    Call fasync() functions without the BKL
    snd/PCM: fasync BKL pushdown
    ipmi: fasync BKL pushdown
    ecryptfs: fasync BKL pushdown
    Bluetooth VHCI: fasync BKL pushdown
    tty_io: fasync BKL pushdown
    tun: fasync BKL pushdown
    i2o: fasync BKL pushdown
    mpt: fasync BKL pushdown
    Remove BKL from remote_llseek v2
    Make FAT users happier by not deadlocking
    x86-mce: BKL pushdown
    vmwatchdog: BKL pushdown
    vmcp: BKL pushdown
    via-pmu: BKL pushdown
    uml-random: BKL pushdown
    uml-mmapper: BKL pushdown
    ...

    Linus Torvalds
     
  • Jonathan Corbet
     
  • The following updates were recommended by Elias Oltmanns and Randy Dunlap.

    [ updates based on Andrew Morton's comments are still to come. ]

    Signed-off-by: Steven Rostedt
    Signed-off-by: Linus Torvalds

    Steven Rostedt
     
  • * 'sched/for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (76 commits)
    sched_clock: and multiplier for TSC to gtod drift
    sched_clock: record TSC after gtod
    sched_clock: only update deltas with local reads.
    sched_clock: fix calculation of other CPU
    sched_clock: stop maximum check on NO HZ
    sched_clock: widen the max and min time
    sched_clock: record from last tick
    sched: fix accounting in task delay accounting & migration
    sched: add avg-overlap support to RT tasks
    sched: terminate newidle balancing once at least one task has moved over
    sched: fix warning
    sched: build fix
    sched: sched_clock_cpu() based cpu_clock(), lockdep fix
    sched: export cpu_clock
    sched: make sched_{rt,fair}.c ifdefs more readable
    sched: bias effective_load() error towards failing wake_affine().
    sched: incremental effective_load()
    sched: correct wakeup weight calculations
    sched: fix mult overflow
    sched: update shares on wakeup
    ...

    Linus Torvalds
     
  • * 'x86/for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (821 commits)
    x86: make 64bit hpet_set_mapping to use ioremap too, v2
    x86: get x86_phys_bits early
    x86: max_low_pfn_mapped fix #4
    x86: change _node_to_cpumask_ptr to return const ptr
    x86: I/O APIC: remove an IRQ2-mask hack
    x86: fix numaq_tsc_disable calling
    x86, e820: remove end_user_pfn
    x86: max_low_pfn_mapped fix, #3
    x86: max_low_pfn_mapped fix, #2
    x86: max_low_pfn_mapped fix, #1
    x86_64: fix delayed signals
    x86: remove conflicting nx6325 and nx6125 quirks
    x86: Recover timer_ack lost in the merge of the NMI watchdog
    x86: I/O APIC: Never configure IRQ2
    x86: L-APIC: Always fully configure IRQ0
    x86: L-APIC: Set IRQ0 as edge-triggered
    x86: merge dwarf2 headers
    x86: use AS_CFI instead of UNWIND_INFO
    x86: use ignore macro instead of hash comment
    x86: use matching CFI_ENDPROC
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (50 commits)
    crypto: ixp4xx - Select CRYPTO_AUTHENC
    crypto: s390 - Respect STFL bit
    crypto: talitos - Add support for sha256 and md5 variants
    crypto: hash - Move ahash functions into crypto/hash.h
    crypto: crc32c - Add ahash implementation
    crypto: hash - Added scatter list walking helper
    crypto: prng - Deterministic CPRNG
    crypto: hash - Removed vestigial ahash fields
    crypto: hash - Fixed digest size check
    crypto: rmd - sparse annotations
    crypto: rmd128 - sparse annotations
    crypto: camellia - Use kernel-provided bitops, unaligned access helpers
    crypto: talitos - Use proper form for algorithm driver names
    crypto: talitos - Add support for 3des
    crypto: padlock - Make module loading quieter when hardware isn't available
    crypto: tcrpyt - Remove unnecessary kmap/kunmap calls
    crypto: ixp4xx - Hardware crypto support for IXP4xx CPUs
    crypto: talitos - Freescale integrated security engine (SEC) driver
    [CRYPTO] tcrypt: Add self test for des3_ebe cipher operating in cbc mode
    [CRYPTO] rmd: Use pointer form of endian swapping operations
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6: (31 commits)
    avr32: Fix typo of IFSR in a comment in the PIO header file
    avr32: Power Management support ("standby" and "mem" modes)
    avr32: Add system device for the internal interrupt controller (intc)
    avr32: Add simple SRAM allocator
    avr32: Enable SDRAMC clock at startup
    rtc-at32ap700x: Enable wakeup
    macb: Basic suspend/resume support
    atmel_serial: Drain console TX shifter before suspending
    atmel_serial: Fix build on avr32 with CONFIG_PM enabled
    avr32: Use a quicklist for PTE allocation as well
    avr32: Use a quicklist for PGD allocation
    avr32: Cover the kernel page tables in the user PGDs
    avr32: Store virtual addresses in the PGD
    avr32: Remove useless zeroing of swapper_pg_dir at startup
    avr32: Clean up and optimize the TLB operations
    avr32: Rename at32ap.c -> pdc.c
    avr32: Move setup_platform() into chip-specific file
    avr32: Kill special exception handler sections
    avr32: Kill unneeded #include from asm/mmu_context.h
    avr32: Clean up time.c #includes
    ...

    Linus Torvalds
     
  • …s/security-testing-2.6

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6: (25 commits)
    security: remove register_security hook
    security: remove dummy module fix
    security: remove dummy module
    security: remove unused sb_get_mnt_opts hook
    LSM/SELinux: show LSM mount options in /proc/mounts
    SELinux: allow fstype unknown to policy to use xattrs if present
    security: fix return of void-valued expressions
    SELinux: use do_each_thread as a proper do/while block
    SELinux: remove unused and shadowed addrlen variable
    SELinux: more user friendly unknown handling printk
    selinux: change handling of invalid classes (Was: Re: 2.6.26-rc5-mm1 selinux whine)
    SELinux: drop load_mutex in security_load_policy
    SELinux: fix off by 1 reference of class_to_string in context_struct_compute_av
    SELinux: open code sidtab lock
    SELinux: open code load_mutex
    SELinux: open code policy_rwlock
    selinux: fix endianness bug in network node address handling
    selinux: simplify ioctl checking
    SELinux: enable processes with mac_admin to get the raw inode contexts
    Security: split proc ptrace checking into read vs. attach
    ...

    Linus Torvalds
     
  • * 'drm-reorg' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
    drm: reorganise drm tree to be more future proof.

    Linus Torvalds
     
  • * 'for-linus' of git://git.alsa-project.org/alsa-kernel: (179 commits)
    ALSA: Release v1.0.17
    ALSA: correct kcalloc usage
    ALSA: ALSA driver for SGI O2 audio board
    ALSA: asoc: kbuild - only show menus for the current ASoC CPU platform.
    ALSA: ALSA driver for SGI HAL2 audio device
    ALSA: hda - Fix FSC V5505 model
    ALSA: hda - Fix missing init for unsol events on micsense model
    ALSA: hda - Fix internal mic vref pin setup
    ALSA: hda: 92hd71bxx PC Beep
    ALSA: HDA - HP dc7600 with pci sub IDs 0x103c/0x3011 belongs to hp-3013 model
    ALSA: usb-audio: add some Yamaha USB MIDI quirks
    ALSA: usb-audio: fix Yamaha KX quirk
    ALSA: ASoC: Au12x0/Au1550 PSC Audio support
    ALSA: Add Yamaha KX49 (USB MIDI controller) to usbquirks.h
    ALSA: ASoC: pxa2xx-ac97: fix warning due to missing argument in fuction declaration
    ALSA: tosa: fix compilation with new DAPM API
    ALSA: wavefront - add const
    ALSA: remove CONFIG_KMOD from sound
    ALSA: Fix a const to non-const assignment in the Digigram VXpocket sound driver
    ALSA: Fix a const pointer usage warning in the Digigram VX soundcard driver
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6: (71 commits)
    [S390] sclp_tty: Fix scheduling while atomic bug.
    [S390] sclp_tty: remove ioctl interface.
    [S390] Remove P390 support.
    [S390] Cleanup vmcp printk messages.
    [S390] Cleanup lcs printk messages.
    [S390] Cleanup kprobes printk messages.
    [S390] Cleanup vmwatch printk messages.
    [S390] Cleanup dcssblk printk messages.
    [S390] Cleanup zfcp dumper printk messages.
    [S390] Cleanup vmlogrdr printk messages.
    [S390] Cleanup s390 debug feature print messages.
    [S390] Cleanup monreader printk messages.
    [S390] Cleanup appldata printk messages.
    [S390] Cleanup smsgiucv printk messages.
    [S390] Cleanup cpacf printk messages.
    [S390] Cleanup qeth print messages.
    [S390] Cleanup netiucv printk messages.
    [S390] Cleanup iucv printk messages.
    [S390] Cleanup sclp printk messages.
    [S390] Cleanup zcrypt printk messages.
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6: (23 commits)
    pcmcia: Fix ide-cs sparse warning
    pcmcia: ide-cs debugging bugfix
    pcmcia: allow for longer CIS firmware files
    pcmcia: cm40x0 cdev lock_kernel() pushdown
    pcmcia: (re)move {pcmcia,pccard}_get_status
    pcmcia: kill IN_CARD_SERVICES
    pcmcia: Remove unused header file code
    pcmcia: remove unused bulkmem.h
    pcmcia: simplify pccard_validate_cis
    pcmcia: carve out ioctl adjust function to pcmcia_ioctl
    pcmcia: irq probe can be done without risking an IRQ storm
    pcmcia: Fix ti12xx_2nd_slot_empty always failing
    pcmcia: check for pointer instead of pointer address
    pcmcia: switch cm4000_cs.c to unlocked_ioctl
    pcmcia: simplify rsrc_nonstatic attributes
    pcmcia: add support CompactFlash PCMCIA support for Blackfin.
    pcmcia: remove version.h
    pcmcia: cs: kill thread_wait
    pcmcia: i82365.c: check request_irq return value
    pcmcia: fix Alchemy warnings
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.dk/linux-2.6-block: (37 commits)
    splice: fix generic_file_splice_read() race with page invalidation
    ramfs: enable splice write
    drivers/block/pktcdvd.c: avoid useless memset
    cdrom: revert commit 22a9189 (cdrom: use kmalloced buffers instead of buffers on stack)
    scsi: sr avoids useless buffer allocation
    block: blk_rq_map_kern uses the bounce buffers for stack buffers
    block: add blk_queue_update_dma_pad
    DAC960: push down BKL
    pktcdvd: push BKL down into driver
    paride: push ioctl down into driver
    block: use get_unaligned_* helpers
    block: extend queue_flag bitops
    block: request_module(): use format string
    Add bvec_merge_data to handle stacked devices and ->merge_bvec()
    block: integrity flags can't use bit ops on unsigned short
    cmdfilter: extend default read filter
    sg: fix odd style (extra parenthesis) introduced by cmd filter patch
    block: add bounce support to blk_rq_map_user_iov
    cfq-iosched: get rid of enable_idle being unused warning
    allow userspace to modify scsi command filter on per device basis
    ...

    Linus Torvalds
     
  • This simplifies the code significantly, and was the whole point of the
    exercise.

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

14 Jul, 2008

3 commits