06 Apr, 2009

8 commits

  • * 'for-next' of git://git.o-hand.com/linux-mfd:
    mfd: fix da903x warning
    mfd: fix MAINTAINERS entry
    mfd: Use the value of the final spin when reading the AUXADC
    mfd: Storage class should be before const qualifier
    mfd: PASIC3: supply clock_rate to DS1WM via driver_data
    mfd: remove DS1WM clock handling
    mfd: remove unused PASIC3 bus_shift field
    pxa/magician: remove deprecated .bus_shift from PASIC3 platform_data
    mfd: convert PASIC3 to use MFD core
    mfd: convert DS1WM to use MFD core
    mfd: Support active high IRQs on WM835x
    mfd: Use bulk read to fill WM8350 register cache
    mfd: remove duplicated #include from pcf50633

    Linus Torvalds
     
  • * 'for-linus' of git://repo.or.cz/cris-mirror:
    CRISv32: Remove extraneous space between -I and the path.
    cris: convert obsolete hw_interrupt_type to struct irq_chip
    BUG to BUG_ON changes
    cpumask: use mm_cpumask() wrapper: cris
    cpumask: Use accessors code.: cris
    cpumask: prepare for iterators to only go to nr_cpu_ids/nr_cpumask_bits.: cris

    Linus Torvalds
     
  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (140 commits)
    ACPI: processor: use .notify method instead of installing handler directly
    ACPI: button: use .notify method instead of installing handler directly
    ACPI: support acpi_device_ops .notify methods
    toshiba-acpi: remove MAINTAINERS entry
    ACPI: battery: asynchronous init
    acer-wmi: Update copyright notice & documentation
    acer-wmi: Cleanup the failure cleanup handling
    acer-wmi: Blacklist Acer Aspire One
    video: build fix
    thinkpad-acpi: rework brightness support
    thinkpad-acpi: enhanced debugging messages for the fan subdriver
    thinkpad-acpi: enhanced debugging messages for the hotkey subdriver
    thinkpad-acpi: enhanced debugging messages for rfkill subdrivers
    thinkpad-acpi: restrict access to some firmware LEDs
    thinkpad-acpi: remove HKEY disable functionality
    thinkpad-acpi: add new debug helpers and warn of deprecated atts
    thinkpad-acpi: add missing log levels
    thinkpad-acpi: cleanup debug helpers
    thinkpad-acpi: documentation cleanup
    thinkpad-acpi: drop ibm-acpi alias
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6: (23 commits)
    sh: sh7785lcr: Map whole PCI address space.
    sh: Fix up DSP context save/restore.
    sh: Fix up number of on-chip DMA channels on SH7091.
    sh: update defconfigs.
    sh: Kill off broken direct-mapped cache mode.
    sh: Wire up ARCH_HAS_DEFAULT_IDLE for cpuidle.
    sh: Add a command line option for disabling I/O trapping.
    sh: Select ARCH_HIBERNATION_POSSIBLE.
    sh: migor: Fix up CEU use flags.
    input: migor_ts: add wakeup support
    rtc: rtc-sh: use set_irq_wake()
    input: sh_keysc: use enable/disable_irq_wake()
    sh: intc: set_irq_wake() support
    sh: intc: install enable, disable and shutdown callbacks
    clocksource: sh_cmt: use remove_irq() and remove clockevent workaround
    sh: ap325 and Migo-R use new sh_mobile_ceu_info flags
    sh: Fix up -Wformat-security whining.
    sh: ap325rxa: Add ov772x support, again.
    sh: Sanitize asm/mmu.h for assembly use.
    sh: Tidy up sh7786 pinmux table.
    ...

    Linus Torvalds
     
  • * 'avr32-arch' of git://git.kernel.org/pub/scm/linux/kernel/git/hskinnemoen/avr32-2.6:
    avr32: add hardware handshake support to atmel_serial
    avr32: add RTS/CTS/CLK pin selection for the USARTs
    Add RTC support for Merisc boards
    avr32: at32ap700x: setup DMA for AC97C in the machine code
    avr32: at32ap700x: setup DMA for ABDAC in the machine code
    Add Merisc board support
    avr32: use gpio_is_valid() to check USBA vbus_pin I/O line
    atmel-usba-udc: use gpio_is_valid() to check vbus_pin I/O line
    avr32: fix timing LCD parameters for EVKLCD10X boards
    avr32: use GPIO line PB15 on EVKLCD10x boards for backlight
    avr32: configure MCI detect and write protect pins for EVKLCD10x boards
    avr32: set pin mask to alternative 18 bpp for EVKLCD10x boards
    avr32: add pin mask for 18-bit color on the LCD controller
    avr32: fix 15-bit LCDC pin mask to use MSB lines

    Linus Torvalds
     
  • * 'tracing-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (413 commits)
    tracing, net: fix net tree and tracing tree merge interaction
    tracing, powerpc: fix powerpc tree and tracing tree interaction
    ring-buffer: do not remove reader page from list on ring buffer free
    function-graph: allow unregistering twice
    trace: make argument 'mem' of trace_seq_putmem() const
    tracing: add missing 'extern' keywords to trace_output.h
    tracing: provide trace_seq_reserve()
    blktrace: print out BLK_TN_MESSAGE properly
    blktrace: extract duplidate code
    blktrace: fix memory leak when freeing struct blk_io_trace
    blktrace: fix blk_probes_ref chaos
    blktrace: make classic output more classic
    blktrace: fix off-by-one bug
    blktrace: fix the original blktrace
    blktrace: fix a race when creating blk_tree_root in debugfs
    blktrace: fix timestamp in binary output
    tracing, Text Edit Lock: cleanup
    tracing: filter fix for TRACE_EVENT_FORMAT events
    ftrace: Using FTRACE_WARN_ON() to check "freed record" in ftrace_release()
    x86: kretprobe-booster interrupt emulation code fix
    ...

    Fix up trivial conflicts in
    arch/parisc/include/asm/ftrace.h
    include/linux/memory.h
    kernel/extable.c
    kernel/module.c

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-cpumask: (36 commits)
    cpumask: remove cpumask allocation from idle_balance, fix
    numa, cpumask: move numa_node_id default implementation to topology.h, fix
    cpumask: remove cpumask allocation from idle_balance
    x86: cpumask: x86 mmio-mod.c use cpumask_var_t for downed_cpus
    x86: cpumask: update 32-bit APM not to mug current->cpus_allowed
    x86: microcode: cleanup
    x86: cpumask: use work_on_cpu in arch/x86/kernel/microcode_core.c
    cpumask: fix CONFIG_CPUMASK_OFFSTACK=y cpu hotunplug crash
    numa, cpumask: move numa_node_id default implementation to topology.h
    cpumask: convert node_to_cpumask_map[] to cpumask_var_t
    cpumask: remove x86 cpumask_t uses.
    cpumask: use cpumask_var_t in uv_flush_tlb_others.
    cpumask: remove cpumask_t assignment from vector_allocation_domain()
    cpumask: make Xen use the new operators.
    cpumask: clean up summit's send_IPI functions
    cpumask: use new cpumask functions throughout x86
    x86: unify cpu_callin_mask/cpu_callout_mask/cpu_initialized_mask/cpu_sibling_setup_mask
    cpumask: convert struct cpuinfo_x86's llc_shared_map to cpumask_var_t
    cpumask: convert node_to_cpumask_map[] to cpumask_var_t
    x86: unify 32 and 64-bit node_to_cpumask_map
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-module-and-param:
    module: use strstarts()
    strstarts: helper function for !strncmp(str, prefix, strlen(prefix))
    arm: allow usage of string functions in linux/string.h
    module: don't use stop_machine on module load
    module: create a request_module_nowait()
    module: include other structures in module version check
    module: remove the SHF_ALLOC flag on the __versions section.
    module: clarify the force-loading taint message.
    module: Export symbols needed for Ksplice
    Ksplice: Add functions for walking kallsyms symbols
    module: remove module_text_address()
    module: __module_address
    module: Make find_symbol return a struct kernel_symbol
    kernel/module.c: fix an unused goto label
    param: fix charp parameters set via sysfs

    Fix trivial conflicts in kernel/extable.c manually.

    Linus Torvalds
     

05 Apr, 2009

4 commits


04 Apr, 2009

20 commits

  • PCI still doesn't work on sh7785lcr 29bit 256M map mode.

    On SH7785, PCI -> SHwy address translation is not base+offset but
    somewhat like base|offset (See HW Manual (rej09b0261) Fig. 13.11).
    So, you can't export CS2,3,4,5 by 256M at CS2 (results CS0,1,2,3
    exported, I guess). There are two candidates.

    a) 128M@CS2 + 128M@CS4
    b) 512M@CS0

    Attached patch is B. It maps 512M Byte at 0 independently of memory
    size. It results CS0 to CS6 and perhaps some more being accessible
    from PCI.

    Tested on
    7785lcr 29bit 128M map
    7785lcr 29bit 256M map
    (NOT tested on 32bit)

    Signed-off-by: Takashi YOSHII
    Signed-off-by: Paul Mundt

    Takashi Yoshii
     
  • There were a number of issues with the DSP context save/restore code,
    mostly left-over relics from when it was introduced on SH3-DSP with
    little follow-up testing, resulting in things like task_pt_dspregs()
    referencing incorrect state on the stack.

    This follows the MIPS convention of tracking the DSP state in the
    thread_struct and handling the state save/restore in switch_to() and
    finish_arch_switch() respectively. The regset interface is also updated,
    which allows us to finally be rid of task_pt_dspregs() and the special
    cased task_pt_regs().

    Signed-off-by: Michael Trimarchi
    Signed-off-by: Paul Mundt

    Michael Trimarchi
     
  • This accidentally regressed when the multi-IRQ changes went in,
    switching SH7091 from 4 to 6 channels. Add SH7091 back in to the
    4-channel dependency list.

    Reported-by: Adrian McMenamin
    Signed-off-by: Paul Mundt

    Paul Mundt
     
  • …git/tip/linux-2.6-tip

    * 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    x86, mtrr: remove debug message
    x86: disable stack-protector for __restore_processor_state()
    x86: fix is_io_mapping_possible() build warning on i386 allnoconfig
    x86, setup: compile with -DDISABLE_BRANCH_PROFILING
    x86/dma: unify definition of pci_unmap_addr* and pci_unmap_len macros
    x86, mm: fix misuse of debug_kmap_atomic
    x86: remove duplicated code with pcpu_need_numa()
    x86,percpu: fix inverted NUMA test in setup_pcpu_remap()
    x86: signal: check sas_ss_size instead of sas_ss_flags()

    Linus Torvalds
     
  • * 'ipi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    s390: remove arch specific smp_send_stop()
    panic: clean up kernel/panic.c
    panic, smp: provide smp_send_stop() wrapper on UP too
    panic: decrease oops_in_progress only after having done the panic
    generic-ipi: eliminate WARN_ON()s during oops/panic
    generic-ipi: cleanups
    generic-ipi: remove CSD_FLAG_WAIT
    generic-ipi: remove kmalloc()
    generic IPI: simplify barriers and locking

    Linus Torvalds
     
  • All logical processors with APIC ID values of 255 and greater will have their
    APIC reported through Processor X2APIC structure (type-9 entry type) and all
    logical processors with APIC ID less than 255 will have their APIC reported
    through legacy Processor Local APIC (type-0 entry type) only. This is the
    same case even for NMI structure reporting.

    The Processor X2APIC Affinity structure provides the association between the
    X2APIC ID of a logical processor and the proximity domain to which the logical
    processor belongs.

    For OSPM, Procssor IDs outside the 0-254 range are to be declared as Device()
    objects in the ACPI namespace.

    Signed-off-by: Suresh Siddha
    Signed-off-by: Len Brown

    Suresh Siddha
     
  • The MTRR code grew a new debug message which triggers commonly:

    [ 40.142276] get_mtrr: cpu0 reg00 base=0000000000 size=0000080000 write-back
    [ 40.142280] get_mtrr: cpu0 reg01 base=0000080000 size=0000040000 write-back
    [ 40.142284] get_mtrr: cpu0 reg02 base=0000100000 size=0000040000 write-back
    [ 40.142311] get_mtrr: cpu0 reg00 base=0000000000 size=0000080000 write-back
    [ 40.142314] get_mtrr: cpu0 reg01 base=0000080000 size=0000040000 write-back
    [ 40.142317] get_mtrr: cpu0 reg02 base=0000100000 size=0000040000 write-back

    Remove this annoyance.

    Reported-by: Linus Torvalds
    Signed-off-by: Ingo Molnar

    Ingo Molnar
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (28 commits)
    trivial: Update my email address
    trivial: NULL noise: drivers/mtd/tests/mtd_*test.c
    trivial: NULL noise: drivers/media/dvb/frontends/drx397xD_fw.h
    trivial: Fix misspelling of "Celsius".
    trivial: remove unused variable 'path' in alloc_file()
    trivial: fix a pdlfush -> pdflush typo in comment
    trivial: jbd header comment typo fix for JBD_PARANOID_IOFAIL
    trivial: wusb: Storage class should be before const qualifier
    trivial: drivers/char/bsr.c: Storage class should be before const qualifier
    trivial: h8300: Storage class should be before const qualifier
    trivial: fix where cgroup documentation is not correctly referred to
    trivial: Give the right path in Documentation example
    trivial: MTD: remove EOL from MODULE_DESCRIPTION
    trivial: Fix typo in bio_split()'s documentation
    trivial: PWM: fix of #endif comment
    trivial: fix typos/grammar errors in Kconfig texts
    trivial: Fix misspelling of firmware
    trivial: cgroups: documentation typo and spelling corrections
    trivial: Update contact info for Jochen Hein
    trivial: fix typo "resgister" -> "register"
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/czankel/xtensa-2.6: (21 commits)
    xtensa: we don't need to include asm/io.h
    xtensa: only build platform or variant if they contain a Makefile
    xtensa: make startup code discardable
    xtensa: ccount clocksource
    xtensa: remove platform rtc hooks
    xtensa: use generic sched_clock()
    xtensa: platform: s6105
    xtensa: let platform override KERNELOFFSET
    xtensa: s6000 variant
    xtensa: s6000 variant core definitions
    xtensa: variant irq set callbacks
    xtensa: variant-specific code
    xtensa: nommu support
    xtensa: add flat support
    xtensa: enforce slab alignment to maximum register width
    xtensa: cope with ram beginning at higher addresses
    xtensa: don't make bootmem bitmap larger than required
    xtensa: fix init_bootmem_node() argument order
    xtensa: use correct stack pointer for stack traces
    xtensa: beat Kconfig into shape
    ...

    Linus Torvalds
     
  • pci mmap code was doing memtype reserve for a while now. Recently we
    added memtype tracking in remap_pfn_range, and pci code indirectly calls
    remap_pfn_range. So, we don't need seperate tracking in pci code
    anymore. Which means a patch that removes ~50 lines of code :-).

    Also, recently we found out that the pci tracking is not working as we expect
    it to work in some cases. Specifically, userlevel X mmap of pci, with some
    recent version of X, is having a problem with vm_page_prot getting reset.
    The pci tracking uses vm_page_prot to pass on the protection type from parent
    to child during fork.
    a) Parent does a pci mmap
    b) We look at PAT and get either UC_MINUS or WC mapping for parent
    c) Store that mapping type in vma vm_page_prot for future use
    d) This thread does a fork
    e) Fork results in mmap_ops ->open for the child process
    f) We get the vm_page_prot from vma and reserve that type for the child process

    But, between c) and e) above, the vma vm_page_prot is getting reset to zero.
    This results in PAT reserve failing at the time of fork as in here.
    http://marc.info/?l=linux-kernel&m=123858163103240&w=2

    This cleanup makes the above problem go away as we do not depend on
    vm_page_prot in our PAT code anymore.

    Signed-off-by: Suresh Siddha
    Signed-off-by: Venkatesh Pallipadi
    Signed-off-by: Linus Torvalds

    Suresh Siddha
     
  • The __restore_processor_state() fn restores %gs on resume from S3. As
    such, it cannot be protected by the stack-protector guard since %gs will
    not be correct on function entry.

    There are only a few other fns in this file and it should not negatively
    impact kernel security that they will also have the stack-protector
    guard removed (and so it's not worth moving them to another file).

    Without this change, S3 resume on a kernel built with
    CONFIG_CC_STACKPROTECTOR_ALL=y will fail.

    Signed-off-by: Joseph Cihula
    Tested-by: Chris Wright
    Cc: Arjan van de Ven
    Cc: Tejun Heo
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Joseph Cihula
     
  • * git://git.infradead.org/iommu-2.6:
    intel-iommu: Fix address wrap on 32-bit kernel.
    intel-iommu: Enable DMAR on 32-bit kernel.
    intel-iommu: fix PCI device detach from virtual machine
    intel-iommu: VT-d page table to support snooping control bit
    iommu: Add domain_has_cap iommu_ops
    intel-iommu: Snooping control support

    Fixed trivial conflicts in arch/x86/Kconfig and drivers/pci/intel-iommu.c

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6: (23 commits)
    parisc: move dereference_function_descriptor to process.c
    parisc: Move kernel Elf_Fdesc define to
    parisc: fix build when ARCH_HAS_KMAP
    parisc: fix "make tar-pkg"
    parisc: drivers: fix warnings
    parisc: select BUG always
    parisc: asm/pdc.h should include asm/page.h
    parisc: led: remove proc_dir_entry::owner
    parisc: fix macro expansion in atomic.h
    parisc: iosapic: fix build breakage
    parisc: oops_enter()/oops_exit() in die()
    parisc: document light weight syscall ABI
    parisc: blink all or loadavg LEDs on oops
    parisc: add ftrace (function and graph tracer) functionality
    parisc: simplify sys_clone()
    parisc: add LATENCYTOP_SUPPORT and CONFIG_STACKTRACE_SUPPORT
    parisc: allow to build with 16k default kernel page size
    parisc: expose 32/64-bit capabilities in cpuinfo
    parisc: use constants instead of numbers in assembly
    parisc: fix usage of 32bit PTE page table entries on 32bit kernels
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/kyle/rtc-parisc:
    powerpc/ps3: Add rtc-ps3
    powerpc: Hook up rtc-generic, and kill rtc-ppc
    m68k: Hook up rtc-generic
    parisc: rtc: Rename rtc-parisc to rtc-generic
    parisc: rtc: Add missing module alias
    parisc: rtc: platform_driver_probe() fixups
    parisc: rtc: get_rtc_time() returns unsigned int

    Linus Torvalds
     
  • Commit 7ca43e7564679604d86e9ed834e7bbcffd8a4a3f ("mm: use debug_kmap_atomic")
    introduced some debug_kmap_atomic() in wrong places.

    Signed-off-by: Akinobu Mita
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu: (41 commits)
    m68knommu: improve compile arch switch settings
    m68knommu: fix 5407 ColdFire UART vector setup
    m68knommu: fix 5307 ColdFire UART vector setup
    m68knommu: fix 5249 ColdFire UART vector setup
    m68knommu: fix 5249 ColdFire UART setup
    m68knommu: fix end of uart table marker
    m68knommu: switch to using generic_handle_irq()
    m68k: merge the mmu and non-mmu versions of tlbflush.h
    m68knommu: introduce basic clk infrastructure
    m68k: merge the mmu and non-mmu versions of module.h
    m68knommu: add missing interrupt line definition for UART 2
    m68k: merge the mmu and non-mmu versions of mmu_context.h
    m68k: merge the mmu and non-mmu versions of current.h
    m68k: merge the mmu and non-mmu versions of div64.h
    m68k: merge the mmu and non-mmu versions of bugs.h
    m68k: merge the mmu and non-mmu versions of bug.h
    m68k: use the mmu version of cache.h for m68knommu as well
    m68k: use the mmu version of bootinfo.h for m68knommu as well
    m68k: merge the mmu and non-mmu versions of fb.h
    m68k: merge the mmu and non-mmu versions of segment.h
    ...

    Linus Torvalds
     
  • i386 allnoconfig:

    arch/x86/mm/iomap_32.c: In function 'is_io_mapping_possible':
    arch/x86/mm/iomap_32.c:27: warning: comparison is always false due to limited range of data type

    Signed-off-by: Andrew Morton
    Signed-off-by: Ingo Molnar

    Andrew Morton
     
  • * master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] fix build-breaking 7a192ec commit
    ARM: Add SMSC911X support to Overo platform (V2)
    arm: update omap_ldp defconfig to use smsc911x
    arm: update realview defconfigs to use smsc911x
    arm: update pcm037 defconfig to use smsc911x
    arm: convert omap ldp platform to use smsc911x
    arm: convert realview platform to use smsc911x
    arm: convert pcm037 platform to use smsc911x
    [ARM] 5444/1: ARM: Realview: Fix event-device multiplicators in localtimer.c
    [ARM] 5442/1: pxa/cm-x255: fix reverse RDY gpios in PCMCIA driver
    [ARM] 5441/1: Use pr_err on error paths in at91 pm
    [ARM] 5440/1: Fix VFP state corruption due to preemption during VFP exceptions
    [ARM] 5439/1: Do not clear bit 10 of DFSR during abort handling on ARMv6
    [ARM] 5437/1: Add documentation for "nohlt" kernel parameter
    [ARM] 5436/1: ARM: OMAP: Fix compile for rx51
    [ARM] arch_reset() now takes a second parameter
    [ARM] Kirkwood: small L2 code cleanup
    [ARM] Kirkwood: invalidate L2 cache before enabling it

    Linus Torvalds
     
  • update ACPI Development Discussion List

    Signed-off-by: Zhang Rui
    Signed-off-by: Len Brown

    Zhang Rui
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/bart/linux-hdreg-h-cleanup:
    remove include from
    include/linux/hdreg.h: remove unused defines
    isd200: use ATA_* defines instead of *_STAT and *_ERR ones
    include/linux/hdreg.h: cover WIN_* and friends with #ifndef/#endif __KERNEL__
    aoe: WIN_* -> ATA_CMD_*
    isd200: WIN_* -> ATA_CMD_*
    include/linux/hdreg.h: cover struct hd_driveid with #ifndef/#endif __KERNEL__
    xsysace: make it 'struct hd_driveid'-free
    ubd_kern: make it 'struct hd_driveid'-free
    isd200: make it 'struct hd_driveid'-free

    Linus Torvalds
     

03 Apr, 2009

8 commits